diff options
-rw-r--r-- | rootdir/init.qcom.rc | 9 | ||||
-rw-r--r-- | sepolicy/file_contexts | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 3aae358..9a06301 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -91,6 +91,9 @@ on fs symlink /sdcard /storage/sdcard0 + # Start hvdcp to enable quck charge 2.0 in power off charge + start hvdcp + on early-boot # set RLIMIT_MEMLOCK to 64MB setrlimit 8 67108864 67108864 @@ -556,3 +559,9 @@ service timekeep /system/vendor/bin/timekeep restore user root group root oneshot + +# Quick Charge +service hvdcp /system/vendor/bin/hvdcp + class core + user root + disabled diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index b5308c0..f1342ad 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -20,3 +20,6 @@ # WIFI /sys/module/bcmdhd/parameters/firmware_path u:object_r:sysfs_wlan_fwpath:s0 + +# Quick Charge +/system/vendor/bin/hvdcp u:object_r:hvdcp_exec:s0 |