Skip to content

Instantly share code, notes, and snippets.

@Nokius
Created July 16, 2016 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nokius/cf51d79762abd96183d5208f36efa9ab to your computer and use it in GitHub Desktop.
Save Nokius/cf51d79762abd96183d5208f36efa9ab to your computer and use it in GitHub Desktop.
[SFOS] scorpion sensors
sh-3.2# grep -i sensor /init*
/init.qcom.rc: # QCOM Sensors
/init.qcom.rc: mkdir /data/system/sensors 0775 system system
/init.qcom.rc: mkdir /data/misc/sensors 0775 system system
/init.qcom.rc: write /data/system/sensors/settings 1
/init.qcom.rc: chmod 664 /data/system/sensors/settings
/init.qcom.rc: chown system /data/system/sensors/settings
/init.qcom.rc:# start GNS/Sensor interface daemon
/init.qcom.rc:service sensors /system/bin/sensors.qcom
/init.qcom.rc: group sensors radio system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment