From bd8891387b55b7834c2ae09a9a8c7328f90cb599 Mon Sep 17 00:00:00 2001 From: dhacker29 Date: Tue, 20 Aug 2013 00:10:41 -0500 Subject: Allow telephony access to proc/cmdline Otherwise on toro you get: D/TelephonyManager( 131): No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline: open failed: EACCES (Permission denied) Change-Id: I2685959d485be3e29a738bc6287fdd99dc52b771 --- rootdir/init.tuna.rc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rootdir') diff --git a/rootdir/init.tuna.rc b/rootdir/init.tuna.rc index 89c515d..591ba74 100755 --- a/rootdir/init.tuna.rc +++ b/rootdir/init.tuna.rc @@ -61,6 +61,9 @@ on boot write /sys/bus/usb/devices/usb1/power/autosuspend_delay_ms 0 write /sys/bus/usb/devices/usb2/power/autosuspend_delay_ms 0 +# Prevents permission denied error for telephony + chmod 0644 /proc/cmdline + on fs mkdir /factory 0775 radio radio mount_all /fstab.tuna -- cgit v1.1