Files
device_google_taimen/init-taimen.rc
Devin Kim c59cc61500 Set the slot_suffix for backward compatibility
Bug: 37663204
Test: boot
Change-Id: Ic134f489bc5dcf4d67dabd18a4fa86ba04da8bf0
2017-04-26 09:57:54 -07:00

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