diff --git a/Patches/LineageOS-20.0/android_bootable_recovery/0001-No_SerialNum_Restrictions.patch b/Patches/LineageOS-20.0/android_bootable_recovery/0001-No_SerialNum_Restrictions.patch index cc09d09f..39015f0d 100644 --- a/Patches/LineageOS-20.0/android_bootable_recovery/0001-No_SerialNum_Restrictions.patch +++ b/Patches/LineageOS-20.0/android_bootable_recovery/0001-No_SerialNum_Restrictions.patch @@ -8,7 +8,7 @@ Subject: [PATCH] reject updates with serialno constraints 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/install/install.cpp b/install/install.cpp -index 11a6b3ff..8dd647be 100644 +index 979616dc..934a0314 100644 --- a/install/install.cpp +++ b/install/install.cpp @@ -223,22 +223,10 @@ bool CheckPackageMetadata(const std::map& metadata, Ot diff --git a/Scripts/Common/Deblob.sh b/Scripts/Common/Deblob.sh index 575b7a33..a1875b64 100644 --- a/Scripts/Common/Deblob.sh +++ b/Scripts/Common/Deblob.sh @@ -908,8 +908,23 @@ fi; deblobVendors; #Deblob entire vendor directory rm -rf frameworks/av/drm/mediadrm/plugins/clearkey; #Remove ClearKey #rm -rf frameworks/av/drm/mediacas/plugins/clearkey; #XXX: breaks protobuf inclusion -rm -rf packages/apps/Car/DebuggingRestrictionController/* || true; #Remove package that depends on Play Services [[ -d vendor/samsung/nodevice ]] && rm -rf vendor/samsung/nodevice; + +#Remove proprietary libraries +rm -rf external/firebase-messaging/* || true; +rm -rf prebuilts/tools/common/m2/repository/com/apple/AppleJavaExtensions || true; +rm -rf prebuilts/tools/common/m2/repository/com/cenqua/clover/clover || true; +rm -rf prebuilts/tools/common/m2/repository/com/crittercism || true; +rm -rf prebuilts/tools/common/m2/repository/com/facebook/android/facebook-android-sdk || true; +rm -rf prebuilts/tools/common/m2/repository/com/firebase/firebase-client-android || true; +rm -rf prebuilts/tools/common/m2/repository/com/firebase/firebase-client-jvm || true; +rm -rf prebuilts/tools/common/m2/repository/com/google/android/gms || true; +rm -rf prebuilts/tools/common/m2/repository/com/google/android/play || true; +rm -rf prebuilts/tools/common/m2/repository/com/helpshift || true; +#rm -rf prebuilts/tools/common/m2/repository/org/python/jython || true; +#Remove apps depending on proprietary libraries +rm -rf packages/apps/Car/DebuggingRestrictionController/* || true; +rm -rf packages/apps/ImsServiceEntitlement/* || true; # #END OF DEBLOBBING #