hikey/hikey960: Add ability to take bugreport from developer's menu am: 6e5ccc6938 am: c272752576
am: b37da362d7

Change-Id: Id44a5961e7a2433dbdfaf1e78154ad85ac766f92
diff --git a/init.common.rc b/init.common.rc
index 0085215..e5bfb43 100644
--- a/init.common.rc
+++ b/init.common.rc
@@ -120,3 +120,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