blob: 280157ab2e177612c5ad5ca540ee70464088647d [file] [log] [blame]
Thierry Strudel16e5ac72015-05-14 15:25:21 -07001on post-fs
Trevor Bunker8cc3cff2015-07-08 07:09:15 -07002 ## ensure correct calibration file permissions
3 chown root system /persist/sensorcal.json
4 chmod 0640 /persist/sensorcal.json
5 ## Update SH FW if needed
Thierry Strudel16e5ac72015-05-14 15:25:21 -07006 start flash-sh-fw
Thierry Strudel16e5ac72015-05-14 15:25:21 -07007
Trevor Bunkerf96d9102015-10-13 10:23:13 -07008service flash-sh-fw /vendor/bin/sensortool.bullhead -f /vendor/firmware/nano4x1.bin
Thierry Strudel16e5ac72015-05-14 15:25:21 -07009 oneshot
10 disabled