From 55af8f2ca7c492cfca733d0209c485837e30a2ca Mon Sep 17 00:00:00 2001 From: Zhao Wei Liew Date: Sun, 25 Sep 2016 17:34:37 +0800 Subject: msm8916: Mount debugfs on early-init This was previously removed in commit 7a9eb6b599bb15e90d248f479e98cf305686b47c due to the fact that it was mounted in the global init.rc in Android 6.0. In Android 7.0 however, this is no longer the case. Hence, revive the mount. Change-Id: I15b9571db4dd07a19b298a670f9ce6db1c4eeb63 --- rootdir/etc/init.qcom.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index e5d5e41..48bfda8 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -35,6 +35,9 @@ on early-init mkdir /system 0777 root root symlink /data/tombstones /tombstones + mount debugfs debugfs /sys/kernel/debug + chmod 0755 /sys/kernel/debug + # Turn off backlight on blank write /sys/class/leds/lcd-backlight/trigger "backlight" -- cgit v1.2.3