From 0565d0dda2d8bd90e839f8b26bc741e01535500b Mon Sep 17 00:00:00 2001 From: Vishalcj17 Date: Tue, 18 Jan 2022 14:55:47 +0300 Subject: [PATCH] sdm710-common: Change permissions for /dev/diag. * Logs spam with error '-13' which basically translates to access denied/invalid permission. * Fix this by giving system read and write access. Before in log: Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13 --- rootdir/etc/ueventd.qcom.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/etc/ueventd.qcom.rc b/rootdir/etc/ueventd.qcom.rc index 4e3b076..0d71259 100644 --- a/rootdir/etc/ueventd.qcom.rc +++ b/rootdir/etc/ueventd.qcom.rc @@ -31,7 +31,7 @@ firmware_directories /vendor/firmware_mnt/image/ # the DIAG device node is not world writable/readable. -/dev/diag 0660 system oem_2901 +/dev/diag 0666 system oem_2901 /dev/genlock 0666 system system /dev/wlan 0660 wifi wifi