CWM 3.2.0.1
CM7 Nightly 131
update-CM7-dalingrin-OC-emmc-063011
Sleep of Death-
Sometimes the screen will remain black when trying to wake the device. I haven't been able to find a pattern to the problem, though I think it has something to do with the kernel. It seems completely random.
This has happened on every nightly I've used, which is why I think it's related to the kernel.
Has anyone found a fix?
omnibyte said:
CWM 3.2.0.1
CM7 Nightly 131
update-CM7-dalingrin-OC-emmc-063011
Sleep of Death-
Sometimes the screen will remain black when trying to wake the device. I haven't been able to find a pattern to the problem, though I think it has something to do with the kernel. It seems completely random.
This has happened on every nightly I've used, which is why I think it's related to the kernel.
Has anyone found a fix?
Click to expand...
Click to collapse
Not sure to what the cause is. However, for me I noticed that every time I left wifi on and put my nook to sleep I would get sod anytime after an hr. So now I manually disconnect wifi every time I put my nook to sleep, and I have not once experienced another sod. There are some people that say the latest nightlies have fixed sod but other report there still there so I guess it varies.
I'm currently on n125 with dal's 6/30 oc kernel.
The problem still occurs with the recent nightlies.
It's weird, last night I left it in sleep mode with wifi turned on, and it powered up fine this morning.
A few hours later, I put it in sleep mode, set it down for a minute, then tried to use it again. It wouldn't wake up. From what I can tell, it doesn't matter what amount of time passes.
I'll keep trying the wifi trick you mentioned. If disabling wifi does the trick, then that will narrow down the problem quite a bit.
Thanks for the tip!
dabiddabird said:
Not sure to what the cause is. However, for me I noticed that every time I left wifi on and put my nook to sleep I would get sod anytime after an hr. So now I manually disconnect wifi every time I put my nook to sleep, and I have not once experienced another sod. There are some people that say the latest nightlies have fixed sod but other report there still there so I guess it varies.
I'm currently on n125 with dal's 6/30 oc kernel.
Click to expand...
Click to collapse
I am on n120 with dals 6/30...I always got SOD when I left wifi set to always on...when I switched wifi to shut off with the screen, the problem has not returned!
Yup, it looks like turning wifi off before it sleeps does the trick. 48 hours later and no SOD.
Thanks for the tip!
cmdauria said:
I am on n120 with dals 6/30...I always got SOD when I left wifi set to always on...when I switched wifi to shut off with the screen, the problem has not returned!
Click to expand...
Click to collapse
How do you set wifi to shut off with the screen? I can't find a setting for it.
omnibyte said:
How do you set wifi to shut off with the screen? I can't find a setting for it.
Click to expand...
Click to collapse
Try an app like juice defender.
Sent from my phone using Tapatalk
omnibyte said:
Yup, it looks like turning wifi off before it sleeps does the trick. 48 hours later and no SOD.
Thanks for the tip!
Click to expand...
Click to collapse
No problem glad it worked for you.
koopakid08 said:
Try an app like juice defender.
Sent from my phone using Tapatalk
Click to expand...
Click to collapse
Great, thanks for the recommendation.
If you are looking for a free solution to do this, the application Setting Profiles Lite allows you to set exactly one rule.
Create a profile with wifi off. Create a rule to set the wifi off profile when the screen is off.
Frank
frankusb said:
If you are looking for a free solution to do this, the application Setting Profiles Lite allows you to set exactly one rule.
Create a profile with wifi off. Create a rule to set the wifi off profile when the screen is off.
Frank
Click to expand...
Click to collapse
http://nookdevs.com/NookColor_Issues#Workaround_One
Details there if anyone wants to try it, works great. I used it on stock ROM, now that I have Tasker on my tablet I use it instead, but all the same.
I'm experiencing the SOD on CM 7.1 RC1... so it's not limited to the nightly's.
Has anyone escalated to the CM devs yet?
I think I have found a temp fix for the SOD, doubled my battery life, and increased my bandwidth when tethered. I am no expert at any of this, but after I installed DroidWall from the market and used the "white list" mode enabling only the apps I wanted to use the network I no longer get SOD. For example I am using wifi tether on my galaxy s in infrastructure mode with droidwall on my NC only allowing XDA app access to the internet.
I also have it installed on my galaxy and only have Linux kernel and applications with root accessesing data. I have gotten more than 8 hours on the galaxy without having to charge. Now I am able to have it tethered to my NC all day and neither device needs charging.
Heck maybe its a placibo effect maybe not.
Running CM7.1 RC1
Now if I can figure out why I lost the ability to mount my NC mass storage on the PC after using the new USB host mode and playing with the wiimote. Go figure
Sent from my NookColor using XDA Premium App
skylar.sutton said:
I'm experiencing the SOD on CM 7.1 RC1... so it's not limited to the nightly's.
Has anyone escalated to the CM devs yet?
Click to expand...
Click to collapse
I've also been seeing SOD almost every time I put the NC to sleep for an extended period of time (longer than an hour). Also running 7.1 RC1. Weird thing is that it's been within the last 2 weeks that it's been happening. I've tried the Setting Profiles workaround listed above but I'm not sure if I set up the rules correctly so we'll see what happens
The setting profiles workaround didn't seem to work. I tried switching out my almost full 8gb sd card for a 16 gb sd card and after putting it to sleep overnight, it came back on immediately. Would sd card memory have anything to do with it?
I have also found AutomateIt (free market app) to work well for setting triggers and actions... i.e.
Power Plugged In -> Set Screen Off Timeout 30 min
Power UnPlugged ->Set Screen Off Timeout 2 min
Screen Off -> Set WiFi State Off (delay 5 min)
Screen On -> Set WiFi State On (no delay)
Just my $0.02... but a profile/setting switcher is not a "fix" for the SOD... it's a work around (and an ineffective one at that). The underlying problem still exists, so nothing has been fixed, we're just maneuvering around it.
I'm going to work on something that logs to a remote file and let it run for a few days. I'm hoping I can catch some data around what is going on immediately prior to the lock up.
Also, sorry for the bump.
Related
Any way to keep wifi on when NC screen times out from inactivity?
I have tried Keep wifi alive with no success. There is no option in the NC settings like there is on my HTC Inc.
Any help would be appreciated.
JDP
jdposhkus said:
Any way to keep wifi on when NC screen times out from inactivity?
I have tried Keep wifi alive with no success. There is no option in the NC settings like there is on my HTC Inc.
Any help would be appreciated.
JDP
Click to expand...
Click to collapse
Spare Parts app has a setting to set wifi sleep policy to never. I've heard mixed reactions as to whether it works, but I'm pretty sure it's working fine for me.
wvcachi said:
Spare Parts app has a setting to set wifi sleep policy to never. I've heard mixed reactions as to whether it works, but I'm pretty sure it's working fine for me.
Click to expand...
Click to collapse
Verified that it's working for me as well.
Thanks.
Ill give it a shot.
SpareParts is definitely not working for me. I think it modifies the settings.db/system table. Went to look at the table, nothing there related to wifi sleep policy. Should be wifi_sleep_policy with a field of 2, and that didn't work either. Any ideas?
Not working for me either.
Yeah, spare parts isn't keeping my wifi alive either. Every time i turn my NC on after sleeping for a few minutes I have to turn wifi off and back on again.
I got mine working. Spare Parts UI did not work. In fact i ran into issues restarting WiFi when I used the UI to set Sleep to never.
I had to manually create an entry in the secure table for wifi_sleep_policy and i use a widget to turn off wifi when i dont need it.
insert into secure values(152, 'wifi_sleep_policy', 2);
I used WiFi OnOff widget (free from market) to turn wiFi off when not needed.
^ Is there a guide somewhere?
duh.. this worked yesterday and now i am back to where i was before. This seems really flaky. I lose wifi even after having the setting. setting in DB or in spare parts does not fix it. its very random but fails more often than it works.
Possibly a faulty device? I cannot imagine that the Nook has such a basic problem. The only time it consistently reconnects is when i power on/off.
Any thoughts?
Is there a reason you wouldn't hit the power button to turn the screen off instead of waiting for it to time out? I do this when listening to tune-in radio, for example, and wifi remains on just fine. It also saves battery
Sent from my rockin' rooted Nook Color using XDA App
mikerocks said:
Yeah, spare parts isn't keeping my wifi alive either. Every time i turn my NC on after sleeping for a few minutes I have to turn wifi off and back on again.
Click to expand...
Click to collapse
I've never had to turn wifi off and back on to make it work again, you sure you aren't having problems with your wireless access point?
I found a quick solution that mostly works. If you download WakeTimer from the market, and create a wakelock (cpu on, screen off) that will keep Android from going into sleep mode and keep your wifi running. I tested it out by continuously pinging my Nook. I said "mostly" works because when you hit a button to turn the screen back on (either power button or nook button) I'd get a single ping timeout before it would resume.
*Edit*
Even though a single ping times out, there doesn't seem to be an interruption in streaming data. Don't know if I have to say it, but I will just in case...keeping your Nook from going into sleep mode will be a drain on the battery.
give it a try.
Guys, I know there's a thread dedicated to this in the General area, but I wanted to toss this out there in case one of our great Devs could come up with an easy fix. Sorry if I shouldn't be posting this here (and feel free to move it if it shouldn't be in the Dev forum), but I thought it was worthy.
The Nook Color is a wonderful device, but these auto-reboots with WiFi enabled are driving me nuts. I was wondering... since there is obviously a place where the screen timeout is held (i.e., if I set it to X min), shouldn't it be possible to alter WiFi connectivity according to that same time. For example, if I have my screen set to time out at X min of inactivity, can we set the WiFi to turn off at 'X min of inactivity (minus) 10s' ? This would prevent the rebooting, as WiFi would be off just before the screen is disabled.
I know this isn't a pure fix, but it would at least be a nice stop-gap until a true fix is found.
Please?
You might be able to use the Setting Profiles app to make a profile that automatically shuts off the wifi when the NC goes to sleep.
RoboRay said:
You might be able to use the Setting Profiles app to make a profile that automatically shuts off the wifi when the NC goes to sleep.
Click to expand...
Click to collapse
The nook does this automatically. The problem is, it needs to happen before it goes to sleep - the WiFi being on when it goes to sleep is the issue.
I don't think the consensus is that the Wifi is causing issues. Have you tried the CPU governor fix?
You can also play with Wifi shutoff settings in Spare Parts.
ThrowingKs said:
I don't think the consensus is that the Wifi is causing issues. Have you tried the CPU governor fix?
You can also play with Wifi shutoff settings in Spare Parts.
Click to expand...
Click to collapse
Yeah, I've messed around with the CPU stuff in both setcpu and whatever the other app was. Neither completely fixed it. I've turned WiFi on/off and tested about 40 times now. No issues with WiFi off. Always an issue with it on.
Also checked in SpareParts and that didn't help either. Frustrating :-/
You set Wifi sleep to never?
jadambpharm said:
The nook does this automatically. The problem is, it needs to happen before it goes to sleep - the WiFi being on when it goes to sleep is the issue.
Click to expand...
Click to collapse
Ok, but my point was that if Setting Profiles is still actively working a task by executing the profile change, the NC may not actually go to sleep until the WiFi has been disabled by SP.
Has this actually been tried, or is there just an assumption that it won't work? I haven't been following the other thread.
ThrowingKs said:
You set Wifi sleep to never?
Click to expand...
Click to collapse
Yeah, still get auto-reboots!
RoboRay said:
Ok, but my point was that if Setting Profiles is still actively working a task by executing the profile change, the NC may not actually go to sleep until the WiFi has been disabled by SP.
Has this actually been tried, or is there just an assumption that it won't work? I haven't been following the other thread.
Click to expand...
Click to collapse
Checking it out now. Thanks.
Edit: Ok. You may, seriously, be my favorite person. I didn't know about this app and really didn't think it would work (as other apps that do this sort of stuff with profiles haven't), but I haven't had a reboot issue in about 6 screen-offs (sounds insignificant, but it's night and day)! Thank you!
Lol, OK. Feel free to post how you configured Setting Profiles in the other thread so other people can test it.
I haven't messed with SP much. I just use it to mute Notifications on my phone between 10:00pm and 7:00 am.
RoboRay said:
Lol, OK. Feel free to post how you configured Setting Profiles in the other thread so other people can test it.
Click to expand...
Click to collapse
Doing so now and crediting you. Thanks!
Can you post the link to the other thread? Thanks!
kaiser_va said:
Can you post the link to the other thread? Thanks!
Click to expand...
Click to collapse
here
looks like it's working for people so far!
I have tried all current fix's i have found on this site and none of them work is there some thing i am missing thanks .
The spare parts setting works well for me, not 100% of the time, but enough that it doesnt bother me.
I'm looking too....
Spare parts fix did't help me either
Grab Settings Profile Lite from the market. Set WiFi off when Screen off in the rules. Now Wifi will turn on and off with the screen. Fixed all my WiFi issues.
I also have Spare Parts set to Never.
ThrowingKs said:
Grab Settings Profile Lite from the market. Set WiFi off when Screen off in the rules. Now Wifi will turn on and off with the screen. Fixed all my WiFi issues.
I also have Spare Parts set to Never.
Click to expand...
Click to collapse
Correct me if I'm wrong, but I think that is exactly what the OP doesn't want.
I think he wants the wifi to stay on when he powers the screen back on, instead of having it disconnect when the screen turns back on.
The Nook I believe loses the connection when you turn on the screen.
ThrowingKs said:
Grab Settings Profile Lite from the market. Set WiFi off when Screen off in the rules. Now Wifi will turn on and off with the screen. Fixed all my WiFi issues.
I also have Spare Parts set to Never.
Click to expand...
Click to collapse
Thats how the NC works by default.
Spare parts did not work for me at all. I set it to always on and it still shuts off.
eggman618 said:
Correct me if I'm wrong, but I think that is exactly what the OP doesn't want.
I think he wants the wifi to stay on when he powers the screen back on, instead of having it disconnect when the screen turns back on.
The Nook I believe loses the connection when you turn on the screen.
Click to expand...
Click to collapse
That is what this does. When the screen is on, the WiFi is on. When the screen is off, the WiFi is off. It got rid of all my intermittent issues.
ThrowingKs said:
That is what this does. When the screen is on, the WiFi is on. When the screen is off, the WiFi is off. It got rid of all my intermittent issues.
Click to expand...
Click to collapse
How long have you been running this fix? I ran it for 10 days or so and started having issues, basically it quit working.(would turn off but not back on). Are you using it with spare parts? I am still looking for a permanent solution.
^ I have had it for probably a week and a half. I do also use Spare Parts with WiFi Sleep set to Never.
I also have my Nook set to DHCP, and my DD-WRT router set to give a "Static DHCP" to my Nook.
http://www.dd-wrt.com/wiki/index.php/Static_DHCP
ThrowingKs said:
^ I have had it for probably a week and a half. I do also use Spare Parts with WiFi Sleep set to Never.
I also have my Nook set to DHCP, and my DD-WRT router set to give a "Static DHCP" to my Nook.
http://www.dd-wrt.com/wiki/index.php/Static_DHCP
Click to expand...
Click to collapse
Thanks, will look at this when I have time.
Wifi Lock works for me...
Ok.. I read all the posts I could find and installed Wifi Lock, this is the only one I tested and works great for me. (Tested using Pandora radio)
This is what I did:
1- Install Wifi Lock (Android Market)
2- Reboot Nook Color
3- Go to your Extras and run the app. (It doesn't have a user interface, it only displays a message every time you click on it: Default / Never)
4- If you are using Advanced Task Killer (or any other) make sure you deselect Wifi Lock and add it to your Ignore List (I did it right away, I guess that's a VERY important step)
I just tested it several times for about an hour using Pandora radio, I have no idea how much it will drain the battery... If something goes wrong I'll let you know...
Have anyone other than me experienced that the phone suddenly is turned of? It's not the BSOD or reboot, but just turned off and can be turned on right away..
I've saw it yesterday when it was in my pocket, and this morning when i woke up.
I'm using the CM7 RC1 ROM straight from the box.
Yes. I get this to... (With every build of CM that is)
Same happens to me also with the latest CM7.
Me and my brother also get this, started with cm7 57 I think
Sent from my Optimus 2X using Tapatalk
Does anyone know how to use ADB to log? Then we could maybe capture some logs when this happens and post to aremcee to see if he can help us..
The same thing has happend to me 2 times in the week a have had this replacement device. It's worse than the one I traded this one for
But I'm on stock havn't rooted or anything.
Just had a BSOD aswell.. Gotta hate this phone. It's works on stock so I can't send it to my dealer and get my money back
Install a Froyo Rom
Profit.
My findings on the CM7 sod (sleep of death) issue (I post this here, as I don't have enough posts to post it to dev area):
I've been using CM7 occasionally since the first nightly. About 2 months ago I suddenly had 3 sods in 2 days. This was after I bought JuiceDefender Ultimate. In JD I had sync enabled once per hour, and JD set to first try to connect to wifi and then mobile data. In Android wifi settings I had wifi sleep policy set to "when screen turns off".
After I set JD to use only mobile data on sync events, and turned wifi sleep policy to "never", I haven't had a single sod since. If I remember correctly, I once managed to induce a sod by turning wifi on or off (can't remember which) through the power control widget, and immediately after that I turned the screen off normally by pressing the power button (while wifi was "dimmed" in the power control widget meaning it was changing it's state).
So I strongly believe that my sods were caused by the combination of turning wifi on or off (either through widget or JD doing it) and turning the screen off at the same time. I didn't experiment any more, since I found my solution above.
I wrote this here, because people try hard to hunt down what's causing the sods, and I wanted to share my thoughts. If it is of no help, then sorry.
it happens sometime... don't trust your phone's alarm to wake up. you could have bad surprise (just had the experience 2 days ago) :'(
i am running cm7 no. 165. and vork kernel clocked to 1504 no reboots or black out issues. i also have green power managing my network data only... good luck all... just remember that cm7 is still nightly and is not considered stable.
Hi, I'm about to get one LG, but I've had the same issue with an Orange Boston mobile with a 2.3.5 CM7. I disabled Wi-Fi sleep too and it seems to help.
Before the scren weirdly shut down and the phone rebooted.
Hmm might try this out and see if it works.
I can't seem to get this issues myself. I will try and test this later on my other phone.
That is the reason why I don`t use CM7 anymore ...
Moderator Message
Extensive discussion going on here >
http://forum.xda-developers.com/showthread.php?t=997705
THREAD CLOSED
Wifi keeps turning off during sleep...?
.. and yes, I've turned 'Keep Wi-Fi on during sleep' to always. Tried a couple of 'keep wifi on' type apps, no help. Any thoughts? thanks, jf
friedsonjm said:
Wifi keeps turning off during sleep...?
.. and yes, I've turned 'Keep Wi-Fi on during sleep' to always. Tried a couple of 'keep wifi on' type apps, no help. Any thoughts? thanks, jf
Click to expand...
Click to collapse
Mine does to, but I don't have it set to "always", since I kind of prefer it that way. I'll give it a shot to see what the results are. Do you notice any difference between the two settings, as far as how long it stays active and on?
phonic said:
Mine does to, but I don't have it set to "always", since I kind of prefer it that way. I'll give it a shot to see what the results are. Do you notice any difference between the two settings, as far as how long it stays active and on?
Click to expand...
Click to collapse
Have not tried the 'when plugged in only,' will try it now..
EDIT: Nope, that was no better.. <sigh>
friedsonjm said:
Have not tried the 'when plugged in only,' will try it now..
EDIT: Nope, that was no better.. <sigh>
Click to expand...
Click to collapse
31 Minutes on hold - so far - with Google device support...<sigh>
friedsonjm said:
31 Minutes on hold - so far - with Google device support...<sigh>
Click to expand...
Click to collapse
FYI - "Always on" seems to be working fine for me. I turned my screen off about an hour ago, and just connected into the system via Cerberus. In the past, wifi would have shut off within a few minutes and I would get a connection timeout warning. So maybe your unit is having issues with it. I've also only lost MAYBE 1% in battery power, so I think I will leave mine in this state as opposed to disabling wifi on sleep.
I have this problem on some of my devices on 1 of my wife access points but not the other. I believe I could possibly tweak some settings on the access point as I don't believe it is the android device. I use an app called WIFI Fixer and that keeps things working.
friedsonjm said:
Wifi keeps turning off during sleep...?
.. and yes, I've turned 'Keep Wi-Fi on during sleep' to always. Tried a couple of 'keep wifi on' type apps, no help. Any thoughts? thanks, jf
Click to expand...
Click to collapse
Happening on multiple devices. Try advanced WiFi lock on the market. Its one of the first apk's I install and always works.
Sent from My Ball of Fireā¢
SirWill said:
I have this problem on some of my devices on 1 of my wife access points but not the other. I believe I could possibly tweak some settings on the access point as I don't believe it is the android device. I use an app called WIFI Fixer and that keeps things working.
Click to expand...
Click to collapse
Seemed to work for a while last night... but woke up this morning and it was off again <sigh>.
Does keeping wifi "always on" adversely affect your battery?
clankfu said:
Does keeping wifi "always on" adversely affect your battery?
Click to expand...
Click to collapse
Yes. How much depends on how many apps you have set for auto-updates, I suppose. If you're running several games and social networking apps and they're set for auto-updates, you'll experience a battery drain from them checking for updates every 5 minutes. How much, I can't say. I still don't have my Nexus 7. But if your device drops off the WiFi signal, those apps will know that there is no data connection and not try to update until there is one.
Not to change the subject of the thread, but if I see one more <sigh> I'm going to snap.
Also, OP, why do you need WiFi to be always on? If you can't live without it try: http://bit.ly/MdurdU
As I mentioned, "always on" is working fine for me. Tested it over a period of a few hours. Even moved from one AP to another (ie: work to home), and it auto joined the new wlan.
Battery drain is very minimal in my case. Maybe 0.5-1% an hour, if that.
Yeah but then the apps can't update. IMHO, if you don't want constantly-updating apps, don't enable them to.. If they are checking as often as you think, I would find a different app which gives you what you want but doesn't do that sillyness..
I keep Wi-Fi on 24/7 on all my devices. GPS and BlueTooth too.
I *REFUSE* to let my device "run my life". I find a way to make my battery life happy, and still enjoy my devices. I disable all of the other senseless crap like Facebook or FriendStream, or bloatware-apps.. I don't EVER use an app like ATK or JuiceDefender, or if I do, I only use it instantly to kill an app and then I make it kill itself too. In my 3+ years experience with Android and 30+ devices, I've found that a LOT of apps will TRY to restart even if you kill them. Imagine ATK killing an app, it restarting, ATK auto-killing it again, it restarting again, ATK re-killing it AGAIN, loop()... get my point? Uninstall the problem app and/or find a similar one which doesn't treat your device like it's own playground..
miketoasty said:
Not to change the subject of the thread, but if I see one more <sigh> I'm going to snap.
Also, OP, why do you need WiFi to be always on? If you can't live without it try: http://bit.ly/MdurdU
Click to expand...
Click to collapse
,,
I want to use my table as a phone via VOIP when I travel, need to get incoming 'phone' calls.
That app is coming across in play as not compatible with the N7 ? <darn> <grin?>
I use my Nexus 7 as a speaker phone so had to set "Keep Wi-Fi on during sleep" to "Always". Easy fix.
mi7chy said:
I use my Nexus 7 as a speaker phone so had to set "Keep Wi-Fi on during sleep" to "Always". Easy fix.
Click to expand...
Click to collapse
Yes... and as I said in the post that started this thread, on my N7, it still turns off.... easy, but no fix.
friedsonjm said:
Yes... and as I said in the post that started this thread, on my N7, it still turns off.... easy, but no fix.
Click to expand...
Click to collapse
Now rooted and still trying... still keeps auto-turning-off !
This might be a defect in your units. I have gone many, many hours (12+) with my unit in standby mode without it losing wifi connection. It will also continue to sync with email, etc. during this time (and provide audio notifications).
I only lose .5-1%/hour, so I've left it "always on".
I'm having the same issue. On overnight sleep, the wifi is off when I turn it on. It won't reconnect until I toggle wifi on and off. Nothing I've tried so far has worked. Little worried its not as widespread of an issue as I thought it would be.
ssahnan said:
I'm having the same issue. On overnight sleep, the wifi is off when I turn it on. It won't reconnect until I toggle wifi on and off. Nothing I've tried so far has worked. Little worried its not as widespread of an issue as I thought it would be.
Click to expand...
Click to collapse
Since mine has worked flawlessly (stock rom) for very long periods of sleep with an active wi-fi connection, I would have to believe you have a defect in yours. Either that, or a problematic AP.