Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Phatdawg
Old
(Last edited by Phatdawg; 7th August 2011 at 01:05 AM.)
#1  
Senior Member - OP
Thanks Meter 21
Posts: 186
Join Date: Jan 2011
Default Help solve SOD [wifi variant] with DroidWall

Last Update: 8/6/2011

Basis:
Wifi always on causes SOD. There are numerous anecdotal reports that setting wifi to be off with screen off reduces/stops SOD.

Plan:
Utilize DroidWall to limit wifi use by applications and find out which applications appear to be safe by selecting specific applications and seeing if SOD occurs.

Why:
Even though turning off wifi with screen off saves battery, some people would like their nook to be pushing/updating with wifi when it is in sleep, getting emails, messages, etc.

What you can do:
1) Download/Install DroidWall
2) Using WHITELIST, check off one or two applications that you utilize the most.
3) Turn _ON_ firewall
4) Update the rules whenever you add or remove apps.
5) Change your wifi setting to always on (advanced options under wifi settings * need to hit menu button to see this option in cm7)

Apps so far tested without problems:
Email (stock)
Improved Email
Dolphin HD 6.0
Epocrates
Market
Amazon Appstore

Possible SOD related App
Downloads, Media Storage, DRM Protected Content Storage, Download Manager (this is one heading in DroidWall)

Apps so far tested that _might_ cause SOD:
*from posts, possibly Latitude.

Testing
K9 Mail

RoadMap
Rom Manager
Netflix
Executive Assistant+

Please post your findings.

I will update this post as we get more information.

Thanks.
 
skylar.sutton
Old
#2  
Senior Member
Thanks Meter 22
Posts: 191
Join Date: Aug 2007
DroidWall did not solve it for me... in fact it wouldn't even run on my Nook.
 
Phatdawg
Old
#3  
Senior Member - OP
Thanks Meter 21
Posts: 186
Join Date: Jan 2011
It works for me. At first, I forgot to turn on the firewall, then I forgot to update rules when I changed things.

So far, I have the following for access to wifi:
Market
Appstore(amazon)
Dolphin Browser HD
Epocrates RX
Email
Improved Email

I just turned on Appstore and Market for the first time tonight, so I'm not sure how well it will do.

I use my nook all the time at work, probably turn it on from lockscreen sleep about 15-20 times over 10 hours, so if I don't get a SOD by the next day, I will put market and amazon appstore on the safe side.
 
Phatdawg
Old
#4  
Senior Member - OP
Thanks Meter 21
Posts: 186
Join Date: Jan 2011
Interesting development:

I got my 1st SOD today.

Please note my active programs at this time.

Please note that it occured after I started the combined service noted in the OP:

Downloads, Media Storage, DRM protected Content storage, Download Manager in the Droidwall options.

I will remove this option (which makes it impossible to update market aps for that matter) and see if the SOD doesn't happen for the next 3 days. The restart it and see if I get SOD again.

If this is the cause, then I should be able to show that SOD occurs with it active.
 
Jiggity Janx
Old
(Last edited by Jiggity Janx; 5th August 2011 at 02:26 AM.)
#5  
Senior Member
Thanks Meter 137
Posts: 764
Join Date: Feb 2010
nm

10chars.
VZW Note2 w/ kejar CM10.1 VZW S3 w/ imoseyen CM10.1 Nexus 7 w/ CM10.1 VZW Moto Xyboard 8.2
 
mrkavanagh
Old
(Last edited by mrkavanagh; 5th August 2011 at 04:27 AM.)
#6  
Member
Thanks Meter 6
Posts: 71
Join Date: Aug 2010
Using white list and only allow full-time wifi access to "linux kernel" and "apps running as root"

Never have more than one or two other apps besides these access to wifi when in sleep mode. I never allow gapps full-time wifi access and that goes double for market.
Where did this idea come from? *ducks and runs*

I do believe drm checks are screwing with the nook.


Sent from my NookColor using XDA Premium App
 
dalingrin
Old
#7  
Recognized Developer
Thanks Meter 2175
Posts: 1,277
Join Date: Nov 2007
Just wanted to pop in and say thanks for the very useful testing.
 
Phatdawg
Old
#8  
Senior Member - OP
Thanks Meter 21
Posts: 186
Join Date: Jan 2011
Okay, update - I left the downloads/media store etc on the last 3 days and haven't had another SOD. So I'm not sure what to think about that. I will move forward and enable K-9mail today and see how things go over the next couple days.
 
fr4nk1yn
Old
#9  
Senior Member
Thanks Meter 24
Posts: 380
Join Date: Aug 2008
here's my take on it: it has to do with the router, or some configuration of it.
I have a wrt54gs v1.1 at home and a wrt54g v4 at work, both running tomato software, both with Cox internet.
I get CONSISTENT SODs at work, as a side note the router is a also crashing for an unknown reason. the two don't happen at the same time. I've been trying to grab logs for weeks can't explain it or the fact the nook NEVER SODs at home.
the nook can run at home for days perfect, once at work it can SOD 6 times a day or more.

there has to be more going on than an errant app.
 
ADude
Old
#10  
ADude's Avatar
Senior Member
Thanks Meter 53
Posts: 487
Join Date: Mar 2011
Quote:
Originally Posted by Phatdawg View Post
Last Update: 8/6/2011

Basis:
Wifi always on causes SOD. There are numerous anecdotal reports that setting wifi to be off with screen off reduces/stops SOD.
Can you clarify what you mean by "reduces/stops" ? Does it reduce it or does it stop it ?

Also, I've been away for awhile - is this the only SOD cause that is not fixed in the current CM7 nightlies code ?

Thanks !!

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Profile Flow: A Tasker Alternative

By now, we’re all quite familiar with Tasker, the personal automation app that seems to be able to … more

More Tips to Help Promote Your Android App

With over 700,000 apps in the Google Play store and more than 48 billion app installs, it’s … more

Sony Continues AOSP Initiative on the Tablet Z

Sometimes, you can harp on a subject so much that you end upbeating a dead horse. In our eyes, … more