Intermittent WiFi Stability on AOSP - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

Hey everyone, just came over here from the HTC One X ( AT&T ) forums, smashed the screen on it and used an upgrade to get an AT&T SGS3, loving it so far. Had it rooted and custom recovery, and was on a custom ROM not even an hour after getting home. Anyway, onto the main part of this post.
I tried CM10 ( the 11/01 and 11/02 nightlies), both of the AOKP, and LiquidSmooth, and on all of them, my WiFi stability is not there. It seems to disconnect at random, if connect at all, and when i walk out of range of the router, and then come back, it will not automatically reconnect until i go into airplane mode. Trying to turn WiFi itself off and back on does not work - it won't turn off/back on, it sticks at what it was at.
TouchWiz ROMs, everything works just fine. I'm pretty sure it was working on MIUI as well, but i didnt have MIUI on there long enough to properly test it.
I am using the UCLH9 radio, since AFTER searching the forums pretty in-depth, i found that all radios prior to UCLH9 had wifi driver issues. Flashing this new radio did NOT fix the issue.
I have tried both stock CM10 kernel AND Ktoonsez's kernel (which is pretty freakin awesome, btw! :good: ) and still have WiFi problems.
I have tried flashing ROMs through both TWRP and CWM Recoveries, and have done a full wip of /system /data /cache and /dalvik-cache 3 times each before flashing a ROM.
I'm a pretty competent at flashing ROMs and troubleshooting problems, I am a pretty well-known beta-tester for multiple Sense and AOSP ROMs over at the One X forums, and I have a very good knowledge of how to work ADB and Fastboot. I've been around XDA for a little while, and I know the way of things around here. (don't want you guys thinking im just another a$$hole that threw a post up the second a problem occurred without doing some research first!)
If anyone has ANY ideas as to what may be causing the wifi drivers to crash, PLEASE fill me in.

I've tried all the same things you have and have had no success. The best wifi stability I got was the AOKP_d2att milestone1 w/ lean kernel combination, but wifi would stay connected for 3-5 minutes as opposed to 30 seconds.
I briefly tried CM9, but that still had wifi issues. I might try a few other ICS roms
I came across these threads that documented the problem across other phones:
code.google.com/p/android/issues/detail?id=34942
code.google.com/p/android/issues/detail?id=36993
I've decided that I'm stuck with ICS until the official JB comes out.
Avram

awalts said:
I've tried all the same things you have and have had no success. The best wifi stability I got was the AOKP_d2att milestone1 w/ lean kernel combination, but wifi would stay connected for 3-5 minutes as opposed to 30 seconds.
I briefly tried CM9, but that still had wifi issues. I might try a few other ICS roms
I came across these threads that documented the problem across other phones:
code.google.com/p/android/issues/detail?id=34942
code.google.com/p/android/issues/detail?id=36993
I've decided that I'm stuck with ICS until the official JB comes out.
Avram
Click to expand...
Click to collapse
Well, I flashed Intergalactic, which is a modded Stock ICS TW ROM based on the AT&T firmware. Shortly after, I reinstalled TWRP recovery and flashed task's AOKP with ktoonsez's kernel, and WiFi works!
This is similar to an issue we had several weeks back with CM10 based ROMs on the HTC One X, you couldn't get LTE unless you flashed a ROM based on Android 4.0.3, it was something with CM10 obviously, because it was fixed in one of the October nightlies iirc.
Try flashing intergalactic and then task and ktoonsez aokp and see if your WiFi is working and let me know
Sent from my SGH-I747 using Tapatalk 2

Nope, no luck this way either.
Wifi under Intergalactic works fine.
TWRP flash AOKP milestone 1 alone, with the ktoonsez kernel, or with lean kernal and my wifi still hangs after ~1 minute of inactivity. The phone grinds to a halt. If you can get to the settings, it says that I am connected to my router, but shows no signal bars. If you can then turn wifi off, the phone un-freezes, and (except for no wifi access), the phone is back to normal. If you now turn wifi back on, it stays up for another minute or two and goes down again.
I'm open to any other suggestions.
Thanks though
Avram

i am using task and ktoonsez rom....when i first installed it, i noticed wifi dropping, it was annoying.
kinda dont happen anymore. The only 2 things i can think of that might have helped me is; i flashed a new modem i747MVLLE8(I'm with rogers), and under Wi-fi(menu/advanced), i unchecked poor connections.
also my router is 2.4ghz and 5ghz band, but i am connected to the 2.4ghz band.
hope it helps somehow.

I had horrible dropouts and speed with my last WiFi router. I forget the name/model but it was a new model (released this year) that had great reviews.
I went back to my old router and all my wifi problems disappeared.
I do get dropouts once in awhile still. But I haven't done a clean ROM install in awhile.

Related

Help with WiFi Disconnect

I need some assistance trying to narrow down what is causing my issue. I posted this in the LiquidSmooth thread but I wanted to post here to get more exposure and perhaps someone more knowledgeable can chime in. I believed this to be a JB kernel issue but I also tried CM9 on my phone and the problem persists.
Yes, for some reason my phone will randomly disconnect from my WiFi connection. 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!
Click to expand...
Click to collapse
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?

[SOLVED] WiFi Can't Obtain IP Address on AOKP

Hello, I've been having a problem with wifi on all new 4.2 roms over the last week or so. For an unknown reason, I can connect with phone data but attempts to get on wifi have been mostly unsuccessful. WiFi just says "obtaining IP address" but eventually times out and starts authenticating again. I have tried wiping everything with 3 different roms and now I'm on Tasks AOKP rom (12/23 with stock kernel) and having the same problem. I've tried all available Canadian modems with the same results (data is best for me on LLH1 though). If I switch back to CM10 (12/16) my wifi works perfectly.
I can get wifi if I mash the on off a few times as it usually causes a force reboot and when it boots I get wifi about 50% of the time. Attempts to modify router settings and reboot my hardware have been futile.
Anyway, I'm hoping one of you is interested enough to peruse the log I saved using "wlan" as a filter. I don't know if that's the best filter but it seemed to show the gist of it. Thank you in advance!
http://db.tt/Q2YwDJvU
Sent from my SGH-I747M on Bell using Tapatalk 2
I'm having the same issue task aokp 12/23. Also, if I try to toggle the wifi in the settings screen, it reboots the phone.
However you might try to do this. This morning, I flashed the 12/23 kernal found in task's op. I can toggle wifi on/off now without issue. But i'm not anywhere near wifi to check if it connects.
I found WiFi at target and I'm posting from it. It connected right away.
So, flashing the kernel alone after flashing the ROM, fixed my problem
If you were having the same problem as me, I have to wonder if disconnecting and attempting to reconnect will work.
I downloaded tasks 12/23 underwear kernel, booted to recovery, wiped cache/davlik, flashed only kernel, wiped cache/davlik and rebooted. Tried toggling wifi a dozen times, phone crashed, rebooted, still can't get IP. I imagine that if I play with it long enough I'll get wifi back temporarily, but I use wifi more than data so I'd like it to work better if it can.
Sent from my SGH-I747M on Bell using Tapatalk 2
Back at home, I can't connect to wifi.
Edit. randomly tried it again, and it connected instantly.
Yeah. I've spent a lot of time troubleshooting router settings (channels, signal type etc) and have thought on several occasions that I had fixed it, but shortly after found that it was a one time connect. I have a spare router in storage that I'm going to try, soon, and that should help me decide if it's a router problem or a JB issue.
Sent from my SGH-I747M on Bell using Tapatalk 2
Well, no need to play with the router I have managed to obtain flawless wifi, but not on Tasks rom. The 12/27 illusion rom works great, but I can't get mobile data working on it. I switched back to tasks with hope that a future update sets the wifi straight.
Sent from my SGH-I747M on Bell using Tapatalk 2
I tried the official CM10.1 12/28 nightly this morning and quickly discovered that wifi was working great. I was able to turn it on/off multiple times and reboot without issue. I flashed a different Canadian modem and reflashed tasks AOKP rom (no kernel, no gapps) and wifi was broken again. That logcat makes me think it's something to do with how the rom is handling DHCP requests, but I'm a noob and hardly know anything about any of this stuff.
A nan restore to my AOKP rom got all my stuff back, but it's takes me a solid 30 minutes to get wifi connected.
Sent from my SGH-I747M on Bell using Tapatalk 2
I updated to tasks AOKP 1/1/13 and my wifi is working perfectly! I considered switching back to 12/12/23 to see if it was the build, but who cares?!
This issue is resolved.
Sent from my SGH-I747M on Bell using Tapatalk 2

[Q] losing wifi connectivity- full bars but all gray

so, I've read around here on the XDA forum about problems with wifi connectivity where we have full bars for wifi but they are gray and you are not getting out. many describe my situation but I've not seen any real solutions...
my problem is that I can connect to my wifi router without issue but then a random amount of time later, sometimes fairly quickly and sometimes it's hours later, I will pick up the phone and see full bars but they are gray and I'm not getting out. I can try opening a terminal window and pinging the gateway/dns servers and can't even reach the gateway.
things I have tried:
- turned off MAC filtering on the wifi AP
- switched from a 5 GHZ wifi on the AP to 2.4 GHZ net on the AP and vice versa
- manually set the phone wifi preference to one or the other (5 or 2.4)
- battery pull on the phone
- delete network settings for my AP and reconfigure
I have not yet tried a static IP config on the phone but I can easily try that... {edited to add} well, I tried static config and that didn't help at all...
one other tidbit of info, I have a work Blackberry with wifi and it never loses wifi connectivity so this is a problem unique to my Nexus.
I'm running Cyanogen 10.0.0-toro and no, I haven't tried a full wipe and reload yet.
thoughts or suggestions?
I'm not trying to threadjack here, but I just wanted to share my experiences.
I've been have the exact same thing happen to my phone (Nexus maguro). I've tried every JB rom I could find, several different kernels and my wifi eventually always goes grey on me. All network activities stop. I'm back on stock everything right now and it still happens.
It happens on my home wifi as well as work wifi.
I'm about to puttstock ICS on my phone and try that out for a couple days.
Anyway, good luck with your problems, i'm going to follow this thread in hopes you'll get a solution that may help me.
If I do figure anything out i'll post back.
jrmacarthur said:
I'm not trying to threadjack here, but I just wanted to share my experiences.
I've been have the exact same thing happen to my phone (Nexus maguro). I've tried every JB rom I could find, several different kernels and my wifi eventually always goes grey on me. All network activities stop. I'm back on stock everything right now and it still happens.
It happens on my home wifi as well as work wifi.
I'm about to puttstock ICS on my phone and try that out for a couple days.
Anyway, good luck with your problems, i'm going to follow this thread in hopes you'll get a solution that may help me.
If I do figure anything out i'll post back.
Click to expand...
Click to collapse
seems that this is a topic that has been posted on a bit over time with no real single culprit or fix. I'll post back if I figure anything out... I know in the Cyanogen thread, I saw info that stated that the MAC address of the phone was changing and I'm going to try and determine if that is happening to mine.
I have the same issue. Sometimes even when i pick up the phone, if i look fast enough i see that the Wi-Fi bars weren't even there! Thats only 1 out of 5 times though. The other time its usually just grey bars. Sometimes it actually will click back and they'll flash to blue and grey 2-3 times and then go solid blue. Then sometimes like you, they'll stay grey. I've tried everything too...reverting to stock, Different kernels, ROMs, routers, static IP, 2.4 or 5ghz, full auto mode. The only fix that makes it a little more reliable, is using Wi-Fi PM Fast. But even that, is not reliable. I'd say its about 50% reliable then, for a huge sacrfice in battery life. For me i've noticed this started to happen with 4.2. Before that i never had a problem. All other devices though no problem. My Nexus 7 is just fine. But the galaxy nexus, no matter what router or where i am, the Wi-Fi is totally unreliable. For me, it happens within 2 minutes that it will disconnect most times. Then 1 in 10 times it'll be fine for 10 hours.
In all honesty, i've given up. Just come to deal with it. Use mobile networks when i'm not needing to download. I can download files and stream music just fine too. If there is traffic going through, it never disconnects. But when its just sitting there without traffic, it disconnects, or, loses connection to google servers i should say.
well that's not good to hear...
I installed stock 4.0.4 a couple days ago and have not had my wifi go grey on me yet.
Sent from my Galaxy Nexus using Tapatalk 2
jrmacarthur said:
I installed stock 4.0.4 a couple days ago and have not had my wifi go grey on me yet.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
yeah, I love Cyanogen so not willing to go back to stock... waiting for them to finish 10.1 and I guess I'll see how it behaves then.
Hi all,
Just to say that I have the same problem. I have been upgraded from ICS to 4.2 and nothing had happened but I had to downgrade to 4.1.1 (AOKP Build 4) due to other issues and after that I started notice the WiFi problem.
At first I thought it was when the screen went off, but I has happened with screen on too. I have to turn WiFi off and the back on to connect properly again, very annoying.
As I said I started noticing this after I downgraded, but then again, I had used AOKP 4.1.1 before without this issue. I think that it is time to change my phone :/
tgeery said:
so, I've read around here on the XDA forum about problems with wifi connectivity where we have full bars for wifi but they are gray and you are not getting out. many describe my situation but I've not seen any real solutions...
my problem is that I can connect to my wifi router without issue but then a random amount of time later, sometimes fairly quickly and sometimes it's hours later, I will pick up the phone and see full bars but they are gray and I'm not getting out. I can try opening a terminal window and pinging the gateway/dns servers and can't even reach the gateway.
things I have tried:
- turned off MAC filtering on the wifi AP
- switched from a 5 GHZ wifi on the AP to 2.4 GHZ net on the AP and vice versa
- manually set the phone wifi preference to one or the other (5 or 2.4)
- battery pull on the phone
- delete network settings for my AP and reconfigure
I have not yet tried a static IP config on the phone but I can easily try that... {edited to add} well, I tried static config and that didn't help at all...
one other tidbit of info, I have a work Blackberry with wifi and it never loses wifi connectivity so this is a problem unique to my Nexus.
I'm running Cyanogen 10.0.0-toro and no, I haven't tried a full wipe and reload yet.
thoughts or suggestions?
Click to expand...
Click to collapse
I'm on Muzzy 4.2.2 and I'm currently having the same problem. It's not a new problem since I remember having it months ago (disabled my phone's WiFi because I kept missing emails and other notifications - grew tired of dealing with it). I thought it was my router, so I swapped it with a newer one recently, but it carried forward (old router was TRENDnet Draft N and the new one is ASUS RT-N66U).
I would like to know how to properly troubleshoot this problem.
I'm glad I didnt have to create a thread for this. I have been facing this problem quite a lot. I can confirm that WiFi works absolutely fine until 4.1.2, whether it is stock or CM10 (I havent tried the other ROMs yet). I have faced this problem only from 4.2. It still exists on 4.2.2. Happens on all the ROMs I have tried till now including CM10.1 nightly as well as the stock factory image.
When the phone is sleeping, it seems to lose WiFi connectivity and when woken up, the WiFi bars is grey though it is full. If I am very lucky, it will turn blue automatically. Most of the times, I have to switch WiFi off and back on for it to connect properly.
Anyone knows the root cause for this? In case this has been discussed in any other thread?
subhramani said:
I'm glad I didnt have to create a thread for this. I have been facing this problem quite a lot. I can confirm that WiFi works absolutely fine until 4.1.2, whether it is stock or CM10 (I havent tried the other ROMs yet). I have faced this problem only from 4.2. It still exists on 4.2.2. Happens on all the ROMs I have tried till now including CM10.1 nightly as well as the stock factory image.
When the phone is sleeping, it seems to lose WiFi connectivity and when woken up, the WiFi bars is grey though it is full. If I am very lucky, it will turn blue automatically. Most of the times, I have to switch WiFi off and back on for it to connect properly.
Anyone knows the root cause for this? In case this has been discussed in any other thread?
Click to expand...
Click to collapse
have you posted this information over in any of the threads where the developers are working such as Cyanogen in an effort to bring this issue to the forefront for more visibility?
I have had those wifi problems with every android version and rom I had on my GNex as far as I can remember.
Sometimes it will be able to reconnect but sometimes I have to disable and re-enable wifi to get it back.
I too thought that it might have been my crappy router as I have had multiple problems with it over the years (some Linksys router).
This is really annoying because it won't receive any e-mails until I randomly decide to have a look at my phone. :/
Fabur87 said:
I have had those wifi problems with every android version and rom I had on my GNex as far as I can remember.
Sometimes it will be able to reconnect but sometimes I have to disable and re-enable wifi to get it back.
I too thought that it might have been my crappy router as I have had multiple problems with it over the years (some Linksys router).
This is really annoying because it won't receive any e-mails until I randomly decide to have a look at my phone. :/
Click to expand...
Click to collapse
trust me, I understand your frustration... some days, I can go almost all day without loosing wifi data throughput and other days it won't last 10 minutes without going to gray bars.
unfortunately, no one is sharing any fixes which tells me that no one has a good handle on the problem.
Same issue for me on stock Android 4.2.2. Leave WiFi on overnight and when I wake up its connected to WiFi but gray bars...
Sent from my Galaxy Nexus using xda premium
The update to 4.2.2 drivers have fixed all WiFi issues for me. For the first time since 4.1 I can now use WiFi optimization now. And WiFi is fully reliable.
tgeery said:
so, I've read around here on the XDA forum about problems with wifi connectivity where we have full bars for wifi but they are gray and you are not getting out. many describe my situation but I've not seen any real solutions...
my problem is that I can connect to my wifi router without issue but then a random amount of time later, sometimes fairly quickly and sometimes it's hours later, I will pick up the phone and see full bars but they are gray and I'm not getting out. I can try opening a terminal window and pinging the gateway/dns servers and can't even reach the gateway.
things I have tried:
- turned off MAC filtering on the wifi AP
- switched from a 5 GHZ wifi on the AP to 2.4 GHZ net on the AP and vice versa
- manually set the phone wifi preference to one or the other (5 or 2.4)
- battery pull on the phone
- delete network settings for my AP and reconfigure
I have not yet tried a static IP config on the phone but I can easily try that... {edited to add} well, I tried static config and that didn't help at all...
one other tidbit of info, I have a work Blackberry with wifi and it never loses wifi connectivity so this is a problem unique to my Nexus.
I'm running Cyanogen 10.0.0-toro and no, I haven't tried a full wipe and reload yet.
thoughts or suggestions?
Click to expand...
Click to collapse
same thing happened to me on toroplus sourcery 5.1, after trying everything i could think of and talking to one of the devs, i finally did a fresh download of rom and gapps. wiped cache,wiped dalvik, factory reset, wipe system, deleted android folder off of storage then installed the fresh download of rom and gapps and its been working great for me since. hope this helps.
M3drvr said:
The update to 4.2.2 drivers have fixed all WiFi issues for me. For the first time since 4.1 I can now use WiFi optimization now. And WiFi is fully reliable.
Click to expand...
Click to collapse
Can you elaborate on this? I've flashed 5 different modems and still get this problem... it happens to my cell service bars, as well. Would love to know what the cause is.
aqcon said:
Can you elaborate on this? I've flashed 5 different modems and still get this problem... it happens to my cell service bars, as well. Would love to know what the cause is.
Click to expand...
Click to collapse
i just know ever since moving to a 4.2.2 kernel that has the 4.2.2 drivers my wifi has been stable. I know there was a post in the anarkia thread with the ak kernel that had the drivers. but i believe most any 4.2.2 kernel would have them implemented. i do have the newest bootloader and radio too. but i know as soon add i got the 4.2.2 drivers all issues were resolved wifi wise. of course i think if you have a 4.2.2 kennel you'll have them.
M3drvr said:
The update to 4.2.2 drivers have fixed all WiFi issues for me. For the first time since 4.1 I can now use WiFi optimization now. And WiFi is fully reliable.
Click to expand...
Click to collapse
I'm looking forward to that update - I've been watching the Cyanogen threads for when I think the 10.1 has matured enough to become my daily driver... good to know you've had positive results!
Temporary solution
me facing same issues , Solution would be to use an app called wifi fixer by zanish-g1 from the play store ...
it worked for me !! :good:

WiFi behaving erratically

Hey Guys,
lately my wifi is been acting strange, I have full signal when the phone is idle but the minute I start using it the signal drops to a 1-2 bars or just that dot.
There are times it just disconnects from WiFi and connects after a brief moment with full signal. I am noticing this behavior when I do something WiFi intense. How can I get to the root of this problem?
I am currently rooted, running MMuzzy ROM with Trinity kernel. (I tried stock kernel too and it acted the same)
Any help appreciated.
Thanks
Have you installed the latest radio? :S might be best to do a clean install (google image)
edit: You should try with different kernels aswell it might be possible that trinity isn't acting well with your phone not that i'm bad mouthing trinity .
I'm on the latest radio, I tried various kernels and they all act the same.
I'll have to give Google's image a go.
Sent from my Galaxy Nexus using xda app-developers app
Remember to backup everything hope it goes well,
So it went well?

[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