[Q] Help with WiFi Disconnect - Android Q&A, Help & Troubleshooting

I need some assistance trying to narrow down what is causing my issue. I posted this in the TMobile SGS3 Q&A section but I wanted to post here to get more exposure and perhaps someone more knowledgeable can chime in. I believed this to be a AOSP JB kernel issue but I also tried CM9 on my phone and the problem persists.
For some reason my phone will randomly disconnect from my WiFi connection when running an AOSP rom. The actual WiFi service will remain on; I can see available networks but it will not reconnect to my saved AP unless I toggle WiFi off/on, and even then it will randomly disconnect again. The same thing happens with CM, and ALL CM-based roms. I have tried Faux, Imoseyon, Trinity, stock, and Ktoonsez kernels and none seemed to fix this issue.
Stock TW roms, both ICS and JB, keep my connection just fine. I also used the same CM nightly build on my GS3 and my Galaxy Nexus for testing purposes. The GS3 will lose connection while the GNex does not, so I figured it had something to do with the kernel since those are usually phone-specific.
As for the WiFi signal, I don't have any issues neither at work nor at home with TW-based roms. This only happens on AOSP. Any insight you guys have regarding this issue is appreciated. Thanks!
I ran a logcat but to be honest, I do not know what to make of it. would anyone happen to understand where my issue is?
Link to original thread

Infamous_Cheez said:
I need some assistance trying to narrow down what is causing my issue. I posted this in the TMobile SGS3 Q&A section but I wanted to post here to get more exposure and perhaps someone more knowledgeable can chime in. I believed this to be a AOSP JB kernel issue but I also tried CM9 on my phone and the problem persists.
For some reason my phone will randomly disconnect from my WiFi connection when running an AOSP rom. The actual WiFi service will remain on; I can see available networks but it will not reconnect to my saved AP unless I toggle WiFi off/on, and even then it will randomly disconnect again. The same thing happens with CM, and ALL CM-based roms. I have tried Faux, Imoseyon, Trinity, stock, and Ktoonsez kernels and none seemed to fix this issue.
Stock TW roms, both ICS and JB, keep my connection just fine. I also used the same CM nightly build on my GS3 and my Galaxy Nexus for testing purposes. The GS3 will lose connection while the GNex does not, so I figured it had something to do with the kernel since those are usually phone-specific.
As for the WiFi signal, I don't have any issues neither at work nor at home with TW-based roms. This only happens on AOSP. Any insight you guys have regarding this issue is appreciated. Thanks!
I ran a logcat but to be honest, I do not know what to make of it. would anyone happen to understand where my issue is?
Link to original thread
Click to expand...
Click to collapse
Are you using any kind of signal extender or an acess point? I've seen similar problems with android getting confused on wich point they need to connect, if the answer is yes try to turn off the extender before connecting to see if that's what's causing the issue. Unfortunatelly I don't have simple steps to solve this, it's all trial and error, turn off the devices individually and start connecting until you get an order that suits your phone.
Hope it helps!

Thanks for the input. I don't use either of those. The phone connects directly to the router. The router sits in the same room so signal is always strong and no other devices connected to the router have any issues. This is definitely a bummer because I would love to run AOSP as my daily driver. I will keep troubleshooting.
Sent from my SGH-T999 using Tapatalk 2

Related

WiFi dis(re)connection/dropout thread

My own experiences were as follows (on a wide variety of routers, both G and N, running anything from stock Linksys/Cisco to Tomato and DD-WRT, using no encryption or WPA2/AES):
- ALL stable CM7 releases: Completely unreliable. Would connect initially, maintain communication for maybe 1-2 minutes at best, then lose connectivity (although the icon would remain green)
- Beta 3.1: For the first time, WiFi was rock solid. Worked absolutely flawlessly.
- n86: WiFi broke again, in much the same (apparent) way as stable.
It would seem those with WiFi problems (all of us?) fall into one of two categories - those for whom WiFi worked great with the .32 kernel until n86 (that would be me, and from what I've read, several others), and those for whom WiFi *never* worked properly on .32 _until_ n86, who now work flawlessly.
Is this a reasonable assumption? If so, I would guess this change:
Don't renew the leases if mDhcpInfo.leaseDuration is not positive
actually made things better for some and worse for others.
Anyone else with thoughts on this? The inability to maintain connection long enough to even copy a few hundred meg video over Samba is frustrating to no end - especially when, for a brief but glorious time, it was perfect!
Rodney
I own two NC and one is on n86 and the other is running Phiremod 6.3 which is Cm7 based with zero wifi issues
I've seen one WiFi issue:
My WiFi graphic indicator would show only the lowest signal strength. I have no idea if the signal is that bad, or it's just a bug.
I've not seen any disconnect issues.
In fact, my Nook Color has been more reliable with WiFi than my iPad 2!
I've connected to public WiFi, WiFi routers running stock Netgear, Tomato, DD-WRT, etc. No issues.
I've mostly ran the CM7 nightlies. I've used a little of Phiremod and Stock, but by far the nightlies.
I have this problem currently on both of my nooks running n87. its been happening for me since .32. weird thing is, it only seems to happen on my wifi, when i go to work and connect its all fine, or if i steal my neighbors wifi its fine too. but if i connect to my home wifi, it connects for 1-2 mins, then disconnects me but still shows that im connected. i even replaced my netgear router on stock firmware(i did try updating it) to a linksys that im currently using dd-wrt on and its still happening.
Have you tried N86+ with the OC Kernel and WiFi update?
Homer
What is this "wifi update" you speak of?
WEP works every time for me. Anything WPA protected is hit or miss.
I have a NC running CM-N86 and no WiFi issues.
Also, I my coworker's NC running CM-N87 doesn't have any WiFi issues either...
1) I have been running CM7 since it has been available. I have not once seen problems with WIFI. At home I have a linksys WRT54G router running DD-WRT using WPA2.
2) you posted in the wrong area. This should be in the CM7 user thread or the general forum area.
mr_fosi said:
What is this "wifi update" you speak of?
Click to expand...
Click to collapse
i wasnt aware of a wifi update >.>
CM7 Nightly - NO issues with Wi-Fi. Use it everywhere Wi-Fi is available...
i actually only have issues when i'm connecting to wpa2 enterprise. after disconnecting and trying to reconnect, the credentials no longer work. i have to delete and recreate it every time.
i'm running nightly 87 w/ oc kernel on emmc.
No wifi issues here either. No matter what I connect to.
Also... this should be in general... not dev section...
Sent from my HTC Glacier using XDA App
mr_fosi said:
What is this "wifi update" you speak of?
Click to expand...
Click to collapse
How about here. You must push the system folder contents or flash.
Homer
Homer_S_xda said:
How about here. You must push the system folder contents or flash.
Homer
Click to expand...
Click to collapse
thats not a wifi update, its the OC kernel. and at the very least my issue occurs wether i have the oc kernel installed or not
Homer_S_xda said:
How about here.
Click to expand...
Click to collapse
Yeah, I'm running 5/23 and I still have wifi issues on my home router (D-Link with WPA2-PSK).
Oh well.
re: general vs. dev...I respectfully disagree. I submit there _was_ a change in behavior, in the negative, for some users beginning with n86...and that is most definitely a -development- concern.
Rodney
The issue relies in the type of security and if you are using Aes or tkip. I have confirm this changing my router settings. The problem is that if I get my setting for the nook, tgen I have to reboot the router almost daily for my phone to connect.
I'm on nightly-87, Dal's 1.2GHz OC Kernel 5/23, and I'm experiencing something very similar. I went from 7.0.2 to N87 without a hitch, but I immediately started to see the WiFi icon go gray and lose it's connection. I was forced to restart WiFi as a remedy. As of today I'm getting something closer to what you're talking about; when WiFi turns on, the nook will infinity cycle through: disconnected->connecting->disconnecting->scanning. I've wiped Cache, Delvik-cache many times to no avail. Also tried re-flashing N87 and the OC Kernel, which did not work. I'm still not able to connect to my home network(netgear, WPA). But, after enabling/disabling airplane mode, I was able to connect to my LG vortex and obtain the interbuttz.
The last time I did a fresh install was around N20 something. As far as possible causes to this erratic and ethereal bug, my money is on certain update paths for both the OS and Kernel having different remnants. Example: with 87 different experimental OS installs and, to a lesser degree, the three different stable OS installs. There are technically !90 different upgrade paths. Compounded by being paralleled by kernel installs, but I believe when a kernel is updated the former is completely replaced instead of merged. I'm not calling out the Dev's, it would be nearly impossible to foresee and head-off all of the permutations of merging 87+ releases.
I'm no expert, just my two-cents. I'm not really concerned about this as a long term bug. There are fine people hard at work, and unfortunately have far more pressing issues to contend with. It's a sad reality that community driven projects, notably the nook Color, rarely reach maturity or complete/efficient hardware-software integration before the allure and newness of a product wares off.
As a consumer of .rockbox, a Linux based OS for G5.5 ipods and below, Of which I've been using for years and years. And, I would say it's just now becoming 'perfect', even with it's lack of support for many peripheral devices. I'm long term with my gadgets.
I'm rambling now.
Hope this helps to narrow down symptoms and possible causes.
I love spending time on a post, just to realize after it was posted that I was typing in the wrong thread reply tab. Oh well. Que Sera, Sera.
I have the reverse experience of the OP.
I never had any problems with Wifi ever, until the .32 test builds, when Wifi would stop without notice, requiring a disconnect/connect. This caused me to go back to a .29 stable.
Perhaps what the OP is suggesting is that the change, that was reversed, should be a toggle/option, rather than changed and then changed back.

[Q] Wifi Disconnecting (GSB3.7)

I just got the thing and it came with GSB3.6 and it had SO many problems i put 3.7 on there and most where fixed, but my wifi disconnects every 15 seconds or so. any known fixes?
EDIT: Tried OMFGB, Same problem. i hope its fixable. someone help meeee
Check Settings, Wireless & networks, Wi-Fi settings, then tap Menu and Advanced. Change the 'sleep' policy (try "Never") and see if it continues disconnecting.
I would like to think that the default setting, "When screen turns off" does not kick in when there's an active connection...
I've used GSB v3.7 (Odex) with my WiFi without any problems.
Based on the fact that you observe the same symptoms with two different dev ROMs, I would suspect that the problem is either (a) your WiFi hardware, (b) your WiFi router, or (c) a software incompatibility between your WiFi router and the Eris' device driver (very similar from ROM to ROM).
You could try installing a completely stock ROM, for instance the
[ROM] HTC Eris March 2011 OTA Stock ROM - v2.41.605.6
(Note that although this ROM is "completely stock" and "not rooted", flashing it does not touch your recovery boot, so you treat it just like any other dev ROM).
Running this test - if you still experience the problem - will exonerate any Eris dev ROM, and you have a couple of options at that point:
- see if your WiFi router has a firmware update available (router firmwares contain bugs, too). I have experienced incompatibilities with the Eris which were solved by flashing WiFi routers to newer firmware.
If you try that and you still experience problems, you actually still won't know if the problem is (a) or (b) - but if you take your phone to a Starbucks or other place with a WiFi hotspot available, and you still experience problems of the same nature, then it is time to suspect that the problem is "(a)" - hardware trouble with your handset.
good luck
bftb0
I switched the router from duel band N to single channel G, and now i only disconnect every 45 minutes or so.
also i tried swapping routers to a diff one, and then my dads DX, his wifes Droid, nor my Eris, could connect at all, under any settings. so it seems Android has alot of issues with wifi? anyways, i still disconnect, but not enough to bother me. thanks for the replies!
as much as it might suck, you should try doing a full wipe of data/dalvik and see if it fixes the issue. i had gone from 2.4 or so up to 3.7 without doing a wipe, and eventually things started to happen (widgets would not show up for new programs). i did a full wipe and everything is working great now.
I also am having wifi issues, didn't have them til I put the gingerbread cyanogen rom on.
I will do some more trouble shooting today and see if I can narrow down some of the variables. I have a Buffalo router with WPA2 for security on it. Some have suggested the security, but then I've talked to others that have WPA2 set up and no problems.
The wifi was working previously, did a full wipe of data and dalvik when I installed. I am running 3.2 or something close to that, haven't upgraded to the most recent version yet.
SO. Theres my info. But I love the rom and won't get rid of it, even if it is the rom.
My husband is fine just running 3G.
i have a linksys wrt54g running ddwrt using wpa2 with no problems, gsb 3.7 on my eris.
Bunie89 said:
I switched the router from duel band N to single channel G, and now i only disconnect every 45 minutes or so.
also i tried swapping routers to a diff one, and then my dads DX, his wifes Droid, nor my Eris, could connect at all, under any settings. so it seems Android has alot of issues with wifi? anyways, i still disconnect, but not enough to bother me. thanks for the replies!
Click to expand...
Click to collapse
In general, WiFi compatibility from clients to APs is far worse than most people expect; I've experienced interop problems with all sorts of gear. It is hard to draw general conclusions, as the results you get are highly dependant on specific hardware models & firmware versions.
About the only generality that can be stated is this: the more bells and whistles you enable on the AP, the more likely it is you will experience a problem.
FWIW, my GSB 3.7 Odex Eris seems to work flawlessly with a Linksys WRT54G with WPA2. I think I have multiband (A/B/G) turned off in favor of G-only.
cheers
Bunie89 said:
so it seems Android has alot of issues with wifi?
Click to expand...
Click to collapse
I certainly wouldn't say that.
hallstevenson said:
I certainly wouldn't say that.
Click to expand...
Click to collapse
Yeah I wouldn't say that either. I've had my Inc for a year, never had any problems with it, and like I said before this rom, no problems with wifi.
I also have an android tablet. No problems with stock.
So clean install with 3.7, did data wipe and cache, first thing I did was try to get wifi going, all it does is scan. Entered my SSID and everything. Says it's not in range. Bah.

[Q] wifi hotspot/USB tethering issue?

Having this weird issue, that it seems a few others on all types of ROMs, rooted and stock, are having....
When I connect via wifi hotspot/USB tethering, the phone drops all data connection for a few seconds so it's limited connectivity, then picks it up again only for the same thing to happen a few seconds later again and again making it unusable
It's not even just limited to this phone from what I've seen but I can't find a fix anywhere, can anyone help? Running Resurrection Remix v1.9.1 ROM but I had this issue with previous ROMs too - was working fine on stock.
Was working fine on stock
Click to expand...
Click to collapse
That's you're answer,
ask in that particular ROM thread, remember though people will say they don't have issues, mostly might never used the functionality.
atifsh said:
That's you're answer,
ask in that particular ROM thread, remember though people will say they don't have issues, mostly might never used the functionality.
Click to expand...
Click to collapse
Tried other ROMs (AOKP and AOSP)/kernels too and it seems noone else who uses that function has that issue. However from searching it seems that people, even unrooted on stock ROMs, have this issue

[Q]Phone intermittently stops receiving texts and phone calls

Hi guys. I'm having a real hard time with my phone right now and I hope someone can help me.
First of all, my Note is still on ICS running the last stable build of CM9 (CM 9.1.0 to be exact) without any other kernel or radio modifications. I just performed a clean install of this the other day also. The problem I'm having is that the phone will literally be sitting next to me connected to my home wi-fi and it will fail to receive texts and phone calls. What I mean by that is, my girlfriend will be trying to text me but nothing will come through on my phone for up to an hour. Then at some random time, all the so-called pending SMS will finally display on my phone all with the same time-stamp. Similarly, if someone tries to call me, I will have no notification of this until way after the fact when the voicemail symbol appears (that's IF a message was left).
Now, to me, this seams to be happening at completely random times and I have not been able to pinpoint what's causing it. Before, I used to think it happened after a prolonged time of having the phone on silent and non-use. But just last night the problem happened again when this was not a factor.
A few other notes:
Only seems to happen at home where I am connected to wi-fi. And frankly, I don't travel enough to test my phone anywhere else. While at home my signal strength on AT&T fluctuated between 0-1 bar up to 3 bars. Kinda strange, I know.
Before switching to the CM 9.1.0 rom, I was using CM9-Kang h0tsauce "9" 20120817 *reborn* for quite some time. I experienced the problem with that rom as well but it didn't seem to happen as much.
Rebooting the phone seems to help. When I do this, it seems to push everything through and allows me to be able to receive new messages instantly. Obviously, though, this is not a good work-around since I have no idea when the problem will show up.
So.... anyone know what's going on here? Hardware/software/network problem? I've done some searching but couldn't really find this issue discussed anywhere else. Any help is greatly appreciated.
kevindena said:
Hi guys. I'm having a real hard time with my phone right now and I hope someone can help me.
First of all, my Note is still on ICS running the last stable build of CM9 (CM 9.1.0 to be exact) without any other kernel or radio modifications. I just performed a clean install of this the other day also. The problem I'm having is that the phone will literally be sitting next to me connected to my home wi-fi and it will fail to receive texts and phone calls. What I mean by that is, my girlfriend will be trying to text me but nothing will come through on my phone for up to an hour. Then at some random time, all the so-called pending SMS will finally display on my phone all with the same time-stamp. Similarly, if someone tries to call me, I will have no notification of this until way after the fact when the voicemail symbol appears (that's IF a message was left).
Now, to me, this seams to be happening at completely random times and I have not been able to pinpoint what's causing it. Before, I used to think it happened after a prolonged time of having the phone on silent and non-use. But just last night the problem happened again when this was not a factor.
A few other notes:
Only seems to happen at home where I am connected to wi-fi. And frankly, I don't travel enough to test my phone anywhere else. While at home my signal strength on AT&T fluctuated between 0-1 bar up to 3 bars. Kinda strange, I know.
Before switching to the CM 9.1.0 rom, I was using CM9-Kang h0tsauce "9" 20120817 *reborn* for quite some time. I experienced the problem with that rom as well but it didn't seem to happen as much.
Rebooting the phone seems to help. When I do this, it seems to push everything through and allows me to be able to receive new messages instantly. Obviously, though, this is not a good work-around since I have no idea when the problem will show up.
So.... anyone know what's going on here? Hardware/software/network problem? I've done some searching but couldn't really find this issue discussed anywhere else. Any help is greatly appreciated.
Click to expand...
Click to collapse
I have been having the same problems as you on a Blackstar X and Flapjaxxx's ICS build 12. I talked to AT&T a couple of times and they reconnected me to the network which has helped a little, but I still get missed texts and calls, but not as often. I have no idea how to fix the issue. Hopefully, somebody out there does.
Sounds like to me that you have a very bad signal. In case you didn't know, texts go through the phone signal and not wifi. The wifi connection is just a coincidence since you never leave home and are always connected to wifi. Going somewhere with a better signal would help clarify this.
There are apps on Google Play that restore your network when it goes down. Possibly they may help you.
Agoattamer said:
Sounds like to me that you have a very bad signal. In case you didn't know, texts go through the phone signal and not wifi. The wifi connection is just a coincidence since you never leave home and are always connected to wifi. Going somewhere with a better signal would help clarify this.
There are apps on Google Play that restore your network when it goes down. Possibly they may help you.
Click to expand...
Click to collapse
Thank you for your answer.
I will try one of these apps that restores the network. Fingers crossed!
Also ..
AOSP ICS builds are known to fail phone operation...
Not always, and not on every device.
I pulled CM9 yesterday for this very reason...
And it appears you are having the issue as Well...
Revert to a non AOSP build to test..
Mine is working fine now on UCLF6 ICS .......g
gregsarg said:
Also ..
AOSP ICS builds are known to fail phone operation...
Not always, and not on every device.
I pulled CM9 yesterday for this very reason...
And it appears you are having the issue as Well...
Revert to a non AOSP build to test..
Mine is working fine now on UCLF6 ICS .......g
Click to expand...
Click to collapse
Thank you, thank you, thank you!! I will test this as well.
gregsarg said:
Also ..
AOSP ICS builds are known to fail phone operation...
Not always, and not on every device.
I pulled CM9 yesterday for this very reason...
And it appears you are having the issue as Well...
Revert to a non AOSP build to test..
Mine is working fine now on UCLF6 ICS .......g
Click to expand...
Click to collapse
I started having this issue with my One X. Git a replacement and had the same issue. Now on my note I have the same issue. It's only at home though and I'm on wifi. Started on BlackStar X now I'm on FJ AOSPxxx JB. Seems to happen more. Think I might go back to BlackStar. Didn't happen as much
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
Also ..if going back to blackstar ...
The older version is UCLF6 ...And the newer version comes from the N7005 device base .....
Not that it makes much difference, but the older version will likely give you the same results as FJ's UCLF6 builds.....
You may want to try the newer version first ...g
Edit: the older builds allow the use of FJ's 3.0.2 kernels....the newer base will not.

[Q] EVO LTE Wifi not disconnecting with bluetooth on

Very first post here at XDA....been lurking for a LONG time and am by no means a noob on Android (or tech in general).
I've been following this thread - http://forum.xda-developers.com/showthread.php?t=2411277&highlight=apn - as well as related threads and have discovered an issue that I'd like to discuss...but since that's a development thread and I haven't posted anything before I gotta start here (unless someone can remove the 10 post limit for me).
Running the latest build of Decks unofficial CM nightly and having issues where my wifi won't disconnect even when going out of ran of the currently connected access point. After a weeks worth of wiping roms and reloading various versions and testing, I believe I have it narrowed down to being caused by my Bluetooth. It seems that if Bluetooth is on, the wifi won't disconnect. One outside the wifi area, if I turn off Bluetooth the wifi will disconnect within a second or so. As long as I leave Bluetooth off I don't have the issue. I'm using Tasker at the moment to only turn on Bluetooth in the situations that I choose, but would still like to contribute if possible to helping solve this issue.
Has anyone ran into this before? I've searched google as well as XDA and not finding this specific situation (yet). I'm willing to contribute a logcat if needed, or can try anything else that is suggested. I've flashed back to stock rooted and various versions of other EVO roms and only seem to be having it on the CM10.2 roms (maybe CM10.1, but would have to go back and test before I'd stand by that).
Let the thrashing begin .....just take it easy!!!

Categories

Resources