Sign up ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

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.

share|improve this question
It shows „avoided low quality connection” or something like that. – kinokijuf Aug 31 '12 at 8:05
I guess it said avoided poor Internet connection, right? – Izzy Apr 27 at 11:15
@Izzy translation differences. – kinokijuf Apr 27 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 Apr 27 at 12:56

2 Answers 2

up vote 6 down vote accepted

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

share|improve this answer
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 Jul 18 at 14:27
@Firelord I tried factory reset through setting. only deleted my user data...Wifi still not working – Kishan Vaghela Sep 6 at 9:16

This has happened to me on several occasions, mostly when backing up/restoring Wifi settings using an app such as TitaniumBackup. You have a few options:

  • If your wifi turns on but won't connect, go into the wifi settings and remove the problematic network as well as any other unused networks: a Wi-Fi network
  • 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 (requires root):

    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

      • As an alternative, you can start over with a clean configuration if you don't care about losing all of your saved networks:

        $ adb shell
        $ su
        # cp /system/etc/wifi/wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf
    4. Reboot

  • Another possible option: FXR WiFi fix and rescue. I have absolutely no idea what it does, but my best guess is it attempts to repair the wpa_supplicant.conf file.
  • 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.
share|improve this answer
How to set network up again from scratch – Kishan Vaghela Sep 6 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 Sep 6 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. – Kishan Vaghela Sep 7 at 4:41
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 Sep 7 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) – Kishan Vaghela Sep 8 at 4:38

protected by Community May 30 at 15:12

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.