mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-17 20:04:18 -05:00
Clean CPP system.prop initializers, Allow the Jelly browser
This commit is contained in:
parent
a9e4f58fc7
commit
9c19c2b2c4
@ -22,7 +22,6 @@
|
|||||||
<remove-project name="LineageOS/android_hardware_intel_img_psb_headers" />
|
<remove-project name="LineageOS/android_hardware_intel_img_psb_headers" />
|
||||||
<remove-project name="LineageOS/android_hardware_intel_img_psb_video" />
|
<remove-project name="LineageOS/android_hardware_intel_img_psb_video" />
|
||||||
<remove-project name="LineageOS/android_hardware_ti_omap4xxx" />
|
<remove-project name="LineageOS/android_hardware_ti_omap4xxx" />
|
||||||
<remove-project name="LineageOS/android_packages_apps_Browser" />
|
|
||||||
<remove-project name="LineageOS/android_packages_apps_CMBugreport" />
|
<remove-project name="LineageOS/android_packages_apps_CMBugreport" />
|
||||||
<remove-project name="LineageOS/android_packages_apps_CMUpdater" />
|
<remove-project name="LineageOS/android_packages_apps_CMUpdater" />
|
||||||
<remove-project name="LineageOS/android_packages_apps_Gello" />
|
<remove-project name="LineageOS/android_packages_apps_Gello" />
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#Goal: Remove as many proprietary blobs without breaking core functionality
|
#Goal: Remove as many proprietary blobs without breaking core functionality
|
||||||
#Outcome: Increased battery/performance/privacy/security, Decreased ROM size
|
#Outcome: Increased battery/performance/privacy/security, Decreased ROM size
|
||||||
#TODO: Automate TimeKeep replacing, Clean CPP system.prop initializers, Clean init*.rc files, Create TWRP version, Remove more variants
|
#TODO: Automate TimeKeep replacing, Clean init*.rc files, Create TWRP version, Remove more variants
|
||||||
|
|
||||||
#
|
#
|
||||||
#Device Status (Tested under LineageOS 14.1)
|
#Device Status (Tested under LineageOS 14.1)
|
||||||
@ -192,6 +192,16 @@ deblobDevice() {
|
|||||||
sed -i 's|<bool name="config_device_vt_available">true</bool>|<bool name="config_device_vt_available">false</bool>|' overlay/frameworks/base/core/res/res/values/config.xml;
|
sed -i 's|<bool name="config_device_vt_available">true</bool>|<bool name="config_device_vt_available">false</bool>|' overlay/frameworks/base/core/res/res/values/config.xml;
|
||||||
sed -i 's|<bool name="config_device_wfc_ims_available">true</bool>|<bool name="config_device_wfc_ims_available">false</bool>|' overlay/frameworks/base/core/res/res/values/config.xml;
|
sed -i 's|<bool name="config_device_wfc_ims_available">true</bool>|<bool name="config_device_wfc_ims_available">false</bool>|' overlay/frameworks/base/core/res/res/values/config.xml;
|
||||||
fi;
|
fi;
|
||||||
|
if [ -f init/init_*.cpp ]; then
|
||||||
|
#Disable IMS
|
||||||
|
sed -i 's/property_set("persist.ims.volte", "true");/property_set("persist.ims.volte", "false");/' init/init_*.cpp;
|
||||||
|
sed -i 's/property_set("persist.ims.vt", "true");/property_set("persist.ims.vt", "false");/' init/init_*.cpp;
|
||||||
|
sed -i 's/property_set("persist.rcs.supported", ".");/property_set("persist.rcs.supported", "1");/' init/init_*.cpp;
|
||||||
|
sed -i 's/property_set("persist.radio.calls.on.ims", "true");/property_set("persist.radio.calls.on.ims", "false");/' init/init_*.cpp;
|
||||||
|
sed -i 's/property_set("persist.radio.jbims", ".");/property_set("persist.radio.jbims", "0");/' init/init_*.cpp;
|
||||||
|
sed -i 's/property_set("persist.radio.VT_ENABLE", ".");/property_set("persist.radio.VT_ENABLE", "0");/' init/init_*.cpp;
|
||||||
|
sed -i 's/property_set("persist.radio.VT_HYBRID_ENABLE", ".");/property_set("persist.radio.VT_HYBRID_ENABLE", "0");/' init/init_*.cpp;
|
||||||
|
fi;
|
||||||
rm -f rootdir/etc/init.qti.ims.sh #Remove IMS startup script
|
rm -f rootdir/etc/init.qti.ims.sh #Remove IMS startup script
|
||||||
rm -rf IMSEnabler; #Remove IMS compatibility module
|
rm -rf IMSEnabler; #Remove IMS compatibility module
|
||||||
rm -rf data-ipa-cfg-mgr; #Remove IPACM
|
rm -rf data-ipa-cfg-mgr; #Remove IPACM
|
||||||
|
Loading…
Reference in New Issue
Block a user