[General Topics] terirem:
Hi folks.

Last night my phone simply restarted and couldn't start again. It is rooted, I have adb access, I can remount /system rw, but can't find the reason of the bootloop. Here's a logcat output:

% adb shell
shell@android:/ $ su
su
shell@android:/ # logcat *:E
logcat *:E
--------- beginning of /dev/log/system
E/LocationManagerService( 5244): no geocoder provider found
E/VoldCmdListener( 126): CommandListener::VolumeCmd::runCommand --> shared
E/MobileDataStateTracker( 5244): default: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): mms: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): supl: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): dun: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): hipri: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): fota: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): ims: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): cbs: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): dm: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): wap: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): net: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): cmmail: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): rcse: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): default: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): mms: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): supl: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): dun: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): hipri: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): fota: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): ims: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): cbs: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): dm: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): wap: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): net: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): cmmail: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5244): rcse: Ignoring feature request because could not acquire PhoneService
E/AndroidRuntime( 5244): *** FATAL EXCEPTION IN SYSTEM PROCESS: UI
E/AndroidRuntime( 5244): java.lang.RuntimeException: native typeface cannot be made
E/AndroidRuntime( 5244): at android.graphics.Typeface.<init>(Typeface.java:175)
E/AndroidRuntime( 5244): at android.graphics.Typeface.createFromFile(Typeface.java:169)
E/AndroidRuntime( 5244): at com.android.internal.policy.impl.keyguard.ClockView.onFinishInflate(ClockView.java:157)
E/AndroidRuntime( 5244): at android.view.LayoutInflater.rInflate(LayoutInflater.java:754)
E/AndroidRuntime( 5244): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5244): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5244): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5244): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
E/AndroidRuntime( 5244): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
E/AndroidRuntime( 5244): at com.android.internal.policy.impl.keyguard.KeyguardHostView.addDefaultStatusWidget(KeyguardHostView.java:1469)
E/AndroidRuntime( 5244): at com.android.internal.policy.impl.keyguard.KeyguardHostView.checkAppWidgetConsistency(KeyguardHostView.java:1569)
E/AndroidRuntime( 5244): at com.android.internal.policy.impl.keyguard.KeyguardHostView$1.onBootCompleted(KeyguardHostView.java:212)
E/AndroidRuntime( 5244): at com.android.internal.policy.impl.keyguard.KeyguardUpdateMonitor.handleBootCompleted(KeyguardUpdateMonitor.java:800)
E/AndroidRuntime( 5244): at com.android.internal.policy.impl.keyguard.KeyguardUpdateMonitor$1.handleMessage(KeyguardUpdateMonitor.java:213)
E/AndroidRuntime( 5244): at android.os.Handler.dispatchMessage(Handler.java:107)
E/AndroidRuntime( 5244): at android.os.Looper.loop(Looper.java:194)
E/AndroidRuntime( 5244): at android.os.HandlerThread.run(HandlerThread.java:60)
E/AndroidRuntime( 5336): FATAL EXCEPTION: main
E/AndroidRuntime( 5336): java.lang.RuntimeException: Package manager has died
E/AndroidRuntime( 5336): at android.app.ApplicationPackageManager.getResourcesForApplicationAsUser(ApplicationPackageManager.java:778)
E/AndroidRuntime( 5336): at com.android.systemui.statusbar.StatusBarIconView.getIcon(StatusBarIconView.java:181)
E/AndroidRuntime( 5336): at com.android.systemui.statusbar.phone.Ticker.addEntry(Ticker.java:206)
E/AndroidRuntime( 5336): at com.android.systemui.statusbar.phone.PhoneStatusBar.tick(PhoneStatusBar.java:2257)
E/AndroidRuntime( 5336): at com.android.systemui.statusbar.phone.PhoneStatusBar.addNotification(PhoneStatusBar.java:1101)
E/AndroidRuntime( 5336): at com.android.systemui.statusbar.CommandQueue$H.handleMessage(CommandQueue.java:304)
E/AndroidRuntime( 5336): at android.os.Handler.dispatchMessage(Handler.java:107)
E/AndroidRuntime( 5336): at android.os.Looper.loop(Looper.java:194)
E/AndroidRuntime( 5336): at android.app.ActivityThread.main(ActivityThread.java:5371)
E/AndroidRuntime( 5336): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 5336): at java.lang.reflect.Method.invoke(Method.java:525)
E/AndroidRuntime( 5336): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
E/AndroidRuntime( 5336): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
E/AndroidRuntime( 5336): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 5336): Caused by: android.os.DeadObjectException
E/AndroidRuntime( 5336): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 5336): at android.content.pm.IPackageManager$Stub$Proxy.getApplicationInfo(IPackageManager.java:1565)
E/AndroidRuntime( 5336): at android.app.ApplicationPackageManager.getResourcesForApplicationAsUser(ApplicationPackageManager.java:773)
E/AndroidRuntime( 5336): ... 13 more
E/AndroidRuntime( 5336): Error reporting crash
E/AndroidRuntime( 5336): android.os.DeadObjectException
E/AndroidRuntime( 5336): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 5336): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:3396)
E/AndroidRuntime( 5336): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:77)
E/AndroidRuntime( 5336): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime( 5336): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
E/AndroidRuntime( 5336): at dalvik.system.NativeStart.main(Native Method)
E/ActivityThread( 5386): Failed to find provider info for settings
E/ActivityThread( 5386): Failed to find provider info for settings
E/AndroidRuntime( 5386): FATAL EXCEPTION: main
E/AndroidRuntime( 5386): java.lang.RuntimeException: Unable to start receiver com.android.phone.OtaStartupReceiver: java.lang.RuntimeException: Unable to create application com.android.phone.PhoneApp: java.lang.NullPointerException
E/AndroidRuntime( 5386): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2557)
E/AndroidRuntime( 5386): at android.app.ActivityThread.access$1500(ActivityThread.java:162)
E/AndroidRuntime( 5386): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1440)
E/AndroidRuntime( 5386): at android.os.Handler.dispatchMessage(Handler.java:107)
E/AndroidRuntime( 5386): at android.os.Looper.loop(Looper.java:194)
E/AndroidRuntime( 5386): at android.app.ActivityThread.main(ActivityThread.java:5371)
E/AndroidRuntime( 5386): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 5386): at java.lang.reflect.Method.invoke(Method.java:525)
E/AndroidRuntime( 5386): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
E/AndroidRuntime( 5386): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
E/AndroidRuntime( 5386): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 5386): Caused by: java.lang.RuntimeException: Unable to create application com.android.phone.PhoneApp: java.lang.NullPointerException
E/AndroidRuntime( 5386): at android.app.LoadedApk.makeApplication(LoadedApk.java:517)
E/AndroidRuntime( 5386): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2528)
E/AndroidRuntime( 5386): ... 10 more
E/AndroidRuntime( 5386): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 5386): at android.provider.Settings$NameValueCache.getStringForUser(Settings.java:832)
E/AndroidRuntime( 5386): at android.provider.Settings$System.getStringForUser(Settings.java:1029)
E/AndroidRuntime( 5386): at android.provider.Settings$System.getIntForUser(Settings.java:1099)
E/AndroidRuntime( 5386): at android.provider.Settings$System.getInt(Settings.java:1094)
E/AndroidRuntime( 5386): at com.android.internal.telephony.DataConnectionTracker.getDataConnectionFromSetting(DataConnectionTracker.java:1948)
E/AndroidRuntime( 5386): at com.android.internal.telephony.gsm.GsmDataConnectionTracker.trySetupData(GsmDataConnectionTracker.java:945)
E/AndroidRuntime( 5386): at com.android.internal.telephony.gsm.GsmDataConnectionTracker.applyNewState(GsmDataConnectionTracker.java:2228)
E/AndroidRuntime( 5386): at com.android.internal.telephony.gsm.GsmDataConnectionTracker.onSetDependencyMet(GsmDataConnectionTracker.java:2180)
E/AndroidRuntime( 5386): at com.android.internal.telephony.gsm.GsmDataConnectionTracker.initApnContextsAndDataConnection(GsmDataConnectionTracker.java:505)
E/AndroidRuntime( 5386): at com.android.internal.telephony.gsm.GsmDataConnectionTracker.<init>(GsmDataConnectionTracker.java:338)
E/AndroidRuntime( 5386): at com.android.internal.telephony.gsm.GSMPhone.<init>(GSMPhone.java:291)
E/AndroidRuntime( 5386): at com.android.internal.telephony.gsm.GSMPhone.<init>(GSMPhone.java:262)
E/AndroidRuntime( 5386): at com.android.internal.telephony.gemini.MTKPhoneFactory.makeDefaultPhone(SourceFile:248)
E/AndroidRuntime( 5386): at com.android.internal.telephony.PhoneFactory.makeDefaultPhones(PhoneFactory.java:121)
E/AndroidRuntime( 5386): at com.android.phone.PhoneGlobals.onCreate(PhoneGlobals.java:620)
E/AndroidRuntime( 5386): at com.android.phone.PhoneApp.onCreate(PhoneApp.java:43)
E/AndroidRuntime( 5386): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1000)
E/AndroidRuntime( 5386): at android.app.LoadedApk.makeApplication(LoadedApk.java:514)
E/AndroidRuntime( 5386): ... 11 more
E/AndroidRuntime( 5386): Error reporting crash
E/AndroidRuntime( 5386): android.os.DeadObjectException
E/AndroidRuntime( 5386): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 5386): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:3396)
E/AndroidRuntime( 5386): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:77)
E/AndroidRuntime( 5386): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime( 5386): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
E/AndroidRuntime( 5386): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 5519): FATAL EXCEPTION: Download Service
E/AndroidRuntime( 5519): java.lang.NullPointerException: missing IConnectivityManager
E/AndroidRuntime( 5519): at com.android.internal.util.Preconditions.checkNotNull(Preconditions.java:52)
E/AndroidRuntime( 5519): at android.net.ConnectivityManager.<init>(ConnectivityManager.java:798)
E/AndroidRuntime( 5519): at android.app.ContextImpl$11.createStaticService(ContextImpl.java:365)
E/AndroidRuntime( 5519): at android.app.ContextImpl$StaticServiceFetcher.getService(ContextImpl.java:275)
E/AndroidRuntime( 5519): at android.app.ContextImpl.getSystemService(ContextImpl.java:1562)
E/AndroidRuntime( 5519): at android.content.ContextWrapper.getSystemService(ContextWrapper.java:495)
E/AndroidRuntime( 5519): at com.android.providers.downloads.RealSystemFacade.getActiveNetworkInfo(RealSystemFacade.java:24)
E/AndroidRuntime( 5519): at com.android.providers.downloads.DownloadInfo.checkCanUseNetwork(DownloadInfo.java:430)
E/AndroidRuntime( 5519): at com.android.providers.downloads.DownloadInfo.isReadyToStart(DownloadInfo.java:387)
E/AndroidRuntime( 5519): at com.android.providers.downloads.DownloadInfo.startIfReady(DownloadInfo.java:544)
E/AndroidRuntime( 5519): at com.android.providers.downloads.DownloadService.insertDownloadLocked(DownloadService.java:465)
E/AndroidRuntime( 5519): at com.android.providers.downloads.DownloadService.access$600(DownloadService.java:65)
E/AndroidRuntime( 5519): at com.android.providers.downloads.DownloadService$UpdateThread.run(DownloadService.java:334)
E/AndroidRuntime( 5519): Error reporting crash
E/AndroidRuntime( 5519): android.os.DeadObjectException
E/AndroidRuntime( 5519): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 5519): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:3396)
E/AndroidRuntime( 5519): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:77)
E/AndroidRuntime( 5519): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime( 5519): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
E/ActivityManager( 5829): Error battery statistics format is not valid
E/MountService( 5829): encryptProgress()
E/VolumeManager( 126): ASEC com.rovio.angrybirds-1 already mounted
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [rcse]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [cmmail]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [net]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [wap]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [dm]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [hipri]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [dun]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [cbs]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [ims]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [fota]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [supl]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [mms]
E/MobileDataStateTracker( 5829): MobileDataStateReceiver add target tracker [default]
E/MobileDataStateTracker( 5829): default: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 5829): default: Could not enable APN type "default"
E/WifiService( 5829): Invoking mWifiStateMachine.setWifiEnabled
--------- beginning of /dev/log/main
E/ActivityManager( 5829): Attempt to launch receivers of broadcast intent Intent { cmp=com.koushikdutta.superuser/.SuReceiver (has extras) } before boot completion
E/ActivityManager( 5829): Activity Manager Crash
E/ActivityManager( 5829): java.lang.IllegalStateException: Cannot broadcast before boot completed
E/ActivityManager( 5829): at com.android.server.am.ActivityManagerService.verifyBroadcastLocked(ActivityManagerService.java:12903)
E/ActivityManager( 5829): at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:12921)
E/ActivityManager( 5829): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:348)
E/ActivityManager( 5829): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1887)
E/ActivityManager( 5829): at android.os.Binder.execTransact(Binder.java:351)
E/ActivityManager( 5829): at dalvik.system.NativeStart.run(Native Method)
E/ActivityManager( 5829): Attempt to launch receivers of broadcast intent Intent { cmp=com.koushikdutta.superuser/.SuReceiver (has extras) } before boot completion
E/ActivityManager( 5829): Activity Manager Crash
E/ActivityManager( 5829): java.lang.IllegalStateException: Cannot broadcast before boot completed
E/ActivityManager( 5829): at com.android.server.am.ActivityManagerService.verifyBroadcastLocked(ActivityManagerService.java:12903)
E/ActivityManager( 5829): at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:12921)
E/ActivityManager( 5829): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:348)
E/ActivityManager( 5829): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1887)
E/ActivityManager( 5829): at android.os.Binder.execTransact(Binder.java:351)
E/ActivityManager( 5829): at dalvik.system.NativeStart.run(Native Method)

I've removed all apps which that I think could be the cause, but still nothing. And I had just noticed this superuser app (com.koushikdutta.superuser) crashes ActivityManager, could that be the cause? I'm afraid to remove it, because I wont have root access anymore (and I need in case I want to backup data from /data partition, in case I need to wipe data or flash stock firmware).

Any advice you can give me?

Edit: SOLVED! Just remove /data/data/com.android.* folders.