Android 5.0 keeps rebooting when screen is shut off - Nexus 5 Q&A, Help & Troubleshooting

I already had several ROMs on my phone. When the Lollipop Developer Preview came out, i tried to install it but everytime i shut off the screen while running the system it soft rebooted (5-10s then its back on the lockscreen).
This happens everytime and even on the final version of Lollipop. Did a clean flash. I am getting desperate here because i waited for this day so long ..

Then don't use it for now?

dicecuber said:
Then don't use it for now?
Click to expand...
Click to collapse
And wait for the next Android version or what

Uwe303 said:
And wait for the next Android version or what
Click to expand...
Click to collapse
4.4.4 is perfectly fine. Or wait for 5.1 or later the bugs should be fixed by then

dicecuber said:
4.4.4 is perfectly fine. Or wait for 5.1 or later the bugs should be fixed by then
Click to expand...
Click to collapse
And why should i stay with 4.4.4 when 5.0 offers way more features and performance?
Push

Uwe303 said:
And why should i stay with 4.4.4 when 5.0 offers way more features and performance?
Push
Click to expand...
Click to collapse
Says who?

I have the exact same issue after flashing lollipop on my nexus 5. I also have a faulty wifi module causing wifi never to turn on on KitKat. So I basicly thought the problem on Lollipop was due to my broken wifi and sadly went back to KitKat again.
Before going back to kitkat I managed to grab a device log through adb. Do you have any possibility to do that as well so we can compare the logs?

ulmerkotten said:
I have the exact same issue after flashing lollipop on my nexus 5. I also have a faulty wifi module causing wifi never to turn on on KitKat. So I basicly thought the problem on Lollipop was due to my broken wifi and sadly went back to KitKat again.
Before going back to kitkat I managed to grab a device log through adb. Do you have any possibility to do that as well so we can compare the logs?
Click to expand...
Click to collapse
Strange.. my WiFi is broken too due to a water damage... I can try to grab one maybe

Uwe303 said:
Strange.. my WiFi is broken too due to a water damage... I can try to grab one maybe
Click to expand...
Click to collapse
Aha then it definitely is due to the Wifi being broken. Maybe there's a way to make Lollipop ignore Wifi being unavailable. Have you tried changing the location setting to "GPS only" to disable the Wifi positioning? What I've heard Android still tries to use Wifi even when Wifi is set to OFF for better positioning.
I will try experiment on my end as well to see if there's a way to avoid the reboot.

ulmerkotten said:
Aha then it definitely is due to the Wifi being broken. Maybe there's a way to make Lollipop ignore Wifi being unavailable. Have you tried changing the location setting to "GPS only" to disable the Wifi positioning? What I've heard Android still tries to use Wifi even when Wifi is set to OFF for better positioning.
I will try experiment on my end as well to see if there's a way to avoid the reboot.
Click to expand...
Click to collapse
No i didnt tried anything. But maybe im going to try Lollipop again today. But tell me what happened

Uwe303 said:
No i didnt tried anything. But maybe im going to try Lollipop again today. But tell me what happened
Click to expand...
Click to collapse
I've tried disabling all location services, enabling airplane mode and rebooting. Still having the same problem.
I will try root the device and see if I can modify anything to try prevent this.
Here's a log of the crash which causes the reboot:
Code:
I/WifiNative-HAL( 739): startHal
E/audio_a2dp_hw( 178): adev_set_parameters: ERROR: set param called even when stream out is null
E/wifi ( 739): getStaticLongField sWifiHalHandle 0x9dff986c
I/WifiHAL ( 739): Initializing wifi
I/WifiHAL ( 739): Creating socket
I/WifiHAL ( 739): Initialized Wifi HAL Successfully; vendor cmd = 103
D/wifi ( 739): Did set static halHandle = 0xb42cb040
D/wifi ( 739): halHandle = 0xb42cb040, mVM = 0xb505c280, mCls = 0x301582
E/wifi ( 739): getStaticLongField sWifiHalHandle 0x9dff981c
D/wifi ( 739): array field set
--------- beginning of crash
F/libc ( 739): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x2c00001 in tid 828 (WifiStateMachin)
I/libc ( 739): Suppressing debuggerd output because prctl(PR_GET_DUMPABLE)==0
W/AudioFlinger( 178): power manager service died !!!
W/AudioFlinger( 178): power manager service died !!!
W/AudioFlinger( 178): power manager service died !!!
I/ServiceManager( 164): service 'batterystats' died
W/Sensors ( 1501): sensorservice died [0xac3b0580]
E/WifiManager( 1501): Channel connection lost
E/WifiManager( 1161): Channel connection lost
E/WifiManager( 1329): Channel connection lost
D/SurfaceFlinger( 166): Set power mode=2, type=0 flinger=0xb6a62000
D/SurfaceFlinger( 166): Screen type=0 is already mode=2
E/WifiManager( 874): Channel connection lost
D/AndroidRuntime( 874): Shutting down VM
E/AndroidRuntime( 874): FATAL EXCEPTION: main
E/AndroidRuntime( 874): Process: com.android.systemui, PID: 874
E/AndroidRuntime( 874): java.lang.RuntimeException: Package manager has died
E/AndroidRuntime( 874): at android.app.ApplicationPackageManager.hasSystemFeature(ApplicationPackageManager.java:385)
E/AndroidRuntime( 874): at com.android.internal.view.RotationPolicy.isRotationSupported(RotationPolicy.java:59)
E/AndroidRuntime( 874): at com.android.internal.view.RotationPolicy.isRotationLockToggleVisible(RotationPolicy.java:93)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.policy.RotationLockControllerImpl.notifyChanged(RotationLockControllerImpl.java:87)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.policy.RotationLockControllerImpl.addRotationLockControllerCallback(RotationLockControllerImpl.java:47)
E/AndroidRuntime( 874): at com.android.systemui.qs.tiles.RotationLockTile.setListening(RotationLockTile.java:45)
E/AndroidRuntime( 874): at com.android.systemui.qs.QSPanel.setListening(QSPanel.java:193)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.NotificationPanelView.setListening(NotificationPanelView.java:1430)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.NotificationPanelView.instantExpand(NotificationPanelView.java:1436)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.PhoneStatusBar.instantExpandNotificationsPanel(PhoneStatusBar.java:3745)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.PhoneStatusBar.showKeyguard(PhoneStatusBar.java:3515)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.showBouncerOrKeyguard(StatusBarKeyguardViewManager.java:113)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.reset(StatusBarKeyguardViewManager.java:147)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.show(StatusBarKeyguardViewManager.java:99)
E/AndroidRuntime( 874): at com.android.systemui.keyguard.KeyguardViewMediator.handleShow(KeyguardViewMediator.java:1238)
E/AndroidRuntime( 874): at com.android.systemui.keyguard.KeyguardViewMediator.access$1700(KeyguardViewMediator.java:114)
E/AndroidRuntime( 874): at com.android.systemui.keyguard.KeyguardViewMediator$4.handleMessage(KeyguardViewMediator.java:1069)
E/AndroidRuntime( 874): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 874): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 874): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime( 874): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 874): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 874): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime( 874): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/AndroidRuntime( 874): Caused by: android.os.DeadObjectException
E/AndroidRuntime( 874): at android.os.BinderProxy.transactNative(Native Method)
E/AndroidRuntime( 874): at android.os.BinderProxy.transact(Binder.java:496)
E/AndroidRuntime( 874): at android.content.pm.IPackageManager$Stub$Proxy.hasSystemFeature(IPackageManager.java:3685)
E/AndroidRuntime( 874): at android.app.ApplicationPackageManager.hasSystemFeature(ApplicationPackageManager.java:383)
E/AndroidRuntime( 874): ... 23 more
E/AndroidRuntime( 874): Error reporting crash
E/AndroidRuntime( 874): android.os.DeadObjectException
E/AndroidRuntime( 874): at android.os.BinderProxy.transactNative(Native Method)
E/AndroidRuntime( 874): at android.os.BinderProxy.transact(Binder.java:496)
E/AndroidRuntime( 874): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:4100)
E/AndroidRuntime( 874): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:89)
E/AndroidRuntime( 874): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime( 874): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
I/Process ( 874): Sending signal. PID: 874 SIG: 9

ulmerkotten said:
I've tried disabling all location services, enabling airplane mode and rebooting. Still having the same problem.
I will try root the device and see if I can modify anything to try prevent this.
Here's a log of the crash which causes the reboot:
Code:
I/WifiNative-HAL( 739): startHal
E/audio_a2dp_hw( 178): adev_set_parameters: ERROR: set param called even when stream out is null
E/wifi ( 739): getStaticLongField sWifiHalHandle 0x9dff986c
I/WifiHAL ( 739): Initializing wifi
I/WifiHAL ( 739): Creating socket
I/WifiHAL ( 739): Initialized Wifi HAL Successfully; vendor cmd = 103
D/wifi ( 739): Did set static halHandle = 0xb42cb040
D/wifi ( 739): halHandle = 0xb42cb040, mVM = 0xb505c280, mCls = 0x301582
E/wifi ( 739): getStaticLongField sWifiHalHandle 0x9dff981c
D/wifi ( 739): array field set
--------- beginning of crash
F/libc ( 739): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x2c00001 in tid 828 (WifiStateMachin)
I/libc ( 739): Suppressing debuggerd output because prctl(PR_GET_DUMPABLE)==0
W/AudioFlinger( 178): power manager service died !!!
W/AudioFlinger( 178): power manager service died !!!
W/AudioFlinger( 178): power manager service died !!!
I/ServiceManager( 164): service 'batterystats' died
W/Sensors ( 1501): sensorservice died [0xac3b0580]
E/WifiManager( 1501): Channel connection lost
E/WifiManager( 1161): Channel connection lost
E/WifiManager( 1329): Channel connection lost
D/SurfaceFlinger( 166): Set power mode=2, type=0 flinger=0xb6a62000
D/SurfaceFlinger( 166): Screen type=0 is already mode=2
E/WifiManager( 874): Channel connection lost
D/AndroidRuntime( 874): Shutting down VM
E/AndroidRuntime( 874): FATAL EXCEPTION: main
E/AndroidRuntime( 874): Process: com.android.systemui, PID: 874
E/AndroidRuntime( 874): java.lang.RuntimeException: Package manager has died
E/AndroidRuntime( 874): at android.app.ApplicationPackageManager.hasSystemFeature(ApplicationPackageManager.java:385)
E/AndroidRuntime( 874): at com.android.internal.view.RotationPolicy.isRotationSupported(RotationPolicy.java:59)
E/AndroidRuntime( 874): at com.android.internal.view.RotationPolicy.isRotationLockToggleVisible(RotationPolicy.java:93)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.policy.RotationLockControllerImpl.notifyChanged(RotationLockControllerImpl.java:87)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.policy.RotationLockControllerImpl.addRotationLockControllerCallback(RotationLockControllerImpl.java:47)
E/AndroidRuntime( 874): at com.android.systemui.qs.tiles.RotationLockTile.setListening(RotationLockTile.java:45)
E/AndroidRuntime( 874): at com.android.systemui.qs.QSPanel.setListening(QSPanel.java:193)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.NotificationPanelView.setListening(NotificationPanelView.java:1430)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.NotificationPanelView.instantExpand(NotificationPanelView.java:1436)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.PhoneStatusBar.instantExpandNotificationsPanel(PhoneStatusBar.java:3745)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.PhoneStatusBar.showKeyguard(PhoneStatusBar.java:3515)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.showBouncerOrKeyguard(StatusBarKeyguardViewManager.java:113)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.reset(StatusBarKeyguardViewManager.java:147)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.show(StatusBarKeyguardViewManager.java:99)
E/AndroidRuntime( 874): at com.android.systemui.keyguard.KeyguardViewMediator.handleShow(KeyguardViewMediator.java:1238)
E/AndroidRuntime( 874): at com.android.systemui.keyguard.KeyguardViewMediator.access$1700(KeyguardViewMediator.java:114)
E/AndroidRuntime( 874): at com.android.systemui.keyguard.KeyguardViewMediator$4.handleMessage(KeyguardViewMediator.java:1069)
E/AndroidRuntime( 874): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 874): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 874): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime( 874): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 874): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 874): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime( 874): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/AndroidRuntime( 874): Caused by: android.os.DeadObjectException
E/AndroidRuntime( 874): at android.os.BinderProxy.transactNative(Native Method)
E/AndroidRuntime( 874): at android.os.BinderProxy.transact(Binder.java:496)
E/AndroidRuntime( 874): at android.content.pm.IPackageManager$Stub$Proxy.hasSystemFeature(IPackageManager.java:3685)
E/AndroidRuntime( 874): at android.app.ApplicationPackageManager.hasSystemFeature(ApplicationPackageManager.java:383)
E/AndroidRuntime( 874): ... 23 more
E/AndroidRuntime( 874): Error reporting crash
E/AndroidRuntime( 874): android.os.DeadObjectException
E/AndroidRuntime( 874): at android.os.BinderProxy.transactNative(Native Method)
E/AndroidRuntime( 874): at android.os.BinderProxy.transact(Binder.java:496)
E/AndroidRuntime( 874): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:4100)
E/AndroidRuntime( 874): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:89)
E/AndroidRuntime( 874): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime( 874): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
I/Process ( 874): Sending signal. PID: 874 SIG: 9
Click to expand...
Click to collapse
Allright, im going to try a few things in the next days too when im not busy with school

ulmerkotten said:
I've tried disabling all location services, enabling airplane mode and rebooting. Still having the same problem.
I will try root the device and see if I can modify anything to try prevent this.
Here's a log of the crash which causes the reboot:
Code:
I/WifiNative-HAL( 739): startHal
E/audio_a2dp_hw( 178): adev_set_parameters: ERROR: set param called even when stream out is null
E/wifi ( 739): getStaticLongField sWifiHalHandle 0x9dff986c
I/WifiHAL ( 739): Initializing wifi
I/WifiHAL ( 739): Creating socket
I/WifiHAL ( 739): Initialized Wifi HAL Successfully; vendor cmd = 103
D/wifi ( 739): Did set static halHandle = 0xb42cb040
D/wifi ( 739): halHandle = 0xb42cb040, mVM = 0xb505c280, mCls = 0x301582
E/wifi ( 739): getStaticLongField sWifiHalHandle 0x9dff981c
D/wifi ( 739): array field set
--------- beginning of crash
F/libc ( 739): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x2c00001 in tid 828 (WifiStateMachin)
I/libc ( 739): Suppressing debuggerd output because prctl(PR_GET_DUMPABLE)==0
W/AudioFlinger( 178): power manager service died !!!
W/AudioFlinger( 178): power manager service died !!!
W/AudioFlinger( 178): power manager service died !!!
I/ServiceManager( 164): service 'batterystats' died
W/Sensors ( 1501): sensorservice died [0xac3b0580]
E/WifiManager( 1501): Channel connection lost
E/WifiManager( 1161): Channel connection lost
E/WifiManager( 1329): Channel connection lost
D/SurfaceFlinger( 166): Set power mode=2, type=0 flinger=0xb6a62000
D/SurfaceFlinger( 166): Screen type=0 is already mode=2
E/WifiManager( 874): Channel connection lost
D/AndroidRuntime( 874): Shutting down VM
E/AndroidRuntime( 874): FATAL EXCEPTION: main
E/AndroidRuntime( 874): Process: com.android.systemui, PID: 874
E/AndroidRuntime( 874): java.lang.RuntimeException: Package manager has died
E/AndroidRuntime( 874): at android.app.ApplicationPackageManager.hasSystemFeature(ApplicationPackageManager.java:385)
E/AndroidRuntime( 874): at com.android.internal.view.RotationPolicy.isRotationSupported(RotationPolicy.java:59)
E/AndroidRuntime( 874): at com.android.internal.view.RotationPolicy.isRotationLockToggleVisible(RotationPolicy.java:93)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.policy.RotationLockControllerImpl.notifyChanged(RotationLockControllerImpl.java:87)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.policy.RotationLockControllerImpl.addRotationLockControllerCallback(RotationLockControllerImpl.java:47)
E/AndroidRuntime( 874): at com.android.systemui.qs.tiles.RotationLockTile.setListening(RotationLockTile.java:45)
E/AndroidRuntime( 874): at com.android.systemui.qs.QSPanel.setListening(QSPanel.java:193)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.NotificationPanelView.setListening(NotificationPanelView.java:1430)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.NotificationPanelView.instantExpand(NotificationPanelView.java:1436)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.PhoneStatusBar.instantExpandNotificationsPanel(PhoneStatusBar.java:3745)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.PhoneStatusBar.showKeyguard(PhoneStatusBar.java:3515)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.showBouncerOrKeyguard(StatusBarKeyguardViewManager.java:113)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.reset(StatusBarKeyguardViewManager.java:147)
E/AndroidRuntime( 874): at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.show(StatusBarKeyguardViewManager.java:99)
E/AndroidRuntime( 874): at com.android.systemui.keyguard.KeyguardViewMediator.handleShow(KeyguardViewMediator.java:1238)
E/AndroidRuntime( 874): at com.android.systemui.keyguard.KeyguardViewMediator.access$1700(KeyguardViewMediator.java:114)
E/AndroidRuntime( 874): at com.android.systemui.keyguard.KeyguardViewMediator$4.handleMessage(KeyguardViewMediator.java:1069)
E/AndroidRuntime( 874): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 874): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 874): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime( 874): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 874): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 874): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime( 874): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/AndroidRuntime( 874): Caused by: android.os.DeadObjectException
E/AndroidRuntime( 874): at android.os.BinderProxy.transactNative(Native Method)
E/AndroidRuntime( 874): at android.os.BinderProxy.transact(Binder.java:496)
E/AndroidRuntime( 874): at android.content.pm.IPackageManager$Stub$Proxy.hasSystemFeature(IPackageManager.java:3685)
E/AndroidRuntime( 874): at android.app.ApplicationPackageManager.hasSystemFeature(ApplicationPackageManager.java:383)
E/AndroidRuntime( 874): ... 23 more
E/AndroidRuntime( 874): Error reporting crash
E/AndroidRuntime( 874): android.os.DeadObjectException
E/AndroidRuntime( 874): at android.os.BinderProxy.transactNative(Native Method)
E/AndroidRuntime( 874): at android.os.BinderProxy.transact(Binder.java:496)
E/AndroidRuntime( 874): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:4100)
E/AndroidRuntime( 874): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:89)
E/AndroidRuntime( 874): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime( 874): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
I/Process ( 874): Sending signal. PID: 874 SIG: 9
Click to expand...
Click to collapse
Hi guys,
I'm new here. Two days ago I sideloaded lollipop on my Nexus 5 and since then I'm having exactly this same problem, even the logcat is the same... I did a factory reset (sigh...) and the problem went away for one day... Today it appeared, again.
My phone is not rooted.
Help!!!!
---------- Post added at 05:00 PM ---------- Previous post was at 04:35 PM ----------
giovanni.romeo78 said:
Hi guys,
I'm new here. Two days ago I sideloaded lollipop on my Nexus 5 and since then I'm having exactly this same problem, even the logcat is the same... I did a factory reset (sigh...) and the problem went away for one day... Today it appeared, again.
My phone is not rooted.
Help!!!!
Click to expand...
Click to collapse
I submitted an official issue to Google, number 79709 on code.google.com...
My phone is useless... it's constantly rebooting...

giovanni.romeo78 said:
Hi guys,
I'm new here. Two days ago I sideloaded lollipop on my Nexus 5 and since then I'm having exactly this same problem, even the logcat is the same... I did a factory reset (sigh...) and the problem went away for one day... Today it appeared, again.
My phone is not rooted.
Help!!!!
---------- Post added at 05:00 PM ---------- Previous post was at 04:35 PM ----------
I submitted an official issue to Google, number 79709 on code.google.com...
My phone is useless... it's constantly rebooting...
Click to expand...
Click to collapse
Hope someone solves our problem.. i replied to your issue

Uwe303 said:
Hope someone solves our problem.. i replied to your issue
Click to expand...
Click to collapse
I hope so... I had to shut off the nexus because it was still in the never ending reboot cycle...

i hope that you all realize that installed apps can and do cause reboots. uninstall all your installed apps, then run a day without any apps. after, install your apps one at a time until you find the one causing reboots.

simms22 said:
i hope that you all realize that installed apps can and do cause reboots. uninstall all your installed apps, then run a day without any apps. after, install your apps one at a time until you find the one causing reboots.
Click to expand...
Click to collapse
I think you dont realize that we are all running a clean flash of the Lollipop release build and didnt even have any apps installed. My phone reboots when i shut the screen off right in the welcome screen where i select my timezone etc.

Had some time last weekend to look at this but didn't succeed in any way. Mostly just blindly changing things in the /system partition to see if it helped.
What I've tried so far is:
* Removing all wifi permissions from /etc/permissions
* Commenting out stuff the files in /etc/wifi (actually ended up commenting out all lines in every file)
* Commenting wifi-related stuff in build.prop (after this I had to reset the phone since it no longer did boot)
* Trying different apps, like titaniumbackup etc, to disable/freeze system services (didn't find any wifi -related service)
None of the above helped.
A tip is to enable "Always on when connected" in the developer settings to keep it from rebooting.

ulmerkotten said:
Had some time last weekend to look at this but didn't succeed in any way. Mostly just blindly changing things in the /system partition to see if it helped.
What I've tried so far is:
* Removing all wifi permissions from /etc/permissions
* Commenting out stuff the files in /etc/wifi (actually ended up commenting out all lines in every file)
* Commenting wifi-related stuff in build.prop (after this I had to reset the phone since it no longer did boot)
* Trying different apps, like titaniumbackup etc, to disable/freeze system services (didn't find any wifi -related service)
None of the above helped.
A tip is to enable "Always on when connected" in the developer settings to keep it from rebooting.
Click to expand...
Click to collapse
Hi,
please add a comment with the above attempts to the google code issue 79709, maybe it'll help Google guys to help us...
Giovanni

giovanni.romeo78 said:
Hi,
please add a comment with the above attempts to the google code issue 79709, maybe it'll help Google guys to help us...
Giovanni
Click to expand...
Click to collapse
A new (ehm... actually refurbished...) nexus 5 will arrive from big G in the next few days...

Related

[Q] Stuck on bootloop!

oK! Sorry if this is in the wrong thread!
Now, i have been porting MIUI 2.8.17 ICS build to my device. but i am getting a bootloop at
Code:
W/dalvikvm( 357): threadid=26: thread exiting with uncaught exception (group=0x40a4a1f8)
E/AndroidRuntime( 357): *** FATAL EXCEPTION IN SYSTEM PROCESS: WindowManagerPolicy
E/AndroidRuntime( 357): android.database.sqlite.SQLiteException: no such table: systemex: , while compiling: SELECT value FROM systemex WHERE (name=?)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:78)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteProgram.compileSql(SQLiteProgram.java:143)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteProgram.compileAndbindAllArgs(SQLiteProgram.java:361)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:127)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:94)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:53)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:47)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1564)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:354)
E/AndroidRuntime( 357): at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:291)
E/AndroidRuntime( 357): at com.android.providers.settings.SettingsProvider.query(SettingsProvider.java:429)
E/AndroidRuntime( 357): at android.content.ContentProvider$Transport.query(ContentProvider.java:178)
E/AndroidRuntime( 357): at android.provider.Settings$NameValueCache.getString(Settings.java:729)
E/AndroidRuntime( 357): at android.provider.Settings$Systemex.getString(Settings.java:4598)
E/AndroidRuntime( 357): at android.provider.Settings$Systemex.getInt(Settings.java:4637)
E/AndroidRuntime( 357): at com.android.internal.policy.impl.PhoneWindowManager.init(PhoneWindowManager.java:927)
E/AndroidRuntime( 357): at com.android.internal.policy.impl.MiuiPhoneWindowManager.init(MiuiPhoneWindowManager.java:97)
E/AndroidRuntime( 357): at com.android.server.wm.WindowManagerService$PolicyThread.run(WindowManagerService.java:733)
I/Process ( 357): Sending signal. PID: 357 SIG: 9
E/OMXCodec( 331): Attempting to allocate OMX node 'OMX.google.vorbis.decoder'
E/OMXCodec( 331): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/ServiceManager( 100): service 'permission' died
I/ServiceManager( 100): service 'usagestats' died
I/ServiceManager( 100): service 'telephony.registry' died
I/ServiceManager( 100): service 'batteryinfo' died
Can any1 help me out to fix this n pass through the bootloop!
thnx.
Any1?

Weird error

One day I turned on my phone and now when I freez and de-freez the apk with link2sd Google Play Services crashes.
Here's the logcat of the error:
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
E/AndroidRuntime( 4857): FATAL EXCEPTION: Thread-11
E/AndroidRuntime( 4857): java.lang.NullPointerException
E/AndroidRuntime( 4857): at com.google.android.gms.common.download.DownloadService.a(SourceFile:513)
E/AndroidRuntime( 4857): at eky.a(SourceFile:129)
E/AndroidRuntime( 4857): at ejm.a(SourceFile:2584)
E/AndroidRuntime( 4857): at eki.f(SourceFile:535)
E/AndroidRuntime( 4857): at eki.a(SourceFile:529)
E/AndroidRuntime( 4857): at enf.d(SourceFile:81)
E/AndroidRuntime( 4857): at enb.run(SourceFile:237)
E/AndroidRuntime( 4857): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 4857): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 4857): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 4857): at end.run(SourceFile:40)
E/dalvikvm( 4897): Could not find class 'android.database.sqlite.SQLiteCantOpenDatabaseException', referenced from method com.google.android.gms.plus.provider.PlusProvider.a
E/dalvikvm( 4897): Could not find class 'android.app.AppOpsManager', referenced from method box.a
E/AndroidRuntime( 4897): FATAL EXCEPTION: Thread-11
E/AndroidRuntime( 4897): java.lang.NullPointerException
E/AndroidRuntime( 4897): at com.google.android.gms.common.download.DownloadService.a(SourceFile:513)
E/AndroidRuntime( 4897): at eky.a(SourceFile:129)
E/AndroidRuntime( 4897): at ejm.a(SourceFile:2584)
E/AndroidRuntime( 4897): at eki.f(SourceFile:535)
E/AndroidRuntime( 4897): at eki.a(SourceFile:529)
E/AndroidRuntime( 4897): at enf.d(SourceFile:81)
E/AndroidRuntime( 4897): at enb.run(SourceFile:237)
E/AndroidRuntime( 4897): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 4897): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 4897): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 4897): at end.run(SourceFile:40)
I hope you can help me Thank you so much!
Delete second partition ext.sd and restart your device
Can you please explain me what appened exactly? Why I need to wipe my ext partition?
Simple trick
Backup all data and reset your device....

[Q] clock not working

The clock widget is working but I can't open the clock. Here is the logcat output:
Code:
I/ActivityManager( 897): Start proc com.android.deskclock for activity com.android.deskclock/.DeskClock: pid=3426 uid=1
0042 gids={50042, 1028, 1023, 3003}
I/MicrophoneInputStream( 1725): mic_close [email protected]
D/audio_hw_primary( 230): in_standby: enter: stream (0xb8d56970) usecase(8: audio-record)
D/hardware_info( 230): hw_info_append_hw_type : device_name = voice-rec-mic
I/QCOM PowerHAL( 230): Processing audio hint. Metadata: state=0
D/audio_hw_primary( 230): adev_close_input_stream: enter:stream_handle(0xb8d56970)
D/audio_hw_primary( 230): in_standby: enter: stream (0xb8d56970) usecase(8: audio-record)
I/HotwordRecognitionRnr( 1725): Stopping hotword detection.
I/HotwordRecognitionRnr( 1725): Hotword detection finished
D/ActivityThread( 3426): handleBindApplication:com.android.deskclock
D/ActivityThread( 3426): setTargetHeapUtilization:0.75
D/ActivityThread( 3426): setTargetHeapMinFree:2097152
I/ActivityThread( 3426): Switching default density from 480 to 300
I/QCOM PowerHAL( 230): Processing audio hint. Metadata: state=0
W/dalvikvm( 3426): threadid=1: thread exiting with uncaught exception (group=0x41af6ce0)
E/AndroidRuntime( 3426): FATAL EXCEPTION: main
E/AndroidRuntime( 3426): Process: com.android.deskclock, PID: 3426
E/AndroidRuntime( 3426): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.deskclock/com.an
droid.deskclock.DeskClock}: android.database.sqlite.SQLiteException: Can't downgrade database from version 11 to 10
E/AndroidRuntime( 3426): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2224)
E/AndroidRuntime( 3426): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2283)
E/AndroidRuntime( 3426): at android.app.ActivityThread.access$800(ActivityThread.java:144)
E/AndroidRuntime( 3426): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1205)
E/AndroidRuntime( 3426): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 3426): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 3426): at android.app.ActivityThread.main(ActivityThread.java:5158)
E/AndroidRuntime( 3426): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3426): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 3426): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:796)
E/AndroidRuntime( 3426): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:612)
E/AndroidRuntime( 3426): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3426): Caused by: android.database.sqlite.SQLiteException: Can't downgrade database from version 11 to
10
E/AndroidRuntime( 3426): at android.database.sqlite.SQLiteOpenHelper.onDowngrade(SQLiteOpenHelper.java:361)
E/AndroidRuntime( 3426): at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:255)
E/AndroidRuntime( 3426): at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:18
8)
E/AndroidRuntime( 3426): at com.android.deskclock.provider.ClockProvider.query(ClockProvider.java:96)
E/AndroidRuntime( 3426): at android.content.ContentProvider.query(ContentProvider.java:857)
E/AndroidRuntime( 3426): at android.content.ContentProvider$Transport.query(ContentProvider.java:200)
E/AndroidRuntime( 3426): at android.content.ContentResolver.query(ContentResolver.java:461)
E/AndroidRuntime( 3426): at android.content.ContentResolver.query(ContentResolver.java:404)
E/AndroidRuntime( 3426): at com.android.deskclock.provider.AlarmInstance.getInstances(AlarmInstance.java:192)
E/AndroidRuntime( 3426): at com.android.deskclock.alarms.AlarmStateManager.updateNextAlarm(AlarmStateManager.java
:138)
E/AndroidRuntime( 3426): at com.android.deskclock.DeskClock.onCreate(DeskClock.java:178)
E/AndroidRuntime( 3426): at android.app.Activity.performCreate(Activity.java:6020)
E/AndroidRuntime( 3426): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
E/AndroidRuntime( 3426): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2181)
E/AndroidRuntime( 3426): ... 11 more
W/ActivityManager( 897): Force finishing activity com.android.deskclock/.DeskClock
I am using the LiquidSmooth ROM LS-KK-v3.2-2014-10-23-bacon.zip (tried other versions too) and always wiped system/cache/dalvik.
Any idea?
Bebbo
ok solved it:
using a file explorer I went to /data/data/com.android.deskclock/databases and removed the file alarms.db
Bebbo
Thanks for the fix man, helped me !
bebbodl said:
ok solved it:
using a file explorer I went to /data/data/com.android.deskclock/databases and removed the file alarms.db
Bebbo
Click to expand...
Click to collapse
Tnx. SGS4A fix work.

[Completed] settings app crash

I am having an odd issue with my current install. the phone was working fine but today (likely sooner, but I am uncertain as to exactly when), my settings started failing.
the problem is whenever I tap on any item in the settings menu, settings crashes. Wifi, bluetooth, about phone, anything.
logcat indicates a security exception:
D/AndroidRuntime( 5164): Shutting down VM
E/AndroidRuntime( 5164): FATAL EXCEPTION: main
E/AndroidRuntime( 5164): Process: com.android.settings, PID: 5164
E/AndroidRuntime( 5164): java.lang.SecurityException: Not allowed to start activity Intent { act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras) }
E/AndroidRuntime( 5164): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1784)
E/AndroidRuntime( 5164): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1501)
E/AndroidRuntime( 5164): at android.app.Activity.startActivityForResult(Activity.java:3745)
E/AndroidRuntime( 5164): at android.app.Activity.startActivityForResult(Activity.java:3706)
E/AndroidRuntime( 5164): at android.app.Activity.startActivity(Activity.java:4016)
E/AndroidRuntime( 5164): at android.app.Activity.startActivity(Activity.java:3984)
E/AndroidRuntime( 5164): at com.android.settings.Utils.startWithFragment(Utils.java:851)
E/AndroidRuntime( 5164): at com.android.settings.Utils.startWithFragment(Utils.java:806)
E/AndroidRuntime( 5164): at com.android.settings.dashboard.DashboardTileView.onClick(DashboardTileView.java:133)
E/AndroidRuntime( 5164): at android.view.View.performClick(View.java:4789)
E/AndroidRuntime( 5164): at android.view.View$PerformClick.run(View.java:19881)
E/AndroidRuntime( 5164): at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime( 5164): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 5164): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 5164): at android.app.ActivityThread.main(ActivityThread.java:5294)
E/AndroidRuntime( 5164): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 5164): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 5164): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
E/AndroidRuntime( 5164): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
D/ForegroundUtils( 1219): UID: 1000 PID: 5164
I have tried wiping the cache, deleting the com.android.settings and com.android.providers.settings folders from /data/data and that didn't fix the problem. I have tried wiping the cache and dalvik cache with no success. My next step is to re-flash the ROM, and if that fails, wipe and reflash the ROM. I would prefer to fix the problem without a wipe if possible though.
Any thoughts?
Hi
Assist is where we guide new users(read the stickies)
As a senior member, you must already be aware that the best place to ask for help is in your device q&a. Do post there.
Thread closed

settings app crashes

I am having an odd issue with my current install. the phone was working fine but today (likely sooner, but I am uncertain as to exactly when), my settings started failing.
the problem is whenever I tap on any item in the settings menu, settings crashes. Wifi, bluetooth, about phone, anything.
logcat indicates a security exception:
D/AndroidRuntime( 5164): Shutting down VM
E/AndroidRuntime( 5164): FATAL EXCEPTION: main
E/AndroidRuntime( 5164): Process: com.android.settings, PID: 5164
E/AndroidRuntime( 5164): java.lang.SecurityException: Not allowed to start activity Intent { act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras) }
E/AndroidRuntime( 5164): at android.app.Instrumentation.checkStartActivityResu lt(Instrumentation.java:1784)
E/AndroidRuntime( 5164): at android.app.Instrumentation.execStartActivity(Inst rumentation.java:1501)
E/AndroidRuntime( 5164): at android.app.Activity.startActivityForResult(Activi ty.java:3745)
E/AndroidRuntime( 5164): at android.app.Activity.startActivityForResult(Activi ty.java:3706)
E/AndroidRuntime( 5164): at android.app.Activity.startActivity(Activity.java:4 016)
E/AndroidRuntime( 5164): at android.app.Activity.startActivity(Activity.java:3 984)
E/AndroidRuntime( 5164): at com.android.settings.Utils.startWithFragment(Utils .java:851)
E/AndroidRuntime( 5164): at com.android.settings.Utils.startWithFragment(Utils .java:806)
E/AndroidRuntime( 5164): at com.android.settings.dashboard.DashboardTileView.o nClick(DashboardTileView.java:133)
E/AndroidRuntime( 5164): at android.view.View.performClick(View.java:4789)
E/AndroidRuntime( 5164): at android.view.View$PerformClick.run(View.java:19881 )
E/AndroidRuntime( 5164): at android.os.Handler.handleCallback(Handler.java:739 )
E/AndroidRuntime( 5164): at android.os.Handler.dispatchMessage(Handler.java:95 )
E/AndroidRuntime( 5164): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 5164): at android.app.ActivityThread.main(ActivityThread.jav a:5294)
E/AndroidRuntime( 5164): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 5164): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 5164): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:904)
E/AndroidRuntime( 5164): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:699)
D/ForegroundUtils( 1219): UID: 1000 PID: 5164
I have tried deleting the com.android.settings and com.android.providers.settings folders from /data/data and that didn't fix the problem. I have tried wiping the cache and dalvik cache with no success. My next step is to re-flash the ROM, and if that fails, wipe and reflash the ROM. I would prefer to fix the problem without a wipe if possible though.
I have the Kingzone K1 Turbo running CM 12. I plan on upgrading to CM13, but last time I was on 13 I found that bluetooth was flaky (it wouldn't stay connected to my car).
Any thoughts?
factory reset and fresh rom + gapps install fixed the problem.
Had it happen to me again. For those having similar problems, the issue appears to be the gmail app (at least it was for me). Removed that and suddenly settings worked as expected.

Categories

Resources