Droid-2 stuck at boot When I woke up this morning, I found my good old Milestone² (aka Droid 2) in what first seemed a boot-loop: Google logo, CM boot animation, off, repeat – with the "off" state lasting a couple of minutes (turned out it already had depleted the battery, and that took a while to recharge). I finally managed getting into recovery, and wiped cache+Dalvik (Android 4.3 on the device).

After letting it charge up to 100%, I tried booting up again, it got stuck in the CM boot animation. Luckily, adb logcat already responded – and I could see the line

D/WifiStateMachine( 1620): VerifyingLinkState what=131155 NOT_HANDLED


repeated every 1..2s for several minutes (stopped watching it then). To get out of that, I tried to turn off Wifi via ADB – but the svc wifi disable command never returned (waited several minutes again, then aborted it with Ctrl-C).

As the above shows, I can get as far as invoking adb shell and getting root access. But I've got no idea what I could do to break through that hanging process. As the GUI is not loaded, I obviously cannot interact with it (neither via keyevents on the shell I assume), so turning airplane mode on via ADB wouldn't do that way.

I cannot tell what might have caused this state: when I put the device in its cradle yesterday, it was working fine. Last thing I did was updating 2 user-apps from Playstore, but they shouldn't have caused network trouble (Password Safe Lite should not be loaded at that stage, and neither should AlarmDroid). Before that, I've replaced BlankStore (a GooglePlayStore alternative for devices not running Google Apps). Though that being a system app, I very much doubt this was the cause – as I see no connection to the logs.

I've put all errors/warnings from Logcat on pastebin, just skipping irrelevant things like PackageManager skipping unknown permissions. Where that pastebin ends, the last message is repeated eternally.



Apart from a factory-reset: Any ideas what I could try to get the system up again?



Edit: last logcat with wpa_supplicant.conf "made virgin" (i.e. no APNs anymore, just the fresh file from the ROM), no other changes made. The "eternally repeating error" is gone, I'm still stuck in the CM boot logo. The initially wiped Dalvik cache has been rebuild on the previous boot already.
Not a satisfying answer: nothing tried lead to success, so I ended up performing a factory-reset after having removed the replaced system app. It isn't sure that app caused the issue, but that was the only change to the system itself applied shortly before – so better play it safe.

That brought the device "back to live" (checked for several weeks to make sure – before updating to the latest CM available for it, which brought it up to 4.4.4 Kitkat).