android_device_motorola_rhodep/rootdir/etc/init/init.ets.rc
Marc Bourgoin 72a7ab0b82 xpeng: Convert tree from berlna
The partition reserved sizes were taking from stock ROM

IE, blockdev --getsize64 /dev/block/mapper/system_a

Also add TARGET_IS_VAB cflag as ro.virtual_ab.enabled is true on stock
so that our commonized tree can enable VAB-specific changes.

Change-Id: I922f61e5a0380d16eba5967f6c77346437290eb6
2023-04-17 22:40:23 -06:00

22 lines
867 B
Text

# Egistec fingerprint feature
on post-fs-data
mkdir /persist/egis 0770 system system
chmod 0660 /sys/devices/platform/egis_input/navigation_event
chmod 0660 /sys/devices/platform/egis_input/navigation_enable
chmod 0660 /sys/devices/soc/0.et320/etspi_enable
chown system system /sys/devices/platform/egis_input/navigation_enable
chown system system /sys/devices/platform/egis_input/navigation_event
chown system system /sys/devices/soc/0.et320/etspi_enable
restorecon /sys/devices/platform/egis_input/navigation_enable
restorecon /sys/devices/platform/egis_input/navigation_event
restorecon /sys/devices/soc/0.et320/etspi_enable
# Egistec fingerprint fp daemon start
# service etsd /system/bin/etsd
# user system
# group system input
# class late_start
on post-fs-data
# service-ets
on property:ro.vendor.hw.fps=false
stop ets_hal