mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
Split GPS/location, deblob diag
This commit is contained in:
parent
8c9f1b3a33
commit
9058e63d77
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#Goal: Remove as many proprietary blobs without breaking 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
|
||||||
#This script and subsequent builds have been tested
|
#This script and subsequent builds have been tested
|
||||||
base="/home/tad/Android/Build/LineageOS-14.1/"
|
base="/home/tad/Android/Build/LineageOS-14.1/"
|
||||||
@ -10,14 +10,17 @@ deblob() {
|
|||||||
cp $blobList $blobList".bak"; #Make a backup
|
cp $blobList $blobList".bak"; #Make a backup
|
||||||
blobs="";
|
blobs="";
|
||||||
|
|
||||||
#Blobs to *NOT* remove: ADSP (Hardware audio decoding), Venus (Hardware video decoding), Gatekeeper/Keystore/Qseecom/Trustzone (Hardware encryption)
|
#Blobs to *NOT* remove: ADSP/Hexagon (Hardware audio decoding), Venus (Hardware video decoding), Gatekeeper/Keystore/Qseecom/Trustzone (Hardware encryption)
|
||||||
|
|
||||||
#ATFWD (Wireless Display)
|
#ATFWD (Wireless Display)
|
||||||
blobs=$blobs"ATFWD-daemon|atfwd.apk";
|
blobs=$blobs"ATFWD-daemon|atfwd.apk";
|
||||||
|
|
||||||
#CNE (Automatic Cell/Wi-Fi Switching) XXX: Requires unsetting 'BOARD_USES_QCNE' in BoardConfig.mk and 'persist.cne.feature' in system.prop. XXX: Breaks radio
|
#CNE (Automatic Cell/Wi-Fi Switching) XXX: Breaks radio XXX: Requires unsetting 'BOARD_USES_QCNE' in BoardConfig.mk and 'persist.cne.feature' in system.prop.
|
||||||
#blobs=$blobs"|andsfCne.xml|ATT_profile1.xml|ATT_profile2.xml|ATT_profile3.xml|ATT_profile4.xml|ATT_profiles.xml|cnd|cneapiclient.jar|cneapiclient.xml|CNEService.apk|com.quicinc.cne.jar|com.quicinc.cne.xml|ConnectivityExt.jar|ConnectivityExt.xml|libcneapiclient.so|libcneconn.so|libcneqmiutils.so|libcne.so|libNimsWrap.so|libvendorconn.so|libwqe.so|libxml.so|profile1.xml|profile2.xml|profile3.xml|profile4.xml|profile5.xml|ROW_profile1.xml|ROW_profile2.xml|ROW_profile3.xml|ROW_profile4.xml|ROW_profile5.xml|ROW_profiles.xml|SwimConfig.xml|VZW_profile1.xml|VZW_profile2.xml|VZW_profile3.xml|VZW_profile4.xml|VZW_profile5.xml|VZW_profile6.xml|VZW_profiles.xml";
|
#blobs=$blobs"|andsfCne.xml|ATT_profile1.xml|ATT_profile2.xml|ATT_profile3.xml|ATT_profile4.xml|ATT_profiles.xml|cnd|cneapiclient.jar|cneapiclient.xml|CNEService.apk|com.quicinc.cne.jar|com.quicinc.cne.xml|ConnectivityExt.jar|ConnectivityExt.xml|libcneapiclient.so|libcneconn.so|libcneqmiutils.so|libcne.so|libNimsWrap.so|libvendorconn.so|libwqe.so|libxml.so|profile1.xml|profile2.xml|profile3.xml|profile4.xml|profile5.xml|ROW_profile1.xml|ROW_profile2.xml|ROW_profile3.xml|ROW_profile4.xml|ROW_profile5.xml|ROW_profiles.xml|SwimConfig.xml|VZW_profile1.xml|VZW_profile2.xml|VZW_profile3.xml|VZW_profile4.xml|VZW_profile5.xml|VZW_profile6.xml|VZW_profiles.xml";
|
||||||
|
|
||||||
|
#Diag
|
||||||
|
blobs=$blobs"|diag_klog|diag_mdlog|diag_mdlog-getlogs|diag_mdlog-wrap|diag_qshrink4_daemon|test_diag";
|
||||||
|
|
||||||
#DivX (DRM)
|
#DivX (DRM)
|
||||||
blobs=$blobs"|DxHDCP.cfg|dxhdcp2.b00|dxhdcp2.b01|dxhdcp2.b02|dxhdcp2.b03|dxhdcp2.mdt|libDxHdcp.so|libSHIMDivxDrm.so";
|
blobs=$blobs"|DxHDCP.cfg|dxhdcp2.b00|dxhdcp2.b01|dxhdcp2.b02|dxhdcp2.b03|dxhdcp2.mdt|libDxHdcp.so|libSHIMDivxDrm.so";
|
||||||
|
|
||||||
@ -30,15 +33,18 @@ deblob() {
|
|||||||
#Google Widevine (DRM)
|
#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|widevine.b00|widevine.b01|widevine.b02|widevine.b03|widevine.mdt";
|
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|widevine.b00|widevine.b01|widevine.b02|widevine.b03|widevine.mdt";
|
||||||
|
|
||||||
|
#GPS
|
||||||
|
#blobs=$blobs"|flp.conf|flp.default.so|flp.msm8084.so|gps.msm8084.so|gpsd|libflp.so|libloc_api_v02.so|libgps.utils.so|libloc_core.so|libloc_ds_api.so|libloc_eng.so|libloc_ext.so";
|
||||||
|
|
||||||
#HDCP (DRM)
|
#HDCP (DRM)
|
||||||
blobs=$blobs"|libmm-hdcpmgr.so";
|
blobs=$blobs"|libmm-hdcpmgr.so";
|
||||||
|
|
||||||
#IPACM (Splits traffic between Cell/Wi-Fi)
|
#IPACM (Loadbalances traffic between Cell/Wi-Fi)
|
||||||
blobs=$blobs"|ipacm|ipacm-diag";
|
blobs=$blobs"|ipacm|ipacm-diag";
|
||||||
rm -rf data-ipa-cfg-mgr; #Remove the second half of IPACM
|
rm -rf data-ipa-cfg-mgr; #Remove the second half of IPACM
|
||||||
|
|
||||||
#Location
|
#Location XXX: TEST THIS
|
||||||
blobs=$blobs"|com.qti.location.sdk.jar|com.qti.location.sdk.xml|com.qualcomm.location.apk|com.qualcomm.location.vzw_library.jar|com.qualcomm.location.vzw_library.xml|com.qualcomm.location.xml|flp.conf|flp.default.so|izat.xt.srv.jar|izat.xt.srv.xml|libalarmservice_jni.so|libasn1cper.so|libasn1crt.so|libasn1crtx.so|libdataitems.so|libdrplugin_client.so|libDRPlugin.so|libevent_observer.so|libflp.so|libgdtap.so|libgeofence.so|libgps.utils.so|libizat_core.so|liblbs_core.so|libloc_api_v02.so|liblocationservice_glue.so|liblocationservice.so|libloc_core.so|libloc_ds_api.so|libloc_eng.so|libloc_ext.so|liblowi_client.so|liblowi_wifihal_nl.so|liblowi_wifihal.so|libquipc_os_api.so|libquipc_ulp_adapter.so|libulp2.so|libxtadapter.so|libxt_native.so|libxtwifi_ulp_adaptor.so|libxtwifi_zpp_adaptor.so|location-mq|loc_launcher|lowi-server|slim_ap_daemon|slim_daemon|xtwifi-client|xtwifi-inet-agent";
|
blobs=$blobs"|com.qti.location.sdk.jar|com.qti.location.sdk.xml|com.qualcomm.location.apk|com.qualcomm.location.vzw_library.jar|com.qualcomm.location.vzw_library.xml|com.qualcomm.location.xml|izat.xt.srv.jar|izat.xt.srv.xml|libalarmservice_jni.so|libasn1cper.so|libasn1crt.so|libasn1crtx.so|libdataitems.so|libdrplugin_client.so|libDRPlugin.so|libevent_observer.so|libgdtap.so|libgeofence.so|libizat_core.so|liblbs_core.so|liblocationservice_glue.so|liblocationservice.so|liblowi_client.so|liblowi_wifihal_nl.so|liblowi_wifihal.so|libquipc_os_api.so|libquipc_ulp_adapter.so|libulp2.so|libxtadapter.so|libxt_native.so|libxtwifi_ulp_adaptor.so|libxtwifi_zpp_adaptor.so|location-mq|loc_launcher|lowi-server|slim_ap_daemon|slim_daemon|xtwifi-client|xtwifi-inet-agent";
|
||||||
|
|
||||||
#Microsoft Playready (DRM)
|
#Microsoft Playready (DRM)
|
||||||
blobs=$blobs"|playread.b00|playread.b01|playread.b02|playread.b03|playread.mdt";
|
blobs=$blobs"|playread.b00|playread.b01|playread.b02|playread.b03|playread.mdt";
|
||||||
|
Loading…
Reference in New Issue
Block a user