mirror of
https://github.com/Evolution-X-Devices/device_google_taimen
synced 2026-01-31 07:05:51 +00:00
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
19 lines
606 B
Plaintext
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
|