diff --git a/proprietary-files.txt b/proprietary-files.txt index 5b4c0742..b9c16e20 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -492,6 +492,9 @@ vendor/bin/pm-service|835238076f47bf46cee01b27a76a96282eadb309 vendor/lib/libperipheral_client.so|6a95436d0d649fff0a48a4662a0781330e723ae1 vendor/lib64/libperipheral_client.so|18796ea27c31bd39946f23f2b4173bafd26d9216 +# Power-off charging daemon - from msm8998 +-sbin/charger:bin/chargeonlymode|664dfa548b81cac348f1699222160f8d2b4d247c + # Postprocessing - from LA.UM.8.2.r1-06700-sdm660.0 vendor/bin/hw/vendor.display.color@1.0-service|e8c561e3a169c3007b117515f2946f23a195a5e5 vendor/bin/mm-pp-dpps|27ed9e9a5f6c4f547c15e396053f283211f65abb diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index aeaa8d5d..b1531bb4 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -726,7 +726,7 @@ service vendor.ril-daemon3 /vendor/bin/hw/rild -c 3 group radio cache inet misc audio sdcard_r sdcard_rw diag oem_2901 log capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW -service vendor.charger /system/bin/charger +service vendor.charger /system/bin/chargeonlymode class charger user system group system graphics input diff --git a/sepolicy/private/file_contexts b/sepolicy/private/file_contexts index f52868dc..e3ee4a92 100644 --- a/sepolicy/private/file_contexts +++ b/sepolicy/private/file_contexts @@ -1 +1,3 @@ +# Executables /system/bin/folio_daemon u:object_r:folio_daemon_exec:s0 +/system/bin/chargeonlymode u:object_r:charger_exec:s0