Need help troubleshooting random reboots - Nexus 5 Q&A, Help & Troubleshooting

Hi guys,
I was running Cataclysm/EX last week when my phone started randomly rebooting about 10-20 times a day, often getting stuck in a boot loop. I've since switched to Euphoria, but it only helped to reduce the number of lockups and reboots to about 5-10 a day.
Before I go stock and unroot the phone, I wanted to know if there are any tools or terminal commands that could help me track down the issue. Running cat /proc/last_kmsg just gives me a wdog_reset as my last reboot reason.
Many thanks!

Sounds like a faulty power button to me unfortunately.
Flash stock firmware with fastboot, if you can. If it reboots in the bootloader, or recovery, it's definitely the power button... And flashing could be dangerous, since it could reboot half way.
But a clean flash of a few roms, and it's the same with all... Sounds like power button for sure.
Quite a common issue.

Thanks Darth,
Would a faulty power button give a watchdog reset error on last_kmsg though? Seems like it thinks some software is hanging before resetting the phone.
To your point, I haven't had a reboot in about 12 hours, so perhaps the random nature of the issue points to the power button.
Do you know of any guides to fix the issue? I've opened up phones before so would at least give it a shot.

doron07 said:
Thanks Darth,
Would a faulty power button give a watchdog reset error on last_kmsg though? Seems like it thinks some software is hanging before resetting the phone.
To your point, I haven't had a reboot in about 12 hours, so perhaps the random nature of the issue points to the power button.
Do you know of any guides to fix the issue? I've opened up phones before so would at least give it a shot.
Click to expand...
Click to collapse
Not sure about the error. Sorry.
As far as checking out the button, just google "nexus 5 power button stuck", you'll find lots on it. Throw in "xda" in your search for results from here.
If it does it after flashing the stock firmware and no other apps.... It has to be something hardware related, power button or something else anyway.
I'd try that first.
I've never played with one myself, sorry. ?

Related

[Q] Power Button Not Working

Hi guys,
I have a little problem where my phone's power button will not function in any way, long presses, short, almost embedding my thumb in it, all to no avail. This is doubly dissapointing as I have just installed the latest dexter plus patch to fix the problem. I still had the problem on the previous version and I thought a clean start may fix it. The only way I can get the screen on is to press the media play button! Which of course isn't doing anything on dexter.
Hunches:
I have been playing with a light sensor program and using a 3 second press to turn the phone off, I am only thinking this is related as when I re-installed then turned off the phone using a battery pull, that now the media gallery button will now not work at all, so that is a change.
Second, the power button is buggered. Seems unlikely as everthing feels normal, no big drops have occurred from heights, and the button is travelling in and out as usual.
I have also noticed that as soon as I re-insert a battery that the phone starts immediately, the M pops up as if it is already posting. So maybe it is stuck down?? Again, I don't think so, as the mechanism is working per usual.
If anyone can help it would be fantastic, you guys haven't let me down yet, and this thing is purring, but unfortunately I cannot use it lol. Just my luck.
Thanks in advance
another thing, still not solved
Another thing is happening, the phone screen turns on "after" pressing the power button, it may be once or a few times, and then pressing the gallery button.?!?!
Also, at random times it plays a podcast on my phone, the exact same podcast, and from the start, though the duration may be a few seconds then repeat, or it may go for ages, its quite a rude podcast too which has caused me to throw my phone under the car seat to shut it up when people have been trying to talk to me, as you can imagine its quite embarassing.
There are no services or apps running that I can find related to music, it may happen after pressing the camera button, or opening a website.
It is still going really fast though. And I have also reinstalled the light sensor program so I can turn it on and off without causing damage to the power button.
Thanks again everyone.
pisceanblue said:
Another thing is happening, the phone screen turns on "after" pressing the power button, it may be once or a few times, and then pressing the gallery button.?!?!
Click to expand...
Click to collapse
please clarify
sure, so the only way I can get the screen to turn back on, after turning off as per display power saving preferences, is by pressing the power button, maybe a couple of times, then following that up by pressing the gallery button next to the shutter button, pressing the gallery button doesn't seem to be working to turn the screen on now, but this combo is.
I hope that helped.
Cheers.
EDIT:::
The gallery button alone is working again. sorry guys.
You might just want to reflash it to stock to see if this resolves the problem.
Yeah I think I may have to.
Before I do., I was reading a post on a different forum where another person was having a similar issue. They seemed to solve the problem by using rom manager to boot to a manual restore menu where there was a button tester section, after using it the power button worked for them. I tried but after resetting it displayed a triangle graphic then rebooted.
Is there any way to do this with our open recovery program or any other utility to test the functionality or maybe reset the button or apply a patch etc.
Thanks again :-D
Sent from my XT720 using XDA App
Getting Frustrating
Alright so I followed your advice on your videos on how to reflash to stock, so of course my bootloader does not show up the same as yours on the video. I can get to the bootloader fine, using the button combo or by using quick boot > bootloader, both have the exact same result, the boot loader screens as follows:
Bootloader Fastboot mode
80.89
and that is it....
Also, my computer using rsdlite does not acknowledge the phone, not omap drivers loading etc. Followed your instructions exactly.
This is frustrating me to no end lol.
I am guessing that because I can get to the bootloader with combo no problem, that the buttons physical connections are working.. At least thats a positive.
Can I flash to stock with openrecovery? Or maybe to an earlier version of Dexters froyo? Other ideas?
Any help would be much appreciated guys, trying to use this phone at work with light sensors to turn off screen is not as easy as they say. OMG....
Thanks so much
pisceanblue said:
Bootloader Fastboot mode
80.89
Click to expand...
Click to collapse
The fastboot bootloader isn't the right one. So... if you hold volume up + camera shutter while powering on you end up in fastboot? That's really weird.
Maybe your keys have been remapped somehow? Does anyone know a chord to boot fastboot? Perhaps check to see if your USB port is clean?
Lmao
Just my luck to have a weird problem. I thought it may have been remapped so I have been trying the program buttonremap. It doesn't seem to let me do anything except stop the buttons I re assign doing anything :'(
Does anyone have a proper key mapping file that I can replace with my faulty one to hopefully fix it?
Or any other ideas?
Cheers everyone
Sent from my XT720 using XDA App
Just checked my system / user / keylayout folder. How many files are supposed to be inside, there are a few. I checked the contents of some and they seemed to be the same. Just an idea.... thanks again.
Sent from my XT720 using XDA App
Ok installed anyunlock it allows you to use any physical button to unlock the screen. It doesn't respond when the Power button is pressed, it responded fine to volume rockers, gallery and shutter though.
Anyone know if this would mean for sure its a physical problem before I crack it open and try and fix it.
Thanks guys.
Sent from my XT720 using XDA App
No one has any solutions for me? Come on guys.
Sent from my XT720 using XDA App
Breakthrough!
I am pretty sure I have fixed the problem, I tapped the phone fairly hard on its sides and back, and lo and behold after a battery pull and replacement it didn't turn itself on, I waited, nothing, so then I held the power button and it started up!!!!
But....I have another problem that happened before that, I am stuck in the boot animation that open recovery uses before going into its program (i.e. where you can load nandroid, wipe dalvik cache etc).
I was about to load a new rom, and was in open recovery, had installed it and about to do the reset and the phone turned itself off, and thats when I got the problem with the sticking boot animation.
So just to be clear, I am stuck in a boot loop, but not with the M logo, the restore logo.
I hope the power button solution can help someone else, as random as it is.
If anyone could help me get out of this boot loop without flashing stock that would be great. ( i can get to the real bootloader now btw)
Thanks again everyone.
Solved it all
Just took the sd card out and rebooted. And the power is getting better after banging it.
Thanks to all.
Sent from my XT720 using XDA App
pisceanblue said:
Solved it all
Just took the sd card out and rebooted. And the power is getting better after banging it.
Thanks to all.
Click to expand...
Click to collapse
So, is your conclusion is that the button was stuck and the banging freed it? It doesn't restick?
The Button is not perfect still. Sometimes over sensitive Occasionally it will not even work but it works most of the time. I am just wondering what cleaning solution I could use to free it some more.
It has certainly been a trying problem. Cheers for the help.
Now I need to figure out why I have this strange ghosting on the top of my screen.....
Sent from my XT720 using XDA App
Samsung Galaxy S2 Power Button Not Working
Hi Guys,
Any solution for the power button problem? Current latest Android 2.3.3 Samsung Galaxy S2 also having the same power button problem. Most of the time I can't use my power button to turn on/off the screen (wake/sleep) and there's no menu for long tap as well. Luckily it does wake when i press the only physical Samsung center button.
What i have already tried: Factory Reset, disable Power Saving Mode, Spare Part+ (apps), Screen Off and Lock (apps), and all won't help.
Is there any current updates or patches to allow the power button to work as usual?
Thank you.
take it to the samsung technical centre
Thats if you still have warranty
archer88 said:
take it to the samsung technical centre
Click to expand...
Click to collapse
won't help because this is the 3rd phone replacement from the shop with the same problem. 100% Android software problem.

G2x continuously rebooting the lg logo screen

My phone runs perfectly fine until I enable Gps location. Once I enable GPS location, it freezes, then it reboots my phone and it slowly do a system check, then it continuously rebooting the lg logo screen. I tried taking out the battery and put it back in, even took out my battery for a day and it still does the same. I'm not sure if it's the hardware problem, but it's a pretty rare case, since I read most of the threads in forums, people said it can be fix once you pull out the battery, but somehow it's not working for me. Anyone knows the reason why? Btw, my phone is not rooted or used any 3rd party program.
Ah. Posted too soon. There's a master reset that I believe is Power and Volume Up. Try that.
Unfortunately, it's still not working. Is there any other possible way? Or else I have to call in and return it.
Try turning off the phone, then press power + vol down and hold it until you see the word android. This should do the factory reset.
efrem989 said:
My phone runs perfectly fine until I enable Gps location. Once I enable GPS location, it freezes, then it reboots my phone and it slowly do a system check, then it continuously rebooting the lg logo screen. I tried taking out the battery and put it back in, even took out my battery for a day and it still does the same. I'm not sure if it's the hardware problem, but it's a pretty rare case, since I read most of the threads in forums, people said it can be fix once you pull out the battery, but somehow it's not working for me. Anyone knows the reason why? Btw, my phone is not rooted or used any 3rd party program.
Click to expand...
Click to collapse
It sounds like the permissions are not correct, or perhaps that your ROM was not flashed correctly. I have seem this problem happen numerous times due to bad firmware flashes or ROM issues. I would just download a new copy of the latest CM 7 ROM or whatever your favorite ROM is and flash it through CWM.
Thanks guys for the help. I found out that you have to hold down first then power button for around 30 second and then the droid animation comes out. I was so close to returning it. Thanks!

[Completed] Htc One M8 hardware buttons working weirdly

Hello everyone! So I've had my phone (HTC One M8) rooted and custom recovery and rom installed for a little while now. The latest rom I've installed was Android Revolution HD 22.1. I also have twrp 2.8.1.0 installed. The other day my phone got wet and started to constantly reboot itself, wouldn't shut off and stay off, would never actually start. I put it in a cup of rice for 2 days, then proceeded to plug it in to charge it. Once charged enough I tried to turn it on. It only made it the HTC One logo screen and would vibrate every 10 seconds or so. I tried rebooting several times and no matter what I did with different button combinations I could not get it to load into bootloader. Eventually with restarting different ways and "mechanically stressing" the phone (short temper lol) I managed to get it to loading into the rom itself. From there I opened hasoons all in one toolkit to reboot directly into recovery and recovered to the stock rom. So the phone will now reboot with no problem into this rom. I haven't tried reflashing the ARHD 22.1 rom again because im afraid it'll break again. However, while in the stock rom everything work fines except for the volume up button which does nothing, except for while the screen is off, if I turn my phone to landscape the camera app will open without me even pressing the volume up button. If I reboot into bootloader via the quickboot app or hasoons toolkit, my volume down button with make the cursor go up, the volume up button does nothing, and the power button does nothing. The only thing I can do in bootloader is to hold power+volume up to get the phone to reboot. I also cannot get bootloader to load by holding volume down+power. So, After all that explaining, my main question would be, do you think that the buttons are shorting in a weird way because of water damage, or do you think my software got corrupted because of all the rebooting it did? Any help is appreciated, thanks!
-Tim
Hi,
You could try a clean flash of the rom.... If you're sure the wonky buttons won't interfere with the flash, because if they do... You'll be left with no OS on the device.
Water can affect many things, especially with power on while it was wet. This will be hard to solve, and could get costly. Usually with water damage, you fix or replace one thing, only to find now that something else doesn't work. Can turn into a real money pit.
You're issue isn't so bad, but my usual advice for worse cases are save your money for a new device, because you may never get your device fully working and spend a lot of money trying to fix it.
Ah, I just saw you already asked for help in your device section. Good. ?
Then this thread can be closed, as we're here to help navigate the site, not support.
Thank you.

[Q] Random reboots even after factory reset

Hi,
I have a Nexus 5 32 GB (not rooted) and updated to the latest android lollipop 5.0.1
However, it started doing random reboots since 2 weeks ago, sometimes when browsing, sometimes when pressing the power button to turn off the screen.
I decided to do a factory reset yesterday. However, the issue is still there.
I've read that a faulty power button can cause this problem? Do you think so? However, the power button is fully responding when I turn on/off the screen...
Thanks for your help.
I would flash the factory image in fastboot to see if that fixes it. Put minimal apps on as it could be an app. If that doesn't fix it then it's probably hardware related
Sent from my Nexus 5 using XDA Free mobile app
I started to have this exact issue just a few days ago. I tried many things to resolve this issue (Including flashing the factory images in fastboot and custom roms with TWRP) all failed. This must be a hardware issue with the power button. I have been using my nexus for over a year now. so I guess I can't file for a warranty claim anymore
Edit:
I found another thread regarding this issue and looks like some users are reporting success with their work arounds!
Sohip said:
I started to have this exact issue just a few days ago. I tried many things to resolve this issue (Including flashing the factory images in fastboot and custom roms with TWRP) all failed. This must be a hardware issue with the power button. I have been using my nexus for over a year now. so I guess I can't file for a warranty claim anymore
Edit:
I found another thread regarding this issue and looks like some users are reporting success with their work arounds!
Click to expand...
Click to collapse
I have the same issue with random reboots. Happens when I press the power button to lock the device or wake it up. Shutdown device prompt appears (like when you hold the button) and right there I know that I can count to 5 and the device will reboot without touching anything.
Please provide the "other thread" you are speaking of. Thanks
I have had this issue, I think. Also interested in which "other thread". However, I thought it was a battery problem (have changed battery myself) so I have calibrated my battery (fully charged then removed batterystats.bin or what it was, can't remember) and haven't had that reboot since.
But I also noticed that before reboot it always brought the power menu.
Sorry that I couldn't reply any sooner...
The work around that actually worked for me for the power and volume (UP) buttons getting stuck is to smack *Softly* the rattling buttons into a table!.
This is a temporary fix of course, and don't held me responsible if you break anything else!.
Here is one of the threads where other people are discussing the same issue.
http://www.reddit.com/r/Nexus5/comments/2rpfuj/nexus_5_broken_power_button_keeps_rebooting/
Good luck!

Is this the end of the line for my N5?

I'm a serial lurker here and hate to ask for help, but want to reach out (and finally start hitting thanks).
My N5 was on MMB29S 6.0.1, SuperSU version 2.65 for root, xposed v79 (gravitybox, APM+, snapprefs), and ran perfectly fine up until a few weeks ago when I started having issues. Apps would sometimes FC, and (not always right after) system would hang and then reset. Sometimes the screen would go black but notification light still would blink.
Upon reset, it would either (a) get stuck at google screen and bootloop or (b) get stuck at some point during the boot animation. If the phone did start, it would usually work for a variable amount of time - minutes, hours, but usually not more than a day. Other times, the phone simply would not start and required a slowly increasing amount of time to boot while holding down the power button, sometimes not even booting at all. The phone would sometimes be unresponsive to holding the power button for up to 12 hours before the phone booted up again. Not saying I help the power button that long, but tried frequently over that period of time.
Over the past few days I've taken to troubleshooting in the ways I could think of and what I've read here on xda (I can link to any of the threads if you are curious) and the rest of the web. I started by disabling xposed, restoring stock boot image and removing root, and have since flashed completely to stock MMB29V and have followed the advice of @audit13 to even flash the userdata.img file and perform a factory wipe before booting the phone for the first time.
Nothing works. Even after being bone stock now there are still random resets, with the power button having to be held down for quite some time to power back on (if at all). The only difference is that it hasn't been getting stuck on the boot animation when it does power on.
I'm a bit sad, and realizing that this is probably the end of the line for my venerable Nexus 5, but any help/suggestions are welcome. Thank you in advance!
Download the Nexus Root Toolkit for your computer to try to restore your Nexus.
Could be a power button issue that's causing the resets? Have you tried removing the motherboard and quickly pressing and releasing the power button several times in a row using more pressure than normal?
audit13 said:
Could be a power button issue that's causing the resets? Have you tried removing the motherboard and quickly pressing and releasing the power button several times in a row using more pressure than normal?
Click to expand...
Click to collapse
I have yet to try that, but will try that in the next couple days. Might not get to it tomorrow as I have an upcoming exam.
I'm not completely sure if that's it though since the system seems to hang/freeze before powering down, but I can give it a shot. Thank you for the idea!
FelipeRodrigo said:
Download the Nexus Root Toolkit for your computer to try to restore your Nexus.
Click to expand...
Click to collapse
As a last resort I could try that -- how do you think that would solve my issue? Thank you!
Maybe a battery problem? I'm just guessing at the different things that may cause a boot problem or resets.

Categories

Resources