It's common to need to connect a new device to your home wireless network but have long forgotten the password. Fortunately, the operating system Android Automatically saves access keys for networks you've ever connected to. This eliminates the need to remember complex character combinations, but it does require extracting them from system files or interface settings. In modern versions of Google's mobile OS, viewing this data has become significantly simpler and more accessible to the average user.
However, the methods of obtaining information differ dramatically depending on the version Android, installed on your smartphone. If you're using a device running version 10 or later, the system provides native tools for sharing access codes. Owners of older models will have to find alternative methods, including using the command line or gaining root privileges. Understanding the security architecture of your OS version is the first step to successfully solving this problem.
It's important to note that attempts to hack into other people's networks or use dubious apps from unofficial sources can lead to the compromise of personal data. We will discuss exclusively legal methods for recovering forgotten passwords from your own device's memory. The security of your data remains a priority, so any actions with system files require caution and an understanding of the consequences.
Native features of Android 10 and later
Starting with the tenth version of the operating system, Google engineers have implemented a convenient QR coding feature for quickly connecting guests. This mechanism not only simplifies connecting devices but also allows you to visually read the saved password. To implement this method, you don't need special apps or root access; the standard settings interface is sufficient.
The process is as follows: you need to go to the section Settings, then select the item Network and Internet or Connections, and click on Wi-FiIn the list of available networks, find the one you're already connected to and tap the gear icon next to its name. The menu that opens often includes a "Share" button or a QR code icon.
- 🔍 Click the eye icon or the Share button to see the QR code.
- 📱 Take a screenshot or use a second phone to scan the code.
- 🔑 A text string with a password in clear text is often written under the QR code.
If the text line below the code is not displayed, which happens on some manufacturers' shells (for example, MIUI or OneUI), you can use the text recognition feature. Take a screenshot of the screen with the QR code, then open it in Google Photos or Google Lens and select the "Text" option. The system will recognize the characters, and you can copy the desired combination.
It's worth keeping in mind that the interface may differ depending on the manufacturer of your smartphone. Companies like Samsung, Xiaomi or Realme often modify the standard interface Android, moving the buttons to different locations. If you don't find the item you need right away, use the settings search by entering "Wi-Fi" or "QR."
Using ADB commands without root access
For users who don't want or can't get superuser rights but own a computer, using a debug bridge is a great solution. ADB (Android Debug Bridge). This tool allows you to interact with the system at a deep level and extract system files, including wireless network configurations.
Before you begin, you need to enable developer mode on your phone. To do this, go to Settings → About phone and quickly tap "Build number" seven times. A new "Developer options" section will appear in the settings menu, where you need to enable "USB debugging."
☑️ Getting Started with ADB
After connecting your device to your computer and successfully logging in, open a command prompt or terminal in the folder where ADB is installed. You'll need to run a command to extract the configuration file that stores all saved networks. The command looks like this:
adb shell dumpsys wifi | grep "mConfiguredNetworks" -A 50
This command will list the networks, however in modern versions Android Passwords can be hidden or encrypted. A more direct path to the file wpa_supplicant.conf (where the keys are stored) is locked on newer versions without root. However, on versions prior to Android 10, access can sometimes be gained using the command:
adb pull /data/misc/wifi/wpa_supplicant.conf
⚠️ Attention: On devices running Android 10 and above, accessing system files via ADB without root access is often blocked by security policies. If the command returns a "Permission denied" error, it means your phone won't allow you to copy the file without root access.
If the file has been copied successfully, open it with any text editor. Find the block ssid="Your_network", and just below there will be a line psk="password"This is the access key you're looking for. This method requires basic command line skills, but is one of the most secure, as it doesn't require installing third-party software on the phone.
Methods for devices with root rights
Having superuser rights (Root) gives complete control over the device's file system, allowing you to read any system files, including those storing Wi-Fi passwords. This is the most reliable and direct method, and it worked on all versions. Android up until the introduction of severe security restrictions in recent releases.
To implement this method, you will need a file manager with root access support, for example, Root Explorer, Solid Explorer or MT ManagerAfter installing the application and granting it superuser rights, follow the path below:
/data/misc/wifi/
There is a file in this directory wpa_supplicant.confThis is where all networks ever saved are stored in text format. Open the file with the built-in editor and find the section corresponding to your network. Parameter psk contains the password you are looking for.
What to do if the wpa_supplicant.conf file is missing?
On some modern smartphones (especially those running Android 11+), the data storage structure has changed. Passwords may be stored in files named like WifiConfigStore.xml or encrypted in a SQLite database. In such cases, even root access may require additional tools for decryption.
- 📂 Go to the root of the file system (Root directory).
- 📁 Open the folder
data, thenmisc, thenwifi. - 📝 Find the file
wpa_supplicant.confand open it with a text editor.
Additionally, banking apps and some secure services may stop working on rooted devices without additional permissions.
Third-party recovery apps
In the store Google Play There are many apps that promise to reveal saved passwords. However, how they work depends heavily on your OS version. Apps without root access typically can't read the system file directly, so they use workarounds such as keyboard emulation or traffic analysis, which are often inconvenient or insecure.
Popular programs like WiFi Password Viewer or WiFi Key Recovery Require root access to function properly. If root access is granted, they automatically scan the configuration file and display a list of networks in a user-friendly interface. Without root access, these apps often have limited functionality or require complex configuration via ADB.
| Application name | Requires Root | Works on Android 12+ | Advertising |
|---|---|---|---|
| WiFi Password Viewer | Yes | Partially | Many |
| WiFi Key Recovery | Yes | No | Average |
| InstaBridge | No | Yes | Eat |
| WiFi Map | No | Yes | Eat |
⚠️ Attention: Be extremely careful when installing third-party apps. Many of them request excessive permissions and may collect data about your connections. Use only trusted apps with high ratings and numerous reviews.
Some apps work like social networks: they upload network passwords to a shared database. This means you can "learn" the password not from your phone's memory, but from the database of other users who have previously connected to the same access point. This raises serious privacy concerns and is not recommended for secure networks.
View passwords through your Google Account
Google's modern ecosystem offers Wi-Fi password syncing via the cloud. If syncing is enabled on your device, saved keys can be accessed through your Google account's web interface or through the security settings on another device linked to the same account.
To check this, go to your Google account management page (under "Security" or "Password Manager"). There may be a "Passwords" section there, which may also store Wi-Fi network keys if the corresponding sync option has been enabled. This is especially true for users using a clean account. Android or smartphones of the line Pixel.
On devices with Google services installed, this method is one of the safest, as it doesn't require installing additional software or tampering with system files. However, it only works if Wi-Fi password syncing has been enabled beforehand.
If you're planning to change your phone, be sure to check this section before resetting your old device. This will allow you to maintain access to important networks even after a complete wipe. In the password manager interface, you can copy the password and use it to connect to your new device.
Compatibility issues and version limitations
With each new version Android Google is tightening its security measures, making it increasingly difficult to extract system data. Starting with Android 10, file access wpa_supplicant.conf for regular applications and even via ADB without root was significantly limited, and in Android 11 and 12 these restrictions became even more stringent.
Smartphone manufacturers are also making their own changes. For example, on devices Xiaomi with shell MIUI or Huawei With EMUI File paths may differ, and standard QR code viewers may be hidden or removed. In such cases, users must search for specific instructions for their model.
It's also worth considering that some corporate networks or networks with special security protocols (such as WPA3-Enterprise) may not display the password even with root access due to the use of certificates instead of static keys. In such situations, access can only be restored through the server settings or by contacting the network administrator.
⚠️ Attention: Interfaces and access capabilities for system files may change with security updates. If the described methods don't work, check the official documentation for your specific model and firmware version.
Understanding these limitations helps you choose the right strategic approach. If standard methods don't work and you don't want to gain root access, your only options are resetting the router and setting a new password, or using the QR code method on an already connected device to connect a new one.
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password if the phone is not connected to it, but was connected previously?
Yes, if the network is saved to the device's memory. On Android 10+, this can be done through the Wi-Fi menu by tapping on the saved network (even if it's out of range) and selecting the "Share" button or QR code. On older versions, this is virtually impossible without root.
Are password viewer apps safe to use?
Using apps from the official Google Play store is relatively safe, but many require root access. Apps that require installing APK files from third-party sites carry a high risk of malware infection. Be careful and check permissions.
What should I do if the QR code does not show the password text?
Use Google Lens. Point your camera at the QR code or open a screenshot of the code from your gallery and select "Search by image" or "Text." The system will recognize the hidden password string.
Will resetting my phone reset my Wi-Fi password?
Yes, performing a factory reset will delete all saved Wi-Fi networks and their passwords from your phone's memory. Before the reset, be sure to back up important passwords using one of the methods described above.
Do these methods work on Android 13 and 14?
The QR code method works reliably on all modern versions. Methods that require access to system files (/data/misc/wifi/) on Android 13/14 without root access don't work due to enhanced app isolation (Scoped Storage). Root access may also be difficult.