diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc index 50d1a4f..11f728b 100644 --- a/rootdir/etc/init.target.rc +++ b/rootdir/etc/init.target.rc @@ -84,6 +84,7 @@ on post-fs-data # Create fingerprint related directory mkdir /data/vendor/fpc 0770 system system mkdir /data/vendor/goodix 0770 system system + mkdir /mnt/vendor/persist/fpc 0770 system system on boot start rmt_storage @@ -104,6 +105,19 @@ on boot chmod 0660 /dev/xiaomi-touch # Set fingerprint related permissions + 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/request_vreg + chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/power_cfg + chown system system /sys/bus/platform/devices/soc/soc:fpc1020/irq chown system system /sys/bus/platform/devices/soc/soc:fpc1020/wakeup_enable chown system system /sys/devices/platform/soc/soc:qcom,dsi-display/fod_ui