Start debuggerd as soon as logd is up.
Makes debugging early boot crashes easier.
Bug: http://b/26918597
Change-Id: I5bb883f1350ea5f7a545cb0e9f1034ecfcf47cdb
diff --git a/rootdir/init.rc b/rootdir/init.rc
index f617d72..7bf309b 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -297,8 +297,12 @@
# We restorecon /data in case the userdata partition has been reset.
restorecon /data
- # Make sure we have the device encryption key
+ # Start logd, then start debuggerd to make debugging early-boot crashes easier.
start logd
+ start debuggerd
+ start debuggerd64
+
+ # Make sure we have the device encryption key.
start vold
installkey /data