[Q] Oddity: Gray icons in Notification Bar - Nexus S Q&A, Help & Troubleshooting

For short periods of time (15 minutes) the icons in the notification bar (WIFI, 3G, cell radio) will be gray rather than green. Anyone know why this change happens?

Given that this is an explicit question, this should be in the new Q&A Section, rather than General, but here's the answer to your question:
Notification bar icons (Wi-Fi, network coverage bars, etc.): Turn green when you have an uninhibited connection to Google, white when you don't. Hint: if you're in a hotel or airport using Wi-Fi, the bars won't turn green until you launch the browser and get past the captive portal.
Click to expand...
Click to collapse

so you dont have to click on the link ill give you the tl:dr version
they are green when they are actively connected to google services
ie gmail and gtalk and others like that

slowz3r said:
so you dont have to click on the link ill give you the tl:dr version
they are green when they are actively connected to google services
ie gmail and gtalk and others like that
Click to expand...
Click to collapse
I don't mean to sound rude, but if you had bothered to fully read my post, you would have seen that I already quoted the relevant part of the dev blog in my post.

willverduzco said:
I don't mean to sound rude, but if you had bothered to fully read my post, you would have seen that I already quoted the relevant part of the dev blog in my post.
Click to expand...
Click to collapse
honestly i hadent noticed, just thought it was a quote to OP's post..
my bad....its okay carry on with your full frontal rudeness

Its actually backround data... if you turn background data off.. they will stay gray but internet and phone will still work but services will not stay connected.

leyvatron said:
Its actually backround data... if you turn background data off.. they will stay gray but internet and phone will still work but services will not stay connected.
Click to expand...
Click to collapse
That's what I used to think, but it's still kind of vague/unclear.
Only once for me, but others have reported it as well, there are occasions where you might have 5 bars on the cell signal, and a 3G icon or WiFi full strength, but they are grey, and you can't make a call or surf the web.
I even posted a video on youtube to point out to people that grey didn't mean no data at all, but apparently it sometimes does.

I was curious about this myself. Remembering that android is open source I looked at the code. In the StatusBarPolicy class there is a check for the ConnectivityManager.EXTRA_INET_CONDITION extra. This holds a value "that provides information about our connection to the internet at large. 0 indicates no connection, 100 indicates a great connection." If this extra is above 50 you get the green icons, if its below 50 you get the grey.
I haven't find out how the score gets set but I'm guessing that it's based on whether you have an IP address, can resolve DNS names etc.
Oddly I can't browse to this code online but it is in the source I downloaded to my machine.

I have another post here,can you confirm that this is what happening to you?
http://forum.xda-developers.com/showthread.php?t=904006

footboydog said:
I was curious about this myself. Remembering that android is open source I looked at the code. In the StatusBarPolicy class there is a check for the ConnectivityManager.EXTRA_INET_CONDITION extra. This holds a value "that provides information about our connection to the internet at large. 0 indicates no connection, 100 indicates a great connection." If this extra is above 50 you get the green icons, if its below 50 you get the grey.
I haven't find out how the score gets set but I'm guessing that it's based on whether you have an IP address, can resolve DNS names etc.
Oddly I can't browse to this code online but it is in the source I downloaded to my machine.
Click to expand...
Click to collapse
Good find, this answers everyone's question about why this happens.
But it makes no sense to me why or how they decided on <50 and greater than 50 unless that isn't a true 0-100 scale. Interesting. Where exactly is the code located?

OK I found the code on github:
StatusBarPolicy.java
ConnectivityManager.java
Images directory - (its the stat_sys_wifi_signal_*_fully.png ones that are green and the stat_sys_wifi_signal_*.png ones that are grey)
The 0-100 scale seems to be a percentage at least from what the comments say. I think choosing 50 as the threshold is a bit arbitrary and I still haven't figured out exactly what causes it to be above or below that threshold

footboydog said:
OK I found the code on github:
StatusBarPolicy.java
ConnectivityManager.java
Images directory - (its the stat_sys_wifi_signal_*_fully.png ones that are green and the stat_sys_wifi_signal_*.png ones that are grey)
The 0-100 scale seems to be a percentage at least from what the comments say. I think choosing 50 as the threshold is a bit arbitrary and I still haven't figured out exactly what causes it to be above or below that threshold
Click to expand...
Click to collapse
If It's based on a percentage scale then its highly likely signal strength plays a big role in the scale number. And if so, again why would they chose 50? Seems like it would bounce in and out frequently, which seems to be what many people are seeing.
I'll check out the code later just for fun.

RogerPodacter said:
If It's based on a percentage scale then its highly likely signal strength plays a big role in the scale number. And if so, again why would they chose 50? Seems like it would bounce in and out frequently, which seems to be what many people are seeing.
I'll check out the code later just for fun.
Click to expand...
Click to collapse
Well, re: signal strength, I've seen grey bars despite 5 bars of cell signal and max bars on the WiFi...

footboydog said:
OK I found the code on github:
StatusBarPolicy.java
ConnectivityManager.java
Images directory - (its the stat_sys_wifi_signal_*_fully.png ones that are green and the stat_sys_wifi_signal_*.png ones that are grey)
The 0-100 scale seems to be a percentage at least from what the comments say. I think choosing 50 as the threshold is a bit arbitrary and I still haven't figured out exactly what causes it to be above or below that threshold
Click to expand...
Click to collapse
I see it in the code. Damn I really wish I had a nexus s to test. I have a build environment setup to compile the source ROM for my nexus one, but obviously not for The nexus s.
Someone should test out changing that threshold number and/bits of the other code and see how it performs.

Wondering if there's status update on this issue yet? Does anyone have the problem using an official ROM, or is the problem limited to modified ROMs? It's not just an issue with the Nexus S as it's doing it on my Incredible too.
I've been using CM7 since nightly 7 I think it was. I first started having the problem yesterday. I cleared caches, etc, no help. I reinstalled CM7 #24 and it started working again. Today I was installing a new kernel and after rebooting, I'm back to the authentication errors and grey status icons.
Turning airplane mode on/off doesn't help. Rebooting doesn't help.
Looking in the Dev Tools -> GTalk Service Monitor, connection error is auth expired.
Just upgraded the CM7 build to #25 and the icons are now green. Going to keep an eye on it to see if there's anything I notice that causes a change in status. So far all my apps are restored with no issues. I did not restore data backed up with Titanium Backup this time - just ADW settings only.

mdiorio said:
Wondering if there's status update on this issue yet? Does anyone have the problem using an official ROM, or is the problem limited to modified ROMs? It's not just an issue with the Nexus S as it's doing it on my Incredible too.
I've been using CM7 since nightly 7 I think it was. I first started having the problem yesterday. I cleared caches, etc, no help. I reinstalled CM7 #24 and it started working again. Today I was installing a new kernel and after rebooting, I'm back to the authentication errors and grey status icons.
Turning airplane mode on/off doesn't help. Rebooting doesn't help.
Looking in the Dev Tools -> GTalk Service Monitor, connection error is auth expired.
Just upgraded the CM7 build to #25 and the icons are now green. Going to keep an eye on it to see if there's anything I notice that causes a change in status. So far all my apps are restored with no issues. I did not restore data backed up with Titanium Backup this time - just ADW settings only.
Click to expand...
Click to collapse
It was introduced with Gingerbread. My Nexus S is stock rooted.

I flashed oICSv43 and restored a backup with titanium. For some reason all my data icons are greyed out. I have google set to sync, so I'm not sure whats wrong. Also, I tried to reset it with airplane mode, but with no success. Any ideas?

I'm glad I'm not the only one that is experiencing this issue. I'm on ICS and I'm having issues that are described by the the OP, albeit I do get internet connection even though the 3G indicator is grey. I've toggled the airplane mode on and off and that has seemed to temporarly fix it until I use WI-fi and turn it off when I'm not using it. Though toggling airplane mode may sometimes be more or less several tries.

Related

[List] Bugs and Glitches -- I Will Update

Introduction:
So there has been a lot of bugs & glitches coming out as we get to use the phone more and more and they just seemed to be all over the forum and the forum is looking very unorganized.
Request: Can any of our G2x forum Mod's made this a sticky?
Here is the list of bugs and glitches that i have compiled from the whole forum:
**Added 04/23/2011**
Media Scanner bug
After leaving a 4G area phone will say that is connected to 4G but in reality there is no data and will not change to 3G/2G
When pressing home button or just navigating the home screens, screen flashes/flickers (Happened to me too)
Kinetic scrolling could be improved and the screen shakes when holding a position with your finger:
http://forum.xda-developers.com/show....php?t=1044179 and http://forum.xda-developers.com/show....php?t=1046473
No System UI sounds nor a System Volume setting
Bleeding LCD mostly 2 upper corners
Overheating when playing games, tethering, HDMI mirroing.
WiFi not connecting with some routers. Seems to happen with Dual band routers
WiFi Profiles keeps getting disabled
Phone connected to UMTS but displaying 4G notification icon
4G turning on when WiFi is supposely "On"
4G disconnects too much and randomly switching between Edge/3G/4G in same area with 4G
4G is not as fast as other phones with same hardware http://forum.xda-developers.com/show....php?t=1043716
Battery draining fast possibly due to this connection glitches
Freezes and Reboots
Connecting Headphones, or any Input will make Mic mute. When connected to car input, caller can the other person but person called can't hear caller.
Music turns off when opening camera
Phone screen brightness gets really dark when opening camera and auto-brightness is enabled
GPS works but sometimes slow to lock (Work around: http://forum.xda-developers.com/showthread.php?t=1009529&highlight=gps Thanks Mitta from LG 2X forums for getting a working fix and to the many other work around offered)
Cannot adjust brightness or Screen timeout settings anywhere only with market apps
Email signature keeps changing to default even after modifying it or removing it.
Bluetooth stops working after using WiFi or Wireless tethering
Audio would randomly stop working after having it plugged in to a TV via HDMI cable.
Lock screen sound won't work
SD card not been able to be mount
I know there is a Poll with an "Issue Summary" but it is lacking a list of bugs and glitches in the Original Post.
Anyways, So this thread is really to compile a list of the known bugs and glitches to make it easier for the Devs to determine what they should be looking at to fix and for everyone to look for known issues and make the G2x Forums neater.
I strongly believe that this forums are visited by manufacturers and by phone companies, almost 99% sure about this. So let's make the issues known to get them working on hardware optimizations and software.
Here is the link to the Issue Summary Poll: http://forum.xda-developers.com/showthread.php?t=1043500&page=10
I read all 10 pages and could say that the most common issues posted in that thread are reboots and freezes.
I will be updating this post as bugs and glitches comes out.
Please post your glitches if they are not mention in this thread. so that I can add those
Thanks for posting. Good work!!!!!!!!!!!!!!!!!!!!!!
tenbeau said:
Thanks for posting. Good work!!!!!!!!!!!!!!!!!!!!!!
Click to expand...
Click to collapse
For a better G2x!
I have had the phone since release day on the 20th and have had none of these problems *knocks on wood* although I did come across something really weird. I had the phone in my pocket and I don't know if I accidentally turned it on or whatever but I took it out of my pocket at one point and it was kind of hot on the back. When I hit the power button I got nothing so I had to battery pull and then power it on and that worked. When it booted the battery was under 5% (battery was over 50% when I initially put it in my pocket which was only about an hour or so when I noticed it was off and felt hot). So I plugged it in charged it back to 100% and have been fine since that. Has anyone else had this happen to them?
Nice work on getting this thread started. Is there any way you can also put links to the threads that these issues are talked about? I would be great to be able to read the thread easily if you have that issue with your phone. May help the devs find things easier too!
I am having an issue with my screen. if I am on a web page that is not designed for mobile phones and I push my finger on the screen and don't move it all, the screen will shake endlessly until I remove my finger. It will also do it if I hold when flipping between home screens. Does anyone else have this issue?
Please forgive my ignorance if these aren’t really bugs or are simply repeats of the above, but I discovered two new items with both my wife and my G2x’s that I’d like some feedback on.
I had zero data in WI tonight where T-mobile shows as having data coverage. The phone display shows that I am connected to AT&T for voice with a GPRS signal. Additionally, neither navigation or Google maps give me my location when both of these features had worked when I had data.
I’d be interested in learning if these items are actually bugs of if they are simply related to the available networks and G2x hardware. If bugs, does it sound like they could be fixed through a software update?
Thanks in advance.
I have 2 more bugs to add. Both of them being pretty damn major.
1. Once you leave a 4G tower it will not downgrade to 3G or Edge for data but voice will still work. The 4G icon is still there but you will have no data connection. In order to get your data working again you have to manually disable then re-enable it through network settings.
2. After removing the device from my pocket, it is in car mode. (Had to freeze the app so it stopped)
One other minor bug people are experiencing is upon awaking the device it will flash your home screen before your lock screen.
I can't see myself keeping this device after the sensation comes out. In my opinion, the G2x is possibly the buggiest device I have ever had and was not ready for launch. I will keep exchanging my G2x until I get one that works 100%.
By the way, I had to freeze "My Account" app and "Wifi Calling" because they were accessing data constantly.
Kinetic scrolling could be improved and the screen shakes when holding a position with your finger:
http://forum.xda-developers.com/showthread.php?t=1044179
http://forum.xda-developers.com/showthread.php?t=1046473
Some are reporting slower data speeds than normal:
http://forum.xda-developers.com/showthread.php?t=1043716
http://www.mobilecrunch.com/2011/04/20/review-t-mobile-g2x-optimus-2x/
No System UI sounds nor a System Volume setting.
OP Updated!
Xeyro said:
Please forgive my ignorance if these aren’t really bugs or are simply repeats of the above, but I discovered two new items with both my wife and my G2x’s that I’d like some feedback on.
I had zero data in WI tonight where T-mobile shows as having data coverage. The phone display shows that I am connected to AT&T for voice with a GPRS signal. Additionally, neither navigation or Google maps give me my location when both of these features had worked when I had data.
I’d be interested in learning if these items are actually bugs of if they are simply related to the available networks and G2x hardware. If bugs, does it sound like they could be fixed through a software update?
Thanks in advance.
Click to expand...
Click to collapse
Thanks for posting Xeyro, few questions for you,
Did you had a T-Mobile phone before and did you used in this area?
Was it 4G? If yes, where you able to connect fine to the network?
If your answers are yes then your G2x should be connecting just fine as well if not then there is a glitch/bug with the phone. Try rebooting to see if that helps.
Xeyro said:
I had zero data in WI tonight where T-mobile shows as having data coverage.
Click to expand...
Click to collapse
Figured it out; user error. Apparently there's a check-box in the wireless and network settings to allow data roaming. Apparently this box is unchecked by default, and checking the box has restored data connection to the phone.
Thanks for the response Moshe.
Looks like we were posting at about the same time, but I figured out my error. The phones are set by default to not allow data roaming, and you have to manually make the change in the settings. Everything seems to be working as expected at this point.
Xeyro said:
Figured it out; user error. Apparently there's a check-box in the wireless and network settings to allow data roaming. Apparently this box is unchecked by default, and checking the box has restored data connection to the phone.
Click to expand...
Click to collapse
If I understood your problem correctly, that is no fix at all. Data roaming is turned off by default because data roaming charges are massive. The reason it started 'working' is because you allowed the phone to roam data over the AT&T network instead of connecting to tmobile towers. Watch out because your next bill is going to be a whopper.
dasbin said:
If I understood your problem correctly, that is no fix at all. Data roaming is turned off by default because data roaming charges are massive. The reason it started 'working' is because you allowed the phone to roam data over the AT&T network instead of connecting to tmobile towers. Watch out because your next bill is going to be a whopper.
Click to expand...
Click to collapse
Thanks for the heads up dasbin. I decided to give T-Mobile a call to make sure I wasn't being charged an arm and a leg and this is what I learned.
The T-mobile coverage in this area is actually provided through 3rd party networks, so while the maps show data coverage, it may not be T-mobile directly providing the data. Therefore, the option to roam data needs to be turned on. T-mobile only charges for international data roaming, so there are no extra fees as this is how the network is designed to work.
I think then the "bug" isn't as much of a bug as an understanding that the phone is not configured by default to allow non T-mobile data networks. I wonder how often this has caused some of the dropping of data that others have experienced?
I only have the bleeding issue and reboot issues. If I exchange, it could be a lot worse.. decisions decisions..
You should include the Media Scanner bug.
If I put any substantial amount of media (more than 3mp3s) on my sd card, media scanner glitches and never finishes scanning, making camera, music, video, gallery, etc unusable.
I've seen at least one other poster with this issue.
ericc191 said:
I only have the bleeding issue and reboot issues. If I exchange, it could be a lot worse.. decisions decisions..
Click to expand...
Click to collapse
Yea, same here, and when I have some free time I want to look at the kernal source, I'm thinking the frezzing/rebooting is caused by it, its acting the same as my mt4g did using custom kernals until those were fixed, so I think once we can get some custom kernals out we'll be good to go on that issue.
Sent from my LG-P999 using XDA Premium App
OP Updated with the Media Scanner bug and some other ones
dasbin said:
If I understood your problem correctly, that is no fix at all. Data roaming is turned off by default because data roaming charges are massive. The reason it started 'working' is because you allowed the phone to roam data over the AT&T network instead of connecting to tmobile towers. Watch out because your next bill is going to be a whopper.
Click to expand...
Click to collapse
T-Mobile only charges for international roaming.

Gold_C DFT Error reporting

Hey all;
I saw some DFT clutter on some other ROM threads. It was suggested to make a new thread. I have permission from Mwang to make an error reporting thread so... here it is. Also... for all those who don't have DFT's ROM for the Gold_C you can PM Mwang for download instructions. I am working on getting permission to put links and dl instructions on this thread as well so look for updates. Thank you.
Has a newer version of the DFT rom for GOLD_C been released? One major bug is that wifi mac address changes with every reboot.
Still a badass rom!
N_ZzZ said:
Hey all;
I saw some DFT clutter on some other ROM threads. It was suggested to make a new thread. I have permission from Mwang to make an error reporting thread so... here it is. Also... for all those who don't have DFT's ROM for the Gold_C you can PM Mwang for download instructions. I am working on getting permission to put links and dl instructions on this thread as well so look for updates. Thank you.
Click to expand...
Click to collapse
-Some programs you cant see well unless you have the theme on dark, I think I read somewhere that it was a common bug in his wp7 roms.
-Maybe not a bug but an issue (If Mwang used sprints rom as a base) the sms bug that limits you to 160 characters per text is present like in the sprint rom
It is soo much better than the the official sprint rom tho
I have been having data connection issues. I will have full service and my data connection on and apps will say I have no connection. I have tried to update my network connection and prl and this continues to be an issue. For whatever reason I can usually go into internet explorer and go to a website and that will work and then return to an app I was having issues with and then the connection works. Seems really strange to me. Anybody else else having similar problems? Any solutions out there?
Sent from my PC93100 using XDA Windows Phone 7 App
I can't connect with zune anymore. Two hard resets and two reflashes later my phone is still not recognized by zune software.
I've been having issues sending MMS quite often. To fix it every time I have to go to Settings -> Cellular -> Change Network Profile & Change PRL. That and I have had a handful of random freezes occur all while in the Messaging Hub.
Zero9930 said:
I've been having issues sending MMS quite often. To fix it every time I have to go to Settings -> Cellular -> Change Network Profile & Change PRL. That and I have had a handful of random freezes occur all while in the Messaging Hub.
Click to expand...
Click to collapse
I had issues with mms too a hard reset resolved those
Is a newer version coming out soon for the Gold C that corrects the wifi mac issue?
N_ZzZ said:
I have been having data connection issues. I will have full service and my data connection on and apps will say I have no connection. I have tried to update my network connection and prl and this continues to be an issue. For whatever reason I can usually go into internet explorer and go to a website and that will work and then return to an app I was having issues with and then the connection works. Seems really strange to me. Anybody else else having similar problems? Any solutions out there?
Sent from my PC93100 using XDA Windows Phone 7 App
Click to expand...
Click to collapse
I have had something similar, although I've found that the internet is working still but incredibly slow, even when connected to Wi-fi, it seems like even with Wi-fi on, the phone prefers to use the network connection. I've found that turning on airplane mode and then using Wi-fi makes the internet work fine and quick, but with both on it seems to go much slower (but not always). Other than that it seems to be working fine
HTC Arrive ROM ???/Issues
I love this ROM, much better then stock but when I am on a call and the computer voice says" press 1 for xxx press 2 for yyy" I press the buttons but the system doesn;t respond like I didn't press anything at all. Also the Speaker volume seems to be 1/2 as loud. Last but not least is there a GPS program I can d/l? I used navigator all the time but since this ROM doesn't come with it I don't know what to use.
Thanks for your time!
Q
quantum3 said:
I love this ROM, much better then stock but when I am on a call and the computer voice says" press 1 for xxx press 2 for yyy" I press the buttons but the system doesn;t respond like I didn't press anything at all. Also the Speaker volume seems to be 1/2 as loud. Last but not least is there a GPS program I can d/l? I used navigator all the time but since this ROM doesn't come with it I don't know what to use.
Thanks for your time!
Q
Click to expand...
Click to collapse
you can search for "TeleNav" in the market, "Waze" in the Bazaar, or you can search online for "Nokia Drive" xap where you would have to deploy from your computer. I'm not going to link to the Nokia Drive as I don't know how legal it is to do so.
quantum3 said:
I love this ROM, much better then stock but when I am on a call and the computer voice says" press 1 for xxx press 2 for yyy" I press the buttons but the system doesn;t respond like I didn't press anything at all. Also the Speaker volume seems to be 1/2 as loud. Last but not least is there a GPS program I can d/l? I used navigator all the time but since this ROM doesn't come with it I don't know what to use.
Thanks for your time!
Q
Click to expand...
Click to collapse
If you didn't yet, try a hard reset. That solved all my issues. I should have remembered that from the TP2 days...
I too am having issues with the internet speeds. My phone is constantly going into 1x. i can have full bars and it still goes 1x. even with Wifi on the phone still tries to use the cellular data and if that says 1x well its slow as hell. I have re flashed the rom and also done hard resets a few times, it didn't fix it for me, i mean it works great for a little while than the same problems persist.
According to what people are saying in ansar rom, it has the same problem with the connectivity. Hopefully there will be an update to fix this.
Another bug is that picture mail fails 95% of the time. i found that if you switch wifi off and than do a reset it usually works for a few times.
I wonder if we can fix our DATA issue if we input the APN settings into the rom. I used to run droid on my tp2 and we had to configure the APN for things to work as expected. I have searched around google and such and cannot find any working APN settings. Does anyone know of any that will work or have tried it?
Hey guys first off happy Easter to everyone! Secondly, I think I might have found a workaround for the WiFi cutting out on DFT sprint rom for the arrive. If you are on this rom and you have sprint well than you probably noticed the phone always going into 1x and than the WiFi taking forever to load. I had seen a post about shutting off cellular data and that was suppose to help. Well, I tried that and it worked for a little bit but than it stopped.
What I found is that if you change the network setting from automatic to home only that the WiFi no longer cuts out. The phone still says 1x but my WiFi hasn't cut one time and beforehand it was constantly working slow and or not working at all. Also, every picture mail that I have tried to send has went through without a single fail which it was a real pain in the butt to get one to send before. I haven't done too much testing as to whether the phone works better when not in WiFi but since I'm always in the office or at home, I'm always connected. But at least now it's working much much better!
Reg Settings for EVDO (3g is slow)
I have, like others, had similar issues. Also, after updating to the rom i noticed that the 3G speeds have dropped significantly (WIFI off).
I am clocking in at ~300k as opposed to 1.2Mb before even though the phone has 5 bars and EV.
I am not sure if this will provide any insight, or if I am even on the right track/know what i am talkin about, but if i browse the registry to
"HKLM\Comm\Cellular\DataSpeed"
There are settings for only 1xEVDO. Is this right?
What about EVDO rev A?
Thanks in advance for any input!
microfirmz said:
I have, like others, had similar issues. Also, after updating to the rom i noticed that the 3G speeds have dropped significantly (WIFI off).
I am clocking in at ~300k as opposed to 1.2Mb before even though the phone has 5 bars and EV.
I am not sure if this will provide any insight, or if I am even on the right track/know what i am talkin about, but if i browse the registry to
"HKLM\Comm\Cellular\DataSpeed"
There are settings for only 1xEVDO. Is this right?
What about EVDO rev A?
Thanks in advance for any input!
Click to expand...
Click to collapse
Doesn't seem like that's what that key is for according to this thread:
http://forum.xda-developers.com/showthread.php?t=907971&page=52

[Q] Data Connection Time-outs

I've been having data connection issues for as long as I've had an activated Straight Talk SIM in the phone (about a week). Here's what's happening:
When I open an app or program that needs an active data connection, more often than not, data takes a while to start flowing. Often more than long enough for my screen to time-out before it connects. I have moderate signal strength, generally 2-3 bars, and the little H+ icon is there, so I'm assuming it's not a signal issue. Once data actually kicks in, it generally works fine for whatever time I'm actively using it. However, once i stop using it, and let the phone go back to sleep, it's a crap-shoot as to whether or not it'll connect quickly next time I need it to.
It doesn't seem to be a ROM-specific occurance, although it did seem a bit less likely to time-out when running stock Froyo. I've tried several different costom ROMs, a handful of different modems, and it never seems to make any real difference. I've also tried slight variations in the APN settings, to no apparent avail. Toggling airplane mode and/or rebooting don't seem to have any definite effect either. Sometimes data will connect quickly after a toggle/reboot, sometimes it makes no difference. It's like the phone just doesn't seem to 'know' that it's supposed to be transferring data.
Im having the same issue.My first month with ST was great really fast of course I went well over 2 GB so it slowed me down towards the end of the first month.Well I paid my next bill and still slow.They seem to be clueless when I call them oh your using an Infuse well I ordered the correct sim from there site they still clueless.Ive have tried about every rom out there just to see whats up and still the same issue.Hopefully someone here has the fix.
Im having the same issue nothin seems to work.
Sent from my SAMSUNG-SGH-I997 using xda premium
Turns out we're not the only ones..not by a long shot:
http://www.howardforums.com/showthr...t-Talk-has-upped-the-ante-on-throttling-users!
Since it's a frustrating exercise in futility to actually call and hope to get one of their script-reading robots that can speak some semblance of comprehensible English, I emailed them on their FB support page and started a claim ticket. Got the usual runaround about removing the SIM card and battery, do a hard reset, clear cache and cookies from browser, blah blah blah. It's kinda funny how I linked the CS rep to that thread on HoFo, and she's still not acknowledging that there's any type of widespread issue. SSDD with Straight Talk.
I just registered over on HoFo and was looking around their Straight Talk forum. I think someone may have found the answer to some of our data connectivity woes. It may be as simple as having to make a DNS change to compensate for an overly-crowded network. I downloaded DNS Changer from the Play Store, and changed my DNS settings to OpenDNS. It's a bit too early to tell if it's just random coincidence, or a real fix, but I AM getting much better connectivity so far. For some reason, it seems to work a little better if you actually use the ST proxy in your APN settings.
http://www.howardforums.com/showthread.php/1774213-Intermittent-Data-on-ST-amp-H20-possible-fix-too
ApexPredatorBoids said:
I just registered over on HoFo and was looking around their Straight Talk forum. I think someone may have found the answer to some of our data connectivity woes. It may be as simple as having to make a DNS change to compensate for an overly-crowded network. I downloaded DNS Changer from the Play Store, and changed my DNS settings to OpenDNS. It's a bit too early to tell if it's just random coincidence, or a real fix, but I AM getting much better connectivity so far. For some reason, it seems to work a little better if you actually use the ST proxy in your APN settings.
http://www.howardforums.com/showthread.php/1774213-Intermittent-Data-on-ST-amp-H20-possible-fix-too
Click to expand...
Click to collapse
I download DNS changer too it does seem to help changed to open.Thanks for the tip.
Sent from my SGH-I997 using xda premium
This issue was driving me nuts, it started as soon as I switched to Jelly Bean, I was convinced JB was interfering with my data, installed DNS changer and immediately my internet issues went away. Thanks for the tip! :highfive:

Notification delays, orange icons, and poor data connection

My apologies if this has been posted elsewhere. I found a loosely related thread on google's support forum, but nothing here.
Bought a Nexus 5 and I've been trying out Straight Talk ATT and I've been noticing these problems, most likely all related:
I've been getting notification delays for push data services. Namely, my work email(exchange) and gmail. Sometimes the notification won't even come through. I'm up to a half hour on my last one, still waiting on it. SMS works just fine. Haven't tested MMS, particularly because I don't get many of those. The data connections does work though. I can manually load pages just fine, if a bit slow at first like the ping is astronomical. Almost makes me think it's establishing a connection each time.
When I check the color of the wifi or cellular connection icon, it's frequently orange. Most of the time it will quickly resolve itself to white in the few seconds it takes to check it. From what I understand, orange means it's having trouble talking to google services? This shouldn't affect exchange notifications.
I'm getting poorer connections quality than I expected. I live in Ithaca and while my home has poor Verizon connection(so I expected similar from ATT), I've barely found any place at work or the mall that can hold ANY LTE signal or a decent HSPA signal. HSPA speed tests give me under 0.5mbps up/down, while the only LTE test I've been able to run gave me 2.5/1 up/down.
The aforementioned thread on google's forums mentioned flashing 4.4.0's radio apk, has anyone else tried this?
Which APN setting affects the data part of the connection? Is it just the APN type?
Bump.
I'm starting to wonder if my problem is exacerbated by my current postpaid VZW phone getting data notifications much quicker. I'm suspecting that Straight Talk has a lower priority on ATT towers, thus why my data notifications take up to minutes sometimes. Anyone know of a way to confirm this?
Always On Push Notifications android app
I am not sure if anyone is following this thread anymore, but I switched to StraightTalk about a month ago, and have been experiencing huge delays in my google voice notifications as well (among other things). I've tried several different apps to get this resolved, but none have worked for me... so I decided to write my own. It was published to the google play store this morning (Android 2.3+ currently). If anyone sees this, please try it out, and let me know what you think.
It's called "Always On Push Notifications". I can't post a link right now because this is my first post on these forums though.
maucer said:
I am not sure if anyone is following this thread anymore, but I switched to StraightTalk about a month ago, and have been experiencing huge delays in my google voice notifications as well (among other things). I've tried several different apps to get this resolved, but none have worked for me... so I decided to write my own. It was published to the google play store this morning (Android 2.3+ currently). If anyone sees this, please try it out, and let me know what you think.
It's called "Always On Push Notifications". I can't post a link right now because this is my first post on these forums though.
Click to expand...
Click to collapse
What fixed it? I find I have to archive my old messages/call logs for it to not lag.
MrObvious said:
What fixed it? I find I have to archive my old messages/call logs for it to not lag.
Click to expand...
Click to collapse
I am not sure what you mean, but I was noticing similar issues with my Nexus 5 on ST using ATT towers. While on LTE at the office, my connection was always great, but if I wasn't actively using my phone, my cell signal would go orange, and all of my notifications were significantly delayed. Furthermore, even trying to browse the internet with an orange signal would just idle and sometimes would not complete at all.
The app I wrote attempts to prevent this by simply keeping your connection active. It does this by manually sending out a heartbeat using the Google Cloud Messaging service approximately every interval that you define in the app. This helps keep your notifications flowing. On top of that, the application will also make a very small data request (~60 bytes), to help prevent the APN from timing out your connection.
I have found that those two things are enough to fix the issues I have had with StraightTalk.
maucer said:
I am not sure what you mean, but I was noticing similar issues with my Nexus 5 on ST using ATT towers. While on LTE at the office, my connection was always great, but if I wasn't actively using my phone, my cell signal would go orange, and all of my notifications were significantly delayed. Furthermore, even trying to browse the internet with an orange signal would just idle and sometimes would not complete at all.
The app I wrote attempts to prevent this by simply keeping your connection active. It does this by manually sending out a heartbeat using the Google Cloud Messaging service approximately every interval that you define in the app. This helps keep your notifications flowing. On top of that, the application will also make a very small data request (~60 bytes), to help prevent the APN from timing out your connection.
I have found that those two things are enough to fix the issues I have had with StraightTalk.
Click to expand...
Click to collapse
That answered it. It must be a StraightTalk thing. Weird.
New observation on this problem:
- GMail notifications not arriving
- When I check I see that the WiFi icon is orange
- Phone is still connected to the internet, I can browse, but icon remains orange and no notifications arrive
- Only when I disconnect/reconnect Wifi does it recover
I also discovered that the WiFi icon actually turns orange at the moment that Google tries to send me a notification. It can be fine for hours before that.
It turned out that this only happens when I have the cellular radio turned off, by turning on Airplane Mode and then turning WiFi back on. With the cellular radio on and connected to the network, even with Mobile Data turned off, everything is fine with WiFi.
I think it's an authentication bug with Google Services. Somewhere in the message notification sequence it tries to either authenticate your phone or perhaps locate it via the cellular network, and if it fails then the connection to Google Services is flagged as faulty. The failure could be caused by having the cellular radio off, or perhaps by being in a bad reception area.

CM11 M7 Wifi dead? here's a potential fix

OK, so I know M7 isn't the latest CM build, but it's the latest one without issues with GPS, so that's what I'm on since I use GPS a lot.
So last week I replaced my home router. This of course means reconfiguring all the wifi devices around the house, including my wifi thermostat. The unique thing about the thermostat is that to configure it, you connect a laptop/phone/tablet to the thermostat's ad-hoc wifi network, tell it which infrastructure ssid to connect to, verify a pin from the thermostat's screen (so nobody can hijack your t-stat from outside the house), and that's it.
thing is, when you use Cyanogenmod (at least on the relay) to connect to an adhoc network, it breaks wifi. what happens is you can't connect to any other wifi networks, and can't even scan to see available networks till you reboot. sometimes it doesn't work even after a reboot. strangely, the tethering/hotspot still works fine. you just can't connect the phone to a hotspot whether it's at home or work or anywhere.
i'd been having other issues and general slowness with the phone, so i decided to backup a few apps with TiBu and do a factory reset. that worked... till i tried connecting to the thermostat again, and it broke wifi completely this time.
solution? go to /data/misc/wifi/ and rename wpa_supplicant.conf to wpa_supplicant.conf.old (or whatever, as long as it's a different name) and reboot. the system will automatically create a new conf file. boom - wifi fixed.
obviously this requires root, but that's not an issue in CM. I doubt it matters, but i used ES file explorer since it's got a good root filesystem browser and mounting / or system as RW is a simple matter of a checkbox in the settings.
when i compared the newly created wpa_supplicant.conf with the one i'd renamed (.old) the only real difference i could see was the saved networks at the bottom. so you might be able to get away with simply deleting the offending network={ blah blah } section instead of completely renaming the conf file. the advantage here would be if you have a bunch of saved networks that you don't want to get rid of, it will keep those saved networks. the conf file is a plaintext file so it's easy enough to understand what you're looking at, and modify appropriately.
MODS: I apologize if this is in the wrong forum. I figured since it probably only applies to CM, I should post it in the dev forum rather than the general one. If it needs to be moved, I don't be offended.
Gibson99 said:
OK, so I know M7 isn't the latest CM build, but it's the latest one without issues with GPS, so that's what I'm on since I use GPS a lot.
So last week I replaced my home router. This of course means reconfiguring all the wifi devices around the house, including my wifi thermostat. The unique thing about the thermostat is that to configure it, you connect a laptop/phone/tablet to the thermostat's ad-hoc wifi network, tell it which infrastructure ssid to connect to, verify a pin from the thermostat's screen (so nobody can hijack your t-stat from outside the house), and that's it.
thing is, when you use Cyanogenmod (at least on the relay) to connect to an adhoc network, it breaks wifi. what happens is you can't connect to any other wifi networks, and can't even scan to see available networks till you reboot. sometimes it doesn't work even after a reboot. strangely, the tethering/hotspot still works fine. you just can't connect the phone to a hotspot whether it's at home or work or anywhere.
i'd been having other issues and general slowness with the phone, so i decided to backup a few apps with TiBu and do a factory reset. that worked... till i tried connecting to the thermostat again, and it broke wifi completely this time.
solution? go to /data/misc/wifi/ and rename wpa_supplicant.conf to wpa_supplicant.conf.old (or whatever, as long as it's a different name) and reboot. the system will automatically create a new conf file. boom - wifi fixed.
obviously this requires root, but that's not an issue in CM. I doubt it matters, but i used ES file explorer since it's got a good root filesystem browser and mounting / or system as RW is a simple matter of a checkbox in the settings.
when i compared the newly created wpa_supplicant.conf with the one i'd renamed (.old) the only real difference i could see was the saved networks at the bottom. so you might be able to get away with simply deleting the offending network={ blah blah } section instead of completely renaming the conf file. the advantage here would be if you have a bunch of saved networks that you don't want to get rid of, it will keep those saved networks. the conf file is a plaintext file so it's easy enough to understand what you're looking at, and modify appropriately.
MODS: I apologize if this is in the wrong forum. I figured since it probably only applies to CM, I should post it in the dev forum rather than the general one. If it needs to be moved, I don't be offended.
Click to expand...
Click to collapse
It does belong in q&a...but my lollipop validus has working gps
REV3NT3CH said:
It does belong in q&a...but my lollipop validus has working gps
Click to expand...
Click to collapse
As does FatToad. However, I do know that the privacy bit in the GPS can be flipped with the drivers we're using in FT. There's an old thread with a post from nard about how to fix that.
Magamo said:
As does FatToad. However, I do know that the privacy bit in the GPS can be flipped with the drivers we're using in FT. There's an old thread with a post from nard about how to fix that.
Click to expand...
Click to collapse
Do you understand more about this "privacy bit", what call in the API flips it, or can give me any other pointers about it? The poster previous to you indicates that GPS works with M7. I thought I had it working with M8, but can't really guarantee that, any more. The post from nard was quite an onerous process, including what looked like reflashing the baseband.
It seems to me that if we really understood this problem, the fix would be quite simple, and could be done by a root-access app. I've done more digging, and see that it seems to be common to many models of Samsung Galaxy phones, and some of the fixes involve doing potentially horrible things to the NVRAM. (like clearing it completely - what could possibly go wrong?)
It seems that the GPS is done in the baseband processor, along with the other radio stuff, but so far I haven't been able to find it. The transceiver chip is just a transceiver, no baseband processor. It looks like the baseband processor might be on the Snapdragon main processor chip, though they don't enumerate it well. In addition they mention a "gpsOne engine" without describing exactly what it is.
I'm still relatively ignorant about Android, a year after getting one. (not enough time) I'm better versed on hardware, but this problem seems to be in the cracks between.
Come to think of it, a simple question... Is there documentation on the communications between Android and the baseband processor?
Gibson99 said:
OK, so I know M7 isn't the latest CM build, but it's the latest one without issues with GPS, so that's what I'm on since I use GPS a lot.
Click to expand...
Click to collapse
I just took my wife's phone outside and tested it. GPS works on M8 from last summer, as does wifi. AFAIK the only thing that doesn't work on M8 is the video camera. (Stills on the camera work.)
This was an older phone than mine, purchased after mine. With mine I didn't need the radio or bootloader updates, my wife's did. I bought the phone for her, used it briefly with my PureTalkUSA SIM card to make sure it was really unlocked. Then I put CM11 on it.
phred14 said:
I just took my wife's phone outside and tested it. GPS works on M8 from last summer, as does wifi. AFAIK the only thing that doesn't work on M8 is the video camera. (Stills on the camera work.)
This was an older phone than mine, purchased after mine. With mine I didn't need the radio or bootloader updates, my wife's did. I bought the phone for her, used it briefly with my PureTalkUSA SIM card to make sure it was really unlocked. Then I put CM11 on it.
Click to expand...
Click to collapse
no idea how old mine actually is; i bought it "like new" from a tmobile reseller here in town and i actually use tmobile for service.
right now i'm on fattoad and once i stepped down my paranoia (i turned on privacy guard for everything including all system apps. hint: don't do that ) it seems good so far. nova launcher has an issue with flickering or disappearing icons, and everything is huge (i need to adjust the dpi) but so far no issues with gps or wifi (though i havent needed to connect to an adhoc network yet).
Do be careful with Privacy Guard. I didn't mention, but although Privacy Guard out of the box tends to make it so that most system apps are unable to be tuned, TeamApexQ likes the option of being able to tune everything in that regard, so we removed the safeguard. (For example, when PG was first ported to CM12, you could tune the settings of the 'Settings' app. Then at our next internal testing build, it was suddenly coming up empty, because CM made a change to exclude tuning for it. We restored full capability because we liked it. But that does mean you can more easily 'shoot yourself in the foot'.
Magamo said:
Do be careful with Privacy Guard. I didn't mention, but although Privacy Guard out of the box tends to make it so that most system apps are unable to be tuned, TeamApexQ likes the option of being able to tune everything in that regard, so we removed the safeguard. (For example, when PG was first ported to CM12, you could tune the settings of the 'Settings' app. Then at our next internal testing build, it was suddenly coming up empty, because CM made a change to exclude tuning for it. We restored full capability because we liked it. But that does mean you can more easily 'shoot yourself in the foot'.
Click to expand...
Click to collapse
I've recently begun to wonder if Privacy Guard might be partially responsible for reduced battery life. I'm under the impression that it lies to apps, providing false information when they have insufficient authority for the real information. Some of those permissions in Privacy Guard are to turn radios on and off. If an app thinks it's turned a radio on, and is trying to communicate based on faked (Really, it's going to look like a failure, at this point.) returns, it may spend more time continuing to try instead of just staying asleep. My battery life comes an goes, but I've noticed that on a "bad day" there are quite a few wakeups in the middle of nowhen, when the phone was sitting there in airplane mode with all radios off.
Of course I may be all wet on this - radio control may be one area where it can say, "You're in Airplane Mode, no program can turn the radio on."
good theory, and like you said, it depends on the app and how pg implements each block.
personally i'm having great battery life in L. i have a 5000mah battery, but usually by this point in the day i'm at about 60%. right now i'm still at 83%. i like how it projects your estimated remaining battery time. first time i looked at the battery chart, i lol'd - it was projecting 4.5 days before it died. i can probably get 2 no sweat even with regular usage, but i'd have to turn off sync and really cut back to make it 4 days.
I've had very good results with some simple rules with Privacy Guard. Generally the only thing I've turned off is the ability for Google Play Services and the Google App (Google Now) to wake up my device and to keep it awake. With those turned off, my battery life has gotten to be pretty damned nice... Though it makes Google Play Services FC once maybe every 24 hours. It restarts just fine, no harm no foul.
My battery life seems to be "bimodal". It either barely makes it 24 hours - basically needs recharging every night, or it lasts on the order of three or four days on a charge.
It seems to be somehow wifi-related, if I were guessing, and in an odd way. If wifi is largely off, but occasionally on, the battery life seems shorter. After wifi has been left off for "a while" (quantity not yet determined) it seems to go into long-battery-life mode. If I keep wifi largely on, and occasionally off (basically between known/trusted wifi places) the battery life comes out somewhere in between, consistent with wifi itself taking some power.
It's been really tough to detect any sort of pattern, but this is the best I've been able to come up with so far. I haven't done rigorous testing, or at least attempts at rigor so far have yielded inconsistent results. I've looked at what the Settings->Battery has available for power diagnostics, and one thing I noted was a lot of spurious wakeups when all radios were turned off. That's what led me to tentatively finger Privacy Guard.
I just saw the setting to show "built-in" apps on PG. I see two different entries for google.services and google.services.framework. The former has scads of wakeups - thanks for the tip. The latter has many, but a much smaller number. Did you block wakeups for both? I presume "built-in" are also "system" that others have said shouldn't be bulk-denied in PG. Are there guidelines anywhere about which are OK, which are useful, etc? (Like this case, and perhaps battery life.)
phred14 said:
My battery life seems to be "bimodal". It either barely makes it 24 hours - basically needs recharging every night, or it lasts on the order of three or four days on a charge.
It seems to be somehow wifi-related, if I were guessing, and in an odd way. If wifi is largely off, but occasionally on, the battery life seems shorter. After wifi has been left off for "a while" (quantity not yet determined) it seems to go into long-battery-life mode. If I keep wifi largely on, and occasionally off (basically between known/trusted wifi places) the battery life comes out somewhere in between, consistent with wifi itself taking some power.
It's been really tough to detect any sort of pattern, but this is the best I've been able to come up with so far. I haven't done rigorous testing, or at least attempts at rigor so far have yielded inconsistent results. I've looked at what the Settings->Battery has available for power diagnostics, and one thing I noted was a lot of spurious wakeups when all radios were turned off. That's what led me to tentatively finger Privacy Guard.
I just saw the setting to show "built-in" apps on PG. I see two different entries for google.services and google.services.framework. The former has scads of wakeups - thanks for the tip. The latter has many, but a much smaller number. Did you block wakeups for both? I presume "built-in" are also "system" that others have said shouldn't be bulk-denied in PG. Are there guidelines anywhere about which are OK, which are useful, etc? (Like this case, and perhaps battery life.)
Click to expand...
Click to collapse
It's difficult to give tips for this, because everyones' usage is different. Get 'WakeLock Detector' and keep an eye on that when your power drain seems more intense. Disable things that make sense to disable based on that.
I know this isn't really the topic, but just because you get a new router doesn't mean you have to reconfigure everything. Why couldn't you just configure the new router with the SSID and password from the old one?
slartibartfast42 said:
I know this isn't really the topic, but just because you get a new router doesn't mean you have to reconfigure everything. Why couldn't you just configure the new router with the SSID and password from the old one?
Click to expand...
Click to collapse
believe me, i tried that. it's stupidly tedious to enter a long keyphrase via the remote control on our tivos and only slightly less tedious on the roku (its remote is much more responsive). laptops and phones aren't as bad since they have keyboards. apparently the devices are smart enough to notice a different MAC behind the BSSID. which if you think about it, is actually a GOOD thing in terms of security, since it makes spoofing a little more difficult. granted, you'd also have to know the wpa key to successfully spoof, but it's a simple check to implement for security's sake, and i'm glad they did.
by the way, do you like fjords?
Magamo said:
It's difficult to give tips for this, because everyones' usage is different. Get 'WakeLock Detector' and keep an eye on that when your power drain seems more intense. Disable things that make sense to disable based on that.
Click to expand...
Click to collapse
"Wakelock Detector" has certainly been enlightening. "Google Fit", which makes sense, once you think about it. But the other aspect that was even more important, I just happened to see when one of the other forums popped up on some sort of search result or other.
You have to boot your Android device on battery. If the kernel starts up on charger, it never gets into the deepest power-saving states. When I first started using Wakelock Detector, my phone showed up as being awake something like 97% of the time. Google Fit was the biggest user, but not that big. After seeing that advice I've been careful to boot on battery, and now most of the time is spent asleep. Google Fit still uses wakes as much, but when it's not, the phone is really sleeping. My normal battery life has moved out to two or three days, sometimes into a fourth. As long as I consider Google Fit worth having around, this battery life is good enough for me - there is always a decent window to recharge.
phred14 said:
You have to boot your Android device on battery. If the kernel starts up on charger, it never gets into the deepest power-saving states.
Click to expand...
Click to collapse
So much for that theory. A day or two back, after good battery life since this post, I noticed it draining faster. Today I looked, and sure enough, it's not going into deep sleep. I tried rebooting with all four states of wifi and cell service, and nothing has gotten deep sleep back. I think I'm going to try charging tonight, booting while charging, then rebooting after disconnecting. It would be good to have an exact and repeatable set of circumstances that cause both good and bad battery life.

Categories

Resources