CM7 and SOD - T-Mobile LG G2x

I have lots of problems with the Sleep of Death on most ROMs. At this time I prefer CM7, but with most build I have the SoD issue, I did at one time have a nightly with no issues but I cant remember which build# it was.
I know about the Keep awake while charging fix but I don't really like that as I charge my phone at work with a portable charger and I charges better if it sleeps.
So for other people with the SoD problem on CM7, is there a build you have had the best luck with? Like some suggestions on the best Nightlies to try. Thanks

Related

Possible Screen of Death Workaround

Let me state upfront that I never did get SOD or reboots more than once every couple days. SOD pretty much always happened overnight while charging.
I noticed that ever since I enabled Stay Awake (Settings -> Application -> Development) I havent had a single SOD since. There is a lot of debate as to what exactly is the cause of the SOD, all of which pointing to something going wrong while the phone is sleep. So it kind of makes sense that the phone wont get SOD if it doesnt sleep. This of course doesnt help anyone who gets the crash while off charger but I thought id post this anyone to see if it yields results for anyone else.
Havent had a reboot since either but that is most likely just coincidence.
I did the same thing, no SOD after charging overnight however I do get SOD throughout the day sometimes.
I upped my minimum Mhz by one step with SetCPU, fixed the problem for me.
I have never had any SOD or restarts on mine. I have stock rom and not even rooted. I got my phone within first week after launch. Then just before 3 days I installed LOOKOUT (Before I was using AVG pro) and within 3 days 1 reboot and 2 SODs. Though these things don't bother me as much.
rome425 said:
I upped my minimum Mhz by one step with SetCPU, fixed the problem for me.
Click to expand...
Click to collapse
Bingo! As many have said. Not all chips are created equal. That combined with a battery swap fixed my issues.
On the main screen and in profiles stop using the min settings in SetCPU if you have reboots and freezes.
regP said:
Let me state upfront that I never did get SOD or reboots more than once every couple days. SOD pretty much always happened overnight while charging.
Click to expand...
Click to collapse
same with me.. i wake up in middle of night to check the time and have to do a battery pull..

[Q] Possible SOD fixes.

discuss. as far as i can tell its related to the battery driver and only occurs while charging on AC. have not experienced it on USB charging off pc/other. baseband update failed to correct the issue. change of cm7 nightlys does not solve the issue. changing kernals "faux made it sod and overheat like hell" trinity is untested. alternate roms are so far untested "most are based off cm7 anyhow so i dont see trial and error for other roms being worthwhile. some claim keep awake while charging solves the issue since the phone will not sleep during charge. believe cm7 has this removed unfortunately.
Solace50 said:
discuss. as far as i can tell its related to the battery driver and only occurs while charging on AC. have not experienced it on USB charging off pc/other. baseband update failed to correct the issue. change of cm7 nightlys does not solve the issue. changing kernals "faux made it sod and overheat like hell" trinity is untested. alternate roms are so far untested "most are based off cm7 anyhow so i dont see trial and error for other roms being worthwhile. some claim keep awake while charging solves the issue since the phone will not sleep during charge. believe cm7 has this removed unfortunately.
Click to expand...
Click to collapse
I was getting the SOD whenever my phone would go into standby... Never when it was charging
Sent from my LG-P999 using xda premium
I had a lot of reboots when charging on AC too.
Sent from my LG-P999 using XDA Premium App
i had a similar issue as well with the phone would just shut off. making the assumption its related to the 15% shut off bugg since when i turned it on "not a sod" it showed not 100% battery despite it was on the charger. this only happend if it was left on charger for a long time. random reboots in cm7 nightlys was solved a while ago opposed to SOD/random shut offs. that or the baseband update solved it
Solace50 said:
i had a similar issue as well with the phone would just shut off. making the assumption its related to the 15% shut off bugg since when i turned it on "not a sod" it showed not 100% battery despite it was on the charger. this only happend if it was left on charger for a long time. random reboots in cm7 nightlys was solved a while ago opposed to SOD/random shut offs. that or the baseband update solved it
Click to expand...
Click to collapse
The baseband has nothing to do with reboots or SOD's.
Sent from my LG-P999 using xda premium
I have 2 G2x, both afflicted with "get hot near camera with SOD with significant battery drain" issue. Rebooting once a day fixed it for both phones. Our SODs would happen randomly - always with screen off, usually NOT on the charger. I charge on USB, she charges on A/C adapter. My wife doesn't always reboot, so I installed setCpu to limit screen off cpu usage, and also installed watchdog lite. So far watchdog lite has had only one hit - from "Linux Process' using 51% cpu - but no SOD.
The only reason I am on this forum is due to SOD - my wife is on-call, and NEEDS a phone, not a brick. the G2x ROCKS, except when it is a brick - then it SUCKS!
My goal is to either
A) find the SOD problem
B) have the SOD problem GO AWAY.
I am interested in any input or organized testing to fix this problem.
SOD? Sleep of death? Sorry, been away from xda for a bit.
My current issue (with 2 phones, and the replacement unit has this after 3 days.) is sometimes that it refuses to charge until I do a battery pull. Once my first g2x (the second i've owned. 3 total) got so low it wouldn't boot or charge and no battery pull would work for a couple days. Got a new one mailed to me, same problem.
I'm really considering demanding an upgrade, maybe to Sensation. Sorry if off topic, but don't want to go posting duplicate topics.
Sent from my LG-P999 using XDA App

[Q] Dock Battery Issues??

I have a tf300t with the dock. When I leave it to sleep, it just seems to drain the battery like it isn't sleeping properly. I'm on the latest firmware. I was going to root, but got all new gadget happy and let the newest firmware rollover. Whoops. Anyways I think asus has enough customization baked in that I don't know if any 3rd party rom will support this tablet as well the stock roms. Really the experience is stock/vanilla enough, that I haven't had a problem with the asus firmware. Just missing root (and I know I have a few parachutes left....)
Sorry for the ramble here. Ive read on several forums that people with the tf300t are having awful battery life while it should be hardly using any with the dock attached and sleeping. I have a battery monitor running now to look for drain in the OS, where wakelocks might be happening, but everything points to the dock. I *did* have the dock enabled during sleep option for a long time. I turned it off and still had a pretty persistent drain. Wifi should be disabling during sleep, but without any way of testing I dunno. It seems to sleep (and had even turned off once or twice on its own dunno why) when the keyboard is closed, but something really isn't right here. Anyone know what's going on? I know this is a semi-common problem. I would swap the hardware, but I don't know if that's really the issue.

custom ROM battery life issue significant inexplicable drains

Okay I realize this sounds like a stupid question but I'm having legitimately serious problems here concerning battery life on my skyrocket. I'm running mods unamed slim fast rom , link included, and I would've posted this in that thread but after lurking here for years I finally registered the other day so I can't post in dev forums. I'm using whatever kernel it came with cause I don't have enough info on which ones work with it and I didn't flash any radios because I came from stock ics so I was under the assumption that I didn't have to. Please correct me if I'm wrong. Anyway after forty five minutes disconnected from the charger , from full charge, my batrrys dropped to seventy percent. Nothing running in the background, I have a solid mobile data connection and signal, brightness all the way down, nothing running in background . The only thin I've done is text a couple people. I seriously need help on either how to fix this or pointers to a kernel to install that would work with this tom and fix the battery issue. Thanks in advance everybody.
http://forum.xda-developers.com/showthread.php?t=1815263

Need dev help trying to boost MIUI/HebMIUI battery life

Hi guys and gals (if exist)
I really love my HebMIUI ROM based on Erikmm's latest MIUI V4.
I injected it the latest Team Acid kernel and auto brightness mod and it seem to work flawlessly,
Problem is battery life is just not good enough to serve as a daily driver.
I intend to merge PIMP my ROM mod and DS's A.I when I have time, but I seem to miss something.
I'd be happy to get suggestions.
Here are some XDA version Better Battery Stats raw data snaps : (10x!)
Idk but actually, when I told u my battery was not good and I meant it just could last for a day lol...and I have never used it for more than a day w/o a charge even on GB so i dont think its bad...anw, just try all things u think its good cause its hard to say anything bout tweaks and battery life I think cause...IMO and from what I have been through, scripts and build.prop lines not really help much both performance or battery life...and even OC or UV
Sent from my SGH-T959V using xda premium
daothanhduy1996 said:
Idk but actually, when I told u my battery was not good and I meant it just could last for a day lol...and I have never used it for more than a day w/o a charge even on GB so i dont think its bad...anw, just try all things u think its good cause its hard to say anything bout tweaks and battery life I think cause...IMO and from what I have been through, scripts and build.prop lines not really help much both performance or battery life...and even OC or UV
Sent from my SGH-T959V using xda premium
Click to expand...
Click to collapse
I use cMiui 2.8.10.
so I don't know about HebMIUI but i use that rom around 20hr w/o charging.
This rom base on Hefe kernel 0.8(I think)
I tested Hefe 0.8.1 kernel but 0.8 is better than 0.8.1 battery life.
I use cMiui 2.8.10. I think cMiui and Miui is almost same.
I love this rom. I waiting UPDATE. ^^
You can try this and flash rom again.
http://forum.xda-developers.com/showthread.php?t=1500427
Hi Dao
I know what you mean..
we both are more than heavy users, not leaving the phone for a minute, so in that way, yes, even on Valhalla I barely made it through the day.
Here I get this issue even if I have no activity and that's what bugs me. Batt is draining no matter what the user does. That's why I shared this technical data presented in the pics.
Thanks MJMJ
I'm not looking for a replacement.
I love the original MIUI, tune and customize it and share it, here on xda, especially for Hebrew speakers, but not only.
Every ROM has his pros and cons. Cmiui is based on cm9 and miui is based on touchwiz. I prefer Miui as it is the original ROM and is generally considered more stable.
I might try Hefe kernel though.
I think problem is related to device awake status...
sent from me
That your phone is running quite a bit at 100 MHz when I might expect that it be in deep sleep caught my eye. I suspect something is keeping your phone from deep sleep. I can't tell from the BBS you have posted as I'm not sure what you were doing during the time it was collecting stats. I find the BBS from when I'm not touching my phone and it is running on battery overnight perhaps the most valuable.
As far as Hefe 0.8.0 vs. 0.8.1 on battery life, you've completely fooled yourself if you believe you are finding a difference. Go ahead and pull a source diff -- it all is about the interface to sysfs so that external apps can control the UV/OC, not the kernel operation.
jeffsf said:
That your phone is running quite a bit at 100 MHz when I might expect that it be in deep sleep caught my eye. I suspect something is keeping your phone from deep sleep. I can't tell from the BBS you have posted as I'm not sure what you were doing during the time it was collecting stats. I find the BBS from when I'm not touching my phone and it is running on battery overnight perhaps the most valuable.
As far as Hefe 0.8.0 vs. 0.8.1 on battery life, you've completely fooled yourself if you believe you are finding a difference. Go ahead and pull a source diff -- it all is about the interface to sysfs so that external apps can control the UV/OC, not the kernel operation.
Click to expand...
Click to collapse
I an not a professional. I'm just user of this forum.
I found this about battery life.
about WIFI I advanced setup Keep Wi-Fi during sleep -> Only when pluggged in.
use both of this hefe 0.8 and 0.8.1.
0.8 is wifi off when phone lock.
but 0.8.1 is not.
and battery life is different.
I write just my experience on my larrow professional konwledge.
I'm sorry I can not understand about source code,Interface and UV/OC.
Just experience.
Anyway I love cMiui and Hefe kernel.
Hi
I put WiFi as always on (even on sleep) because I wanted to get whatsapp and work mail in real time. Otherwise I didn't get them in time. Perhaps this is it. I will try it as on only when connected and report.
I would also try it with and without auto brightness mod. Let me know what data do you need.
sent from me
What follows is my opinion and it is not completely backed up by experimental evidence, so take it as you will.
I don't believe that any ROM or kernel can significantly improve battery life over any other "good" ROM or kernel. I do believe that there are ROMs and kernels out there than can significantly reduce battery life though.
In my opinion, the two biggest factors on battery life (past battery againg) are
How you use your phone
The applications you or the ROM have running
The most insight I have gained on battery life is running BetterBatteryStats on a "full" battery (unplugged) overnight, when I'm not interacting with the phone at all. As soon as you wake up, turn on the phone, go to BBS, and save a full log.
With a good ROM/kernel, I think you should be getting 90-95% "deep sleep" and no more than ~2% per hour (on a typical 1800-2300 mAh "advertised" capacity battery in good condition) drain. If you're not getting that, I'd look carefully at what is keeping your phone awake. If you have questions about interpreting the results, I know the BBS author and has a great thread where you can post your logs and get some feedback.
When the phone is running, it is my opinion that the screen consumes most of the current, assuming you're not a "gamer" or streaming music or other content. Running with dark themes in your apps (as you can), as well as keeping the brightness reasonably low (auto-brightness should help most users here), are good steps to take.
The GP2A light sensor reports 0.75 mA current consumption in Android, so I have a hard time believing that turning on auto-brightness is any worse that running at similar manual brightness levels. If the phone were to be able to run for 18 hours with the screen on (which we know it can't), it would be averaging ~100 mA -- the GP2A would account for less than 1% of that. Of course, that 0.75 mA may not be the correct number. I'm hoping to see if I can do some measurements on the screen drain at various brightness levels, as well as confirm that the GP2A draws minimal current itself. (Unfortunately, the I2C version of the light sensor used in the SGS4G and other phones does not seem to have a publicly available datasheet.)
I think that the way someone uses the phone has a significant impact, even day-over-day. I know that Hefe Kernel v0.8.0 and v0.8.1 have no meaningful differences in how power is managed. The report that one is noticeably different than the other says to me that day-to-day differences in how a phone is used, even when the owner thinks they are using it the same way, are perhaps more than may exepct.
Werd to your grandma!
Good post Jeff!
Good post Jeff.
Sometimes something as simple as playing a game and then switching to something else without the game exiting properly can do it. Once or twice a day on my PC, I'll go to my task manager and notice that IE or Chrome is still running despite my windows being closed. It's stuck in limbo. On a PC, it may suck up a bit of RAM or CPU cycles but if you have 6cores/8gb like me, you don't notice. Something like that on a phone can suck up battery life like a hog though.
Installing 1 badly coded app from the market can do it. Viewing webpages with more of a white background can affect battery life. There is a million things. It's like laptops. They may advertise 6hours battery life. Sure on the dimmest settings with the screen turned down and very few apps running. Stream and HD movie from Netflix and watch how that 6 hours turns into 2. lol.
Thnak you very much good informantion about battery life.
I understand what you say.
About my post.(I use cMiui and Hefe kernel 0.8)
WIFI I advanced setup Keep Wi-Fi during sleep -> Only when pluggged in.
I tested both of this hefe 0.8 and 0.8.1.
0.80 is wifi off when phone lock.
but 0.8.1 is not.
kernel version : 2.6.35.7-Hefe-ics-00044-g151987a and
2.6.35.7-Hefe-ics-00046-g83ec25b
Do I something worng?
I am not complain about your KERNEL or ROM.
I'm very glad you guys about good efect,time and everything for make good ROM and KERNEL.
Thanks again.
I don't think you did anything "wrong" at all!
The control of the WiFi is mainly a ROM thing. Android says "turn off the WiFi" and the kernel does it. I'm puzzled as to why you are seeing a difference. Since v0.8.0 and v0.8.1 are the same as far a WiFi goes, I suspect something else. Perhaps settings not "sticking" between flashes? If it happens again, logcat and dmesg might provide a clue as to why. If you do would you post in either the Hefe Kernel Q&A thread or the Q&A thread for your ROM?
Hi Jeff
Thanks for the detailed posts.
Did what you asked : got 96% after 7 hours of no use, no charge. Deep sleep is 98%.
So I come to conclusion that wifi is sucking up the battery on miui. It has very good reception and always shows full bars for all spots.
sent from me
itzik2sh said:
Hi Jeff
Thanks for the detailed posts.
Did what you asked : got 96% after 7 hours of no use, no charge. Deep sleep is 98%.
So I come to conclusion that wifi is sucking up the battery on miui. It has very good reception and always shows full bars for all spots.
sent from me
Click to expand...
Click to collapse
This is a mod that Erik put into his miui rom to attempt to fix the wifi "issue" on ics, the wifi signal is very strong (or maybe its just the wifi icon)
Sent from my SGH-T959V using xda app-developers app
Hi
I installed 'Better WiFi' (from the creators of BBS) and set it to open wifi connection only when screen is on and keep it if there is network activity.
Left it at night and dropped from 65% to 35%.
I'm now sure WiFi is over draining when opened.
sent from me
I haven't heard of that app before. My search-fu is failing me though, both here and in the Market. Where did you find it?
Edit: Found it http://forum.xda-developers.com/showthread.php?t=1801284
Posted from my SGS4G, thanks to Team Acid development
http://forum.xda-developers.com/showthread.php?t=1801284

Categories

Resources