blob: ec62a44fbc5ccabe2638f6aee3412b6fc4bf7b33 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.3-service.xiaomi_holi
# "class hal" causes a race condition on some devices due to files created
# in /data. As a workaround, postpone startup until later in boot once
# /data is mounted.
class late_start
user system
group system input uhid
on boot
#for silead fingeprint
mkdir /data/vendor/silead 0777 system system
chown system system /dev/silead_fp
chmod 0660 /dev/silead_fp
chown system system /dev/spidev1.0
chmod 0660 /dev/spidev1.0
chown system system /dev/silead_stub
chmod 0660 /dev/silead_stub
#for goodix dump
mkdir /data/vendor/goodix 0777 system system
mkdir /data/vendor_de/0/goodix 0770 system system
#fpc fingerprint
chown system system /sys/bus/platform/devices/soc:fpc1020/hw_reset
chown system system /sys/bus/platform/devices/soc:fpc1020/irq
chown system system /sys/bus/platform/devices/soc:fpc1020/wakeup_enable
chown system system /sys/bus/platform/devices/soc:fpc1020/regulator_enable
chown system system /sys/bus/platform/devices/soc:fpc1020/compatible_all
chown system system /sys/bus/platform/devices/soc:fpc1020/fingerdown_wait
chmod 0644 /sys/bus/platform/devices/soc:fpc1020/hw_reset
chmod 0644 /sys/bus/platform/devices/soc:fpc1020/irq
chmod 0644 /sys/bus/platform/devices/soc:fpc1020/wakeup_enable
chmod 0644 /sys/bus/platform/devices/soc:fpc1020/regulator_enable
chmod 0644 /sys/bus/platform/devices/soc:fpc1020/compatible_all
chmod 0644 /sys/bus/platform/devices/soc:fpc1020/fingerdown_wait
|