Try to fix Samsung boot with safedex

This commit is contained in:
Pierre-Hugues Husson 2019-01-18 18:14:57 +01:00
parent 7282bfa7ab
commit 4484ddd7f8

View File

@ -23,6 +23,7 @@ fixSPL() {
setprop ro.keymaster.xxx.release "$Arelease" setprop ro.keymaster.xxx.release "$Arelease"
setprop ro.keymaster.xxx.security_patch "$(getSPL $img spl)" setprop ro.keymaster.xxx.security_patch "$(getSPL $img spl)"
getprop ro.vendor.build.fingerprint |grep -qiE '^samsung/' && return 0
for f in \ for f in \
/vendor/lib64/hw/android.hardware.keymaster@3.0-impl-qti.so /vendor/lib/hw/android.hardware.keymaster@3.0-impl-qti.so \ /vendor/lib64/hw/android.hardware.keymaster@3.0-impl-qti.so /vendor/lib/hw/android.hardware.keymaster@3.0-impl-qti.so \
/system/lib64/vndk-26/libsoftkeymasterdevice.so /vendor/bin/teed \ /system/lib64/vndk-26/libsoftkeymasterdevice.so /vendor/bin/teed \