yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] hbb20:
Found a solution

Well same thing started to happening with me yesterday after installing android L's developers' preview in my nexus 5. It worked well for first 4-5 hours but then after terminating a phone call when I put it back to my pocket problem started. I searched many forums for solution then I decided to re-install from image. I connected my phone to My PC (Which had driver installed & fastBoot setup) dramatically my phone started working well. And I detached my phone from PC. So I thought it might solved because after supplying charging. But after 3-4 hours it started again so I directly plugged in to electric socket but it kept on rebooting. Then I turned on my PC and attached my nexus 5 with it. Again it started dramatically.

Still I don't know the exact reason behind it. But good new is my phone is still working since last 16 hours... But I took care of not to launch some apps listed risky for developer's preview. So I thing some incompatible app launch may be a reason... but still its only "may be"

---------- Post added at 05:46 AM ---------- Previous post was at 05:42 AM ----------

If it happens again try what I just answered and let us know if it worked for you? So we can come to know if solution was nexus 5 specific or android L specific. Also mention the OS version, please.
[Nexus 5 Q&A, Help & Troubleshooting] riteshsonawala:
Thats very strange..since it started happening to me since yesterday. I managed to flash it again (and that i suppose should have cleared everything) but problem persists. Ill now try to restore factory image.
[Nexus 5 Q&A, Help & Troubleshooting] ironclad1911:
same thing happened with me one month ago............tried everything except opening it up and finally i got it replaced.................you cannot fix it on ur own take it to a service center asap........thank me if this helps!!
[Nexus 5 Q&A, Help & Troubleshooting] riteshsonawala:
Thanks. I restored it to the original nexus 5 build - but nothing seems to fix the problem. will reach out to service center.
[Nexus 5 Q&A, Help & Troubleshooting] ironclad1911:
its not a software problem its basically caused by a fault in motherboard...........thats what the service center told me.........all the best!!
[Nexus 5 Q&A, Help & Troubleshooting] ComputerEngineer:
2301

Lg will cover it for free if its under warranty. I just had that happen to me not too long ago. I was without it for about a week and a half.
[Nexus 5 Q&A, Help & Troubleshooting] Warrimonk:
Same thing started happening to me today

The exact same problem started happening to me today. My N5 was one of the first-day order models, and the power button is a little loose, so I guess it must have gotten faulty over time.

Going to RMA it tomorrow. It seems like this issue is popping up everywhere all of the sudden.
[Nexus 5 Q&A, Help & Troubleshooting] nxt:
This happened the me a few months ago. Google RMAed o e to me and overnighted a replacement. The weird thing is they sent me a label to return the phone to LG, then a day later they said not to use that label but use a new one and the new one was labeled to Google in Mountain View. I'm guessing it is happening a lot and Google wanted to look at it themselves.

Also I fixed mind with a couple magnets from a hard drive I took apart. I just kept playing with it around the power button, then having the phone sideways with the power button sitting on top of the magnet I was able to get it to boot up and flash back to stock, etc, then kept playing with it and problem went away. I emailed Google that I did that and sent the phone back anyways.
[Nexus 5 Q&A, Help & Troubleshooting] dillalade:
After trying all suggestions.

Only the above magnet trickery WORKED.

Magnet held at the power switch for 1second did the trick!!!!!

The only thing that gave any hope before this trick was a constant tapping at the back of the phone behind the power switch - this was not fool proof and allowed the phone to continue booting but as soon as you stop tapping it would reboot again.

I even disassembled the device to assess the switch on the motherboard, playing around gave no success with this attempt.

(the switch its soldering and the board itself all looked healthy.)

Given the success with the magnet there is strong reason to believe the 2 metal contacts WITHIN the power switch itself were indeed stuck together -

HENCE whenever you attempt to power on (without USB connected) it wouldn't power up BECAUSE the 2 contacts were already touching (hence the device wouldn't distinguish the power button being pressed.)

However when inserting the USB to the phone, the device as you'd expect TURNS ON automatically without needing to press the power button... BUT because the 2 contacts within the power switch were constantly touching this would induce a undesired Power Button Press (albeit without actually pressing the power button.)

This now makes sense that when applying a strong magnet in and around the Power Switch - releases the 2 contacts within the switch & therefore deems the power switch usable once again (for how long the switch continues to behave is unknown - perhaps we need to keep a magnet on our key-ring at all times haha.)

Great diagnosis [MENTION=311921]nxt[/MENTION].

Saved my girlfriend and I a lot of hassle.

Hope this helps anyone in the same predicament.

This is NOT s/w related - most definitely h/w related.
[Nexus 5 Q&A, Help & Troubleshooting] zjnow:
Thank you so much for this solution!! I tried to use Magnet but it failed (maybe because my Magnet is not powerful)..

And then I kept tapping at the back of the phone, it can finally boot up!!! I tried to keep tapping for almost half an hour and seems it's return to normal now...

But I don't know when it would be broken again...But anyway...thanks for the solution!!!
[Nexus 5 Q&A, Help & Troubleshooting] playamaker:
Having bought the phone from a dealer, yesterday he requested me to take a video of what's happening (the constant restarting). At this point of time, I have already tried boot loader as well as factory restore.

As I was recording the phone, it began to show glimpses of improvement (managing to start up to home screen) when not being plugged in with charger. With a charger, it's worst and only reboots up to the Google screen (not reaching the 4 coloured orbs). However the problem eventually came back.

I left it beside my laptop and tried turning it on here and then. Still the same.

10minutes ago I got crazy and tried turning it on while recording it. This time it worked!

I recorded it for 7mins and have been using it for 15+ mins now. I have no idea if the problem is gonna come back but that's my story.
[Nexus 5 Q&A, Help & Troubleshooting] ShikShin:
It could be a moisture issue. Considering that I live in Singapore, and it's a humid country.

My Nexus 5 had the same issue as the video being shown above. It keeps rebooting at the Nexus 5 logo, I've also tried plugging in to the charger same thing happens and it reboots every 5 seconds, only gets to the colored ball every once in a while. Same thing happens when i try to get into fastboot mode.

I've always had a case for my Nexus 5 since i got my hands on it. So after taking off the casing i noticed there was moisture caught between my casing and the power button area. I thought maybe i might have used the phone while my hands were wet, so i left it in front of my fan, while checking the forum for solutions. Came back an hour later to try again, i plugged in my phone to the charger, and it worked!! My baby's alive again!!

Managed to solve it within an hour.

Though it's working fine again since less than an hour ago. I might be wrong about the moisture issue, maybe it's luck, but that's my take at it.

You can try using a hair dryer or something, it'll work better. I'll keep this post updated if it actually solved the issue. Good luck mates.;)
[Nexus 5 Q&A, Help & Troubleshooting] Android4life94:
i feel you

Hey, i am having the same problem.. did you fixed it? i really need help with it and it would be great if you could give me a solution.
[Nexus 5 Q&A, Help & Troubleshooting] shiznoroe88:
Nooooooooooo

I was using snapchat with my Nexus 5 plugged in and the power off prompt popped up on screen as if I had held down the power button, then it shut down and started to continually restart like how everybody else said theirs did. I was able to get it to boot up finally after I plugged it into my PC. I have an unlocked bootloader and Android 5.0. I bought it on day one of the release from the play store so it is one of the oldest Nexus 5's. I am going to backup my phone now and contact google ASAP. I really hope this is just a one time thing but it doesn't sound like it will be.

The only silver lining is that I just put my Nexus 4 on Ebay but it didn't sell so I can use it until I get my Nexus 5 problem fixed.
[Nexus 5 Q&A, Help & Troubleshooting] miracy:
IT WORKED!

I had the same issue last week and MAGNET TRICK SOLVED it, and my Nexus5 has not created any trouble since then, for almost 1 week!

I've read a lot of forum pages about this and none of the solutions had worked for me until I've read here the message about the magnet!

I tried some small magnets first but they didn't work. But when I kept the big one(almost as big as a 1 euro coin) around the power button and moved it around there, it worked like a charm!! I opened the phone with the power button and it still works like the first day.

Thanks a lot for sharing that Magnet solution!!
[Nexus 5 Q&A, Help & Troubleshooting] ty5on:
N5 reboot loop

repeatedly push the power button. i've seen somone on youtube do this.
[Nexus 5 Q&A, Help & Troubleshooting] stshhh:
Happened to me 20 minutes ago!

This method worked for me!

"To anyone reading this who is experiencing the same problem:

Basically, just take your case off and flick the power button hard with your finger (flick, not press), and also press it quickly a couple of times. This should be enough to no longer have your power button be stuck."

I hope i don't get the same issue again!
[Nexus 5 Q&A, Help & Troubleshooting] bdotwoods:
just went thru this--- flicking my phone worked. Aint that some crap lol. Guess it's time to unload this phone lol.
[Nexus 5 Q&A, Help & Troubleshooting] Cambaso:
Tengo el mismo problema hace dos dias pero lo mas curioso de mi caso es q si golpeo o agito el telf. vuelve a seguir reiniciando. ya que se queda apagado despues de 3 reinicios... estoy en busca de un iman potente.. me podrian decir con que tipo o clase de iman pudieron
[Nexus 5 Q&A, Help & Troubleshooting] coreylhs:
i just went through this as well. LOL my hand hurt when i flicked it. but it works now. thanks for the solution.
[Nexus 5 Q&A, Help & Troubleshooting] droiduser1:
It Worked!!

Thank you so much for the workaround. I flicked it for good 15 min till it booted completely. It is been 24 hours without that issue.

My flicking finger is a bit sore. :)
[Nexus 5 Q&A, Help & Troubleshooting] Harvestmouse:
No wifi, no bluetooth, restarting constantly

Problems started yesterday, first bluetooth and wifi would not turn on, then the phone began restarting at random intervals. After a few hours it was restarting constantly, it would get as far as the home screen and then immediately restart. Nothing I have done has made any difference - starting in safe mode, checking for system updates, updating apps, uninstalling third party apps, factory resets, nothing worked. I spoke to Google this morning, and having taken me through the diagnostics again they have confirmed that it is a hardware problem. They are going to replace the phone under warranty, as it's only 7 months old, although with a refurbished item, not new - I guess that should be fine though.
[Nexus 5 Q&A, Help & Troubleshooting] afora67:
I have the same issue. Exactly the same. I didn't find so much online.
[Nexus 5 Q&A, Help & Troubleshooting] anandps:
Adjust Power button

Had the same problem . all of sudden reboot was in loops . adjusted the power button , pressed it hard sidewise few times, and that did work:)
[Nexus 5 Q&A, Help & Troubleshooting] thefiqs:
awesome..... had this problem 2 weeks ago, thought the button stucked somehow and did it hard.... and worked, until now, and now nothing helps, hopefully the magnet will, other way I have one piece of ******
[Nexus 5 Q&A, Help & Troubleshooting] Sparx75:
Flicking the power button worked!

So I had this same issue. Nothing was working, I even opened up the phone and everything. Even the magnet trick didn't work, but flicking the power button did the trick! What a brilliant piece of advice there! Thank God for this wonderful community!

Fingers crossed it doesn't happen again. Has anyone else who has been able to fix this the first time, had this issue reoccur to them? Thanks.
[Nexus 5 Q&A, Help & Troubleshooting] thefiqs:
Same here! Nothing but the flicking! After almost a month my nexus is up for more than a minute! :D I know still can be worse but, I'm hopeful! Thanks! Thanks! Thanks! :D

Anyway, my new phone is on the way but still love this piece of tech.
[Nexus 5 Q&A, Help & Troubleshooting] Sparx75:
Lol what do you mean its up for more than a minute? As in it it works perfectly fine? Thats great news if so. I haven't had an issue after fixing it either. Its been a couple of days now.
[Nexus 5 Q&A, Help & Troubleshooting] thefiqs:
It worked for about an hour and than had to start flicking again. After, about 6 hours use. And flick. Now it is up for 13 hours. And I'm happy. :)
[Nexus 5 Q&A, Help & Troubleshooting] eartherian:
Flicking / Tapping solved it for me

Thanks everyone for their inputs. I was planning to try the magnet trick but when I read about the flicking / tapping thing, I tried that first.

I just tapped the power button with the index finger good 5 times, sometimes so hard that the button got pressed. And then I tried to power it on without any cable connected. Boom, it booted up!!

Earlier, I was facing the same problem as many; the phone was not starting at all, however many buttons you pressed in whatever all combinations. When plugged in, it was rebooting at the Google Logo without any button being pressed.

Hope this would be helpful. Thanks all. Made my day!! ;)
[Nexus 5 Q&A, Help & Troubleshooting] BigJeff:
Beat the **** out of my phone till the button died, but I can use my phone for now!
[Nexus 5 Q&A, Help & Troubleshooting] 3DDario:
Thanks, fixed flicking the power button. :good:
[Nexus 5 Q&A, Help & Troubleshooting] bigpapanl:
Also mine is broken now, gonna send it for repair, hope i wil get a new motherboard under waranty.

the temporary button fix methods posted above don't work for me
[Nexus 5 Q&A, Help & Troubleshooting] mhadonis:
Nexus 5 constantly rebooting - Resolved

Resolved

I had same problem, first i tried every method mentioned above and once it solved my problem. But again I got the same problem after few weeks and this time no solution.

Finally i replaced my power button from local store (for around $2 )and my Nexus 5 is working fine without any issue.

So I concluded it was the power (hardware)button issue not the software issue.
[Nexus 5 Q&A, Help & Troubleshooting] CocoCrunch:
Amazing.. flicking and non stop tapping on the power button did the work.. thanks man!
[Nexus 5 Q&A, Help & Troubleshooting] prinzali:
That worked...

I specifically made an account to post that this actually worked. I have a Nexus 5 running Android and it kept restarting at the Google screen when plugged in to either a computer or wall charger. Key combinations did nothing. Held a magnet to it for one second, then it started booting normally and seems to be OK now. Though I don't know if this will last forever!

First thing I did was go to settings and back everything up. Hopefully if this thing shuts down for good I'll at least be backed up. Thanks for the tip I never would have dreamt of trying... appreciated.
[Nexus 5 Q&A, Help & Troubleshooting] sexysamosa:
i got it

okay i found a solution to this keep it on charge and tap the power button and keep tapping that **** till your phone comes on but you have to be really fast like FLASH fast....basically its just like a jump start to your car battery let me know if it works @ savesameep@gmail.com

:good:
[Nexus 5 Q&A, Help & Troubleshooting] swapnildixit3:
Flicking and non stop tapping on the power button did the work..
[Nexus 5 Q&A, Help & Troubleshooting] damngood98:
the trick held up on my wife's phone for the last 24 hours...when i rebooted to recovery, i was using a magnet to press the power button as well...good luck
[Nexus 5 Q&A, Help & Troubleshooting] sholopolis:
think i fix it

well my nexus 5 was driving me crazy , i tried pushing the power button quickly but it was just a temporary remedy , and i thought this hell began with lollipop, so i just downgraded my phone to kitkat and everything went back to normal again
[Nexus 5 Q&A, Help & Troubleshooting] gogoloveny:
i fixed mine

just lightly slam your cell phone on wooden service on the top corner of the power button it be fixed i tried on mine it works. trust
[Nexus 5 Q&A, Help & Troubleshooting] SandroLipe:
Software not Hardware

Hey guys, I was facing exactly the same problem with my n5. I had tried everything, including flashing custom roms, opening the backcover and etc.. nothing worked.

But then I had the brilliant idea, maybe if I install MIUI ROM based on android Kit Kat.... guess what? It worked, everything seems fine.

Maybe it was some miscoding with Lollipop 5.1?
[Nexus 5 Q&A, Help & Troubleshooting] arpitcul:
Hi guys i have a google nexus 5 and it is locked state. It is getting booted again and again but it jiust reaches google logo and again restarts. Safe boot is also enabled so i cant enter in recovery mode also. Please help me ASAP.
[Nexus 5 Q&A, Help & Troubleshooting] amrdroid:
Flicking means?

Guys sorry i tried fast tapping but nothing worked. Btw what do you guys mean by flicking?
[Nexus 5 Q&A, Help & Troubleshooting] wangxiaohu:
Experiencing the same problem now...started happening all of sudden......anyone on the same boat?
[Nexus 5 Q&A, Help & Troubleshooting] MattDN93:
Hey guys, just recently this happened to me completely randomly and I tried using magnets from a hard drive head around the power button, followed by flicking the power button hard, as if you would when you flick a coin to make it spin on its vertical axis, and I suspect that solved it. My rubber gel case probably caused it, because you need to mash it hard to power up the phone. Time to find an app to automate turning on/off the screen! Thanks for the posts here!
[Nexus 5 Q&A, Help & Troubleshooting] Condomitti:
+1 for the magnets solution! Worked like a charm.

Wonderful tip! Thanks guys!
[Nexus 5 Q&A, Help & Troubleshooting] matan7890:
The tapping on the button option worked for me! Thanks!
[Nexus 5 Q&A, Help & Troubleshooting] gwenny:
Never thought it would work...but constantly flicking the power button worked! My finger hurts now, but at least the phone is working xD
[Nexus 5 Q&A, Help & Troubleshooting] VenQWish:
Jebus, just had this happen to me too. Flicked it till my finger hurt like hell but it worked :D. Thanks!
[Nexus 5 Q&A, Help & Troubleshooting] harsh2193:
My nexus 5 used to shut down randomly. Then it would show the power menu at the slightest touch of the power button. A few minutes later, it started rebooting at the google logo (just like everyone else with the power button issue). Got the power button replaced but it's still stuck there. The repair guy says that he has replaced a lot of power buttons on various nexus 5s and it always got fixed. Could it be linked to a processor or a battery flaw (he thinks might be one of the two)

Thanks for any insights or suggestions.
[Nexus 5 Q&A, Help & Troubleshooting] f0olyc0oly:
This just happened to me now. Thank God for google.

So, I'm at the office and charging my phone when suddenly it restarted and keeps restarting up to the google logo only. Tried pressing the volume button but doesn't help, it just keeps restarting by itself.

Saw the post for the magnet, unfortunately I don't have any at my desk. Decided to read other posts when suddenly, flicking helps (a few times rather)!!

Hopefully, that fixed it. Now it's still booting up (Android is starting.. Optimizing app 87 of 154.)

Thanks again for the help!
[Nexus 5 Q&A, Help & Troubleshooting] dsddsasdf:
Rare earth magnets and button smashing/tapping/flicking didn't work but definitely gave me some leads. 30s (for serious, less than that didn't do anything) with the Hitachi did. Just needed a little robot love...
[Nexus 5 Q&A, Help & Troubleshooting] Sn00ky:
Whoa, flicking method fixed my issue as well! Didn't expect that tbh, many thanks.
[Nexus 5 Q&A, Help & Troubleshooting] PeteTam:
I had same problem and I solved for now. The following blog has a whole story.

crazytech.blog.com/2016/01/29/google-nexus-5-continuous-rebooting-problem/﻿
[Nexus 5 Q&A, Help & Troubleshooting] DjDiabolik:
flicking ??!?!? How i need to understand whit "flicking" ???? Post some video whit some solution......... i thinks i have a friends whit same exact problems on your nexus 5......
[Nexus 5 Q&A, Help & Troubleshooting] audit13:
Flicking is the action of quickly pressing and releasing the power button using more pressure that normal when pressing the power button.
[Nexus 5 Q&A, Help & Troubleshooting] maverick0193:
Thanks mate. It happened with my set too. I was going to try the magnet solution but then tried yours at first and it worked on the first flick.
[Nexus 5 Q&A, Help & Troubleshooting] PugRallye:
Genius!

This worked for me.

My N5 was constantly booting to the Google logo, then booting again. It did this while on power, but was completely unresponsive when disconnected from the power.

We have some very strong, small fridge magnets and I presses one against the power button as I pressed it in to try and start the phone, and bingo, it worked. Phone is at least up and running now.

No idea if this is a permanent fix or not. But at least the phone's back on.

Thanks :)
[Nexus 5 Q&A, Help & Troubleshooting] wantond:
I was having the same issue (as shown in the video) then the 'flicking method' worked for me within a minute (like how I would flick a coin to make it spin a coin vertically, of course much gentler)
[Nexus 5 Q&A, Help & Troubleshooting] ayrtinho:
Hey guys, I'm having the same issue with my Nexus 5X, tried everything metioned here, but nothing worked. Anyone have any other idea?
[Nexus 5 Q&A, Help & Troubleshooting] Tim1557:
Same with mine. However it does occasionally stop and performs normally. Unreliable however. Tried updating software, OS and wiped cache before performing a master reset. Attempted to have a cell repair center locally diagnose and repair. I specifically asked them to swap out the power switch which is a known problem. Still reboots. I am giving up and sending it in to LG for repair.