Power manager lock was not held when calling updatePowerStateLocked error. - Android Q&A, Help & Troubleshooting

Recently I am facing issue with my phone (Asus Zenfone 2 ZE551 ML). The screen always stays on and never go back to sleep.
Even when I lock my phone, the lock is automatically opened and the screen stays on forever. The only option to turn it off is switching the phone off. I have tried a factory reset, wipe cache partition but the problem is still on. I have debugged and the problem seems to be with the Wake locks. The error receiving in the log cat says "Power manager lock was not held when calling updatePowerStateLocked".
Any help will be useful. Thanks.

Related

Battery Stats Reset/ Swipe Lock Screen Not Always Locking

Having a weird issue today.
I completely wiped my phone yesterday, did a fresh install of Omega V32, Syiah 1.7rc3. Everything has been working flawlessly.
Today however, I was checking my battery stats and they showed up. However I made a call, and then I notice my phone did not lock when I pressed lock. Went back into my battery stats and all the values had been reset.
I then proceeded to test out the lock screen and it appears it is only locking about 8 out of 10 times. The screen shuts off, however sometimes when I press home it turn the screen on it simply goes into the phone and bypasses the lock screen. I have tried 30 times just to see if it was a fluke and so far I have had 6 times where the screen does not lock.
I have waited upwards of a minute between pressing lock and waiting to check.
Anyone have any idea what might be causing these two issues?

[Q] Phone get stuck with screen locked. Rebooting starts an endless "startloop"

[Q] Phone get stuck with screen locked. Rebooting starts an endless "startloop"
Hi, I have this Galaxy S3 i9300, with Wanam ROM and Boeffla-Kernel 2.12.
Sometimes, when I lock the screen, it just freezes in there. I'm unable to wake it up, and the LED keeps flashing the last notification.
Most of the time, I get notice of it when I receive a notification (it rings) and the phone cannot wake up. Calling and trying to trigger another notification does not wield any results.
The weird part is this: When I restart it, the OS starts as it should, but it "skips" the lockscreen (when I restart my phone, first thing I'm presented is the pattern lockscreen, all Android default), and it goes directly to the home screen. The touch screen is unresponsive (but it does vibrate when I press any of the two bottom buttons), but phone is still alive (few animations plays smoothly).
Then it restarts. The startup LED (fading blue to bright blue) doesn't turn off (normally it would turn off even before the lockscreen is presented).
Disabling the lockscreen wouldn't solve the problem, nor does starting on "safe mode". Same issue.
Booting into CWM and wiping data/cache folders solves it, but resets my phone. Restoring a backup (data folder only) also works.
Funny fact is that even with a fresh backup (which works), it might just hang up like before (although I didn't modify/install anything).
Logging files should give me some info, but I don't know how to retrieve them, let alone on this condition.
The only step I did so far to try to solve it was to disable a notification program (Logical, it seems to hang up when I receive a notification, and as a wipe to the data folder solves it, I presume it's an rogue app. But never, ever I had a problem with this app, but who knows if on an update, it's crashing my phone)
Does anyone have any information regarding to this? I've never seen something like that.
How do I recover my logfiles during an emergency?
-----------
Had another lock-up. No notifications received and the notification app was disabled. How do I get the log file?

[Q] Phone get stuck with screen locked. Rebooting starts an endless "startloop"

[Q] Phone get stuck with screen locked. Rebooting starts an endless "startloop"
(I posted on the wrong location first time, sorry)
Hi, I have this Galaxy S3 i9300, with Wanam ROM and Boeffla-Kernel 2.12.
Sometimes, when I lock the screen, it just freezes in there. I'm unable to wake it up, and the LED keeps flashing the last notification.
Most of the time, I get notice of it when I receive a notification (it rings) and the phone cannot wake up. Calling and trying to trigger another notification does not wield any results.
The weird part is this: When I restart it, the OS starts as it should, but it "skips" the lockscreen (when I restart my phone, first thing I'm presented is the pattern lockscreen, all Android default), and it goes directly to the home screen. The touch screen is unresponsive (but it does vibrate when I press any of the two bottom buttons), but phone is still alive (few animations plays smoothly).
Then it restarts. The startup LED (fading blue to bright blue) doesn't turn off (normally it would turn off even before the lockscreen is presented).
Disabling the lockscreen wouldn't solve the problem, nor does starting on "safe mode". Same issue.
Booting into CWM and wiping data/cache folders solves it, but resets my phone. Restoring a backup (data folder only) also works.
Funny fact is that even with a fresh backup (which works), it might just hang up like before (although I didn't modify/install anything).
Logging files should give me some info, but I don't know how to retrieve them, let alone on this condition.
The only step I did so far to try to solve it was to disable a notification program (Logical, it seems to hang up when I receive a notification, and as a wipe to the data folder solves it, I presume it's an rogue app. But never, ever I had a problem with this app, but who knows if on an update, it's crashing my phone)
Does anyone have any information regarding to this? I've never seen something like that.
How do I recover my logfiles during an emergency?
-----------
Had another lock-up. No notifications received and the notification app was disabled. How do I get the log file?

[Q] Unusual S3 lock screen problem

Hi all,
I have a Samsung Galaxy S3 GT-I9305T rooted and running Android 4.3 with Touchwizz.
The problem I am having is that the screen will not turn off and pressing the power button will not lock the phone. Holding the power button will bring up the device options menu (power off, restart etc) indicating that the button itself is still functioning.
Restarting the device will boot to the lock screen, however the screen still wont turn off and after unlocking the phone once, you can no longer lock the phone.
In the phones settings, under battery it shows that it doesn't even register the screen as being on or the phone being awake (see image) however the phone is still completely functional aside from the issues stated above.
This problem occurred after accidentally dialling emergency services from the lock screen while watching a video on my computer and absent mindedly spinning my phone in my fingers. As soon as I saw it was dialling I cancelled the call and took the battery out. When I started the phone I noticed the screen wouldn't turn off and the phone wouldn't lock.
Hoping I wont have to do a factory reset, if anyone has any ideas or suggestions, they'd be greatly appreciated.
Thanks
Have same problem with my Alcatel Onetouch Fierce 2. Fairly certain it's from this Kingroot in my case. However I don't know enough to prove this. I started using apps to lock the screen for me but they started not working as well.

S9 Plus (G965W) Freezes and restarts to a black screen after a few minutes

Hi.
I recently bought a S9+ off ebay and it started to glitch and go into a black screen with only a few icons like the signal bar and battery icon showing. So I tried to reboot and reset the phone through the recovery menu but nothing fixed it.
It just boots up and shows "android is starting" then goes to the black screen and randomly shows that some system process (eg: System UI) has stopped working and gives the options to wait or close it. Neither option does anything. Other than that I'm able to long press the power button and get the power off menu, but can't actually turn it off or restart.
So I tried a stock firmware flash through Odin which completed successfully and the phone booted to the setup screen. But i can't select any other language other than Canadian English cuz the phone will freeze and go into the black screen again. I can only get back to the setup screen by doing a factory reset in the recovery menu. If I continue the setup without changing the language I can get as far as the connect to a WiFi network( which I can't skip cuz I wasn't able to turn off FRP before doing the reset) But when I turn on the WiFi it just loads for a bit and doesn't do anything or display any available networks. And still after a few minutes the phone goes back to the black screen.
I couldn't find any info regarding this issue by searching on Google or the XDA forums.
Please any help regarding this issue is much appreciated.
Thanks

Categories

Resources