summaryrefslogtreecommitdiff
path: root/init.bullhead.sensorhub.rc
blob: 57706ac354eee01867f9808c4dd0c8a429450276 (plain)
1
2
3
4
5
6
7
8
9
10
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 /system/bin/sensortool.bullhead -f /vendor/firmware/nano4x1.bin
    oneshot
    disabled