pantah: update persist file permissions.
Update persist file permissions on boot to correct inconsistent output at factory. Bug: 238045555 Change-Id: I5425bd7affe767c616c616c5c2f65aef9b78ef6b
This commit is contained in:
parent
661e6c8c17
commit
47e484ec25
2 changed files with 13 additions and 0 deletions
|
@ -33,6 +33,10 @@ on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_complet
|
|||
on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1
|
||||
write /sys/class/spi_master/spi0/spi0.0/synaptics_tcm.0/sysfs/high_sensitivity 1
|
||||
|
||||
# Persist
|
||||
on post-fs-data
|
||||
chmod 770 /mnt/vendor/persist/uwb
|
||||
|
||||
# For Japan sku, always enforce camera shutter sound
|
||||
# Since this property is read by the audio server in system service,
|
||||
# it should be written by the system init.
|
||||
|
|
|
@ -54,6 +54,15 @@ on post-fs-data
|
|||
chown secure_element secure_element /sys/class/st33spi/st33spi/st33spi_state
|
||||
chmod 0660 /sys/class/st33spi/st33spi/st33spi_state
|
||||
|
||||
# Persist
|
||||
on post-fs-data
|
||||
chmod 770 /mnt/vendor/persist/display/hdr_cal_v1
|
||||
chmod 770 /mnt/vendor/persist/display/hdr_cal_v2
|
||||
chmod 770 /mnt/vendor/persist/display/sdr_cal_v1
|
||||
chmod 770 /mnt/vendor/persist/display/sdr_cal_v2
|
||||
chown system system /mnt/vendor/persist/sensors/registry/vd6282_spectral_fac_cal.reg
|
||||
chmod 600 /mnt/vendor/persist/sensors/registry/vd6282_spectral_fac_cal.reg
|
||||
|
||||
# Create thermal symlink in off charging mode
|
||||
on charger
|
||||
# Wait for insmod_sh to finish all common modules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue