mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
Remove more blobs
This commit is contained in:
parent
5aaa0a3c1f
commit
ed92a1c182
@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
#Background: Devices before 2013 shipped with less then 50 blobs, now they ship with 50-400 blobs
|
||||
#Goal: Remove as many proprietary blobs without breaking core functionality
|
||||
#Outcome: Increased battery/performance/privacy/security, Decreased ROM size
|
||||
|
||||
@ -9,7 +10,6 @@
|
||||
#Fully Functional: bacon, clark
|
||||
#LTE Broken (Potentially Unrelated): mako
|
||||
|
||||
|
||||
base="/home/tad/Android/Build/LineageOS-14.1/";
|
||||
export base;
|
||||
|
||||
@ -63,7 +63,7 @@ export base;
|
||||
#Google Widevine (DRM)
|
||||
blobs=$blobs"|com.google.widevine.software.drm.jar|com.google.widevine.software.drm.xml|libdrmwvmplugin.so|libwvdrmengine.so|libwvdrm_L1.so|libwvdrm_L3.so|libwvm.so|libWVphoneAPI.so|libWVStreamControlAPI_L1.so|libWVStreamControlAPI_L3.so|tzwidevine.b00|tzwidevine.b01|tzwidevine.b02|tzwidevine.b03|tzwidevine.mdt|widevine.b00|widevine.b01|widevine.b02|widevine.b03|widevine.b04|widevine.b05|widevine.b06|widevine.mbn|widevine.mdt";
|
||||
|
||||
#GPS XXX: Breaks GPS
|
||||
#GPS
|
||||
#blobs=$blobs"|flp.conf|flp.default.so|flp.msm8084.so|flp.msm8960.so|gpsd|gps.msm8084.so|gps.msm8960.so|libflp.so|libgps.utils.so|libloc_api_v02.so|libloc_core.so|libloc_ds_api.so|libloc_eng.so|libloc_ext.so";
|
||||
|
||||
#HDCP (DRM)
|
||||
@ -90,12 +90,18 @@ export base;
|
||||
#QTI (Tethering Extensions)
|
||||
blobs=$blobs"|libQtiTether.so|QtiTetherService.apk";
|
||||
|
||||
#Secure UI (For DRM)
|
||||
blobs=$blobs"|lib-sec-disp.so|libSecureUILib.so|libsecureui.so|libsecureuisvc_jni.so|libsecureui_svcsock.so";
|
||||
|
||||
#Sprint
|
||||
blobs=$blobs"|com.android.omadm.service.xml|ConnMO.apk|CQATest.apk|DCMO.apk|DiagMon.apk|DMConfigUpdate.apk|DMService.apk|GCS.apk|HiddenMenu.apk|libdmengine.so|libdmjavaplugin.so|LifetimeData.apk|SprintDM.apk|SprintHM.apk|whitelist_com.android.omadm.service.xml";
|
||||
|
||||
#Time Service XXX: Breaks time, can be replaced with https://github.com/LineageOS/android_hardware_sony_timekeep
|
||||
#blobs=$blobs"|libtime_genoff.so|libTimeService.so|time_daemon|TimeService.apk";
|
||||
|
||||
#Venus (Hardware Video Decoding)
|
||||
#blobs=$blobs"|venus.b00|venus.b01|venus.b02|venus.b03|venus.b04|venus.mbn|venus.mdt";
|
||||
|
||||
#Verizon
|
||||
blobs=$blobs"|com.verizon.apn.xml|com.verizon.embms.xml|com.verizon.provider.xml|VerizonUnifiedSettings.jar|VZWAPNLib.apk|VZWAPNService.apk|VZWAVS.apk|VzwLcSilent.apk|vzw_msdc_api.apk|VzwOmaTrigger.apk|vzw_sso_permissions.xml|com.vzw.vzwapnlib.xml|qti-vzw-ims-internal.xml";
|
||||
|
||||
@ -117,7 +123,7 @@ deblobDevice() {
|
||||
sed -i 's/BOARD_USES_QCNE := true/BOARD_USES_QCNE := false/' BoardConfig.mk; #Disable CNE
|
||||
fi;
|
||||
if [ -f system.prop ]; then
|
||||
sed -i 's/persist.bt.enableAptXHD=true/persist.bt.enableAptXHD=false' system.prop; #Disable aptX
|
||||
sed -i 's/persist.bt.enableAptXHD=true/persist.bt.enableAptXHD=false/' system.prop; #Disable aptX
|
||||
sed -i 's/persist.cne.feature=./persist.cne.feature=0/' system.prop; #Disable CNE
|
||||
sed -i 's/persist.dpm.feature=./persist.dpm.feature=0/' system.prop; #Disable DPM
|
||||
sed -i 's/persist.gps.qc_nlp_in_use=1/persist.gps.qc_nlp_in_use=0/' system.prop; #Disable QC Location Provider
|
||||
|
Loading…
Reference in New Issue
Block a user