From d6d8b0ee5c214e8645d8baf6fac062aff6a4d985 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Wed, 21 Aug 2019 22:00:44 +0200 Subject: [PATCH] More chmods for /sys Samsung --- rw-system.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index 2a36499..b93dc0f 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -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} 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