diff --git a/conf/init.comet.rc b/conf/init.comet.rc index 2e6c2e4..3569f09 100644 --- a/conf/init.comet.rc +++ b/conf/init.comet.rc @@ -45,6 +45,13 @@ on post-fs-data on post-fs-data chown bluetooth system /proc/bluetooth/timesync +# Hall sensor +on init && property:ro.bootmode=normal + write /sys/devices/platform/hall_sensor/enable 0 + +on init && property:ro.bootmode=factory + write /sys/devices/platform/hall_sensor/enable 0 + # Haptics on property:vendor.all.modules.ready=1 mkdir /mnt/vendor/persist/haptics 0770 system system