mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-27 00:19:26 -05:00
Tweaks
This commit is contained in:
parent
2c1b2bed95
commit
66db536b08
@ -61,8 +61,8 @@ echo "Deblobbing..."
|
|||||||
#Clearkey (DRM) [Google]
|
#Clearkey (DRM) [Google]
|
||||||
blobs=$blobs"|libdrmclearkeyplugin.so";
|
blobs=$blobs"|libdrmclearkeyplugin.so";
|
||||||
|
|
||||||
#CMN (TrustZone?) [Qualcomm?]
|
#CMN (DRM?) [?]
|
||||||
#blobs=$blobs"|cmnlib.*";
|
blobs=$blobs"|cmnlib.*";
|
||||||
|
|
||||||
#CNE (Automatic Cell/Wi-Fi Switching) [Qualcomm]
|
#CNE (Automatic Cell/Wi-Fi Switching) [Qualcomm]
|
||||||
#blobs=$blobs"|libcneapiclient.so|libNimsWrap.so"; #XXX: Breaks radio
|
#blobs=$blobs"|libcneapiclient.so|libNimsWrap.so"; #XXX: Breaks radio
|
||||||
@ -126,6 +126,9 @@ echo "Deblobbing..."
|
|||||||
#makes=$makes"|ipacm|IPACM_cfg.xml";
|
#makes=$makes"|ipacm|IPACM_cfg.xml";
|
||||||
#kernels=$kernels" drivers/platform/msm/ipa";
|
#kernels=$kernels" drivers/platform/msm/ipa";
|
||||||
|
|
||||||
|
#IS? (DRM) [?]
|
||||||
|
blobs=$blobs"|isdbtmm.*";
|
||||||
|
|
||||||
#Keystore/TrustZone (HW Crypto) [Qualcomm]
|
#Keystore/TrustZone (HW Crypto) [Qualcomm]
|
||||||
#blobs=$blobs"|qseecomd|keystore.qcom.so|libdrmdecrypt.so|libdrmfs.so|libdrmtime.so|libQSEEComAPI.so|librpmb.so|libssd.so";
|
#blobs=$blobs"|qseecomd|keystore.qcom.so|libdrmdecrypt.so|libdrmfs.so|libdrmtime.so|libQSEEComAPI.so|librpmb.so|libssd.so";
|
||||||
#blobs=$blobs"|keymaster.*";
|
#blobs=$blobs"|keymaster.*";
|
||||||
@ -228,7 +231,7 @@ deblobDevice() {
|
|||||||
replaceTime="false"; #Temp disable replacement
|
replaceTime="false"; #Temp disable replacement
|
||||||
if [ -f Android.mk ]; then
|
if [ -f Android.mk ]; then
|
||||||
#Some devices store these in a dedicated firmware partition, others in /system/vendor/firmware, either way the following are just symlinks
|
#Some devices store these in a dedicated firmware partition, others in /system/vendor/firmware, either way the following are just symlinks
|
||||||
#sed -i '/ALL_DEFAULT_INSTALLED_MODULES/s/$(CMN_SYMLINKS)//' Android.mk; #Remove CMN firmware
|
sed -i '/ALL_DEFAULT_INSTALLED_MODULES/s/$(CMN_SYMLINKS)//' Android.mk; #Remove CMN firmware
|
||||||
sed -i '/ALL_DEFAULT_INSTALLED_MODULES/s/$(DXHDCP2_SYMLINKS)//' Android.mk; #Remove Discretix firmware
|
sed -i '/ALL_DEFAULT_INSTALLED_MODULES/s/$(DXHDCP2_SYMLINKS)//' Android.mk; #Remove Discretix firmware
|
||||||
#sed -i '/ALL_DEFAULT_INSTALLED_MODULES/s/$(IMS_SYMLINKS)//' Android.mk; #Remove IMS firmware
|
#sed -i '/ALL_DEFAULT_INSTALLED_MODULES/s/$(IMS_SYMLINKS)//' Android.mk; #Remove IMS firmware
|
||||||
sed -i '/ALL_DEFAULT_INSTALLED_MODULES/s/$(PLAYREADY_SYMLINKS)//' Android.mk; #Remove Microsoft Playready firmware
|
sed -i '/ALL_DEFAULT_INSTALLED_MODULES/s/$(PLAYREADY_SYMLINKS)//' Android.mk; #Remove Microsoft Playready firmware
|
||||||
|
@ -84,7 +84,7 @@ patch -p1 < $patches"android_frameworks_base/0003-Signature_Spoofing.patch"; #Al
|
|||||||
patch -p1 < $patches"android_frameworks_base/0005-Harden_Sig_Spoofing.patch"; #Restrict signature spoofing to system apps signed with the platform key
|
patch -p1 < $patches"android_frameworks_base/0005-Harden_Sig_Spoofing.patch"; #Restrict signature spoofing to system apps signed with the platform key
|
||||||
#patch -p1 < $patches"android_frameworks_base/0006-DNS_Cloudflare.patch"; #Switch to Cloudflare DNS
|
#patch -p1 < $patches"android_frameworks_base/0006-DNS_Cloudflare.patch"; #Switch to Cloudflare DNS
|
||||||
patch -p1 < $patches"android_frameworks_base/0006-DNS_OpenNIC.patch"; #Switch to OpenNIC DNS
|
patch -p1 < $patches"android_frameworks_base/0006-DNS_OpenNIC.patch"; #Switch to OpenNIC DNS
|
||||||
patch -p1 < $patches"android_frameworks_base/0007-Connectivity.patch"; #Change connectivity check URLs to ours
|
#patch -p1 < $patches"android_frameworks_base/0007-Connectivity.patch"; #Change connectivity check URLs to ours
|
||||||
rm -rf packages/PrintRecommendationService; #App that just creates popups to install proprietary print apps
|
rm -rf packages/PrintRecommendationService; #App that just creates popups to install proprietary print apps
|
||||||
rm core/res/res/values/config.xml.orig core/res/res/values/strings.xml.orig;
|
rm core/res/res/values/config.xml.orig core/res/res/values/strings.xml.orig;
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ patch -p1 < $patches"android_frameworks_base/0002-Signature_Spoofing.patch"; #Al
|
|||||||
patch -p1 < $patches"android_frameworks_base/0003-Harden_Sig_Spoofing.patch"; #Restrict signature spoofing to system apps signed with the platform key
|
patch -p1 < $patches"android_frameworks_base/0003-Harden_Sig_Spoofing.patch"; #Restrict signature spoofing to system apps signed with the platform key
|
||||||
#patch -p1 < $patches"android_frameworks_base/0004-DNS_Cloudflare.patch"; #Switch to Cloudflare DNS
|
#patch -p1 < $patches"android_frameworks_base/0004-DNS_Cloudflare.patch"; #Switch to Cloudflare DNS
|
||||||
patch -p1 < $patches"android_frameworks_base/0004-DNS_OpenNIC.patch"; #Switch to OpenNIC DNS
|
patch -p1 < $patches"android_frameworks_base/0004-DNS_OpenNIC.patch"; #Switch to OpenNIC DNS
|
||||||
patch -p1 < $patches"android_frameworks_base/0005-Connectivity.patch"; #Change connectivity check URLs to ours
|
#patch -p1 < $patches"android_frameworks_base/0005-Connectivity.patch"; #Change connectivity check URLs to ours
|
||||||
if [ "$NON_COMMERCIAL_USE_PATCHES" = true ]; then patch -p1 < $patches"android_frameworks_base/Copperhead/0005-Deny_USB.patch"; fi; #Deny USB support (Copperhead CC BY-NC-SA)
|
if [ "$NON_COMMERCIAL_USE_PATCHES" = true ]; then patch -p1 < $patches"android_frameworks_base/Copperhead/0005-Deny_USB.patch"; fi; #Deny USB support (Copperhead CC BY-NC-SA)
|
||||||
rm -rf packages/PrintRecommendationService; #App that just creates popups to install proprietary print apps
|
rm -rf packages/PrintRecommendationService; #App that just creates popups to install proprietary print apps
|
||||||
rm core/res/res/values/config.xml.orig core/res/res/values/strings.xml.orig;
|
rm core/res/res/values/config.xml.orig core/res/res/values/strings.xml.orig;
|
||||||
|
Loading…
Reference in New Issue
Block a user