mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 12:07:36 +00:00
sm6150-common: rootdir: 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: I743de1ca77c5ddedd6905117e4d35cdcfb1541ab Signed-off-by: Michael W <baddaemon87@gmail.com> Signed-off-by: therealmharc <therealmharc@gmail.com>
This commit is contained in:
@@ -45,6 +45,9 @@ on init
|
||||
|
||||
write /sys/module/qpnp_rtc/parameters/poweron_alarm 1
|
||||
|
||||
# Change permissions for /dev/diag
|
||||
chmod 0666 /dev/diag
|
||||
|
||||
on fs
|
||||
mount_all --early
|
||||
|
||||
|
||||
Reference in New Issue
Block a user