Wifi won't connect after sleep - Kindle Fire Q&A, Help & Troubleshooting

I was hoping someone might be able to help me out with a Wifi problem. Basically, about 25% of the time when waking the kf from sleep, the Wifi won't reconnect. It doesn't seem to matter whether I'm on the charger or not (which in itself is probably an issue as the Wifi policy is set to only shut down during sleep when not charging, but I chalked that up to being related to the issues with charging status and ICS/JB roms). I'm currently running Hashcode's CM10 based 9/5 rom with the 3.0.31+ kernel, but this has been plaguing me for a while (both ALIEN DROID roms, Jandycane, other ICS/JB roms that I've played around with). All I need to do is toggle the Wifi in the status bar and it reconnects right away, but even minor annoyances build up after a while so I was looking for some suggestions for resolving the problem. I've yet had the opportunity to get into any sort of android development (really would like to if my job would ever allow me some free time), but have an extensive background in programming and would have no problem going in and making some code changes if it would fix the problem. Any help would be appreciated! Thanks in advance
Sent from my Amazon Kindle Fire using xda app-developers app

This may or may not help, but I'll mention it anyway:
I had the same wifi reconnect problems a while back on my nook on cm7.
One or both of these things fixed it:
- Changing my security from WPA2 to WPA
- Not having a lot of saved networks (more than 5 seemed to cause problems for some reason)
If you look in the nook color forum, a year ago there was a lot of discussion about the same thing happening on cm7.
It might give you some info that would help?
I have no idea if its even possible if the two are related.

Don't post questions in the General Section.
Moved to Q&A

Related

[Q] Wireless issue with a few roms

first of all thank you for viewing,
i have a problem with any rom running CM or gingerbread when trying to join a wireless connection that has a hidden SSID at WPA2 security.
i have no problems connecting to any other wireless connection as long as they are not configure as mention above.
now i would claim that there is a problem with the wireless configuration and the phone trying to handshake with it but this is not the issues with most roms.
because it works fine with most roms but does not with a few other roms i am sure that this is not hardware related.
here is a few troubleshooting steps i have gone through in order to see what is the source of the problem.
1st) i have loaded and tested every radio for the Inc (including the EVO radio) but the problems persist.
2nd) i have loaded and tested a variations of kernels to see if this is a cause of the problem and no luck (i tend to leave the Dev's choice in kernel alone in most cases)
any advise will be grateful please as i am at a lost and with search for people in my same place i have not found any yet.
please someone help i love playing with the Roms but this is starting to kill my experience as being able to connect to hidden and secure wifi is a must for me.
thank you.
http://forum.xda-developers.com/search.php?searchid=55690256
silverramsrt said:
http://forum.xda-developers.com/search.php?searchid=55690256
Click to expand...
Click to collapse
silverramsrt,
thank you for the search and post, so what i gather from the 2 other instances of the same problem there is no fix for this as of now other than to broadcast you SSID.
i just cant imagine why would the developer version of Gingerbread does not have this working and i hope some one finds a fix for it or that a fixed version is added to the full release.
i know, i know high hopes.
thank you
You're welcome. It won't be long before one of the incredible devs tackle this. (pun intended)

[Q] Wifi loses connectivity after period of inactivity

Hello,
I've searched around the Epic 4G Touch forums as best I could, but sadly I couldn't find anything that was exactly this problem (although I found some interesting articles about wifi sleep time but they don't seem to apply). I'm experiencing an annoying issue where I can connect Wifi just fine, but if the phone is left for a small period of time (~10 minutes), wifi appears as if it's still connected, however it cannot send/receive data. When this happens, the wifi status says it's "connected", but there is no data connection. The only way to to get the data back is to turn off wifi, wait for 3/4G connection to initialize, then turn Wifi back on to refresh it...then it's fine again until I set the phone down again.
I had this problem on stock EL29, so I rooted and flashed Phantom Blazer ROM (very cool ROM, but I'm still experiencing the same issue). After reading the threads on here about wifi sleep times (apparently they're backwards with ICS roms), I've experimented with every setting, yet I still have the same issue--Wifi is fine as long as I'm using the phone, I set it down, after about 10 minutes pick it back up, says it's still connected, but no data connection.
has anybody experienced this problem with this phone? I'm about to unroot my phone/go back to factory so I can take it in to a Sprint store, the problem is they (trying not to be offensive) don't seem to know very much about this device. I thought I'd ask the pros before I return it, get an iPhone, and have to eat my words about how cool Android is vs. iPhone in front of all my friends. I'm hoping there's a reliable ROM or app that can resolve this vs. having to just replace the device!
Thanks for your help!
I'm not the only one
I'm not the only one with this problem:
edit: I can't post links to androidforums.com or anywhere else, but this same problem is all over the interwebs and nobody has a solution.
I'm sure it's not my router as my ASUS tablet/laptops/girlfriend's iPhone experiences no connectivity problems. I'm thinking this is a hardware problem with some of these devices. I will unroot/reset to factory tonight and let you know what happens.
What channel is your router on? And what type is it A/B/G/N?
This is s known TW ICS bug, most likely kernel related. Almost everyone is having this issue and there is no fix until Samsung decides to repair it. There are quite a few posts similar to this one. If you're using XDA's search function, it's not very good. Try using Google next time and search XDA that way.
Sent from my SPH-D710 using Xparent ICS Tapatalk 2
Hey guys, thanks for the response. Just before I unrooted/reset to factory I tried one last solution--download an app called "Wifi Fixer". It has resolved a lot of these problems. It's not 100%, but after testing it for a day so far, I've only had to manually refresh the connection once or twice. It's a lot better, even liveable, and I won't be resetting to factory afterall, at least not until Samsung provides an update. So if anyone is having the same problem, try Wifi Fixer, hopefully it gives you a similar level of success...I'm not super happy about having to run another background process all the time, but it doesn't seem to affect battery, and the fix it provides is worth it to me.
Cheers!
Huh - a couple of things. Noticed this problem crept back in FF18 and didn't know why until I went back and checked the wpa_supplicant.conf that I'm using. The line ap_scan=2 was missing; after adding it back in the signal strength is back to full and stable.
I'll bump the thread but it appears the config changes here still hold after all:
http://forum.xda-developers.com/showthread.php?t=1569348
This should also avoid having the WiFi fixer there as you can specify the country in wpa_supplicant.conf manually.
Thanks for looking in to this! A couple questions from a noob like me though:
When you say the problem crept back in FF18 ... what does that mean? Is that something that exists in the "stock" version of the Epic 4G touch from Sprint?
The manual config file tweaks you're describing ... is that something I can perform myself?
Basically I'm wondering if it's "safe" to revert to stock in order to get consistent wifi signal, or if it's something I'm experiencing because of the ROM I'm using.
Thanks!

Tip for users on 4.2.1 with Wifi Problems

Long time lurker on the forums, but my first post. I apologize if this is the incorrect place to post, but I wanted to share my findings in the hopes that it'll help someone else having the same problem
Problem: After upgrading to CM10.1 (Android 4.2.1) on my Verizon GNex [Toro], I was having problems keeping a wifi connection.
It seems that Google has acknowledged there is a bug in the OS (Issue 40065 - can't post the link since I'm a posting n00b on XDA). The issue was logged for Nexus 4 and 7, but I believe it's the same problem.
I downloaded the Wifi Fix tool from the Play Store. As per the Help file, I went into my router settings and changed Preamble Mode to "Long Preamble". After the router rebooted, my Galaxy Nexus seems to be keeping the connection much better. Not sure that it's 100% fixed, but at this point I'll take any improvement over what I was experiencing before.
Like I said at the top, hope this helps others who may be having the same problem.
tchaikin said:
Long time lurker on the forums, but my first post. I apologize if this is the incorrect place to post, but I wanted to share my findings in the hopes that it'll help someone else having the same problem
Problem: After upgrading to CM10.1 (Android 4.2.1) on my Verizon GNex [Toro], I was having problems keeping a wifi connection.
It seems that Google has acknowledged there is a bug in the OS (Issue 40065 - can't post the link since I'm a posting n00b on XDA). The issue was logged for Nexus 4 and 7, but I believe it's the same problem.
I downloaded the Wifi Fix tool from the Play Store. As per the Help file, I went into my router settings and changed Preamble Mode to "Long Preamble". After the router rebooted, my Galaxy Nexus seems to be keeping the connection much better. Not sure that it's 100% fixed, but at this point I'll take any improvement over what I was experiencing before.
Like I said at the top, hope this helps others who may be having the same problem.
Click to expand...
Click to collapse
http://code.google.com/p/android/issues/detail?id=40065
Rebooting the router only works temporarily if you experience this issue. It will end up having a weak connection awhile after. I live with it.
It wasn't the rebooting that did it - it was going to Advanced Wireless Settings on the router, and changing the Preamble Mode to Long Preamble. Am hoping that it doesn't degrade after time like you said, but will post an update tomorrow whether it is still working well.
I live with it as well. Plus, i do not see anything about preamble settings on my router.

Data and WiFi Constantly Dropping

Both my data and WiFi have been acting very strange the past week. Both services will show me as connected but I will only get the upload arrow showing on each indicator and then sometimes the icons just go gray. It has been happening very often and I have changed both my ROM and kernel on clean installs and I still have the same issue. Any help would be appreciated.
Bump. Still have the problem.
Flashing back to stock should work
Posting your basics usually gets you better answers
Sent from my Galaxy Nexus using Tapatalk 2
czonin said:
Both my data and WiFi have been acting very strange the past week. Both services will show me as connected but I will only get the upload arrow showing on each indicator and then sometimes the icons just go gray. It has been happening very often and I have changed both my ROM and kernel on clean installs and I still have the same issue. Any help would be appreciated.
Click to expand...
Click to collapse
I started a thread here on a topic where my wifi and signal bars turn gray and the phone doesn't have data connectivity any more. sometimes this happens a dozen or more times a day and sometimes once or twice.
one response in that thread indicated that 4.2.2 made a positive impact on the problem.
I've been searching for a definite fix for this data/WiFi issue to no avail. I'm not entirely sure of when this issue began to occur but my phone (Toroplus) constantly loses WiFi signal. By losing signal I mean WiFi will turn off and on all by itself. And yes, WiFi sleep policy is set to stay on always. This issue alone made me go back to stock only to find the WiFi issue is present there too. I've also ruled out my router as the culprit. Im suspecting this is a Google issue. By the way, I talked to a sprint store employee who owned a galaxy nexus and after a few minutes of playing with his phone, which was completely stock and never rooted, I noticed his WiFi connection would turn off and on all by itself too. Any insight from anyone with knowledge to this would be appreciated.
Wi-Fi optimization off. If that does not fix it, I dunno.
Sent from my Galaxy Nexus using xda premium
Soldier 2.0 said:
Wi-Fi optimization off. If that does not fix it, I dunno.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Thanks for the suggestion but that doesn't fix it. Are you not having this issue? What's your setup? What ROM do you use? I've basically used all of them and it never goes away. I'm thinking of going to the HTC One when it's released just in case it's a Samsung issue.
I have also experienced this problem, especially at work where the network uses some WPA Enterprise variant. I've digged through logcats and can't find the problem either. A few Google Code forum posts talk about a possible bug introduced by network adapter manufacturers, or wpa_supplicant configuration issues. Haven't found a workaround yet, so I had to go back to 4.1.2, which seems to be stable.
More info here:
http://code.google.com/p/android/issues/detail?id=34212
http://code.google.com/p/android/issues/detail?id=40023
The more I read on this subject the more I come to realize this is not specific to a certain device. The only common denominator that jumps out at me is jellybean. Seems like the issue is with Google, not hardware. Sucks that such a basic feature is not reliable out of the box. At least now I can understand why my buddy calls Android "buggy". Hopefully this is fixed sometime in the near future.

[Q][Worked-around] Wifi not scanning on AOSP Roms

When I'm running an AOSP Rom, my Wifi only scans for networks after a fresh boot. Once it has connected to a network, no more scanning happens, no matter how often I tell it to. It's quite an annoyance when I have to reboot my phone every time I leave home and want to connect to a coffeeshop Wifi outside.
Once it is connected, there are not further issues - signal is good, no random disconnects or anything. Just no scanning.
Everything works fine on stock, and I've successfully tried ViperX with Sense 5, but all AOSP Roms I've been trying recently had this behavior - I have no idea what's causing it. Maybe it's an issue with the CM kernel (most Roms use some form or other of it)?
I really have no idea. Thought I'll post a question here while I go do some more troubleshooting of my own.
I also just grabbed a snippet of what I hope is the relevant part of the logs: https://paste.xinu.at/WO9zZ/
On second thought, maybe it's not AOSP based, but rather 4.3. I haven't spent much time on 4.2 with this phone, so I don't remember if the problem existed back then. If I don't find a solution, I will downgrade later to make sure.
Solved Somewhat... Not really. Worked-around maybe.
I rolled back to CM 10.1.2, and the problem went away. Seems like it wasn't AOSP causing the problem, but the new always-on feature in 4.3, which allows scanning for networks even though Wifi is switched off. I've done some searching, and other people on all kinds of devices have had problems with Wifi since this change was implemented.
Once I disabled this feature and toggled Wifi off/on once, the problem seems to be gone on CM 10.2. Not quite a proper solution, but I guess I can live with that for now, I don't really have the time, energy or experience to look into this further. Maybe somebody more enlightened than I has a proper solution.

Categories

Resources