rootdir: add permissions for call state detection

This commit is contained in:
Joel Bacchus
2021-01-17 17:15:56 +00:00
parent 3927aa5245
commit b5b1d38eeb
+6
View File
@@ -364,6 +364,12 @@ on post-fs-data
chown system /sys/devices/platform/msensor/driver/cpsopmode
chown system /sys/devices/platform/msensor/driver/cpsreptxy
chown system /sys/devices/platform/msensor/driver/cpsreptz
# Accdet
chown root radio /sys/devices/platform/Accdet_Driver/driver/accdet_call_state
# kpd
chown radio radio /sys/devices/platform/mtk-kpd/driver/kpd_call_state
chown system system /system/bin/sbchk
chmod 0771 /system/bin/sbchk