It's quite common to need to connect a new device to an existing network but have lost or forgotten the password. Owners of smartphones based on Android People often look for a way to quickly restore access to saved data without resetting their router. Fortunately, modern versions of mobile operating systems allow this to be done using built-in tools without installing third-party software.
In earlier versions of the system, access to files with security keys was closed without permissions. root, which made the problem practically impossible for the average user. However, starting with Android 10Google has implemented a convenient QR code viewing mechanism that effectively unlocks your password. In this article, we'll cover all the current methods in detail, from standard settings to using ADB commands.
It is worth noting that methods may vary depending on shells your smartphone's manufacturer. Interfaces Samsung One UI, Xiaomi MIUI or pure Android Pixel devices have their own navigation features. We'll cover the general methods that will help you recover lost information in most cases.
⚠️ Important: Use the passwords you receive only to connect your own devices or those of your guests. Unauthorized access to other people's wireless networks is prohibited by law.
Using the QR code feature in Wi-Fi settings
The easiest and most secure method, available on most modern smartphones, is generating a QR code for connection. This method does not require access rights and works on Android 10 and newer. You don't need to be an IT expert; just follow the steps in the settings menu.
To get started, go to the section Settings and select the item Connections or Wi-FiFind a network you're already connected to, or tap the gear icon next to the network's name in the list of available networks. The menu that opens will often include a "Share" button or a QR code icon.
After clicking on the exchange button, the system will ask you to confirm your identity using biometrics (fingerprint or face scanner) or a PIN unlock code. This is a security measure to prevent data theft by thieves if the phone is stolen.
A QR code containing encrypted network information will appear on the screen. On many operating systems (such as stock Android or some versions of MIUI), the password is displayed in clear text directly below the code. If there is no text, you can take a screenshot and scan the code using any scanner app.
☑️ Check your password before viewing it
It's important to understand that on some custom firmware versions, the manufacturer may hide the text portion of the password, leaving only the code itself. In this case, the text under the image will be replaced with asterisks or dots. This doesn't mean the data is inaccessible; it simply requires an additional step to decrypt it.
Decoding a QR code using Google Lens or a scanner
If your smartphone's settings don't display the password as text under the QR code, don't despair. The network information is securely encrypted within the image and can be extracted using standard system tools. This is especially true for owners of devices with a limited interface.
Take a screenshot of the QR code or save it to your gallery. Then open the app. Google or Google Photos, where the module is built in Google LensPoint the camera at the code or select a saved image from your gallery.
The system will analyze the image and return the result. Unlike simple scanners that simply display a string of characters, Google Lens recognizes the structure of Wi-Fi data. You'll see the network name, encryption type, and, most importantly, password in the open.
- 📱 Open the Google app or Google Photos on your device.
- 📸 Click the camera icon (Lens) and select the screenshot with the code from your gallery.
- 🔍 Wait for the analysis: the system will highlight the text fields in the image.
- 📋 Copy the password from the "Password" line to the clipboard.
This method works reliably because Google Lens can read standard Wi-Fi protocol prefixes. Even if the code is corrupted or low-resolution, the artificial intelligence algorithms intelligence They often cope with data recovery better than conventional scanners.
Why might a password not be recognized?
Sometimes a QR code may be too small or blurry. Try zooming in on the image before scanning or taking a new screenshot at a higher resolution. Also, some rare encryption types may not be supported by standard readers.
View saved networks on Android 12 and later
Start with the version Android 12Google has significantly improved wireless connection management, adding the ability to view a list of all saved networks, not just the active one. This allows you to find the password for the Wi-Fi your phone has connected to in the past, even if you're currently out of range of the router.
To use this feature, go to Settings → Network and Internet → Wi-FiIn some interfaces you need to click on the three dots in the corner of the screen and select Saved networksThis will display a complete list of all access points your gadget has ever connected to.
Select the desired network from the list. As with an active network, the system will require identity verification. After successful authentication, a menu will open with a button. Share or a QR code icon. The password generation mechanism is similar to that described above: either the text under the code or its scanning.
A special feature of new versions of Android is the ability to sync passwords via your Google account. If you've previously enabled this feature, your home and office network passwords can be accessed on any device signed in to your account.
| Android version | Viewing the active network | View saved networks | Confirmation required |
|---|---|---|---|
| Android 9 and below | No (Root required) | No | — |
| Android 10 | Yes (QR code) | No | Yes (PIN/Biometrics) |
| Android 11 | Yes (QR code) | Partially | Yes (PIN/Biometrics) |
| Android 12+ | Yes (Text/QR) | Yes (Full list) | Yes (PIN/Biometrics) |
⚠️ Note: The feature to view the list of saved networks may not be available on phones with heavily modified skins (such as older versions of MIUI or ColorOS). In this case, the interface may differ from the default.
Using ADB commands to extract passwords
For advanced users who don't want to take screenshots or don't have access to the settings menu (for example, due to manufacturer blocking), there is a method using ADB (Android Debug Bridge). This method allows you to download the system configuration file, which stores all passwords in cleartext.
This method requires a computer (Windows, macOS, or Linux) and the ADB driver installed. You need to enable the ADB mode on your phone. USB debugging in the Developer Options menu. Without this step, the computer will not be able to access the phone's file system.
The process is as follows: connect your phone to your PC, open the command prompt, and enter the command to gain read access to the configuration file. Please note that on some non-rooted devices, this command may not work or may require additional confirmation on the phone's screen.
adb shell pm grant com.android.settings android.permission.READ_WIFI_CREDENTIALS
After granting rights (if the system allows) or on devices with existing access, you can try to extract the file wpa_supplicant.confHowever, starting with Android 10, access to this file for third-party applications and ADB without root rights has been completely blocked in order to securityTherefore, this method is mainly effective on older devices or custom firmware.
If you have root access, the command becomes trivial. You can simply copy the file from the system folder and open it with any text editor. Inside, you'll find a list of all networks in the following format:
network={ssid="MyWiFi"
psk="SuperSecretPassword123"
key_mgmt=WPA-PSK
}
Here psk — this is the password we're looking for. Despite its technical complexity, this method remains the only working option for very old versions of Android that don't support QR codes but have debugging access.
Password recovery apps (with and without root)
In the store Google Play You can find many apps that promise to reveal saved passwords. However, it's important to understand how they work. Apps without root access typically simply automate the process of generating a QR code or use the system API to connect, but they don't reveal the password itself.
Applications marked Root (For example, WiFi Password Viewer) can actually read system files directly. They require full access to the device, which allows them to read any data, including security keys. Using such programs carries certain risks.
- 🔒 Safety: By granting root rights to an unknown application, you risk leaking all your data.
- 📉 Stability: Incorrect operation of such utilities can lead to conflicts in the system.
- 📜 License: Many "cracked" versions of popular programs contain viruses.
If you do decide to use such software, choose only proven solutions with open source code or a high trust rating. The best option is always the built-in system tools, which don't require additional software installation.
For devices without root access, there are generator apps that help connect guests. They create a QR code based on the data you enter, but they can't retrieve an already saved password from the phone's memory. Be careful when choosing a tool.
⚠️ Note: App interfaces and features may change after updates. Always check reviews and the last update date before installing.
What to do if none of the methods helped
In rare cases where the system is malfunctioning, the settings menu is hidden, and root access is not available, it may be impossible to recover the password programmatically. This often happens on corporate devices with established security policies or on very old smartphone models.
In this situation, the most reliable solution is physical access to the router. If you can get to the router, turn it over. There's almost always a sticker on the bottom of the case with the factory network name (SSID) and password (WPA Key), if you haven't changed them before.
If you've changed your password but have forgotten the new one, you'll need to reset your router to factory settings. To do this, you'll need to find a small hole. Reset On the case, press it with a paperclip and hold it for about 10-15 seconds. After rebooting, the router will return to the data on the sticker.
Keep in mind that resetting the router will disconnect all devices from the network, and you'll have to reconnect them. Therefore, this method should be used as a last resort. You can also try accessing the router's web interface through a browser if you remember the administrator password.
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password on an Android without root access?
Yes, on Android 10 and higher, this can be done using the built-in QR code in the Wi-Fi settings. On older versions, it's practically impossible to find the saved password without root access.
Where are Wi-Fi passwords stored on Android?
Passwords are stored in a system file wpa_supplicant.conf, which is located in a protected directory /data/misc/wifi/Access to this folder without superuser (root) rights is denied.
Are password viewer apps safe to use?
Using apps that require root access carries risks. You're trusting a third-party developer with complete control over your system. It's better to use built-in Google features or QR code scanning.
Why is there no share button for Wi-Fi on my phone?
This feature was introduced in Android 10. If you have an older version of the OS or your phone manufacturer has significantly changed the interface (shell), this option may be missing or located elsewhere in the menu.