diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 2782b9f..3563f38 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -483,6 +483,10 @@ service charger /charger seclabel u:r:charger:s0 disabled +service sensoors /system/bin/sensorservice + class main + user root + # Allow usb charging to be disabled peristently on property:persist.usb.chgdisabled=1 write /sys/class/power_supply/battery/charging_enabled 0 diff --git a/system.prop b/system.prop index 39d72ad..f0cb0b3 100644 --- a/system.prop +++ b/system.prop @@ -222,6 +222,9 @@ persist.data.iwlan.enable=true # Sensors ro.hardware.sensors=sanders +# SensorService +system_init.startsensorservice=0 + # USB ro.usb.mtp=0x2e82 ro.usb.mtp_adb=0x2e76