Originally Posted by 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.
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.