[Nexus 5 Q&A, Help & Troubleshooting] sigitm:
Hi,

for no apparent reason, my device started to bootloop today.

My current roms are CM11 nightlies. I install a new nightly about every 3 days.

I can access my phone via adb, and also reboot into recovery.

I tried to install a lot of past nightlies, but the bootloops remains.

I also tried wiping cache and dalvik cache, but with no success.

Here's what I think to be the relevant part of logcat during the bootloop process:

V/PackageManager( 3538): Disabling com.google.android.gsf/com.google.android.gsf.update.SystemUpdateActivity
W/PackageManager( 3538): Unable to disable com.google.android.gsf/com.google.android.gsf.update.SystemUpdateActivity
V/PackageManager( 3538): Disabling com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService
W/PackageManager( 3538): Unable to disable com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService
V/PackageManager( 3538): Disabling com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService$Receiver
W/PackageManager( 3538): Unable to disable com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService$Receiver
E/System ( 3538): ******************************************
E/System ( 3538): ************ Failure starting core service
E/System ( 3538): java.lang.RuntimeException: Unable to find android system package
E/System ( 3538): at com.android.server.am.ActivityManagerService.setSystemProcess(ActivityManagerService.java:1838)
E/System ( 3538): at com.android.server.ServerThread.initAndLoop(SystemServer.java:305)
E/System ( 3538): at com.android.server.SystemServer.main(SystemServer.java:1342)
E/System ( 3538): at java.lang.reflect.Method.invokeNative(Native Method)
E/System ( 3538): at java.lang.reflect.Method.invoke(Method.java:515)
E/System ( 3538): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/System ( 3538): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
E/System ( 3538): at dalvik.system.NativeStart.main(Native Method)
E/System ( 3538): Caused by: android.content.pm.PackageManager$NameNotFoundException: android
E/System ( 3538): at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:227)
E/System ( 3538): at com.android.server.am.ActivityManagerService.setSystemProcess(ActivityManagerService.java:1818)
E/System ( 3538): ... 7 more
I/SystemServer( 3538): Input Method Service
F/SystemServer( 3538): BOOT FAILURE starting Input Manager Service
F/SystemServer( 3538): java.lang.SecurityException: Unable to find app for caller android.app.ActivityThread$ApplicationThread@41a3e590 (pid=3538) when register
ing receiver android.app.LoadedApk$ReceiverDispatcher$InnerReceiver@420c3f68
F/SystemServer( 3538): at com.android.server.am.ActivityManagerService.registerReceiver(ActivityManagerService.java:13140)
F/SystemServer( 3538): at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1489)
F/SystemServer( 3538): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1457)
F/SystemServer( 3538): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1451)
F/SystemServer( 3538): at com.android.server.InputMethodManagerService.<init>(InputMethodManagerService.java:657)
F/SystemServer( 3538): at com.android.server.ServerThread.initAndLoop(SystemServer.java:430)
F/SystemServer( 3538): at com.android.server.SystemServer.main(SystemServer.java:1342)
F/SystemServer( 3538): at java.lang.reflect.Method.invokeNative(Native Method)
F/SystemServer( 3538): at java.lang.reflect.Method.invoke(Method.java:515)
F/SystemServer( 3538): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
F/SystemServer( 3538): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
F/SystemServer( 3538): at dalvik.system.NativeStart.main(Native Method)
W/SystemServer( 3538): ***********************************************
F/SystemServer( 3538): BOOT FAILURE starting Accessibility Manager
F/SystemServer( 3538): java.lang.SecurityException: Unable to find app for caller android.app.ActivityThread$ApplicationThread@41a3e590 (pid=3538) when register
ing receiver android.app.LoadedApk$ReceiverDispatcher$InnerReceiver@41f67c38
F/SystemServer( 3538): at com.android.server.am.ActivityManagerService.registerReceiver(ActivityManagerService.java:13140)
F/SystemServer( 3538): at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1489)
F/SystemServer( 3538): at android.app.ContextImpl.registerReceiverAsUser(ContextImpl.java:1464)
F/SystemServer( 3538): at com.android.internal.content.PackageMonitor.register(PackageMonitor.java:84)
F/SystemServer( 3538): at com.android.server.accessibility.AccessibilityManagerService.registerBroadcastReceivers(AccessibilityManagerService.java:326)
F/SystemServer( 3538): at com.android.server.accessibility.AccessibilityManagerService.<init>(AccessibilityManagerService.java:229)
F/SystemServer( 3538): at com.android.server.ServerThread.initAndLoop(SystemServer.java:438)
F/SystemServer( 3538): at com.android.server.SystemServer.main(SystemServer.java:1342)
F/SystemServer( 3538): at java.lang.reflect.Method.invokeNative(Native Method)
F/SystemServer( 3538): at java.lang.reflect.Method.invoke(Method.java:515)
F/SystemServer( 3538): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
F/SystemServer( 3538): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
F/SystemServer( 3538): at dalvik.system.NativeStart.main(Native Method)
F/SystemServer( 3538): BOOT FAILURE making display ready
F/SystemServer( 3538): java.lang.NullPointerException
F/SystemServer( 3538): at com.android.server.ServerThread.initAndLoop(SystemServer.java:447)
F/SystemServer( 3538): at com.android.server.SystemServer.main(SystemServer.java:1342)
F/SystemServer( 3538): at java.lang.reflect.Method.invokeNative(Native Method)
F/SystemServer( 3538): at java.lang.reflect.Method.invoke(Method.java:515)
F/SystemServer( 3538): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
F/SystemServer( 3538): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
F/SystemServer( 3538): at dalvik.system.NativeStart.main(Native Method)
I/SystemServer( 3538): Accessibility Manager
W/SystemServer( 3538): ***********************************************
W/SystemServer( 3538): ***********************************************
D/AndroidRuntime( 3538): Shutting down VM
W/dalvikvm( 3538): threadid=1: thread exiting with uncaught exception (group=0x4157bce0)
I/Process ( 3538): Sending signal. PID: 3538 SIG: 9
V/MIK ( 3538): Finished in 27 ms
E/AndroidRuntime( 3538): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 3538): java.lang.NullPointerException
E/AndroidRuntime( 3538): at com.android.server.am.ActivityManagerService.showBootMessage(ActivityManagerService.java:5201)
E/AndroidRuntime( 3538): at com.android.server.ServerThread.initAndLoop(SystemServer.java:459)
E/AndroidRuntime( 3538): at com.android.server.SystemServer.main(SystemServer.java:1342)
E/AndroidRuntime( 3538): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3538): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 3538): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 3538): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
E/AndroidRuntime( 3538): at dalvik.system.NativeStart.main(Native Method)
I/ServiceManager( 202): service 'sensorservice' died
W/AudioFlinger( 3234): power manager service died !!!
I/ServiceManager( 202): service 'gfxinfo' died
I/ServiceManager( 202): service 'power' died
I/ServiceManager( 202): service 'usagestats' died
I/ServiceManager( 202): service 'batterystats' died
I/ServiceManager( 202): service 'appops' died
I/ServiceManager( 202): service 'display' died
I/ServiceManager( 202): service 'telephony.registry' died
I/ServiceManager( 202): service 'scheduling_policy' died
I/ServiceManager( 202): service 'package' died
I/ServiceManager( 202): service 'procstats' died
I/ServiceManager( 202): service 'cpuinfo' died
I/ServiceManager( 202): service 'meminfo' died
I/ServiceManager( 202): service 'permission' died
I/ServiceManager( 202): service 'dbinfo' died
I/ServiceManager( 202): service 'activity' died
E/installd( 213): eof
E/installd( 213): failed to read transaction id
I/installd( 213): closing connection
I/Zygote ( 3232): Exit zygote because system server (3538) has terminated

Is there something I could do?

I'd like not to wipe my data if possible.

Thanks.

Sigi