Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77947a4c authored by Jackeagle's avatar Jackeagle Committed by Bernhard Thoben
Browse files

rootdir: Fix cmdline permisssion denied error



- This fixes following
TelephonyManager: No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline (Permission denied)

Signed-off-by: default avatarJackeagle <jackeagle102@gmail.com>
parent f31ca5f8
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -47,6 +47,9 @@ on init
    chown oem_2997 oem_2997 /dev/block/mmcblk0p1
    chown oem_2997 oem_2997 /dev/block/mmcblk0p1
    chmod 0770 /dev/block/mmcblk0p1
    chmod 0770 /dev/block/mmcblk0p1


    # default is root radio 0440
    chmod 0644 /proc/cmdline

    write /sys/devices/soc.0/f98a4900.sdhci/mmc_host/mmc1/clkgate_delay 1
    write /sys/devices/soc.0/f98a4900.sdhci/mmc_host/mmc1/clkgate_delay 1
    # Avoid long waits for rcu grace periods
    # Avoid long waits for rcu grace periods
    write /sys/kernel/rcu_expedited 1
    write /sys/kernel/rcu_expedited 1