diff options
author | GuaiYiHu <guaiyihu@foxmail.com> | 2019-09-19 19:27:19 +0200 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-04-30 00:48:53 +0300 |
commit | fb2de9c6e2d161d3b8fc3532bae0ce2dcef34e41 (patch) | |
tree | 130ed2f7c3d099286420fc013635672fab73258a /biometrics | |
parent | 8657d3fdc8bd2b68a0aae406827e578a5cf87301 (diff) |
sdm660-common: Update ramdisk for the custom biometrics interface
Change-Id: Ib6bbeb147ee0a9a0f4815be270a3438eb25ecb53
Diffstat (limited to 'biometrics')
-rw-r--r-- | biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.rc | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.rc b/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.rc index 00312b3..1b3889b 100644 --- a/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.rc +++ b/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.rc @@ -1,7 +1,8 @@ -on boot - # Fingerprint +on init chown system system /dev/goodix_fp chmod 0644 /dev/goodix_fp + +on boot 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 @@ -10,6 +11,16 @@ on boot 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 + chmod 0600 /data/misc/fpc/calibration_image.pndat + +on post-fs-data + mkdir /persist/qti_fp 0700 system system + mkdir /data/vendor/fpc 0770 system system + mkdir /data/vendor/goodix 0770 system system + mkdir /mnt/vendor/persist/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 + rm /data/vendor/fpc/user.db service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660 class late_start |