This commit is contained in:
Tad 2018-06-23 02:38:49 -04:00
parent 24b76f617b
commit a79c888157
3 changed files with 6 additions and 2 deletions

@ -1 +1 @@
Subproject commit ec413f9a73af36a99f2589f0b7d02df461ca8dfa Subproject commit fadf08a1b011722cd08a68178f07e265aee5c374

View File

@ -101,7 +101,8 @@ echo "Deblobbing..."
makes=$makes"|android.hardware.drm.*|libdrmclearkeyplugin"; makes=$makes"|android.hardware.drm.*|libdrmclearkeyplugin";
#makes=$makes"|libdrmframework.*"; #necessary to compile #makes=$makes"|libdrmframework.*"; #necessary to compile
#makes=$makes"|mediadrmserver|com.android.mediadrm.signer.*|drmserver"; #Works but causes long boot times #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] #Face Unlock [Google]
blobs=$blobs"|libfacenet.so|libfilterpack_facedetect.so|libfrsdk.so"; blobs=$blobs"|libfacenet.so|libfilterpack_facedetect.so|libfrsdk.so";

View File

@ -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.secure=0/ro.secure=1/' core/main.mk;
#sed -i 's/ro.adb.secure=0/ro.adb.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"; enterAndClear "device/qcom/sepolicy";
patch -p1 < "$patches/android_device_qcom_sepolicy/0001-Camera_Fix.patch"; #Fix camera on -user builds XXX: REMOVE THIS TRASH patch -p1 < "$patches/android_device_qcom_sepolicy/0001-Camera_Fix.patch"; #Fix camera on -user builds XXX: REMOVE THIS TRASH