blob: 61f76ac46822b107d6a5fee13a06d5ca00f7e971 [file] [log] [blame]
on charger
## 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
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.angler -f /vendor/firmware/nano4x1.bin
oneshot
disabled
group system