diff --git a/conf/init.comet.rc b/conf/init.comet.rc index b94f234..1d31984 100644 --- a/conf/init.comet.rc +++ b/conf/init.comet.rc @@ -85,3 +85,17 @@ on property:vendor.all.modules.ready=1 enable vendor.vibrator.cs40l26 +# SFPS Fingerprint +on post-fs-data + chown system system /sys/devices/platform/odm/odm:fp_fpc1020/clk_enable + chown system system /sys/devices/platform/odm/odm:fp_fpc1020/hw_reset + chown system system /sys/devices/platform/odm/odm:fp_fpc1020/irq + chown system system /sys/devices/platform/odm/odm:fp_fpc1020/wakeup_enable + +on fs + exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/1540.app + +# Load FPC's internal lib +on init + setprop ro.hardware.fingerprint "fpc" +