10

Somehow Wi-Fi stopped connecting on my phone. It is not a hardware issue, as it does work when I perform a reset.

What files do I need to delete to get Wi-Fi back working? I don’t want to reset my phone.

If relevant, model is Sony Arc S, using CM9.

4
  • It shows „avoided low quality connection” or something like that.
    – kinokijuf
    Commented Aug 31, 2012 at 8:05
  • I guess it said avoided poor Internet connection, right?
    – Izzy
    Commented Apr 27, 2015 at 11:15
  • @Izzy translation differences.
    – kinokijuf
    Commented Apr 27, 2015 at 12:48
  • Especially if your system language isn't set to English, yes :) But my link still points to the same issue you're having I think?
    – Izzy
    Commented Apr 27, 2015 at 12:56

2 Answers 2

12

This has happened to me on several occasions, mostly when backing up/restoring Wifi settings using an app such as TitaniumBackup. Here's what I recommend, starting with the safest solutions:

  1. First try going into the wifi settings and removing the problematic network. While you're there you might as well remove any other unused networks:
    https://support.google.com/android-one/answer/2819519 > Change, add, or remove saved networks > Remove

  2. If that doesn't work, the only remaining option that doesn't require root access is to delete all of your saved networks.

  3. If you don't want to delete all of your saved networks and you have root access, the wifi network settings are kept in a text file (/data/misc/wifi/wpa_supplicant.conf), which can become corrupted. I've been able to fix problems by manually editing the file:

    1. Turn off wifi (if you leave it on, the corrupted wifi settings may get rewritten)
    2. Back up /data/misc/wifi/wpa_supplicant.conf
    3. Edit /data/misc/wifi/wpa_supplicant.conf and remove any problematic networks.
  4. If you've made it this far and you're still having problems, turn off your wifi and delete /data/misc/wifi/wpa_supplicant.conf. Of course this will delete all of your saved networks. The file will be recreated the next time you turn on your wifi.

  5. As a last resort, you can delete /data/misc/wifi, but I don't recommend it. If you do decide to do this, make sure you back it up first. The folder should be recreated on reboot with default settings, then you'll need to set your networks up again.

13
  • How to set network up again from scratch Commented Sep 6, 2015 at 9:18
  • If you delete /data/misc/wifi and reboot, your phone should restore default files. Then you'll need to add your wireless networks back one by one.
    – bmaupin
    Commented Sep 6, 2015 at 22:03
  • I want reset my wifi, for that I removed /data/etc/wifi, /data/misc/dhcp and /data/misc/wifi. But then after WiFi stop working. I also try factory hard reset. Commented Sep 7, 2015 at 4:41
  • 1
    Those aren't the steps I recommended to reset your wifi ;) Restore those folders (I'm hoping you backed them up) and try the steps in my answer. If you didn't back up those folders, you may be able to find a download for the ROM you're using and extract them from there.
    – bmaupin
    Commented Sep 7, 2015 at 12:17
  • Yes I forgot to back up those folder. Can you tell me where I can found It. I have Moto G Dual Sim (xt1033) Commented Sep 8, 2015 at 4:38
7

I removed /data/etc/wifi, /data/misc/dhcp and /data/misc/wifi and it worked.

3
  • 4
    For readers: I rejected an edit suggested by a new user for this post who had this to say: "Don't do this. You will simply lose the wi-fi connection function altogether after reboot. This procedure will ruin your wi-fi connection for good and force you to hard reset your phone. Pure sabotage.". // I found it worthy to be mentioned so I posted a comment on the user's behalf.
    – Firelord
    Commented Jul 18, 2015 at 14:27
  • @Firelord I tried factory reset through setting. only deleted my user data...Wifi still not working Commented Sep 6, 2015 at 9:16
  • @kinokijuf It didn't work for me. My phone loses the WiFi connection at night (while charging) and never comes back automatically. This after getting a new modem/router with the new Fiber connection. Commented Sep 26, 2016 at 9:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .