Preparing the right environment saves time and prevents accidental data loss. Follow these quick checks before diving into deeper troubleshooting.
Understanding the root causes helps you choose the most efficient fix. The most common categories are:
WifiConfigStore file.Most everyday symptoms stem from the first three categories, so we’ll focus on them first.
Use the second device you prepared earlier to connect to the same Wi‑Fi network. If it also fails, the issue is likely with the router or ISP, not the Android phone.
What to expect: The other device should browse the web without problems. If it cannot, power‑cycle the router (unplug for 30 seconds) and contact your ISP if the problem persists.
Press and hold the power button, tap Restart. A fresh boot clears temporary memory and often resolves transient Wi‑Fi glitches.
Why it matters: Android keeps Wi‑Fi state in RAM; a restart forces the Wi‑Fi driver to re‑initialize.
Navigate to Settings > Network & internet > Wi‑Fi. Tap the gear icon next to the problematic network, choose Forget, then reconnect by entering the password again.
Expected result: A clean authentication handshake replaces any corrupted credentials stored on the device.
Ensure Airplane mode is off (Settings > Network & internet > Airplane mode). Then, in Settings > Wi‑Fi > Advanced, toggle Scanning always available off and on. This resets the Wi‑Fi scanning subsystem.
On many devices, aggressive battery‑saving can shut down the Wi‑Fi radio. Go to Settings > Battery > Battery optimisation, find Wi‑Fi (or System UI) and set it to Don’t optimise.
Open Settings > System > Reset options > Reset Wi‑Fi, mobile & Bluetooth. Confirm the reset. This clears all saved networks, Bluetooth pairings, and mobile‑data APNs.
Warning: You will lose all saved Wi‑Fi passwords and Bluetooth pairings. Write down any essential credentials before proceeding.
Result: The phone rebuilds its network stack from scratch, fixing corrupted configuration files.
Safe mode disables all third‑party apps, allowing you to test whether an installed app is causing Wi‑Fi interference.
To enter safe mode:
Once in safe mode, try connecting to Wi‑Fi again. If it works, the culprit is likely a third‑party app (e.g., a VPN, firewall, or battery‑saver).
To exit safe mode, simply restart the phone.
Connect the phone to your PC via USB, enable USB debugging (Settings > About phone > Build number tap 7 times, then Settings > System > Developer options > USB debugging), and run:
adb logcat -b wifi -d | grep -i "wpa"
This filters the Wi‑Fi buffer for WPA authentication messages. Look for lines containing WPA: Handshake failed or Network not found.
If you see repeated WPA: 4‑way handshake failed, the issue is likely the password or router security mode (e.g., WPA2‑PSK vs WPA3).
Outdated Wi‑Fi drivers can cause compatibility problems with newer routers. Go to Settings > System > System update and install any pending updates. Also update Google Play Services and the device‑manufacturer’s system UI app.
Apps like NetGuard, VPN services, or custom firewalls can block network traffic. Temporarily disable or uninstall them, then test the Wi‑Fi connection again.
If you have root access and the problem persists, you can inspect /data/misc/wifi/wpa_supplicant.conf. Look for duplicate SSID entries or malformed psk lines. Edit with a trusted text editor, save, and reboot.
Only attempt this if you are comfortable with rooting and understand the risk of bricking the device.
adb shell "cmd wifi scan start". Then run adb logcat -b wifi -d | grep -i "scan" to see if the scan succeeded.Settings > About phone > Status > IP address, you should see a valid IPv4 address (e.g., 192.168.x.x).adb shell ping -c 4 8.8.8.8. If ping works but DNS fails, change the DNS server in Settings > Network & internet > Private DNS to 1.1.1.1 or 8.8.8.8.http://neverssl.com – if it redirects, you need to complete the login.Settings > System > Developer options > Wi‑Fi scan throttling).CHANGE_WIFI_STATE permission.adb shell pm clear com.android.settings (this forces the Settings app to rebuild its Wi‑Fi cache).If none of the software steps resolve the problem, the Wi‑Fi radio or antenna may be damaged.
Settings > System > Reset options > Erase all data (factory reset). Backup first! If the issue persists after a clean install, you’ll need professional repair.wpa_supplicant.conf, remember that OTA updates may overwrite your changes.Most Android Wi‑Fi problems can be solved with the first six steps of the workflow – a simple restart, forgetting the network, and resetting the network stack. If the issue persists, safe‑mode testing and ADB log analysis help you pinpoint whether a rogue app or a deeper software bug is at fault. Finally, hardware checks ensure you don’t waste time on a physically damaged radio.
By following the structured approach above, you’ll not only restore connectivity for the current network but also gain a diagnostic toolkit you can reuse whenever Wi‑Fi acts up on any Android device.









