From 8c4423f8ab65f3b8c30e90b4f1b328de454cf714 Mon Sep 17 00:00:00 2001 From: ggow Date: Sat, 15 Jun 2019 11:21:19 +0100 Subject: [PATCH] rootdir: mount debugfs early --- rootdir/init.mt8127.rc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/rootdir/init.mt8127.rc b/rootdir/init.mt8127.rc index a765c6e..cfe81ca 100755 --- a/rootdir/init.mt8127.rc +++ b/rootdir/init.mt8127.rc @@ -2,7 +2,8 @@ import init.project.rc import init.mt8127.usb.rc on early-init - # nothing to see here + # mount debugfs for ftrace + mount debugfs none /sys/kernel/debug on init # See storage config details at http://source.android.com/tech/storage/ @@ -177,10 +178,7 @@ on init setprop persist.sys.aal.function 0 # Enable AAL - setprop ro.mediatek.aal 1 - - # mount debugfs for ftrace - mount debugfs none /sys/kernel/debug + setprop ro.mediatek.aal 1 # change owner chown system system /proc/bootprof