More chmods for /sys Samsung

This commit is contained in:
Pierre-Hugues Husson 2019-08-21 22:00:44 +02:00
parent 0922844a1a
commit d6d8b0ee5c

View File

@ -356,5 +356,10 @@ if getprop ro.vendor.build.fingerprint | grep -qiE '^samsung/' && [ "$vndk" -ge
chcon u:object_r:sysfs_ss_writable:s0 /sys/class/sec/tsp/cmd{,_list,_result,_status} chcon u:object_r:sysfs_ss_writable:s0 /sys/class/sec/tsp/cmd{,_list,_result,_status}
chown system /sys/class/sec/tsp/cmd{,_list,_result,_status} chown system /sys/class/sec/tsp/cmd{,_list,_result,_status}
chown system /sys/class/power_supply/battery/wc_tx_en
chcon u:object_r:sysfs_app_writable:s0 /sys/class/power_supply/battery/wc_tx_en
chown system:system /sys/class/sec/tsp/input/enabled
fi fi
fi fi