hikey/hikey960: Add ability to take bugreport from developer's menu
Test: Manual
Change-Id: I6c1664c8068073ff490051e375204e18804e8b07
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
diff --git a/init.common.rc b/init.common.rc
index 10fe234..cfea2f5 100644
--- a/init.common.rc
+++ b/init.common.rc
@@ -114,3 +114,9 @@
class core
oneshot
seclabel u:r:watchdogd:s0
+
+service bugreport /system/bin/dumpstate -d -p -B -z \
+ -o /data/user_de/0/com.android.shell/files/bugreports/bugreport
+ class main
+ disabled
+ oneshot