yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Q&A, Help & Troubleshooting] Thrice87:
The only 2 apps that I downloaded the day before were cerberus and titanium backup, both of which are well known. Either way they were the day before the problems started.
[Nexus 4 Q&A, Help & Troubleshooting] kyokeun1234:
Doubt that these will cause any issues, but could you try uninstalling Cerberus just in case? Thanks
[Nexus 4 Q&A, Help & Troubleshooting] Thrice87:
Well, after completely reverting the phone back to its stock version and pretty much everything else, it's still doing it - which surely points to a problem with the chip (or something). So, I've contacted google about a replacement and so far so good - got through in 5 minutes and sorted out the RMA and everything, should be delivered in the next few days.

Thanks for the help anyway. I'm going to avoid rooting this one for the time being to see how it behaves.
[Nexus 4 Q&A, Help & Troubleshooting] megapixle:
I experienced "random shutdowns" and even posted about it here. Turns out it was my belt holster that was somehow the culprit. I don't know if it was mashing some weird button sequence to turn off the phone, or if the magnet interfered or something else, but as soon as I got it out of that holster I had no more random shutdowns.

I doubt yours is the same problem but I thought I'd post mine.
[Nexus 4 Q&A, Help & Troubleshooting] kyokeun1234:
Yeah that's not my problem at all Lol. Glad you've figured it out and I bet that magnet caused the issue IMO
[Nexus 4 Q&A, Help & Troubleshooting] racing_md:
Funny I had the same thing happen to me last night. I was using the phone put it down for a minute or two and then could not wake the phone. What was interesting was when I couldn't get it to turn on I plugged in into the charger and let it sit for a few hours. When I was finally able to restart it using the the power, vol button the battery was at the same level before the incident. In other words whatever happened prevented the battery from being charged. I am stock and rooted and haven't loaded any new apps in over 2 weeks
[Nexus 4 Q&A, Help & Troubleshooting] spike378:
I have almost the same problem as the op but I do have a shut down sequence. It does randomly shut down itself. The first thing I got the phone I rooted it and it was fine working on modaco for 2 weeks then one day it kept shutting down upon boot until like 10 tries later I successfully got back in but lasted only a few mins and sometimes hours. Im gonna rma this pos and I hope I can get it replaced soon. I try it with stock rom and kernel then modaco with stock kernel then modaco with faux kernel. Same problem.
[Nexus 4 Q&A, Help & Troubleshooting] miku3191:
I had these problems earlier ... I just gave HARD RESET by pressing power key for more than 5 sec.

Then i figured, it was due to Undervolting ! and Processor going to a DEEP SLEEP all together !

So i removed UVing and it was cool since then ! ... Although my signature says the rest ! :P
[Nexus 4 Q&A, Help & Troubleshooting] MildewMan:
I bought my N4 about 2 weeks ago, and it has turned itself off 3 of the nights I've had it. I don't have any hard evidence, but I have a theory on why it's doing it.

At first I thought it was because I used a Motorola usb cord instead of the stock cord because I read some people's theories on the internet, but it happened again (twice) after using the stock cord.

It seemed like it only shut off if I left WiFi turned on when I went to sleep (even then it was still a random occurrence). I went into my advanced WiFi settings and noticed Wi-Fi Optimization was turned on with the text "Minimize battery usage when Wi-Fi is on". I thought it might be the problem, so I turned it off. I left WiFi on last night, and the phone was still on in the morning. Again, it is still a random occurrence even with WF on, so I'm going to leave WF on at night for a few days/weeks and see if it happens again. I'll post back with results.

If anyone else has already tried this or has figured out a solution, let me know.
[Nexus 4 Q&A, Help & Troubleshooting] algus:
The same happens several times a week with my nexus 4 running latest cyanogenmod. I will revert it to clean stock in a few days to see how it goes. I don't think that is a hardware problem but time will tell.
[Nexus 4 Q&A, Help & Troubleshooting] MildewMan:
Don't know if anyone is keeping up or cares, but I wanted to update and say that this did not fix the problem. 4.2.2 also did not fix the problem. I guess I could try getting a new one from Google.
[Nexus 4 Q&A, Help & Troubleshooting] jeffmhasty:
My wife and I are both having this problem. Hers is completely stock, I'm unlocked and rooted. I was hoping it would be fixed with 4.2.2, but if it hasn't then it maybe time to get replacement N4s :(

I can't imagine this issue is very widespread, since there have only been a few threads about it. Its a big nuisance especially because it usually happens at night when I'm expecting my alarm to go off at night.

I hadn't wanted to send for replacements since it seems like a software issue but I'm getting fed up.
[Nexus 4 Q&A, Help & Troubleshooting] edenist:
Just had this problem occur with my N4 last night..... Phone is 2 weeks old.

Went to bed, plugged in the phone to charge [it was at about 50% or so, so not exactly low].

Woke up at 8.30 wondering why my alarm didn't go off at 7.30.... looked over and the phone was off.

It also didn't want to turn back on either. Took about a minute of holding in the power button for various amounts of time before it finally kicked to life [at 100% charge too].

This is going to be a real problem if this problem reoccurs. At home I have a clock radio but I travel a lot and rely on my phone to wake me up!

Here's hoping we can start to identify what is causing this issue. All I can add is that it is not low-battery related.

As stated in the sig. Phone is unlocked/rooted with stock rom.
[Nexus 4 Q&A, Help & Troubleshooting] kuzai:
my phone suddenly off too, especially after i put it in my pocket, it happen before n after i flashed a custom rom, then i need to press it several times for a couple seconds..why it happen?my friend's phone doesnt have this problem (we bought it together)
[Nexus 4 Q&A, Help & Troubleshooting] kebosatu:
Exactly what I have here too.

Hm... even with a good router as rt-56u, you still see the issue...

Mind update us with your RMA process?... in case you still see/not see this issue anymore

:D
[Nexus 4 Q&A, Help & Troubleshooting] macori:
Alice Gate VoIP

hardware version S1

global version AGPF_4.7.0

It is a router distributed by Telecom, an Italian society of telecommunications
[Nexus 4 Q&A, Help & Troubleshooting] carljoe:
Just arrived back home from my local dealer actually. Got the oppertunity to wait for a new Nexus 4 because it wasnt in stock ATM, or choose another. Ín the end I choosed to go with the HTC One. That design and front placing speakers was to appealing :)

So I guess I don't have to worry about not getting late to Work anymore because of SOD :victory:

I must admit I already miss stock android :)
[Nexus 4 Q&A, Help & Troubleshooting] Kajel:
Hey all,

Wanted to chime in with my experience! First off: I don't exactly understand what the whole SOD problem is, and if I'm having the same problem. A lot of posts in this thread speak of shutdowns during charging. I don't have that. I only have shutdowns when I'm off the charger.

The thing is, I have exactly the same problems as the OP:

After the phone is off the charger for a while, it seems to start "loosing connection to the SIM card". Multiple times I have to enter my PIN again. This happens while the battery still has a lot of juice left (70% or more is no exception)

At some point, often when I have more than 50% juice left, the SIM disconnects start occuring more often and/or I get random shutdowns

After I manage to switch it on again by longpressing power, if it gets past the color-X, oftentimes my wallpaper is back to default

Most of the time I can't turn it on again until I hook it up to the charger. When I do, sometimes it still has all the juice left it did before it shutdown and I hooked it up. Other times battery suddenly seems to have dropped to next to nothing

I'm now trying to have the Wifi optimalisation turned off to see if that helps. I also tried to remove the SIM card, but I still had a shutdown. The shutdowns occur every day.

Another frustrating matter: I live in the Netherlands and bough the phone at a store in Germany. Google probably doesn't do RMA here.

Do I have SOD? Or is this something else? At least my problem seems to be closest to the OP's problem yet.
[Nexus 4 Q&A, Help & Troubleshooting] Viewmax:
I have exactly the same problem. Nexus 4 is randomly shutting down either home or work (different routers). I can confirm that in my case it's happening when wifi is on.

Unfortunately RMA will not work for me, because I living in another country :(
[Nexus 4 Q&A, Help & Troubleshooting] macori:
f***ing LG, I'm Italian and play store devices doesn't exist here, and LG doesn't want give me free assistence...
[Nexus 4 Q&A, Help & Troubleshooting] vivekananthan:
I have too experienced the same issue. Many times if the battery is below 50% the phone randomly goes to some mode which cannot make it on untill you do a hard reboot by holding the power button till it reboots.

Many other occasions when the battery is on 20% the phone just stucks the wallpaper gets reset to the default blue live wallpaper and when I unlock it just stucks and immediately when I connect the charger the phone resumes!! Which is very odd.

Everytime I face this issue only when the batter charge is less than 50%

I do think so it is something to do with the battery and how andriod determines the battery capacity.

But this doesnt occur when you are charging or when you have battery above 70%.

I would try my experiments and would let you know, please do let me know about your results as well.

Thanks for sharing
[Nexus 4 Q&A, Help & Troubleshooting] whiskey19:
I registered only to say this.

To everyone who has the same problem, call Google support and tell them you want to replace your nexus 4. They will walk you through the RMA process. It only takes a few minutes.

After all the frustration i went thru trying to fix my phone, I wish I called them earlier.

I'm typing this on the new phone (its been 3 weeks without any shutdown).

It has nothing to do with WiFi, installed apps, rooting or any software related problems. I'm petty sure because I have the new one set up just like the previous one. It was unrooted too. The problem is gone with the new phone so it could very much be the hardware.

Best of luck to everyone.
[Nexus 4 Q&A, Help & Troubleshooting] xda6969:
Google doesn't have an answer for this so you don't know you will be getting a phone with the issue resolved. I've read posts where even the replacement phone has the issue. I'm not sending mine back for a replacement until the issue is known by Google and you know you will get one without the issue. This SOD is definately related to WiFi being ON. I agree it's hardware related but it happens when WiFi is ON.
[Nexus 4 Q&A, Help & Troubleshooting] sincro:
I agree. I once managed 6 weeks without a problem, I thought I had sorted it, but the problem returned. Some people are on their third device and still have the problem.

If

it is software related then I'm hoping that LG/Google are looking into this problem and hopefully address it in the next software update. For me using WIFI as and when required is the only way to go at the moment.
[Nexus 4 Q&A, Help & Troubleshooting] macori:
Sorry guys, maybe it's stupid but I was thinking that you could present our issues and our results to Google assistance, maybe it could help them to get a solution...I would do it, but where I live there isn't an address for Google devices' assistance
[Nexus 4 Q&A, Help & Troubleshooting] golan82:
Hi,try this for fix

After weeks of reading this forum, turn off the WIFI did not help.

Sim also changed and the problem of SOD continued

But I noticed that every time I turn on the device , I see that some of the apps updated.

Try this, in the google play from your device turn off the updates of applications.

Meanwhile 5 days without SOD.:D

sorry for my english :mad:
[Nexus 4 Q&A, Help & Troubleshooting] sincro:
My auto app updates in Google Play is always switched off as I update manually. It never made any difference though... Still used to get SOD up to three times a week. I'm now on week 4 without a problem since I started turning off WIFI when not needed. It worries me that turning off WIFI didn't work for you. I'll report back if my device fails again.

---------- Post added at 04:56 PM ---------- Previous post was at 04:45 PM ----------

It may help if people with SOD issues also mention the problem on the Google Developers website here - https://code.google.com/p/android/issues/detail?id=35139 . The issue is tagged as medium at the moment, if more people complain then something might happen. The issue started off as a general JB 4.1.1 SOD problem on the G. Nexus but has now pulled a number of N4 users.
[Nexus 4 Q&A, Help & Troubleshooting] macori:
I left a comment on the website...how can we spread the word?
[Nexus 4 Q&A, Help & Troubleshooting] pradeepka:
I too faced the SOD with my N4 a while back. The phone was just not responding to the power button. I tried the volume buttons + power as well.

Then i plugged the ac charger , still no response.

Then i connected the phone to my laptop using the cable, and the battery icon appeared , and then i could turn on the phone.

The phone is on stock and unrooted, just a week old. I installed 'Cerberus anti theft' yesterday, not sure if its the culprit. The battery was not low at all, im sure it was at approx 85% when this happened.

Anyone has a solution to ehis issue? I understand most of the users have faced this.
[Nexus 4 Q&A, Help & Troubleshooting] ansumanpanda:
Nexus4 turning off

Hi All.

I have got the Nexus 4 last month only.I am facing the same problem.The issue is :

the network 1st goes off with a message that you have to restart the mobile to work again.

This is happening every 3 ,4 days and i amm really annoyed with such issue.

It has been happened that i have to do a urgent call and there is no network bu t i have to restart it.

I heard somewhere that there is some issue with jelly bean.

Please advice a way out as the whole issue of having a mobile is getting irrelevant.

Thanks.
[Nexus 4 Q&A, Help & Troubleshooting] SeraldoBabalu:
My first nexus did this. Google replaced it no problem. It was happening on different roms and while plugged into wall charger so that pretty much narrowed it down to battery issue.

Contact Google and get it replaced.
[Nexus 4 Q&A, Help & Troubleshooting] prateek.289:
weird problem with my N4

hey all,

My phone suddenly gets switched off and worse.. to start it i need a charger. thats highly unusual because when it finally gets started it can show battery remaining upto 50%. Even the mobile network signal keeps on fluctuating.. on and off.. currently it is not even detected my sim card. it is showing an error "restricted access changed".

Background: My phone was working exceptionally well for last 6 months... had no problems whatsoever. This problem begun about a week back when i changed my sim. First it didnt detect the card and then after many attempts when it did then all these problems with ph getting switched off cropped up. I dnt think the prob is with sim because even after removing it completely, problem remains. i have done factory reset and still same problem.

I am attaching image of battery usage. Can anyone pls help ?
[Nexus 4 Q&A, Help & Troubleshooting] jeezess:
Another unfortunate soul with the same problem..

My story is this: Bought my Nexus 4 used from eBay (used for a month, no damage). Worked absolutely perfect for a good 6 months, until I decided to drink an excessive amount of alcoholic beverages, resulting in my phone hitting the pavement, flat on the touch screen/digitizer side. This resulted in a spider-webbed, nonfunctional screen. However, I kept the phone on to see if any other hardware issues would pop up. No such errors. Mistakenly, I forgot about the phone being on, letting it sit until it completely ran out of battery. I purchased a new digitizer/touch screen assembly and fixed it myself.

Side note: I have torn apart many electrical devices and have the (sort of) proper tools to do so. However, this does not excuse the fact that I could have messed something up doing so.

Once I reassembled the phone and tried turning it on, it wouldn't. This is the time when I remembered that I didn't shut it off, so I grabbed my charger (Note: NOT a stock charger. 5V/500mA - greatly under-powered, but works) and plugged it in. After a couple moments, the notification light began blinking red, letting the user know that the battery is too dead to even power the motherboard, let alone start the bootloader. I let the phone charge for about an hour, and the battery charge notification level said it was at about half-charge. I figured this was good enough, and turned it on to my relief of the new digitizer working perfectly. Things ran fine for about a week or two, when I started noticing my phone shutting down brutally at around 50% battery. Thinking this was some rogue app crashing the system, I plugged the charger in and turned on the phone, only to see that the phone was charging from 3%. This surprised me, so I let the phone charge fully. After the charge was complete, I unplugged the charger and checked my battery usage, noticing the shutoff at 50% and the sudden drop to 3% when turned back on.

Ever since then, it has gotten much worse, shutting down brutally at 95%, jumps in charge percentage when charging, repeated network loss.. Basically everything you have all described previously in this thread.

In a nutshell:

- Working fine until tearing apart phone to replace screen

- Brutal shutdowns at (software-indicated) high battery charges

- Extremely abnormal charging rates (sometimes no charge, sometimes 30% in a matter of minutes)

- Works fine when plugged in

- Using a non-stock, underpowered charger

With all of these things happening AFTER I took apart the phone, this logically makes me believe it is being caused by a hardware problem, NOT a software problem. I'm thinking it has to be a charger port/battery issue, but I'm afraid to spend the money on either to find out it's something else. I'm about to send it to LG (not Google because I didn't purchase it from Google Play) to be quoted for repairs, but I REALLY don't want to.

Thanks
[Nexus 4 Q&A, Help & Troubleshooting] Minrray:
Read all 20 pages so far and about the same is happening to me.

Whenever I'm at home I have WiFi on and mobile data turned off.

Whenever I'm out I have WiFi turned off and mobile data turned on.

For the last month my shut-downs only happened while at home so one of the red flags for me is the WiFi. I'll try a couple of weeks with the WiFi off and see if it happens again.

However while at home i have a really bad cell tower connection so if the couple of weeks of WiFi don't help I'll try air plane mode for another couple of weeks.
[Nexus 4 Q&A, Help & Troubleshooting] Sblast:
I'm having a same problem. I formated the whole phone, started from scratch and I'm still gettings random restars.

Any one solved this yet???
[Nexus 4 Q&A, Help & Troubleshooting] mikiosmart:
The only thing that truly works is getting a new one... I tried everything as well. There's an app that would keep it awake while charging and that at least eliminated it shutting off at night, but didn't fix the problem during the day. I agree that it has something to do with WiFi, but also with the phone going to sleep.

I gave up and RMA'd my phone. Basically told them about the issue and that I tried factory resetting and they replaced it no questions asked. I bought it back in December! I was scared they'd say no because it was well past my 15 days.

No issues in 3ish weeks!

Good luck everyone. I loved my phone but hated it everyday. Now I can just love it.
[Nexus 4 Q&A, Help & Troubleshooting] Viewmax:
I tried to turn off the auto update apps (Play Store) via WiFi which was suggested earlier, and for last few days I didn't face with SOD problem! Maybe it's just a coincidence. I'll update if I will get SOD again.
[Nexus 4 Q&A, Help & Troubleshooting] ClanUrdnot:
I also have this issue. Not sure if wifi related, but wifi was on,but i wasn't connected to a wifi network. And I agree, There is little point sending this phone back for another with the same issue (if hardware). Hopefully it is software and will be fixed soon. I just got the phone not even a month ago.
[Nexus 4 Q&A, Help & Troubleshooting] njssferreira:
Hi everybody, first post here.

I read all 20 pages in this thread and I thought I'd share my experience here too.

I've had the N4 for about 2 weeks (I immediately installed Paranoid Android 3.6+ and Franco Kernel M2) and I've had quite a few random power offs. I'm not sure if this is the case for everyone, but my phone goes through the power off sequence on it's own. It happens while playing games, surfing webpages or when I'm just going through my app drawer, so doesn't seem to have any coherent behaviour when it comes to these random power offs. When this happens, I am always able to immediately turn the phone back on by pressing the power button. Sometimes, when the phone reaches the PIN input screen, it immediately shuts off again, but it has turned back on normally also some other times.

I've tried turning off WiFi Optimization and automatic updates on google playstore, like another user suggested, but to no avail. This happens to me at least once every day. I bought this online, so I can't contact google for an RMA, but I'm thinking about calling up LG here in Portugal to see if they can help me solve this problem.

I'll update if anything comes up.
[Nexus 4 Q&A, Help & Troubleshooting] algus:
As I posted several months ago, only replacing phone motherboard at LG service center fixed this issue. Not a single sleep of death since. Just get your phone replaced or repaired under warranty.
[Nexus 4 Q&A, Help & Troubleshooting] The Chadd:
Yeah, replacing the phone didn't fix the issue for most of us, even with the new hardware revision, apparently. Glad it worked for you, though. :cyclops: Hopefully 4.3 will fix it for the rest of us.
[Nexus 4 Q&A, Help & Troubleshooting] jasaad:
Hi guys i am having the same problem. I have been reading everywhere on the internet on how to solve this problem. And i am pretty convinced that this is a hardware issue like "algus" said.

I dropped my phone and broke the screen, so i replaced it at LG, 1 week after getting back my phone this issue started i have been trying for the last 2 to 3 weeks to fix it by flashing roms and stock images, using applications to prevent SOD but none worked.

Still i am not sure why it is called sleep of death because sometimes it happens to me while i am working on the phone.

Monday i will contact LG i will update if replacing will fix it.
[Nexus 4 Q&A, Help & Troubleshooting] The Chadd:
Sounds like a different problem.
[Nexus 4 Q&A, Help & Troubleshooting] xdaxyz:
Got RMAd device. The new one also has the same problem. Quite frustrating

With so many people facing the issue, why is it taking Google/LG to fix the issue(if it is a software issue)?
[Nexus 4 Q&A, Help & Troubleshooting] njssferreira:
Got RMAd device, so far no random shutdowns! Crossing my fingers that it continues this way!
[Nexus 4 Q&A, Help & Troubleshooting] The Chadd:
Good luck! Mine had no problems for 2 months after RMA before showing symptoms again.