Have you forgotten your home Wi-Fi password and can't access your router? This situation is familiar to many: you enter the password on your smartphone once and then forget it. Fortunately, Android stores all saved networks in encrypted form, and under certain conditions they can be extracted. In this article, we will analyze all working methods — from standard system tools to advanced methods using ADB and root rights.
It is important to understand that password recovery options vary depending on the version. Android, phone model and availability superuser rights (root)For example, on Android 10+ Without root, access to passwords is severely limited, while on older versions or with root access, the process is simplified. We'll cover methods for all scenarios, from the simplest to the most technically complex.
If you're unsure of your skills or afraid of damaging your phone, start with the first methods—they don't require advanced knowledge and are safe. Advanced methods (for example, using ADB or root access) leave it for emergencies.
1. View password through Android settings (without root)
On some versions Android (mostly before Android 9 Pie) The password for the connected network can be seen directly in the settings. This method does not require root rights and fits most devices Samsung, Xiaomi, Huawei and other brands on old firmware.
Instructions:
- 📱 Open
Settings → Wi-Fi(orNetwork and Internet → Wi-Fi). - 🔗 Find your network in the list of saved networks and tap on its name.
- 🔑 An option will appear on some devices
Show passwordorShare(share). Click on it. - 🔐 The system may ask PIN code, pattern or fingerprint for confirmation.
If options Show password No, then it's your version Android It doesn't support it. In this case, proceed to the next method.
⚠️ Attention: On Android 10 and later (including Android 13/14) password display function in settings disabled by default for safety reasons. Manufacturers (eg Google Pixel, OnePlus) may remove this option completely.
☑️ Preparing to view your Wi-Fi password
2. Using the Share Wi-Fi feature (QR code)
Modern versions Android (starting from Android 10) offer an alternative way to transmit network data - through QR codeWhile this won't reveal the password in plain text, you can generate code and scan it with another device to connect without entering a password.
How does this work:
- 📱 Go to
Settings → Wi-Fi. - 🔗 Tap on the name of your network.
- 🖼️ Select an option
Share(orQR code). - 🔒 Confirm the action with biometrics or PIN code.
- 📱 Scan the QR code with another phone or tablet - it will automatically connect to the network.
This method does not reveal the password itself, but it allows bypass the need to enter itIf you need to know the password specifically (for example, to connect a laptop), proceed to the next methods.
3. Extracting the password via the configuration file (root required)
If you have it on your phone root access, you can manually extract the password from the system file wpa_supplicant.confThis file contains data from all saved Wi-Fi networks, including passwords (encrypted or clear).
Instructions:
- 📱 Install any file manager with root access (For example, Root Explorer or Solid Explorer).
- 🔍 Follow the path:
/data/misc/wifi/WifiConfigStoreOr (on some firmware versions):
/data/misc/wifi/wpa_supplicant.conf - 📄 Open the file
wpa_supplicant.confin a text editor. - 🔑 Find the block with the name of your network (
ssid="...") and the linepsk="..."- this is the password.
Example of file content:
network={ssid="MyWiFi"
psk="mysecretpassword"
key_mgmt=WPA-PSK
}
⚠️ Warning: Editing or deleting files in /data/misc/wifi/ may lead to loss of all saved networks or unstable Wi-Fi. Do not modify the file unless you are confident in what you are doing!
What to do if the wpa_supplicant.conf file is missing?
On some firmware (for example, MIUI or ColorOS) The file path may differ. Try searching in:
/data/vendor/wifi/WifiConfigStore or /data/wifi/bcm_supplicant.conf.
If the file is missing, the manufacturer uses a different method of storing passwords (for example, in an encrypted database).
4. Using ADB to extract the password (without root, but with debugging)
ADB (Android Debug Bridge) — is a debugging tool for Android devices that allows you to execute commands on your phone from your computer. It can be used to extract Wi-Fi passwords. without root rights, but you will need to enable developer mode And USB debugging.
Step-by-step instructions:
- 🖥️ Install ADB on a computer (Windows, macOS or Linux).
- 📱 On your phone, enable:
- 🔧
Settings → About phone → Build number(tap 7 times to activate developer mode). - 🔌
Settings → System → Developer options → USB debugging.
- 🔧
adb pull /data/misc/wifi/WifiConfigStore/wpa_supplicant.conf
If the path doesn't work, try:
adb shellsu
cat /data/misc/wifi/WifiConfigStore/wpa_supplicant.conf
If the command is successful, the file wpa_supplicant.conf will be copied to your computer. Open it and find the line with psk="..." - this is the password.
⚠️ Attention: On Android 11+ Access to the file via ADB may be blocked. In this case, only root or alternative methods (see next section).
1. Reinstall USB drivers for your phone.
2. Use the original USB cable (not all cables support data transfer).
3. Enable the option in the developer settings USB Debugging (Safe Mode) or Enable ADB debugging.-->
5. Apps to view Wi-Fi passwords (root required)
If the previous methods did not work, you can use specialized applications, which can extract passwords from system files. Most of them require root access, but some work without it (with limitations).
Top 3 verified apps:
| Application | Root required? | Peculiarities | Link (Google Play) |
|---|---|---|---|
| WiFi Password Viewer | ✅ Yes | Shows all saved passwords, export to file | Download |
| WiFi Password Recovery | ✅ Yes | Supports Android 10+, copying the password to the clipboard | Download |
| WiFi Key Recovery | ❌ No (limited) | Works only on Android 9 and below, without root it only shows networks without a password | Download |
How to use:
- 📱 Install one of the applications from the table.
- 🔓 Grant root access (if required).
- 🔍 A list of all saved networks with passwords will appear in the main window.
- 📋 Tap on a network to copy or share the password.
⚠️ Attention: Applications from Google Play without root access won't be able to show passwords on Android 10+Be careful with apps from third-party sources—they may contain malicious code.
6. Alternative methods (if nothing helps)
If none of the above methods worked, there are still extreme measures:
- 🔄 Resetting the router to factory settings. Press and hold the button
ResetOn the router, wait 10-15 seconds. After the reset, the password will be the default one (indicated on the router sticker). All router settings (including network name and password) will be reset! - 📞 Contact your providerIf the router is provided by an Internet service provider (for example, Rostelecom, Beeline, MTS), call support - they can reset your password remotely or provide standard data.
- 🔧 Connect to the router via cableIf you have physical access to the router, connect to it via Ethernet cable and log into the control panel (usually at
192.168.0.1or192.168.1.1). The login and password for entering are often indicated on the router sticker.
If the router does not belong to you (for example, you are connected to a neighbor's network or public Wi-Fi), It is impossible to recover the password legallyIn this case, ask the network owner to provide access.
FAQ: Frequently asked questions about recovering your Wi-Fi password on Android
❓ Is it possible to find out the Wi-Fi password without rooting on Android 12?
On Android 12 and later Without root access, it's virtually impossible to view the password. The only working methods are:
- Use the function
Share Wi-Fi(QR code). - Reset the router to factory settings.
- Connect to the router via cable and view the password in the web interface.
Root-free apps for newer Android versions don't work due to security restrictions.
❓ Why is the password displayed as a hash in the wpa_supplicant.conf file?
On some firmware (for example, Samsung One UI or Xiaomi MIUI) passwords are stored in encrypted form. In this case:
- Try using apps like WiFi Password Viewer - They can decrypt hashes.
- If you have root, try extracting the encryption key from
/data/misc/wifi/WifiConfigStore/keys.
Decrypt the hash without root impossible.
❓ Will ADB work on a phone with a locked bootloader?
Yes, ADB works regardless of bootloader status. However:
- On some phones (eg. Xiaomi or Huawei) You may need to unlock the bootloader to access system files.
- If the team
adb pullreturns an errorPermission denied, then you don't have read permissions to the file. In this case, only root can help.
❓ Is it possible to recover a password if the phone is not connected to the network?
Yes, but with some reservations:
- If the network was previously saved on the phone, you can retrieve the password via
wpa_supplicant.conf(with root) or ADB. - If the network is not saved, recover the password impossible — his phone simply doesn’t know him.
- In this case, the only option left is to reset the router or contact your provider.
❓ Is it legal to use Wi-Fi hacking apps?
No, it's illegal.All methods described in this article are intended to restore access to own network, the password for which you forgot. Using similar tools to hack other people's networks:
- Violates Russian legislation (Article 272 of the Criminal Code of the Russian Federation - unauthorized access to computer information).
- May lead to device blocking provider.
- It's fraught with danger virus attacks (many "Wi-Fi hackers" contain malware).
If you need access to someone else's network, ask its owner for permission.