Add permissions to internal ramdump and dload_mode
System apps such as RIDL/LogKit need to be able to enable internal mini crash dumps and to collect the dump. rw permissions are needed for dload_mode node to enable/disable feature. rw permissions are needed for ramdump to read the ramdump partition and to mark it as read. Change-Id: I79e895fc78c21a7719b58a34a118d68a9e7103b5
This commit is contained in:
parent
c205570f44
commit
e234d39af8
|
@ -195,6 +195,10 @@ on boot
|
|||
chmod 0660 /dev/block/bootdevice/by-name/rawdump -p /dev/block/
|
||||
chown root system /sys/kernel/dload/emmc_dload
|
||||
chmod 0660 /sys/kernel/dload/emmc_dload
|
||||
chown root system /dev/block/bootdevice/by-name/ramdump -p /dev/block/
|
||||
chmod 0660 /dev/block/bootdevice/by-name/ramdump -p /dev/block/
|
||||
chown root system /sys/kernel/dload/dload_mode
|
||||
chmod 0660 /sys/kernel/dload/dload_mode
|
||||
|
||||
chown system system /sys/class/backlight/panel0-backlight/brightness
|
||||
chown system system /sys/class/backlight/panel0-backlight/max_brightness
|
||||
|
|
Loading…
Reference in New Issue