[Q] CM11 WiFi doesn't connect - Galaxy S 4 Mini Q&A, Help & Troubleshooting

Hi there, my first post.
I've used arco68's guide to root my S4 mini LTE (serranoltexx) and flashed the CyanogenMod 11 M9 snapshot (cm-11-20140804-SNAPSHOT-M9-serranoltexx.zip), but the WiFi isn't working properly. Sometimes it connects (very rarely), but most of the time it just says "Connecting", "Authenticating..." and then goes back to say "Saved, secued with WPA" and the process repeats again.
I've tried flashing the following ROMs, but the WiFi isn't working properly on either of them:
cm-11-20140804-SNAPSHOT-M9-serranoltexx.zip (current)
cm-11-20140708-SNAPSHOT-M8-serranoltexx.zip
cm-11-20140813-NIGHTLY-serranoltexx.zip
Other things I've tried so far:
Using CM File Manager to delete contents of /data/misc/wifi and rebooting, as described here, but it didn't help.
Installed SQLite Debugger, went to Settings Storage > setttings.db > Global, where I wanted to change the value of wifi_display_on to 0 as described here, but it was already set to 0, so no luck here.
Changed the Region Code in WiFi settings (as described here) to United States, then to Europe, but this didn't help either.
Installed the latest nightly update, but still nothing.
Basically, I've tried everything I could find, but the WiFi still doesn't work, and I have no idea why. I don't want to downgrade to CM 10.2, since later when I decide to upgrade to CM 11, I'd need to wipe all the data and make a clean CM11 install. Also, I don't want to flash any other ROM except CM, so telling me to install Paranoid Android or anything else wouldn't help.
If you have any ideas how to solve this, that would be great! Also, feel free to ask for any additional details.
Update: I've just discovered that it connects to open WiFi networks without any problems (though I've only tried it on 2 so far), so probably WPA encryption or my old home router can be the cause of the problem. I can only change my home router to WPA (it doesn't work with WPA2), so I've yet to try it on another router supporting WPA2. If that works, it would solve the whole problem! I'm ashamed to say I haven't thought of this earlier...
Update 2: I just tested it on a WPA2-protected WiFi network and it connects without problems. The most likely conclusion seems that CM11 has some problem with WPA, so for the time being I'll switch to another router with WPA2. Hopefully gets fixed with the next snapshot!

Related

[Q] WIFI connects but no internet?

Today I updated my ROM from LeeDroid v2.5 to v3.0.8.2. I wiped my phone first. After this I rebooted, then rebooted again into recovery and installed the recommended radio (32.56.00.32U_5.17.05.08). Then I restored my apps+dat with Titanium back up and rebooted again.
It soon became apparent that whilst mobile internet was working fine, WIFI wasn't. While my phone will connect to the router it won't connect to the internet. If I enter the local IP of my router I can browse the settings fine. I tried "forgetting" the network and re-entering security code but this still didn't work.
I restored my v2.5 nandroid backup and the internet worked fine, the radio is still 32.56.00.32U_5.17.05.08.
So I did a fresh install of the v3.0.8.2 ROM and tried connecting to WIFI again and again the same problem.
So my question is, is this an inherent problem with the ROM, and if so why does no one else seem to have this problem, or is it a setting issue?
Any help would be much appreciated.
Also I tried changing the WIFI channel as suggested in another WIFI thread, and this didn't change anything. Except the WIFI channel obviously.
And I tried a static IP address and that didn't work either.
Ben81 said:
Today I updated my ROM from LeeDroid v2.5 to v3.0.8.2. I wiped my phone first. After this I rebooted, then rebooted again into recovery and installed the recommended radio (32.56.00.32U_5.17.05.08). Then I restored my apps+dat with Titanium back up and rebooted again.
It soon became apparent that whilst mobile internet was working fine, WIFI wasn't. While my phone will connect to the router it won't connect to the internet. If I enter the local IP of my router I can browse the settings fine. I tried "forgetting" the network and re-entering security code but this still didn't work.
I restored my v2.5 nandroid backup and the internet worked fine, the radio is still 32.56.00.32U_5.17.05.08.
So I did a fresh install of the v3.0.8.2 ROM and tried connecting to WIFI again and again the same problem.
So my question is, is this an inherent problem with the ROM, and if so why does no one else seem to have this problem, or is it a setting issue?
Any help would be much appreciated.
Also I tried changing the WIFI channel as suggested in another WIFI thread, and this didn't change anything. Except the WIFI channel obviously.
And I tried a static IP address and that didn't work either.
Click to expand...
Click to collapse
You try turning off router and putting back on again? I sometime's get that in my network.
Yes I tried turning my router off for a couple of minutes then switching it back on. Didn't change anything.
Ben81 said:
Yes I tried turning my router off for a couple of minutes then switching it back on. Didn't change anything.
Click to expand...
Click to collapse
Did you sort it?
I think you need to wait before the router give your router assign an ip for your phone, btw, some router donot fit all phone model
Yes thanks I managed to sort it today by following this thread
Apparently the fault is inherent to Android 2.3.3 and seems to present itself mainly with Thompson routers. It was a static IP I needed, I'd not entered the details properly the first time.
Thanks for the replies!
Ben81 said:
Yes thanks I managed to sort it today by following this thread
Apparently the fault is inherent to Android 2.3.3 and seems to present itself mainly with Thompson routers. It was a static IP I needed, I'd not entered the details properly the first time.
Thanks for the replies!
Click to expand...
Click to collapse
Thats good

[Q] Wifi problems

Wildfire with
ROM: CM 7.2
Kernel: 2.6.35.14-InfinityPlay
Radio: 3.35.20.16
For the last year wifi, after a short period of time i can't download, I mean, some times i connect, get into market for example and download/update, but after some time i can't, it's not a market problem because i can't download from anywhere, regardless the app, but i can browse normally(!), the problem is only in downloading. Even if i reset wifi, go in and out of airplane mode, restart the phone etc, the problem stays. Maybe if i try the next day it works ok. I dont know how it occurs or when and why, nor how/why/when it gets fixed...
The problem started when I had rompuzzle 2.2.1 a year before, till now. Since then I have flashed stock rom with 2.2.1, jockerdroid 4.2, cm 7.1, and cm 7.2 that i have now.
I suspect it is a radio problem, but can't be sure.
*Also sometimes I have low gsm signal, even in well covered areas.
Any ideas/suggestions?
Thanks
You said you flashed stock rom, i suppose it was a stock rom from Android?
It really looks like you have a problem with your radio (like you allready say for yourself).
It seems you have the newest one, so try a lower version.
I you have troubles finding a radio because the host is down or something just pm me or try google.
Hope this helped! Kind regards.
try radio 20.10
i have tried all 3 radios, but the problem stays. But i have noticed that when i enable tether and i put in the console the command for reverse tethering *usually* it gets fixed until the next time that i disconnect from my wi-fi.
i have not the same but similar problem,after a while i get dropped from router,even if my phone says its connected...this started to happen after changing our router (which i couldnt and cant set up) and setting up "N" wifi network...i found two options,how to solve it..
1)use free app wifi fixer from google play store (which somehow manages to know if you are connected or not and can automatically reassociate with router again)
or
2)flash HCDR.Kernel_v4_Flashable.zip from op on this page http://forum.xda-developers.com/showthread.php?t=798471
maybe it help, maybe not.. gl
I have *temporary* solved the problem by following the reverse tethering guide... I don't know why but after doing this procedure I can connect normally to my router, and if it disconnects (rarely) I just repeat the steps of the guide.

[Q] Couldn't enable Wi-Fi on latest G2 builds

Hello,
Tonight I tried two different ROMs on my T-Mobile G2 (USA) and experienced a very weird Wi-Fi unavailability issue in both out of the box. Wi-Fi is not active. I cannot turn it on. It's not that it can't find networks or died after an hour, it's as if the Wi-Fi module is missing to the OS from the moment the device booted. When I go to the settings menu, find Wi-Fi, and flip the toggle switch to ON, it immediately goes back to OFF. Rebooting does not help. Going to Airplane Mode and back does not help.
Some quick background:
My previous working build is Ice Cream Jibwich 2.0. (Link)
While rooting this phone, I followed directions for gfree, and did not get SuperCID, simlock-off, or S-OFF.
I use ClockworkMod Recovery. As of now I can recover to my Ice Cream Jibwich install with no problems.
Here's what happened on the ROMs I've tried:
CM9.1.0 (Link), Kernel 3.x., gapps-20120429-signed
Factory reset, clean install. There is no Wi-Fi as detailed above, and it doesn't even recognize my T-Mobile SIM.
So I try another ROM:
Andromadus Mimicry 1.5 (Link), gapps-20120429-signed
Factory reset, clean install. I did not install either EdKeys' WiFi Calling or the .19 Radio lib-RIL/GPS .so updater.
I do get mobile service this time. However, the Wi-Fi problem remains.
Since I can download something this time, I installed some diagnostics tools. Elixir2 reports that the Wi-Fi module is "unknown", its connection state is "uninitialized", and it thinks it's "ready to start data connection setup" in the Detailed State. logcat shows no errors that are relevant to Wi-Fi.
Dom's Diagnostic Tools has "Unknown" or "Not Available" for every category under Wi-Fi.
I have tried Wifix for Mimicry (Link), and I don't notice any improvement.
What am I missing, what can I look for, and what are my options? Your help is very appreciated, as I'm losing patience for Jibwich's lag and instability. I can live with it, but the people that I want to gift this phone to won't.
Thanks!
Just last week my DZ started to have a very similar (probably the same) issue. When I try to start wifi, the phone gets stuck at "Turning on Wi-Fi..." and never actually turns the wifi on. It started happening occasionally on EliteMod ICS but a reboot would often fix the issue. Eventually rebooting stopped fixing it however. I have since wiped the phone and flashed a new ROM (Andromadus Jelly Belly Beta 1), and the issue remains. The MAC address is shown as unavailable in phone status and when checking in Elixir, I see the same things that infinip sees.
I have read elsewhere on other forums for other phones that it may have something to do with a faulty modem file or something, but frankly I have no idea.
Czechton said:
I have read elsewhere on other forums for other phones that it may have something to do with a faulty modem file or something, but frankly I have no idea.
Click to expand...
Click to collapse
Sounds promising. Do you remember where?

[Q] SlimKat 4.4.4 and WiFi Reconnect issue

First, I've had this issue since Build 6.8. I was hoping a Clean Install using Philz Touch Recovery v6.48.4, which is the latest, and selected Wipe Data and select Clean to install new ROM which Formats /data, /cache, /system. I also wiped Dalvik.
Once completed I did the following:
Clean Install of Slim-d2lte-4.4.4.build.7.0-OFFICIAL-5979
I then installed
Slim_full_gapps.BETA.4.4.4.build.7.x-190
Rebooted and waited for SlimKat to boot-up. WiFi/Data both full scale. Everything Restored just fine and things are running smooth.
Then after running a few errands outside of WiFi Range, I returned home within WiFi range only to find out that WiFi had not reconnected. It tells a WiFi connection is available but will not reconnect to it. So I go into Setting and select WiFi and tried to manually reconnect. It says connecting and then goes back to Saved Connection without connecting. This same thing on other WiFi connections such as McDonald's or other open WiFi Connections.
I then do a re-boot and everything is back to normal. WiFi connects without issue and again things are fine and running smooth.
Every time I leave WiFi range and then return within WiFi range, the problem re-occurs. A Re-Boot and everything back to normal.
One thing I've always noticed when doing a Clean Install as stated above, all of my previously stored WiFi connection are still there. Same on Ringtone/Notification Tones.
With the problem I'm having, could it be something that is not being wiped/cleared out during the Clean Install process. Or wondering if it could be somehow that the WiFi Radio has gotten corrupted.
I have also tried different Kernels but again the result is the same.
Hope this is not too much of a noob question and I have searched about everything I can think of. Wondering if anyone has had this problem or have any ideas of what could cause the problem.
I really hope I can get this figured out. Thanks
If you don't have to manually reconnect and enter your password, then its not being wiped. (Or you are restoring it from a backup.) Have you tested it after the clean flash, but before restoring anything? What are you restoring and how?
It sounds like a Rom issue otherwise and you should probably ask in the rom thread.
DocHoliday77 said:
If you don't have to manually reconnect and enter your password, then its not being wiped. (Or you are restoring it from a backup.) Have you tested it after the clean flash, but before restoring anything? What are you restoring and how?
It sounds like a Rom issue otherwise and you should probably ask in the rom thread.
Click to expand...
Click to collapse
First I don't know what I've missed wiping. When I say restoring, I'm referring to letting Google re-downloading everything from the Play Store.
I know the WiFi radio are in a different location but like you, when I do a Clean Install by formatting /data /cache /system and wiping dalvik, I wasn't expecting all the stored WiFi connections to still be there, but they are.
Its possible its being restored by Google's backup, but I don't use it myself so I'm not certain about that. Its also possible the rom may save the config file elsewhere. Again though, I don't use cm/aosp based roms so I'm not too familiar with any of their specifics.
Next time you try a clean flash, do not sign into google during setup. Instead go straight to testing wifi to see if it still remembers the connections. Do you have it set to auto connect to any open networks? If so you might want to turn that off.
Have you searched or asked in the roms thread yet? It might be a known issue or something a few others have encountered and know how to fix.
DocHoliday77 said:
Its possible its being restored by Google's backup, but I don't use it myself so I'm not certain about that. Its also possible the rom may save the config file elsewhere. Again though, I don't use cm/aosp based roms so I'm not too familiar with any of their specifics.
Next time you try a clean flash, do not sign into google during setup. Instead go straight to testing wifi to see if it still remembers the connections. Do you have it set to auto connect to any open networks? If so you might want to turn that off.
Have you searched or asked in the roms thread yet? It might be a known issue or something a few others have encountered and know how to fix.
Click to expand...
Click to collapse
Ya I don't sign into Google at the initial start up after the flash because my WiFi is no able to connect. I will double check the auto connect feature. But I having this issue with other 4.4.4 ROMs also because I tired however on those ones I am amvle to toggle WiFi on but in advanced it has the region set to Europe and when I switch it to Canada it doesn't want to save the change

Trouble with DHCP for Wifi

I have never had an issue with any android phone connecting to Wifi, but since I just rooted my phone and installed Pure Nexus, I have not been able to connect to the WiFi at work with a DHCP connection. All other WiFi still works.
It seems this has been a long standing android bug, and there are some fixes out there which didn't work. I tried to delete the files in the data/misc/dhcp folder, but there wasn't anything in there. I also switched everything in the dchpcd folder to allow the owner, guests, and others to "execute. Didn't help.
I tried installing a new ROM (Chroma) and I'm still having the same issue. I tried installing a new kernel (Elemental) and I'm still having the same issue.
I installed CatLog, and with no background in programming it's a bit hard to tell what I'm looking at, but it seems like everything works until it gets to a "DCHP Broadcasting" or search or something, and then it just times out and recycles.
Does anyone know what to do?

Categories

Resources