mirror of
https://github.com/LineageOS/android_device_xiaomi_whyred.git
synced 2025-10-03 09:49:16 +02:00
whyred: Import fingerprint file attrs from miui ramdisk.
This commit is contained in:
parent
464157cfd0
commit
d00091ee39
2 changed files with 27 additions and 4 deletions
|
@ -3,9 +3,34 @@ service fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-servi
|
|||
user system
|
||||
group system input
|
||||
|
||||
on post-fs-data
|
||||
mkdir /data/misc/fpc 0770 system system
|
||||
on init
|
||||
chown system system /dev/goodix_fp
|
||||
|
||||
on boot
|
||||
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/vendor
|
||||
chown system system /data/misc/fpc/calibration_image.pndat
|
||||
chmod 0700 /sys/bus/platform/devices/soc:fingerprint_fpc/irq
|
||||
chmod 0700 /sys/bus/platform/devices/soc:fingerprint_fpc/irq_enable
|
||||
chmod 0700 /sys/bus/platform/devices/soc:fingerprint_fpc/wakeup_enable
|
||||
chmod 0700 /sys/bus/platform/devices/soc:fingerprint_fpc/hw_reset
|
||||
chmod 0700 /sys/bus/platform/devices/soc:fingerprint_fpc/device_prepare
|
||||
chmod 0700 /sys/bus/platform/devices/soc:fingerprint_fpc/vendor
|
||||
chmod 0600 /data/misc/fpc/calibration_image.pndat
|
||||
|
||||
on post-fs-data
|
||||
mkdir /data/tombstones 0771 system system
|
||||
mkdir /tombstones/modem 0771 system system
|
||||
mkdir /tombstones/lpass 0771 system system
|
||||
mkdir /tombstones/wcnss 0771 system system
|
||||
mkdir /tombstones/dsps 0771 system system
|
||||
mkdir /data/vendor/hbtp 0750 system system
|
||||
mkdir /persist/qti_fp 0700 system system
|
||||
mkdir /data/misc/seemp 0700 system system
|
||||
mkdir /data/misc/fpc 0770 system system
|
||||
mkdir /data/misc/goodix 0770 system system
|
||||
mkdir /persist/fpc 0770 system system
|
||||
|
|
|
@ -61,8 +61,6 @@ on fs
|
|||
|
||||
|
||||
write /sys/kernel/boot_adsp/boot 1
|
||||
chown system system /dev/goodix_fp
|
||||
#chmod 0644 /dev/goodix_fp
|
||||
|
||||
on post-fs
|
||||
start qseecomd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue