Many users are familiar with the situation when they need to connect a new device to a wireless network, but the password has long been forgotten and is not written down anywhere. Fortunately, modern smartphones based on Android They store data about previously used networks, making it easy to restore access. Unlike older versions of the operating system, this process has become much more transparent and accessible to the average user.
There are several proven methods that allow find out the WiFi password directly from your phone. The specific method you choose will depend on your operating system version, device model, and whether you have root access. Below, we'll cover each method in detail so you can choose the best option.
It is worth noting right away that data security in Google Android It's constantly being improved. That's why the paths to saved passwords may differ on different firmware versions. Starting with Android 10, the system allows you to view passwords as a QR code without the need for root access. This has become an industry standard and has made life much easier for smartphone owners.
Using stock settings on Android 10 and above
The easiest and most secure way is to use the operating system's built-in functionality. Starting with version 10, Google engineers have implemented a convenient QR code access sharing mechanism, which also allows you to view the security key itself. You won't need to install third-party software or compromise your device's security.
To begin, open your gadget's settings and go to the section Network and Internet or ConnectionsThe menu name may vary slightly depending on the manufacturer's shell, for example, MIUI or OneUI. Find the item Wi-Fi and click on it to see the list of available networks.
In the list of available connections, find the network your smartphone is currently connected to, or select a previously saved network from the "Saved Networks" list. Tap the gear icon or arrow next to the network name to open the detailed configuration menu.
⚠️ Please note: On some smartphone models (e.g. Xiaomi or Samsung), you may need to verify your identity using a fingerprint, face scanner, or screen unlock PIN to view your password.
In the menu that opens, find the button Share or icon QR codeOnce pressed, the system will generate a pattern. The password text is usually displayed in small print beneath the pattern. If the text is hidden by asterisks, take a screenshot and open it in your gallery or any QR code reader to see the symbols.
Restoring access on Android 9 and below
On devices with an older version of the operating system, the situation is more complicated. For security reasons system filesThe encryption keys were stored in the folders hidden from the average user. Direct access to them without special permissions was blocked by the developers.
The only working way for such devices is to obtain rights root (superuser). This gives you full control over the phone's file system. However, it's important to remember that rooting may void the manufacturer's warranty and poses risks to the stability of the device.
If you decide to take this step, you will need a file manager with root access support, for example, Root Explorer or ES File ExplorerAfter granting the application superuser rights, you need to go to the path /data/misc/wifi.
There is a file in this directory wpa_supplicant.confThis is where data about all the networks the smartphone has ever connected is stored. Open this file with a text editor and find the block network, corresponding to your network. Field psk will contain the desired password in clear text.
Risks of rooting
Obtaining superuser rights grants access to all system files, which can lead to the deletion of important data or damage to the firmware if done carelessly. Furthermore, some banking apps may refuse to run on rooted devices for security reasons.
Verification via Google account and synchronization
Google has implemented a feature for syncing WiFi passwords via a cloud service. If this option is enabled on your device, saved keys can be accessed through your account's web interface. This is especially convenient if the phone itself is unavailable or the screen is broken.
To check, sign in to your Google account using a browser on a computer or other device. Go to the account management section and select the tab. SecurityFind the item related to Password Manager or Google Password Manager.
In the list of saved data, look for the section labeled as Wi-Fi or containing the name of your wireless network. Click the corresponding entry. The system will ask you to confirm your account or enter your Google password. After successful authorization, you will see your network login and password.
This method only works if sync was previously enabled. If sync was disabled, the data won't be uploaded to the cloud, making this method useless. However, it's always worth checking for a backup.
Using the ADB command line
For advanced users who don't want to get root rights but have a computer at hand, there is a method to use USB debugging Protocol ADB (Android Debug Bridge) Allows you to send commands to the device that are not normally available through the standard interface.
First, you need to activate developer mode on your smartphone. To do this, go to Settings → About phone and quickly tap the build number seven times. This will add a new option to the settings menu. For developers. Enable the option in it. USB debugging.
Connect your phone to your computer via a USB cable. ADB drivers must be installed on your PC. Open a command prompt or terminal in the folder where ADB is installed and enter the following command to test the connection:
adb devices
A prompt will appear on your smartphone's screen asking if you want to debug from this computer. Confirm the action. Next, run the command to display the contents of the WiFi configuration file. Please note that on modern versions of Android without root access, this command may return an error or empty result, but it still works on some firmware versions:
adb shell cat /data/misc/wifi/wpa_supplicant.conf
If the command runs successfully, you'll see a list of networks and passwords in plain text. Look for the line psk="your_password"This method requires technical literacy and the availability of appropriate software on the computer.
☑️ Getting Started with ADB
Third-party password recovery apps
In the store Google Play There are many apps that promise to reveal saved passwords. However, it's important to understand how they work. Without root access, they can't read the system file directly.
Most of these programs, for example, WiFi Password Viewer or WiFi Map, work by displaying data if they already have access, or by attempting to brute-force passwords from shared databases. Some of them simply duplicate Android's built-in QR code generation function.
Using third-party software carries certain risks. You grant the app access to your network settings. Always check the developer's rating, number of installations, and user reviews before downloading.
Below is a table comparing popular methods and their requirements:
| Method | Root is required | Android version | Complexity |
|---|---|---|---|
| QR code in settings | No | 10+ | Low |
| wpa_supplicant.conf file | Yes | Any | High |
| Google Account | No | Any | Low |
| ADB commands | Partially | Any | Average |
⚠️ Note: Settings interfaces and feature availability may vary depending on the smartphone manufacturer (Samsung, Xiaomi, Huawei, Pixel) and the version of the installed OS. If you don't see the options described, use the search in your phone's settings.
Frequently Asked Questions (FAQ)
Is it possible to find out the WiFi password if the phone is not connected to it, but the network is saved?
Yes, this is possible. On Android 10 and above, there's a "Saved Networks" section in the WiFi settings. After selecting the desired network from the list, you can tap "Share" and see the password, even if a direct connection is not currently active.
Are password viewer apps safe to use?
Using apps from official stores is relatively safe if they have a high rating. However, they often require unnecessary permissions. The safest method is to use the default system features or a Google account.
What should I do if the QR code button doesn't show the password, but only generates an image?
Take a screenshot of the screen containing the QR code. Then open any QR code scanner app or use Google Lens in your gallery. Point the camera at the code on the screen, and the password text will appear in the recognition results.
Will resetting network settings help recover the password?
No, resetting network settings will delete all saved WiFi passwords, Bluetooth connections, and mobile network settings. Afterward, you'll have to re-enter your passwords, so this method isn't suitable for recovering forgotten data.