sdm660-common: Give proper permissions for /dev/diag
* This gives proper permission to /dev/diag node so that diag driver can load successfully * Logs spam with error '-13' which basically translates to access denied/invalid permission. * Fix this by giving system read and write access. Change-Id: I87fe322e7c0d91a494d29213e6f657ed8a7032a6 Signed-off-by: clarencelol <clarencekuiek@icloud.com> Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
parent
7cb46e947b
commit
ede9ca9946
1 changed files with 3 additions and 0 deletions
|
@ -78,6 +78,9 @@ on init
|
|||
chown system system /sys/module/battery_saver/parameters/enabled
|
||||
chmod 0664 /sys/module/battery_saver/parameters/enabled
|
||||
|
||||
# Change permissions for /dev/diag
|
||||
chmod 0666 /dev/diag
|
||||
|
||||
on fs
|
||||
wait /dev/block/platform/soc/${ro.boot.bootdevice}
|
||||
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
|
||||
|
|
Loading…
Reference in a new issue