2022-03-06 16:25:05 -05:00
|
|
|
on init
|
|
|
|
chown system system /dev/goodix_fp
|
|
|
|
|
|
|
|
on boot
|
|
|
|
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/irq
|
|
|
|
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/irq_enable
|
|
|
|
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/wakeup_enable
|
|
|
|
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/hw_reset
|
|
|
|
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/device_prepare
|
|
|
|
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/fingerdown_wait
|
|
|
|
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/vendor
|
|
|
|
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/request_vreg
|
|
|
|
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/simulate_irq
|
|
|
|
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/finger_irq
|
|
|
|
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/power_cfg
|
|
|
|
|
|
|
|
on post-fs-data
|
|
|
|
mkdir /data/vendor/fpc 0770 system system
|
|
|
|
mkdir /data/vendor/goodix 0770 system system
|
|
|
|
mkdir /mnt/vendor/persist/goodix 0770 system system
|
|
|
|
|
2021-01-25 06:42:07 -05:00
|
|
|
service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm8350
|
2021-01-25 06:27:13 -05:00
|
|
|
# "class hal" causes a race condition on some devices due to files created
|
|
|
|
# in /data. As a workaround, postpone startup until later in boot once
|
|
|
|
# /data is mounted.
|
|
|
|
class late_start
|
|
|
|
user system
|
|
|
|
group system input uhid
|
|
|
|
writepid /dev/cpuset/system-background/tasks
|