[APP][4.0.3+] WiFi Fix (Repair broken WiFi)

Aenadon

Senior Member
May 14, 2014
398
145
0
Geheimstadt
Fix your broken WiFi!

After having lots of trouble myself with broken WiFi on my device (especially on custom ROMs), I have identified some of the issues and made an app to automate the process of fixing the problems automatically.
Currently the app supports two fixing methods:

Method 1 (Clearing DHCP Lease)
Sometimes, the DHCP lease of Android gets corrupted. In this case, you are not able to connect to any WiFi network - it keeps displaying "Obtaining IP address...". If that is the case, the functionality of WiFi can easily be restored by deleting two files contained in /data/misc/dhcp - dhcpcd-wlan0.lease and dhcpcd-wlan0.pid. They will automatically get recreated once WiFi is enabled again.

Method 2 (Deleting wpa_supplicant)
The file wpa_supplicant.conf (located in /data/misc/wifi) stores all the WiFi passwords of Android. However, for some reason this file gets corrupted easily. Deleting it will force Android to recreate it and WiFi will work again. WARNING: This method will delete your WiFi passwords. Refer to below for instructions on how to backup them.

How to read the WiFi passwords:
  1. Install a file manager with root access (e.g. Root Browser)
  2. Go to /data/misc/wifi and open the file wpa_supplicant.conf
  3. Write down the passwords on a piece of paper (Do NOT backup the file!!!)

PLEASE NOTE: You need ROOT ACCESS for this app to work.

If you don't trust me, you can always check the source on GitHub and build the app yourself. Just in case ^^

XDA:DevDB Information
WiFi Fix, App for all devices (see above for details)

Contributors
Aenadon
Source Code: [url]https://github.com/Aenadon/WiFi-Fix[/URL]


Version Information
Status: Stable

Created 2016-05-22
Last Updated 2017-11-06
 
Last edited:

Aenadon

Senior Member
May 14, 2014
398
145
0
Geheimstadt
Changelog:

v1.1.2
-(Hopefully) fix the No-Root-Problem

v1.1.1
-Send reports for No Root-exceptions

v1.1.0
-Refactor code structure
-Use new-style dialogs
-Introduce stacktrace mailing for investigations
-Use semantic versioning

v1.03
-Fixed broken version number

v1.02
-Updated to Android 7.1.1

v1.01
-Updated to support Android N
-Little design changes

v1.0
Initial Release
 
Last edited:

kimxk

Senior Member
Dec 1, 2014
211
64
0
Hi,

Running Resurrection Remix 5.6.9 with built in root (not SuperSU) and it doesn't ask for root permissions, just fails with the Fail :( error message.

Every other root program pops up a box requesting access.

Any ideas?
 

Tmobilefan906

Senior Member
Apr 1, 2016
3,340
392
0
Hi,

Running Resurrection Remix 5.6.9 with built in root (not SuperSU) and it doesn't ask for root permissions, just fails with the Fail :( error message.

Every other root program pops up a box requesting access.

Any ideas?
Install form play store then do prompts to install as system app
 

Aenadon

Senior Member
May 14, 2014
398
145
0
Geheimstadt
This one. And it also doesn't hurt installing SuperSU from play.
This one is not my app, it is an app from someone else.

Sorry, I thought you meant search the play store for wifi fix.

Not going to do this for one specific root app when all others work fine with the built in root.
I will look into the issue of why it doesn't prompt you on CM root when I have time.

Sent from my taoshan using XDA Labs