Take the 2-minute tour ×
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

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:
    https://support.google.com/android-one/answer/2819519Remove 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:
    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. Remount /system partition as read-write
    4. Edit /data/misc/wifi/wpa_supplicant.conf and remove any problematic networks
    5. Reboot
  • If you don't care about losing all of your saved networks, you can start with a clean configuration:

    1. Turn off wifi
    2. Back up /data/misc/wifi
    3. Remount /system partition as read-write
    4. Remove /data/misc/wifi
    5. Reboot

    The folder should be recreated on reboot with default settings, then you'll need to set your networks up again from scratch.

  • 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.

share|improve this answer

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.