From 94ca3b4cdeba320272de252b110325ad9ef0fae3 Mon Sep 17 00:00:00 2001 From: dhacker29 Date: Tue, 20 Aug 2013 00:10:41 -0500 Subject: [PATCH] universal7885: rootdir: Allow telephony access to proc/cmdline `D/TelephonyManager( 131): No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline: open failed: EACCES (Permission denied)` Change-Id: I2685959d485be3e29a738bc6287fdd99dc52b771 Signed-off-by: SamarV-121 --- rootdir/etc/init.exynos7904.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootdir/etc/init.exynos7904.rc b/rootdir/etc/init.exynos7904.rc index ed1c29d..9308a03 100644 --- a/rootdir/etc/init.exynos7904.rc +++ b/rootdir/etc/init.exynos7904.rc @@ -398,6 +398,9 @@ on boot chmod 0660 /sys/class/sec/switch/uart_sel chown system system /sys/class/sec/switch/uart_sel +# Prevents permission denied error for telephony + chmod 0644 /proc/cmdline + on fs mount_all /vendor/etc/fstab.${ro.hardware} # We need to seperate mounting SEC_EFS partition from fstab file due to GSI image loading case