[Q] Wifi keeps forgetting passwords - Nexus 4 Q&A, Help & Troubleshooting

Hi
Since a few weeks now my phone just "forgets" the passwords of networks I just connected with. This happens when I turn off/on my wifi in the settings or after a reboot. I'm on stock 4.3 and rooted. I already checked the wpa_supplicant.conf file and what I found out there is that everytime I connected to a network it put it in the file just fine, but the wifi settings don't seem to read it all back or something. In the file there are often copies of the same network and password (only different priority) that appear when I have to re-enter a password again. I also tried to delete the copies so that there's only one for each network but still, the settings don't seem to recognize it.
Thanks alot in advance

No one ever faced this problem again? Btw I do have a lot of networks saved in there, is there a limit or something?
Sent from my Nexus 4 using xda premium

After a 139 views and not a single reply I found a possible solution myself: https://play.google.com/store/apps/details?id=com.brilliapps.wifiandmorefixer
This app kinda fixed the problem for now, (all the wifi networks in the file show up in the settings). I hope it'll continue working like this. I'll inform you later if it still works (for those who have the same problem as I had and also couldn't find anything useful on the Internet)
Sent from my Nexus 4 using xda premium

I've the same problem, but it seems it will"forgot" password only with some kind of WiFi........maybe in presence of a WPS key! I'm not so sure, but had happened only with this kind of protection!
Nexus 4 on the roll!!!!

Hmm, I think that's not it, the settings 'forgot' also some wifi networks that didn't have wps... But is your problem solved right now? Otherwise I would recommend that app! You just have to make sure you backup the conf file!
Sent from my Nexus 4 using xda premium

I don't know at all, actually I've not known WiFi connection and u can't test! I'll update as soon as possible my experience!
Nexus 4 on the roll!!!!

Nope , it still doesn't work, I filled in 2 wifi networks today, they're both in the config file, but the don't show up in the settings...
Sent from my Nexus 4 using xda premium

OK, another fixing app https://play.google.com/store/apps/details?id=com.ryanamaral.wifi.passwords
If you launch this app and don't press the refresh button all the stored networks should be visible (in my case 86, where the settings only show about 80). Backup all your networks with the app, fix wifi (this deletes it all) and restore your backup with method 2. All the networks should now be visible in the settings.
Sent from my Nexus 4 using xda premium

Hi there!
The second app work fine for me, all WiFi networks are now visible and working fine!
Thanks for the app suggestion, great!!!!
Nexus 4 on the roll!!!!

Hey guys. I had a problem on my Galaxy s4, it could not remember wifi passwords and also took a lot of time to switch wifi on. I just wanted to let you know that I solved the problem by reflashing my ROM. Or any other ROM (custom ROM)

Related

WiFi

Ok was wondering if it's me or not. WiFi seems to stop working when tablet is sleeping I have to disable it than select my WiFi again why?
Set From My Rooted SG3
mobgod said:
Ok was wondering if it's me or not. WiFi seems to stop working when tablet is sleeping I have to disable it than select my WiFi again why?
Set From My Rooted SG3
Click to expand...
Click to collapse
In WiFi advanced settings there is an option to keep wifi on while sleeping.
Sent from my Nexus 7 using xda premium
Mine has the same issue, even with it set to stay on during sleep.
I unchecked the wifi optimization to conserve power setting and that solved it. Somewhere on the google boards, there is a bug report on it.
I have the setting 'Keep wi-fi on during sleep' set to Always and have the Wi-fi optimization checked and my wi-fi has been flawless.
Going to try that now thanks
Set From My Rooted SG3
I have been having the same issue, i will have to try out those settings
Driving me crazy Wtf
Set From My Rooted SG3
Hey guys, I have a slightly related issue.
My device just won't turn its Wi-Fi off when it goes to sleep! I've tried both the advanced settings of, while plugged in and never, and both are not working add evidenced by the battery graphs.
Any fix or solutions?
- As of now I've taken my device out of its flip case/stand, assuming that the magnet in it has something to do with the Wi-Fi remaining on.
Sent from my Nexus 7 using xda app-developers app
ok back at this again sorry but seems like my wifi again goes off by itself i have to turn it off than back on to get it working anything i can to fix this problem ??
Sent from my Nexus 7 using Tapatalk HD
My WiFi works just fine on public or basic password connections. It likes to dissconnect from my schools encrypted network though. I blame cm
Sent from my Nexus 7 using xda app-developers app
Censura_Umbra said:
My WiFi works just fine on public or basic password connections. It likes to dissconnect from my schools encrypted network though. I blame cm
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I'm all stock rooted but seems to do it often could this be fixed anyway?
Set From My Rooted SG3
anyone on this ??
Sent From My Rooted Nexus 7

WiFi problems (4.2.1)

OK this is really pissing me off. Everyone time I go on my nexus device it doesn't automatically connect to the WiFi.. I have to either disable the WiFi and reenable it. Or just click on my network and click connect (it says its saved but doesn't automatically connect when I turn on my device), i tried everything from forgetting every saved network, restarting me device, ect, and its not my routers problem, my DNA connects automatically when I turn it on. Any of you guys had this problem? If so what did you do to fix it?
Sent from my Nexus 7 using xda app-developers app
what router? My nexus 7 is fine and so is my sgs1.
No idea what router I have but that's not the problem, problem is that when I turn on my nexus and get passed the lockscreen, the WiFi would normaly automatically connect. It for some reason stopped doing that and it gets really annoying manually connecting
Sent from my Nexus 7 using xda app-developers app
kernel
PhantomsWay said:
No idea what router I have but that's not the problem, problem is that when I turn on my nexus and get passed the lockscreen, the WiFi would normaly automatically connect. It for some reason stopped doing that and it gets really annoying manually connecting
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
try to change your kernel. the wifi drivers are in the kernel...
Running stock, never changed my ROM or kernel
Sent from my Nexus 7 using xda app-developers app
You could try a different channel on your router
Sent from my Nexus 7 using xda premium
PhantomsWay said:
OK this is really pissing me off. Everyone time I go on my nexus device it doesn't automatically connect to the WiFi.. I have to either disable the WiFi and reenable it. Or just click on my network and click connect (it says its saved but doesn't automatically connect when I turn on my device), i tried everything from forgetting every saved network, restarting me device, ect, and its not my routers problem, my DNA connects automatically when I turn it on. Any of you guys had this problem? If so what did you do to fix it?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Hi,
I share the same problem. Upon a reboot, it will work normally for a while.
Once they symptoms starts, it will refuse to connect most of the time. When it does connect, it will disconnect within a couple of minutes. WPS wont respond either. toggle wifi/airplane mode does not work either.
The only way is to reboot.
However, I did have some findings but couldnt get it fixed! Do this and test if it works for you as well:
Go to terminal (needs to be rooted device):
Simply select the "Take wifilock/B]" option and it will stay connected!
Release it and it will get disconnected and back to the same issue.
Hopefully some experts can give us some pointers?
Temporary fix
I have the same problem. This is what i did to fix it: Settings- Wifi settings- advanced- switch always on to Never, reboot in recovery, clear cache, reboot your device and go back and turn Wifi back to Always on. this is a temporary fix because if you reboot or shutdown your device, you will need to redo the steps. this is a known problem with google's 4.2 jellybean. we need an update soon!
hope it helps you.
Thanks for your help
Sent from my Nexus 7 using xda app-developers app
It won't be much comfort to you, but remember that "it takes two to tango".
Yeah, there's IEEE standards for all of this stuff. Do interop problems still happen? All the frigging time, every day. Sure it is maddening.
And sometimes the problems only manifest themselves with an exact pair of firmware(s) releases between the AP and the client device. I had a WiFi router that would gladly talk to four or five unique types of devices; on the sixth - an Android phone - it would associate & authenticate successfully, but the client device would never get an IP address.
That sure sounds like a problem with the phone, doesn't it?
How did I fix the problem? I upgraded the firmware ... on the router !
Sometimes problems with intermittent connections can be rectified by fooling with things that you might think have no bearing on the problem. For instance, some routers will accept connections in A/B/G/N mode. Do you need all of those? If not, simplify your router's behaviors by disabling non-essential features, e.g. select G-only or N-only.
That's just an example - but the point is that the fewer behaviors either of the devices engage in, the lower the probability that the bug which is shared between them will get expressed.
So, you can either fool around with both devices, only one of them - changing one setting at a time to see if that alters the behavior you observe, or you can throw one device away and start all over with new combinations of devices. The router probably has more knobs which can be turned than the phone does (unless it's not your router, or you don't control it).
Good luck

Nexus 4 Wifi Connection Issue

Just got the phone today (upgraded from a Sensation 4G).
This phone connects to my home WIFI fine.....and then once it sleeps for around 10 minutes and I wake it up, the wifi connection is gray (instead of blue) and I cannot access anything on the internet. I have to disable WIFI on the phone and re-enable it and it's fully functional again.
What's going on? Fully stock, 4.2.2
I do notice the IP it's pulling is a 172.27.35.x.....whereas my network is configured as 192.168.0.x
What's going on here???
cybertlc said:
Just got the phone today (upgraded from a Sensation 4G).
This phone connects to my home WIFI fine.....and then once it sleeps for around 10 minutes and I wake it up, the wifi connection is gray (instead of blue) and I cannot access anything on the internet. I have to disable WIFI on the phone and re-enable it and it's fully functional again.
What's going on? Fully stock, 4.2.2
I do notice the IP it's pulling is a 172.27.35.x.....whereas my network is configured as 192.168.0.x
What's going on here???
Click to expand...
Click to collapse
When I manually enter in my network settings (rather than DHCP) and set it as a 192.168.0.x value......everything is fine.
What's going on where it's pulling these 172 values? Never had an issue like this. Thanks!!!
Have you unlocked the Developer Options yet? If not, goto Settings -> About Phone then tap build number 10 times to unlock. Enable "Stay Awake" in the Developer Options and connect your phone via your PC. Observe your wifi connection and get back to me
EDIT: How complicated is your home network? Are you using your router as a straight forward access point?
BluDRed said:
Have you unlocked the Developer Options yet? If not, goto Settings -> About Phone then tap build number 10 times to unlock. Enable "Stay Awake" in the Developer Options and connect your phone via your PC. Observe your wifi connection and get back to me
EDIT: How complicated is your home network? Are you using your router as a straight forward access point?
Click to expand...
Click to collapse
Running DDWRT.....very straightforward. Nothing complicated. I have Kindle Fire HD's......HTPCs.....etc running without an issue. All DHCP. This Nexus 4 is the only thing that has ever had issues.
The thing that I'm not understanding.......why is it being thrown a 172 IP address unless I turn DHCP off on the phone? Cuz as soon as I set it static (to a 192) it works fine.
Hmm DD-WRT, I'm going to hazard at a guess and say you know what you're doing when it comes to networking so I won't insult your intelligence or anything. But, if you're willing, try playing around with your router's DHCP setup before doing anything else and see how your phone goes by trial and error.
Come to think of it, unless anyone on these forums has experienced this before, trial and error is the best way of understanding. My best guess is the issue resides within the code of 4.2.2 FW. Hypothetically and possibly inadvertantly it has already been debugged for use on a custom rom. Some of the apk's found on the app store may shed some light onto the issue. WIFI Fixer apk may be help
https://play.google.com/store/apps/details?id=org.wahtod.wififixer&hl=en
i too have an issue on my newly bought nexus 4, every device connected to our router except the n4 is working fine. tried flashing a kernel and the problem still persists.
Sent from my LG-P500 using xda premium
roi14 said:
i too have an issue on my newly bought nexus 4, every device connected to our router except the n4 is working fine. tried flashing a kernel and the problem still persists.
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Right, so surely it is an issue with the phone, which firmware are you using Roi? If it's 4.2.2, nandroid backup then flash a custom rom of your choice and see what happens with your wifi issue
BluDRed said:
Right, so surely it is an issue with the phone, which firmware are you using Roi? If it's 4.2.2, nandroid backup then flash a custom rom of your choice and see what happens with your wifi issue
Click to expand...
Click to collapse
hey bludred. I have stock, unlocked and rooted 4.2.2 running Franco's r111. I seem to connect to the Wi-Fi but the connection drop still persists.
Sent from my Nexus 4 using xda premium
If you are receiving IP address that's not defined by your router then you are getting it from somewhere else.
Sent from my Nexus 4 using xda premium
roi14 said:
hey bludred. I have stock, unlocked and rooted 4.2.2 running Franco's r111. I seem to connect to the Wi-Fi but the connection drop still persists.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Do you have your "keep wifi on during sleep" setting at always? If you've already eliminated that as the issue, try wiping the delvik cache in CWM. I had a similar problem once when I used CM9.1, wiping delvik cache solved it.
If there's no joy, copy and post up a logcat or consider a custom rom like aokp 4.2.2 build 4 :good:

Phone keeps dropping out of wifi

Hey Guys, this issue has been bugging me for quiet some time:
I have been using the Soft Access Point function of windows 7 via my wlan card for a long time and it didn't really give me any problems until recently.
It goes like this:
I activate the network, my phone connects. So far so good. But it keeps dropping out and reconnecting to mobile network all the time. That happened with other devices like my Netbook as well, but never this frequent and only when I wasn't actively using the connection. When I got the nexus 4 it started happening more often. And in the recent days/weeks very frequent. Sometimes only minutes after connecting. Also when the connection is in use, even during VoIP calls.
But I'm not sure whether it's a problem with the phone or the network setup... Any ideas?
Oh yeah, I'm running unrooted stock and the PC is Win 7 ultimate x64
Sent from my Nexus 4 using xda app-developers app
I forgot to mention: To fix it, I have to disable and then enable the network again. It always shows as still active on the PC but doesn't show on the phone before I do so.
Sent from my Nexus 4 using xda app-developers app
Anyone?
Still having this issue...
Sry for multiple posts btw.. Don't think I can combine them...
Disable Wi-Fi optimization on the Wi-Fi settings.
sent from xda premium app
eksasol said:
Disable Wi-Fi optimization on the Wi-Fi settings.
sent from xda premium app
Click to expand...
Click to collapse
I'll try that, thx.

Wifi issues (Wifi Icon turns orange) - [related to Google Play Services?]

Hello everyone,
I'm currently on 4.4.3.
When I connect to a Wifi (in my home and other places), it's all working well..
Until after some time (could be minutes or hours), the Wifi icon turns orange and I can't access the internet.
The only way I can access the internet again is by turning off and on the Wifi (or on and off the airplane mode).. and then the whole story starts again.
I've been facing this issue for a long time now (I actually think it started when the 4.2.2 update arrived), and didn't find any solution for this yet.
The only clue I managed to find is that it's somehow related to the Google Play Services.
Here are some screenshot I made on the Google Play Services screen (by dialing *#*#426#*#*):
When the Wifi is working and has internet access [White icon]:
https://www.dropbox.com/s/m8pl6amefwvghr0/Screenshot_2014-06-05-12-10-16.png
https://www.dropbox.com/s/c0a7fkb4vu8lqxq/Screenshot_2014-06-05-12-10-21.png
When the Wifi stops working and there's no internet access [Orange icon]:
https://www.dropbox.com/s/ywlqimfxgylp0hz/Screenshot_2014-06-05-13-15-30.png
https://www.dropbox.com/s/cb0n5tofpgss249/Screenshot_2014-06-05-13-15-35.png
https://www.dropbox.com/s/cb0n5tofpgss249/Screenshot_2014-06-05-13-15-35.png
https://www.dropbox.com/s/3936liwq37qkcod/Screenshot_2014-06-05-13-16-00.png
Does anyone have any idea how to fix this?
Thank you so much,
Tommy
anyone?
When your phone doesn't have access to Google's services the WiFi and network icons turn orange.
If you, for example, try to force an OTA you delete the Google Services Framework cache and data. You can immediately see that the icons turn orange because your phone doesn't have a connection anymore with the Google servers.
If your icons turn orange and it's bothering you(not able to use the Play Store, or any other reason) I suggest to remove and re-add your Google account in your device its settings.
If you need more information let me know!
Sent from my Nexus 4 using XDA Free mobile app
failly said:
When your phone doesn't have access to Google's services the WiFi and network icons turn orange.
If you, for example, try to force an OTA you delete the Google Services Framework cache and data. You can immediately see that the icons turn orange because your phone doesn't have a connection anymore with the Google servers.
If your icons turn orange and it's bothering you(not able to use the Play Store, or any other reason) I suggest to remove and re-add your Google account in your device its settings.
If you need more information let me know!
Sent from my Nexus 4 using XDA Free mobile app
Click to expand...
Click to collapse
Thank you so much
but actually when the icons turn red - I cannot open any website via chrome.. so not only the google services won't work, but my entire internet connection doesn't work... not the browsers, not the whatsapp, and not any other "internet" application
tommyga said:
Thank you so much
but actually when the icons turn red - I cannot open any website via chrome.. so not only the google services won't work, but my entire internet connection doesn't work... not the browsers, not the whatsapp, and not any other "internet" application
Click to expand...
Click to collapse
Happens to me sometimes also. It's when your phone has a connection with your access point(router) but doesn't have internet(due a router timeout for instance).
It's very irritating but turning off my WiFi and turning it back on always works for me!
Sent from my Nexus 4 using XDA Free mobile app
failly said:
Happens to me sometimes also. It's when your phone has a connection with your access point(router) but doesn't have internet(due a router timeout for instance).
It's very irritating but turning off my WiFi and turning it back on always works for me!
Sent from my Nexus 4 using XDA Free mobile app
Click to expand...
Click to collapse
For me either, but it looks like an annoying bug So this is the issue I'm looking forward to fix somehow
Radio
Did you flash the new 1.02 radio? When you're rooted you manually have flash the radio.
3630 said:
Did you flash the new 1.02 radio? When you're rooted you manually have flash the radio.
Click to expand...
Click to collapse
I flashed 4.4.3 using the flash-all.bat file. didn't it flash the 1.02 radio by using this file?
hmm dunno..
I've never tried that method. You can check the version in settings, about phone, smallband version (beneath 'android version') (translated from Dutch), the last three digits are the version of the radio (for ex. .84 .98 1.02).
tommyga said:
I flashed 4.4.3 using the flash-all.bat file. didn't it flash the 1.02 radio by using this file?
Click to expand...
Click to collapse
3630 said:
I've never tried that method. You can check the version in settings, about phone, smallband version (beneath 'android version') (translated from Dutch), the last three digits are the version of the radio (for ex. .84 .98 1.02).
Click to expand...
Click to collapse
seems like it did install the 1.02 radio
As mentioned orange icons tell you there's no connection to the Google servers.
But your problem seems to be between your device/router as you can't access the internet at all. Does it happen on other WiFi or mobile data?
Sent from my Nexus 4 using XDA Free mobile app
Oxious119 said:
As mentioned orange icons tell you there's no connection to the Google servers.
But your problem seems to be between your device/router as you can't access the internet at all. Does it happen on other WiFi or mobile data?
Sent from my Nexus 4 using XDA Free mobile app
Click to expand...
Click to collapse
Never happened on 3G connection [with Wifi off].
Did happen on other Wifi networks...
tommyga said:
Never happened on 3G connection [with Wifi off].
Did happen on other Wifi networks...
Click to expand...
Click to collapse
Is there any way to debug this?
Does some log (logcat?) can contain information regarding this issue when it occurs?
Unfortunately it still happens
anyone?
Turn your router off for about 5 minutes and turn it back on. This should fix it.
CCody said:
Turn your router off for about 5 minutes and turn it back on. This should fix it.
Click to expand...
Click to collapse
That's a temporary fix.. the issue keeps happening
I'm bumping this.
Happens to me on two nexus 5's and a nexus 4. Apparently it started happening after I replaced my router, but I still haven't found a setting in the router that fixes the issue. At least I can verify this is a router issue.

Categories

Resources