Fix flashlight on S10 lite
Thanks @mainey
This commit is contained in:
parent
53df615cca
commit
091c225863
@ -486,6 +486,11 @@ if getprop ro.vendor.build.fingerprint | grep -qiE '^samsung/' && [ "$vndk" -ge
|
||||
chcon u:object_r:sysfs_ss_writable:s0 /sys/class/sec/tsp/input/enabled
|
||||
setprop ctl.restart sec-miscpower-1-0
|
||||
fi
|
||||
if [ "$(stat -c '%U' /sys/class/camera/flash/rear_flash)" == "root" ] &&
|
||||
[ "$(stat -c '%G' /sys/class/camera/flash/rear_flash)" == "root" ];then
|
||||
chown system:system /sys/class/camera/flash/rear_flash
|
||||
chcon u:object_r:sysfs_camera_writable:s0 /sys/class/camera/flash/rear_flash
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -f /system/phh/secure ];then
|
||||
|
Loading…
Reference in New Issue
Block a user