2020-04-12 11:09:12 -04:00
|
|
|
on boot
|
2018-04-26 00:26:43 -04:00
|
|
|
chown system system /dev/goodix_fp
|
|
|
|
chmod 0644 /dev/goodix_fp
|
2019-08-06 15:31:34 -04:00
|
|
|
|
|
|
|
chown system system /sys/bus/platform/devices/soc:fpc1020/irq
|
|
|
|
chown system system /sys/bus/platform/devices/soc:fpc1020/wakeup_enable
|
|
|
|
chown system system /sys/bus/platform/devices/soc:fpc1020/hw_reset
|
|
|
|
chown system system /sys/bus/platform/devices/soc:fpc1020/device_prepare
|
|
|
|
chown system system /data/misc/fpc/calibration_image.pndat
|
|
|
|
chmod 0700 /sys/bus/platform/devices/soc:fpc1020/irq
|
|
|
|
chmod 0700 /sys/bus/platform/devices/soc:fpc1020/wakeup_enable
|
|
|
|
chmod 0700 /sys/bus/platform/devices/soc:fpc1020/hw_reset
|
|
|
|
chmod 0700 /sys/bus/platform/devices/soc:fpc1020/device_prepare
|
|
|
|
chmod 0600 /data/misc/fpc/calibration_image.pndat
|
|
|
|
|
2019-12-15 02:54:05 -05:00
|
|
|
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/regulator_enable
|
|
|
|
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/screen_status
|
|
|
|
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/vreg_op_cnt
|
|
|
|
|
|
|
|
chmod 0700 /sys/bus/platform/devices/soc:fingerprint_fpc/irq
|
|
|
|
chmod 0700 /sys/bus/platform/devices/soc:fingerprint_fpc/wakeup_enable
|
|
|
|
chmod 0700 /sys/bus/platform/devices/soc:fingerprint_fpc/hw_reset
|
|
|
|
chmod 0700 /sys/bus/platform/devices/soc:fingerprint_fpc/device_prepare
|
|
|
|
chmod 0700 /sys/bus/platform/devices/soc:fingerprint_fpc/vendor
|
|
|
|
chmod 0660 /sys/bus/platform/devices/soc:fingerprint_fpc/regulator_enable
|
|
|
|
chmod 0660 /sys/bus/platform/devices/soc:fingerprint_fpc/screen_status
|
|
|
|
chmod 0660 /sys/bus/platform/devices/soc:fingerprint_fpc/vreg_op_cnt
|
|
|
|
|
2020-03-17 04:48:03 -04:00
|
|
|
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
|
|
|
|
|
2019-08-06 15:31:34 -04:00
|
|
|
on post-fs-data
|
|
|
|
mkdir /data/misc/fpc 0770 system system
|
|
|
|
mkdir /data/misc/goodix 0770 system system
|
|
|
|
mkdir /persist/fpc 0770 system system
|
|
|
|
mkdir /data/vendor/goodix 0770 system system
|
|
|
|
mkdir /data/vendor/fpc 0770 system system
|
|
|
|
copy /data/vendor/fpc/user.db /data/vendor_de/0/fpdata/user.db
|
|
|
|
chown system system /data/vendor_de/0/fpdata/user.db
|
2018-04-26 00:26:43 -04:00
|
|
|
|
2019-08-06 14:05:02 -04:00
|
|
|
service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660
|
2021-09-14 07:09:17 -04:00
|
|
|
interface android.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprint default
|
2018-04-26 00:26:43 -04:00
|
|
|
class late_start
|
|
|
|
user system
|
2019-09-05 12:44:08 -04:00
|
|
|
group system uhid input
|
2021-10-08 18:59:30 -04:00
|
|
|
task_profiles ServiceCapacityLow
|
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
|
2019-08-15 06:51:31 -04:00
|
|
|
oneshot
|