diff --git a/rw-system.sh b/rw-system.sh index 2404970..93e0fac 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -39,7 +39,8 @@ fixSPL() { /system/lib/vndk-26/libsoftkeymasterdevice.so \ /system/lib/vndk-27/libsoftkeymasterdevice.so /system/lib64/vndk-27/libsoftkeymasterdevice.so \ /vendor/lib/libkeymaster3device.so /vendor/lib64/libkeymaster3device.so \ - /vendor/lib/libMcTeeKeymaster.so /vendor/lib64/libMcTeeKeymaster.so ; do + /vendor/lib/libMcTeeKeymaster.so /vendor/lib64/libMcTeeKeymaster.so \ + /vendor/lib/hw/libMcTeeKeymaster.so /vendor/lib64/hw/libMcTeeKeymaster.so ; do [ ! -f "$f" ] && continue # shellcheck disable=SC2010 ctxt="$(ls -lZ "$f" | grep -oE 'u:object_r:[^:]*:s0')"