Files
device_google_taimen/init-taimen.rc
jonghyun26.kim 755b8affab Support touch firmware update
Change-Id: I61cde0e1e77ff774992d9d87a26f51c7c7dd8e15
2017-03-21 09:13:26 -07:00

14 lines
431 B
Plaintext

on post-fs-data
# QC Sensors
mkdir /persist/sensors
chmod 775 /persist/sensors
write /persist/sensors/sensors_settings 1
chmod 664 /persist/sensors/sensors_settings
chown system root /persist/sensors/sensors_settings
# Update touch firmware if required
write /sys/devices/virtual/input/ftm4_touch/check_fw 1
on property:init.svc.fps_hal=running && property:ro.boot.revision=rev_0
stop fps_hal