on boot #add for blestech fingerprint chmod 0666 /dev/blfp chown system system /dev/blfp chmod 0660 /dev/trusty-ipc-dev0 chown system system /dev/trusty-ipc-dev0 # add for microarray fingerprint chmod 0666 /dev/madev0 chown system system /dev/madev0 #add for goodix fingerprint chown system system /dev/goodix_fp chmod 0660 /dev/goodix_fp #add for chipsailing fingerprint chmod 0666 /dev/cs_spi #add for cdfingerprint chmod 0666 /dev/fpsdev0 #add for chipone chmod 0777 /dev/fpsensor chown system system /dev/fpsensor #add for blestech fingerprint on property:vendor.trustkernel.fs.state=ready start btlfpserver service btlfpserver /vendor/bin/hw/btlfpserver class late_start user system service fingerprintd /system/bin/fingerprintd class late_start user system service swfingerprint-hal-1.0 /vendor/bin/hw/vendor.sw.swfingerprint@1.0-service class late_start user system group system service fptoolfingerprint-hal-2.0 /vendor/bin/hw/vendor.fptool.fingerprint@2.0-service class late_start user system group system service vendor.focaltech.fps_hal /vendor/bin/hw/vendor.focaltech.fingerprint@1.0-service class hal user system group system on post-fs-data # add for blestech fingerprint mkdir /data/vendor/blfp 0700 system system # add for microarray fingerprint chmod 777 dev/madev0 chown system system dev/madev0 # add for sunwave fingerprint chown system system /dev/sunwave_fp chmod 664 /dev/sunwave_fp # add for fortsense fingerprint chown system system /dev/fortsense_fp chmod 664 /dev/fortsense_fp #focaltech mkdir /data/vendor/focaltech 0760 system system restorecon /data/vendor/focaltech chown system system /dev/focaltech_fp chmod 0660 /dev/focaltech_fp chown system system /dev/spidev1.0 chmod 0660 /dev/spidev1.0 chown system system /dev/spidev5.0 chmod 0660 /dev/spidev5.0