yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Q&A, Help & Troubleshooting] MildewMan:
I haven't had extensive amounts of test with WiFi on and off at night. I'm now testing whether it actually has anything to do with it or not. Will post back in a few days or if it happens again with wifi off at night.
[Nexus 4 Q&A, Help & Troubleshooting] algus:
Thanks, please post the results. I am currently testing wifi 'save battery' and 'disable in sleep mode' options.
[Nexus 4 Q&A, Help & Troubleshooting] elsrss:
My wife and I bought two Nexus 4. Mine works perfectly so far. My wife's one has the random shutdown problem, appearing from the first day and occuring on average every 2-3 days.

We already replaced it once, thinking it was a hardware problem, although it was really difficult to convice the seller that there was really a problem. You can't predict when a shutdown occurs, and of course when we brought the phone for a change, it appeared that it was working fine.

The second phone she got has the same problem. She only uses basic functions and applications so far, facebook, what's up, webmail account etc. No rooting or any trouble-making app in there (e.g. HD widgets).

We made a few more checks and also realized that after switching on the phone again, following the unexpected shutdown, the battery shows instant drains, going e.g from 35% before the shutdown to ~10% after... This happens after every random shutdown.

View attachment 1750890

The same problem is reported here: http://xdaforums.com/showthread.php?t=2014046

It is suggested there that disabling location services may help, but of course we want to have location services on. So I don't see this as a solution, unless Google knows that this is the source of the problem and they plan to release a patch soon.

We contacted Google and the person we spoke told us that she never heard anyone reporting this problem, but she has received several calls for random reboots. She gave us the contact for LG here in Germany and asked us to report to them if this problem appears again. She just proposed to reset the device, but that had no effect as the issue appeared again, even after upgrade to Android 4.2.2. We already contacted Google again and will wait to see if there is any answer.
[Nexus 4 Q&A, Help & Troubleshooting] Haswell:
having had the phone for 2 months the problem persists. I was expecting the 4.2.2 update would be solving this issue but the phone shut down without any notice just 20 mins ago. Now I am thinking it's more of a hardware problem. I don't know if this issue is widespread, cuz I posted this issue from a month ago and nobody seemed to reply so i figured this might just be an issue with the minority? I don't know..... If I contact google now, will I still get a replacement?
[Nexus 4 Q&A, Help & Troubleshooting] Icecandy:
+1

There is a problem with mine as well :(

I had 4.2.1 with locked state for 2 days and faced coupled of random reboots. Now have updated to 4.2.2 unlocked and rooted still facing some random reboots once in a day atleast.
[Nexus 4 Q&A, Help & Troubleshooting] jlear3:
Mines been like this too often, assumed it was from a kernel or something, but it's a little worrying seeing that it's happening to stock phones as well... I go to sleep watching netflix and when I wake up the led will be up but it won't turn on. Need to hard boot it and restart it. Wonder how many phones are affected.

Nexus 4

ATT Straight Talk $45/mo

running xylon nightlies 4.2.2 franco r83

^(subject to change often)^
[Nexus 4 Q&A, Help & Troubleshooting] fredcorp6:
I too have this problem, but since its not a massive problem I'm gonna wait till I get some heavy use from it before I RMA and get a shiny new replacement. Kind of useful having a minor hardware defect :)
[Nexus 4 Q&A, Help & Troubleshooting] jlear3:
Well I turned off wifi optimization and when I woke up today phone lit right up no problem

Nexus 4

ATT Straight Talk $45/mo

running xylon nightlies 4.2.2 franco r83

^(subject to change often)^
[Nexus 4 Q&A, Help & Troubleshooting] Haswell:
does turning off wifi optimization actually help?
[Nexus 4 Q&A, Help & Troubleshooting] jlear3:
I can't really tell as I've only done it once, but I also changed kernels and roms so there will be no way to tell if that actually fixed it.

Question though: has anyone taken notice to the led when you first tried to reboot the phone? I remember the light was on but don't know what color it is. I'm really hoping it's not red.

Nexus 4

Cyanogenmod nightlies

Faux kernel
[Nexus 4 Q&A, Help & Troubleshooting] akira1986:
hi guys

just wanted to say that for me it helped to turn of the gps function. This was advised in other threads as well. My phone is now running almost three days without any reboots. Before this i had like three reboots per day. As long as this occurs i only turn on the gps if i need to.

Maybe this helps someone.
[Nexus 4 Q&A, Help & Troubleshooting] jlear3:
Just to help narrow down the culprit, I never had gps on when I woke up to an unresponsive phone, just wifi. I never had any random reboots ever though.

Nexus 4

Cyanogenmod nightlies

Faux kernel
[Nexus 4 Q&A, Help & Troubleshooting] miguelmondo:
Random reboots

I've experienced the random reboots both when my phone was sitting idle and when in use. It mainly occurs when I'm streaming music (Pandora or Sirius). I just noticed that I had the option to minimize battery usage when Wi-Fi is on. I am pretty sure I had it turned off before I reset my phone several times trying to get rid of the problem.

I'm going to test with the new setting and see how it goes. Otherwise, I'll probably be contacting G to get an RMA.

Update:

I've been streaming music for approximately 2 hours and have had no issues at all. So far, it seems like the Wi-Fi switch did it for me. If I happen to get another reboot, I'll update here.
[Nexus 4 Q&A, Help & Troubleshooting] :
Hello XDA,

so my dad also experience this random reboots on his Nexus 4 since Day 2 or so (we bought it in December 2012). It happens many times a day. Sometimes when he ends a call (also in his car [Prius 2010] ]via Bluetooth), after a traffic announcement while playing music via Bluetooth, when disconnecting it from the charger, while using it otherwise and even when he is not using it at all; the phone just stays black and the power button needs to be pressed for 20 seconds or more. The reboot itself just happens instantly without a shutdown-process or something. Sometimes the "system"-process force closes.

It happened on Stock 4.2.1, on Cyanogenmod 10.1 M1 and several newer nightlys and now Stock 4.2.2 (I really hoped that that will fix it, but no). I changed the kernel several times, tried many settings (my first thought was that Bluetooth is the culprit but it also happens with BT off).

Then I switched my Nexus 4 with his, because I don't have this problem (running CM 10.1 Nightly) and we hoped that it may be a hardware issue. But after some hours, the first reboot occured again. So it appears to be no hardware problem.

Yesterday he got a new simcard (3 Hutchinson Austria), but after a day ... well ... reboot.

I also deleted all the apps that I don't have on my Nexus, and kept only the ones, that are well known and should be safe (WhatsApp, Spotify, etc.).

I really don't know what to do any more :/

In the attachment is the bug report, which I created after the last reboot. Maybe the solution is hidden there. It's on Dropbox, because the file size is too big. And because I'm new, I can't create links, so I had to disguise it.

www //\\SOMETEXT//\\ .dropbox. //\\SOMETEXT//\\ com/s/ //\\SOMETEXT//\\ wbsz66pnxwbcx2i/bugreport-2013-02-27-21-10-57. //\\SOMETEXT//\\ txt

Edit: It is a mix of Hot and Full Reboots. Sometimes my dad needs to type in the PIN, sometimes not. Also, I can't reproduce the problem (sitting in the car for 20 minutes, making 50 calls. No problem).

Thanks for all the help!
[Nexus 4 Q&A, Help & Troubleshooting] algus:
I never experienced random reboots on Nexus 4 and this topic is actually about random shutdowns, not reboots.

I'like to update that my Nexus 4 already shut down twice this week, both times at night.

It is now running stock rom, no root and not unlocked, just stock software and all settings are default, all set up after a full clean setup with restore factory settings.

I will try to post a screenshot later, showing battery usage. It shows that phone was at about half battery when it went completely off by itself and drained the remainig battery within a few hours (vertical drop of battery graph to zero).

Either it is a system software bug, or some hardware malfunction right out of the box.

I am going to take it to LG service center and if they will not be able to fix it or try to show that this problem is not known, than not only will Nexus 4 be the worst android phone, but LG will become the worst manufacturer as well (if it is not yet already).

Im not angry, just facts. I have several android phones of this generation, currently using Galaxy S 3 perfectly running cyanogenmod. Got Nexus 4 just out of curiosity.
[Nexus 4 Q&A, Help & Troubleshooting] ijevrem:
Same problem-stock ROM

I have the same problem. I press the power button to unlock the screen, and the phone appears not to respond. Holding down the power button to power it back up does not work for several minutes.

It randomly decides to power up and goes back to normal. Stock 4.2.2

So far extremely disappointed with the phone and the stock ROM.

Battery barely lasts a day with minimal talk. Screen brightness is set to auto, and turns off after 30 sec...

Will be waiting for a better solution than to turn off features.

Thanks.:confused:
[Nexus 4 Q&A, Help & Troubleshooting] krogen:
I am on my second Nexus 4. The first one started shutting down after about 2 months (late January). I received a replacement from Google a couple days ago. Same issue.

I have never had it turn off on me at night. I always put it in airplane mode at night to save battery and to not be bothered by text messages or phone calls.

Every single time it turned off one me was during work. I always put it in airplane mode at work as I do not have carrier signal there. Maybe it's my pocket heat? I don't know.

I am getting frustrated. What is this crap Google?
[Nexus 4 Q&A, Help & Troubleshooting] rzvrazvan:
Yes, I have data plan, and this is my last hope. Definitely this is related to WiFi and sleep mode. Hope this work. Thanks!
[Nexus 4 Q&A, Help & Troubleshooting] igguk1:
Well sadly enough orangeyes solution did not work for me, even though I was getting sods just once in a week or so, but still I paid for my N4 full 349 euros and even knowing it was vastly cheap compared to other flagships phones when launched I find unacceptable to get a faulty unit thats why at the end I RMA it and could not be happier with the replacement unit. Also the process went very smooth :good:
[Nexus 4 Q&A, Help & Troubleshooting] careh1:
There is a youtube video showing a Nexus 4 being restored from a factory reset and experiencing intermittent powerdown when accessing forbes.com - a flash intensive site.

Being new here I can't post a link to it - but you can find it if you go to youtube and search for: careh1 nexus 4
[Nexus 4 Q&A, Help & Troubleshooting] FormerSlacker:
The two reproducible cases of the SOD involve loading websites in Chrome that feature videos, I don't think that's a coincidence, obviously something is buggered with the software stack.

Here is the video, SOD demonstration at 8:40

[YOUTUBE]pp6QCkinB1g[/YOUTUBE]

Good job with the video mate, if you are the one who did it.
[Nexus 4 Q&A, Help & Troubleshooting] nikpoth:
Once I did the same test and the same problem I encountered.:crying:

edit:With the dolphin does not show a problem:confused:
[Nexus 4 Q&A, Help & Troubleshooting] rzvrazvan:
Yet too many sod for 28minutes!

For now I am using data plan for Internet connection with Wi-Fi only at charging time. I still have that app to take WiFi of when display is of, and another app is running when the phone is charged Safe Charge, and whit this I never had a sod while the phone is charged . And whit this setup I hope to stay away from sod.
[Nexus 4 Q&A, Help & Troubleshooting] dookie23:
I can now reproduce this 100% from following the video.

I also tried this in Safe Mode as well and I got the same error. It just sucks.
[Nexus 4 Q&A, Help & Troubleshooting] nikpoth:
Have you tried with another browser?
[Nexus 4 Q&A, Help & Troubleshooting] dookie23:
Yeah, I have tried Firefox and I have not experienced the issue (yet). I know using a different browser is just work around coz there were several times the phone did not wake up after a quick power button wake-sleep-wake. Prior to shutting the screen off I was just reading news with Feedly. Hope Google will get this fixed in the L release.
[Nexus 4 Q&A, Help & Troubleshooting] FormerSlacker:
Try avoiding programs that make use of the webview, because it's just Chrome 32 and probably exposes the same bug... but that's hard because webview is used everywhere :(
[Nexus 4 Q&A, Help & Troubleshooting] gosku26:
Same problem here. I have two Nexus 4, one of them with this problem (my wife's, stock 4.4.4 without any modification). I could reproduce the forges.com test on it. I'm trying to disable WiFi completely (wifi off, Scanning always available off too) for a whole week and see if the the freezings stop, because her phone usually freezes 2 or 3 times a week, allways when she arrives home (and the phone switches to wifi mode).

According to what I read, the problem happens on Chrome or Webview use, or when wifi is used (or the option of scanning wifi networks is enabled), or maybe a combination of both situations.

Did somebody find a solution? I can't believe this bug continues even after 2 system updates, what makes me think about a hardware problem. In this case, it is pretty bad that Google did not say a word on this.
[Nexus 4 Q&A, Help & Troubleshooting] FormerSlacker:
Well, interesting development. My upgrade process was all OTA's on my phone, so I decided just for the heck of it to wipe the phone and reinstall stock 4.4.2 from Googles site.

So I did that, flashed the entire firmware, reinstalled all my apps, set it up to the same as it was and now I can't reproduce the screen of death. I could do it consistently before, but now I can't. I've tried forbes and the other site but still nothing. Maybe it'll start doing it again later... but for now I find it very interesting that I can't reproduce it anymore.

Maybe it's the newer Chrome version?

In any case, the only configuration change I made was WiFi->Always on from before when it was set to go to sleep after some inactivity.

I'll post updates after more time with it but for now it's encouraging.
[Nexus 4 Q&A, Help & Troubleshooting] redwingfan:
Install BatteryGuru. It stopped the phone from going into the sleep of death for the last few months. Its a hardware and software issue I think.
[Nexus 4 Q&A, Help & Troubleshooting] FormerSlacker:
One month on still no SOD's since clean reflash with daily Chrome usage.
[Nexus 4 Q&A, Help & Troubleshooting] dookie23:
Perhaps it's the new Chrome version, I haven't encountered any SOD for the last month as well. This is definitely good news!
[Nexus 4 Q&A, Help & Troubleshooting] xda6969:
I haven't used my Nexus 4 in a long time. I use a Nexus 5 now. I just turned on my Nexus 4 and upgraded to Lollipop a few days ago. I wiped using the flashall.bat. This morning I woke up to find the phone was off again. I couldn't turn it on normally. I had to hold the power button down for 20 seconds to unlock it. WiFi was on. Unfortunately, this issue still haunts some of us.
[Nexus 4 Q&A, Help & Troubleshooting] FormerSlacker:
Yeah it happened to me on Lollipop. It's definitely still there.
[Nexus 4 Q&A, Help & Troubleshooting] TheArt.:
Happened to me too on Lollipop. And now we can't even disable permanent wifi scanning!
[Nexus 4 Q&A, Help & Troubleshooting] vukaleksic:
try to disable synchronization! for me it's working for almost 15 days without a single SOD.. I'm using some autosync app to turn it on only while charging
[Nexus 4 Q&A, Help & Troubleshooting] arkangel72:
The battery is bad.. Get a replacement from LG electronics
[Nexus 4 Q&A, Help & Troubleshooting] Firefly1337:
I'm still having the sleep of death problem, too. At least once a month my phone goes dark.

[MENTION=5975630]arkangel72[/MENTION]: Is this really causing the issue?? Changing the battery to solve this pain in the ass problem almost seems too easy :(

I wouldn't even bother asking LG for a replacement, a new (original) battery costs under 8$. This might definitely be worth a try.
[Nexus 4 Q&A, Help & Troubleshooting] arkangel72:
Well the nexus 4 heats up like crazy.. It's possible that the battery goes in for a toss
[Nexus 4 Q&A, Help & Troubleshooting] kmandel:
Do I have SOD?

The symptom on my Nexus 4 is that I get a black screen as if its in normal sleep, a short press of power doesn't wake it up, and it takes a particularly long press and maybe more than once for it to reboot. This has never happened while its been in use, its always when I've left the phone alone for a while. This happens maybe every day or two.

When its in this mode its also unresponsive to adb on usb. This is a recent development. I can't be completely certain but I think it started after my upgrade to 5.0 (via factory image), and remain after 5.01.

I'm rooted at the moment, but this started before I re-rooted it after 5.0. There are no new issues while its actually in use. Bluetooth is flakey at times, but thats an old story. I leave wifi on all the time, and it has surely been connected during the incidents., while bluetooth would have been enabled but probably not connected.

Is there anything I can learn from an adb logcat after reboot? Fatal shows nothing, and everything else seems to verbose for me to correlate to the problem.
[Nexus 4 Q&A, Help & Troubleshooting] Firefly1337:
Well... not mine. My battery's temperature is normal when it happens.

Anyway, I contacted LG and for the first time in my life I got an actual answer. They said that this issue is known and I should RMA it.

And I think that's what I'm going to do, also because lately I'm having problems with my power button, sometimes it doesn't work.

But not until after christmas and new year's eve.

[MENTION=2843314]kmandel[/MENTION]: Yes, I think you're affected.
[Nexus 4 Q&A, Help & Troubleshooting] arkangel72:
Merry Christmas :D;)

Sent from my Nexus 4
[Nexus 4 Q&A, Help & Troubleshooting] FightingChance:
Ugh, was hoping there was something more solid when I came here to look for answers; twice now in 6 days, my phone has been off when I woke up (sitting on a Q charger since before bedtime). Very fun, considering my phone is also my alarm. I was hoping something introduced in 5.0.1 was doing it, since this has never happened to me prior. I'll try leaving my wifi off I suppose.
[Nexus 4 Q&A, Help & Troubleshooting] kmandel:
Thats very close to what I am seeing, about the same frequency, and I also see it mainly when I leave it over night on a Qi charger. I saw this on 5.0 and now 5.01 but not before.
[Nexus 4 Q&A, Help & Troubleshooting] FightingChance:
Well, I'm kinda glad to know someone else has the same issue... though not glad about the issue itself. The wireless charging has always been problematic for me, if it's not this then it's the phone just deciding to stop taking a charge and me waking up to 20% battery. I'm going to re-buy an Infuse dock to go back to wired charging, I think.
[Nexus 4 Q&A, Help & Troubleshooting] T1Cybernetic:
We just purchased two Nexus 4's and they are both randomly turning off for no apparent reason :( Has anyone managed to fix their problem? Just looking for ideas before we have to do anything drastic like sending them back :(
[Nexus 4 Q&A, Help & Troubleshooting] rasengan82:
This is happening a lot since lollipop.
[Nexus 4 Q&A, Help & Troubleshooting] T1Cybernetic:
I have attached an image from a message received earlier today.

It could be helpful to someone but my kids just got this message when we uninstalled and re'installed Snapchat.
[Nexus 4 Q&A, Help & Troubleshooting] rasengan82:
Do you guys have Chrome with tabs enabled in the recent screen?
[Nexus 4 Q&A, Help & Troubleshooting] T1Cybernetic:
We have found something that works for both our Nexus 4's ;)

Make sure to clear snapchat from your background apps /recent apps list and the phone does not restart at all any more :D

It could do the same with other apps running in the background, Just trial and error to find the one causing the problem...
[Nexus 4 Q&A, Help & Troubleshooting] kushalbhalodia:
Sleep of Death

Same problem here since lollipop update, it restarts randomly.:(
[Nexus 4 Q&A, Help & Troubleshooting] Firefly1337:
This error is NOT app related, it happens on a clean installation, too. Plus, you don't even have to use your phone (= no apps active) for it to happen.

Either this issue is a bug in android itself (hopefully not) or it's hardware related. These are the only possibilities.
[Nexus 4 Q&A, Help & Troubleshooting] T1Cybernetic:
I realized our problem is not the same as some similar problems people are having ;) Our phones were rebooting due to a problem with Android /Snapchat :(
[Nexus 4 Q&A, Help & Troubleshooting] vickpick:
Been having this happen for about 1 week now. Sucks because I get late night calls for work and I missed a few calls because phone turned off while I was sleeping. I'm on full stock now, not even root and still happening.
[Nexus 4 Q&A, Help & Troubleshooting] DupleX01:
I had similar issues. After checking several related threads, I tend to believe it is a hardware problem (most likely battery!).

I yet to change the battery. However, in the meantime I resolved it (approximately 8 months with only 1 black screen of death) with two changes.

1. Safe charge from Play Store:

https://play.google.com/store/apps/details?id=com.sash.sodeliminator

2. Set Keep Wi-Fi on during sleep, to Never, in Wi-Fi advanced settings.

Worth a shot, give it a try! ;)
[Nexus 4 Q&A, Help & Troubleshooting] vickpick:
Thanks for the tips, I went back to 5.0 from 5.0.1 so if that doesn't fix it I'll try these things. I never had this before 5.0.1 so I'm hoping that was my issue.
[Nexus 4 Q&A, Help & Troubleshooting] rohitbapna:
Nexus 4 turning off as soon as power is unplugged

Hi

I am facing a strange issue with my nexus 4 for the past couple of days.

As soon as the power is unplugged the phone turns off. The battery is fully charged. The phone is running Stock Lollipop 5.01 and all the google app are updated .

The phone is also becoming really hot by constantly being connected to the charger.

I have tried turning the phone into safe mode but as soon as the charger is unplugged the phone shuts down so no joy there . The phone keeps resetting the wallpapers and forgets the wifi passwords and also shows no service as well a lot.

I am not able to narrow down the problem being with the battery or the phone's software or some other issue .

Thanks

Rohit
[Nexus 4 Q&A, Help & Troubleshooting] orangeyes:
I have changed my battery and still this issue appears.

Both were made in China. I have read that there is a Korean version but I think the issue must be on the main board.

I am talking for the problem that this topic was started for.