mirror of
https://github.com/team-infusion-developers/android_device_samsung_msm8976-common.git
synced 2024-11-07 06:19:20 +00:00
msm8976-common: Add FP perms
This commit is contained in:
parent
3491bc986a
commit
a560f4d542
1 changed files with 11 additions and 10 deletions
|
@ -275,10 +275,6 @@ on boot
|
|||
chmod 0660 /sys/class/sec/sec_touchkey/brightness
|
||||
|
||||
# Permissions for SENSOR
|
||||
# Fingerprint_sensor
|
||||
chown system radio /sys/class/fingerprint/fingerprint/type_check
|
||||
chown system radio /sys/class/fingerprint/fingerprint/name
|
||||
chown system radio /sys/class/fingerprint/fingerprint/vendor
|
||||
# Accelerometer_sensor
|
||||
chown system radio /sys/class/sensors/accelerometer_sensor/raw_data
|
||||
chown system radio /sys/class/sensors/accelerometer_sensor/calibration
|
||||
|
@ -1448,10 +1444,6 @@ on post-fs-data
|
|||
chown radio radio /data/misc/radio/db_check_done
|
||||
chmod 0660 /data/misc/radio/db_check_done
|
||||
|
||||
# Fingerprint
|
||||
mkdir /data/fpc 0770 system system
|
||||
mkdir /data/fpc/s 0770 system system
|
||||
|
||||
mkdir /data/tombstones 0771 system system
|
||||
mkdir /tombstones/modem 0771 system system
|
||||
mkdir /tombstones/lpass 0771 system system
|
||||
|
@ -1462,6 +1454,16 @@ on post-fs-data
|
|||
mkdir /data/misc/dts 0770 media audio
|
||||
mkdir /data/misc/audio_pp 0771 media audio
|
||||
|
||||
# Fingerprint
|
||||
mkdir /dev/validity 0770 system system
|
||||
mkdir /data/validity 0770 system system
|
||||
|
||||
chmod 0660 /dev/vfsspi
|
||||
chown system system /dev/vfsspi
|
||||
chown system radio /sys/class/fingerprint/fingerprint/type_check
|
||||
chown system radio /sys/class/fingerprint/fingerprint/name
|
||||
chown system radio /sys/class/fingerprint/fingerprint/vendor
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
write /dev/kmsg "Boot completed "
|
||||
write /sys/block/dm-0/queue/read_ahead_kb 128
|
||||
|
@ -1697,6 +1699,5 @@ on property:sys.shutdown.requested=*
|
|||
service fingerprintd /system/bin/fingerprintd
|
||||
class late_start
|
||||
user system
|
||||
group drmrpc input system
|
||||
socket fpce stream 0660 system system
|
||||
group system
|
||||
writepid /dev/cpuset/system-background/tasks
|
||||
|
|
Loading…
Reference in a new issue