summaryrefslogtreecommitdiff
path: root/init.bullhead.sensorhub.rc
blob: 280157ab2e177612c5ad5ca540ee70464088647d (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 /vendor/bin/sensortool.bullhead -f /vendor/firmware/nano4x1.bin
    oneshot
    disabled