Files
device_google_taimen/init-taimen.rc
Kyunam.jo ebc2f9428a Taimen: fixed to loading touch driver loadable modules
Directly using 'insmod' operation to init process is not permitted.
Therefore modified to use init.insmod.sh

Bug: 37914698
Test: booted device, touch works

Change-Id: I57ba8a86a6c508a66a805bacaf014640c6b49254
2017-05-03 09:27:33 -07:00

19 lines
606 B
Plaintext

on init && property:ro.boot.slot=*
# will remove this once slot_suffix is deprecated
setprop ro.boot.slot_suffix _${ro.boot.slot}
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
on property:init.svc.fps_hal=running && property:ro.boot.revision=rev_0
stop fps_hal
on property:sys.all.modules.ready=1
# Update touch firmware if required
write /sys/devices/virtual/input/ftm4_touch/check_fw 1