diff --git a/PrebuiltApps b/PrebuiltApps index ec413f9a..fadf08a1 160000 --- a/PrebuiltApps +++ b/PrebuiltApps @@ -1 +1 @@ -Subproject commit ec413f9a73af36a99f2589f0b7d02df461ca8dfa +Subproject commit fadf08a1b011722cd08a68178f07e265aee5c374 diff --git a/Scripts/Common/Deblob.sh b/Scripts/Common/Deblob.sh index 18f6791f..7c05fd8c 100755 --- a/Scripts/Common/Deblob.sh +++ b/Scripts/Common/Deblob.sh @@ -101,7 +101,8 @@ echo "Deblobbing..." makes=$makes"|android.hardware.drm.*|libdrmclearkeyplugin"; #makes=$makes"|libdrmframework.*"; #necessary to compile #makes=$makes"|mediadrmserver|com.android.mediadrm.signer.*|drmserver"; #Works but causes long boot times - sepolicy=$sepolicy" drmserver.te hal_drm_default.te hal_drm.te hal_drm_widevine.te mediadrmserver.te"; + #sepolicy=$sepolicy" drmserver.te mediadrmserver.te"; + sepolicy=$sepolicy" hal_drm_default.te hal_drm.te hal_drm_widevine.te"; #Face Unlock [Google] blobs=$blobs"|libfacenet.so|libfilterpack_facedetect.so|libfrsdk.so"; diff --git a/Scripts/LineageOS-15.1/Patch.sh b/Scripts/LineageOS-15.1/Patch.sh index 5bf0d534..2bff2b4e 100755 --- a/Scripts/LineageOS-15.1/Patch.sh +++ b/Scripts/LineageOS-15.1/Patch.sh @@ -68,6 +68,9 @@ sed -i 's/messaging/Silence/' target/product/*.mk; #Replace AOSP Messaging app w sed -i 's/ro.secure=0/ro.secure=1/' core/main.mk; #sed -i 's/ro.adb.secure=0/ro.adb.secure=1/' core/main.mk; +enterAndClear "device/lineage/sepolicy"; +git revert c9b0d95630b82cd0ad1a0fc633c6d59c2cb8aad7 37422f7df389f3ae5a34ee3d6dd9354217f9c536; #neverallow violation + enterAndClear "device/qcom/sepolicy"; patch -p1 < "$patches/android_device_qcom_sepolicy/0001-Camera_Fix.patch"; #Fix camera on -user builds XXX: REMOVE THIS TRASH