diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 7680f76..82f4a11 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -167,6 +167,9 @@ on fs mkdir /persist/data 0700 system system restorecon_recursive /persist + chown system system /dev/goodix_fp + chmod 0644 /dev/goodix_fp + on post-fs symlink /sdcard /storage/sdcard0 @@ -285,6 +288,7 @@ on post-fs-data # Fingerprint mkdir /data/fpc 0700 system system + mkdir /data/goodix 0700 system system mkdir /data/tombstones 0771 system system mkdir /tombstones/modem 0771 system system @@ -553,3 +557,10 @@ service fingerprintd /system/bin/fingerprintd socket fpce stream 0666 system system user system writepid /dev/cpuset/system-background/tasks + +service gx_fpd /system/bin/gx_fpd + class late_start + user root + group root system + writepid /dev/cpuset/system-background/tasks + seclabel u:r:gx_fpd:s0