mirror of
https://github.com/Evolution-X-Devices/device_google_taimen
synced 2026-02-01 07:33:15 +00:00
24 lines
730 B
Plaintext
24 lines
730 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 boot
|
|
# Touch drivers
|
|
insmod /vendor/lib/modules/touch_core_base.ko
|
|
insmod /vendor/lib/modules/ftm4.ko
|
|
insmod /vendor/lib/modules/sw49408.ko
|
|
|
|
# Update touch firmware if required
|
|
write /sys/devices/virtual/input/ftm4_touch/check_fw 1
|