diff --git a/rw-system.sh b/rw-system.sh index f5dabcb..dc81005 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -123,7 +123,7 @@ if getprop ro.vendor.build.fingerprint |grep -q -e Xiaomi/clover/clover -e iaomi setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness) fi -for f in /vendor/lib/mtk-ril.so /vendor/lib64/mtk-ril.so;do +for f in /vendor/lib/mtk-ril.so /vendor/lib64/mtk-ril.so /vendor/lib/libmtk-ril.so /vendor/lib64/libmtk-ril.so;do [ ! -f $f ] && continue ctxt="$(ls -lZ $f |grep -oE 'u:object_r:[^:]*:s0')" b="$(echo "$f"|tr / _)" diff --git a/sepolicy/bootanim.te b/sepolicy/bootanim.te new file mode 100644 index 0000000..1b8e8cf --- /dev/null +++ b/sepolicy/bootanim.te @@ -0,0 +1 @@ +allow bootanim gpu_device:dir r_dir_perms;