2018-04-26 00:26:43 -04:00
|
|
|
on boot
|
|
|
|
# Fingerprint
|
|
|
|
chown system system /dev/goodix_fp
|
|
|
|
chmod 0644 /dev/goodix_fp
|
|
|
|
chown system system /sys/devices/soc/soc:fpc1020/fingerdown_wait
|
|
|
|
chmod 0220 /sys/devices/soc/soc:fpc1020/fingerdown_wait
|
|
|
|
chown system system /sys/devices/soc/soc:fpc1020/irq
|
|
|
|
chmod 0660 /sys/devices/soc/soc:fpc1020/irq
|
|
|
|
chown system system /sys/devices/soc/soc:fpc1020/hw_reset
|
|
|
|
chmod 0660 /sys/devices/soc/soc:fpc1020/hw_reset
|
|
|
|
chown system system /sys/devices/soc/soc:fpc1020/wakeup_enable
|
|
|
|
chmod 0660 /sys/devices/soc/soc:fpc1020/wakeup_enable
|
|
|
|
|
2018-08-18 21:13:46 -04:00
|
|
|
service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_wayne
|
2018-04-26 00:26:43 -04:00
|
|
|
class late_start
|
|
|
|
user system
|
|
|
|
group system input
|
2018-03-08 09:45:45 -05:00
|
|
|
|
2018-08-18 21:13:46 -04:00
|
|
|
service vendor.goodix_script /vendor/bin/init.goodix.sh
|
2018-03-08 09:45:45 -05:00
|
|
|
class late_start
|
2018-07-09 11:16:22 -04:00
|
|
|
user system
|
2018-10-22 12:50:48 -04:00
|
|
|
disabled
|
|
|
|
|
|
|
|
on property:ro.boot.fpsensor=gdx
|
2018-08-18 21:13:46 -04:00
|
|
|
start vendor.goodix_script
|