Merge pull request #66 from milankragujevic/android-8.1
Fix RIL on MTK for more devices and Bootanimation on Oreo GSI
This commit is contained in:
commit
e7ca75151b
@ -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)
|
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)
|
||||||
fi
|
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
|
[ ! -f $f ] && continue
|
||||||
ctxt="$(ls -lZ $f |grep -oE 'u:object_r:[^:]*:s0')"
|
ctxt="$(ls -lZ $f |grep -oE 'u:object_r:[^:]*:s0')"
|
||||||
b="$(echo "$f"|tr / _)"
|
b="$(echo "$f"|tr / _)"
|
||||||
|
1
sepolicy/bootanim.te
Normal file
1
sepolicy/bootanim.te
Normal file
@ -0,0 +1 @@
|
|||||||
|
allow bootanim gpu_device:dir r_dir_perms;
|
Loading…
Reference in New Issue
Block a user