allwinner_a64/android/device/lge/bullhead/init.bullhead.sensorhub.rc
2018-08-08 17:48:24 +08:00

10 lines
309 B
Text

on post-fs
## ensure correct calibration file permissions
chown root system /persist/sensorcal.json
chmod 0640 /persist/sensorcal.json
## Update SH FW if needed
start flash-sh-fw
service flash-sh-fw /vendor/bin/sensortool.bullhead -f /vendor/firmware/nano4x1.bin
oneshot
disabled