A modern smartphone is literally "overgrown" with connections: we go to a cafe, visit friends, or go to an office, where we automatically connect to available hotspots. Over time, the list of these connections becomes enormous, and it often becomes necessary to remember the password for a specific network to connect a laptop or other device without a screen for input. Unfortunately, the standard operating system interface Android For a long time, he hid this information for security reasons, turning the search for the password into a real quest.
The situation has changed dramatically with the release of newer versions of the operating system. Now view saved networks It's become more accessible, although it still requires understanding where to find the necessary buttons. In this article, we'll cover all available methods: from built-in tools in the latest OS versions to advanced methods using the command line and superuser privileges. You'll learn how to find forgotten access keys and manage the list of trusted connections.
It is worth noting right away that the capabilities of the system directly depend on the version Android, installed on your device, as well as from the shell that the manufacturer uses (for example, MIUI, OneUI or ColorOS). Therefore, if you don't find the menu item described, don't be upset—perhaps your path lies through technical settings or third-party utilities.
Standard features of Android 10 and later
Starting with the tenth version, engineers Google We've implemented a convenient QR code feature for quickly connecting guests. This feature also serves as the key to viewing passwords. If you have a relatively new smartphone, you're in luck, as you won't need to perform any complicated steps. Simply log in to Settings → Wi-Fi and select a network to which you are already connected or which is saved in memory.
A QR code will appear on the screen. Below it on many devices (for example, a blank Android on Pixel or some models Xiaomi) the text password is immediately displayed. If the code only says something like "Use your camera to connect," don't despair. Take a screenshot of this screen or simply point another phone's camera (or the built-in Google Lens app) at the QR code.
The system will recognize the code and display a pop-up notification with network details. The parameters line will indicate SSID (network name) and password in cleartext. This is the most secure and fastest method, requiring no additional software. However, on older devices or custom firmware, this option may be hidden or modified by the manufacturer.
⚠️ Please note: The QR code generation function may not be available on devices with very old firmware versions or in budget models where the manufacturer has reduced the interface functionality.
Finding passwords through the settings menu
If the automatic password display under the QR code doesn't work, it's worth checking the advanced menus. In some shells, such as OneUI from Samsung or MIUI from Xiaomi, the operating logic is different from the stock one Android. This is where you often need to go deeper into the menu structure. For example, on Samsung You need to click on the gear next to the network name, and then select "QR code" or "Share."
After verifying your identity (via PIN, fingerprint, or FaceID), the system will generate an image. As mentioned earlier, the password itself may not be written in plain text, but it is embedded within the image. To retrieve it without a second phone, you can use the Google Lens feature, which is often integrated into the gallery or search bar.
Simply open a screenshot of the QR code in your gallery, click the image analysis button (usually an eye or camera icon), and wait for it to be decrypted. You'll see a line in the scan results. WIFI:S:NetworkName;T:WPA;P:YourPassword;;Symbols after P: and until the next one ; — this is the password you're looking for. This method is universal and works on almost all modern devices.
Using the ADB Command Prompt Without Root
For users who don't want to take screenshots or for whom the standard method doesn't work, there's a more technical yet reliable method. It requires connecting your smartphone to a computer and using a tool. ADB (Android Debug Bridge). This method allows you to extract system configuration files directly, bypassing the graphical interface.
First, you need to enable developer mode. To do this, go to Settings → About phone and quickly tap "Build number" seven times. Then, in the "Developer options" menu that appears, enable "USB debugging." Connect your phone to your PC, install the drivers, and the platform. SDK Platform ToolsOpen a command prompt in the ADB folder and enter the following command to test the connection:
adb devices
A debugging permission request will appear on your phone's screen. Confirm it. Next, to see a list of all saved networks, use the command adb shell cmd wifi list-networks (works on Android 11+). However, to view passwords in plain text on older versions or specific firmware, a configuration file query is often used:
adb pull /data/misc/wifi/WifiConfigStore.xml
This file will be copied to your computer. Open it with any text editor (for example, Notepad++), you can find tags <Passphrase>, which store passwords in cleartext. Please note that on newer versions of Android, access to this file without root access may be blocked, and the command will return an error.
What to do if ADB doesn't see the device?
Make sure the correct USB driver is installed and the cable is working properly and supports data transfer, not just charging. Also, try switching the USB connection mode in your phone's notification to "File Transfer (MTP)."
Accessing system files with root rights
If your smartphone has an unlocked bootloader and installed Root rights (superuser rights), the question of how to view a Wi-Fi password is easily resolved. You gain full access to the file system, including protected system partitions where all access keys are stored.
You will need a file manager with root support, such as Root Explorer, RE Manager or MiXplorerAfter granting access rights, go to the following path:
/data/misc/wifi/
In this directory you are interested in the file WifiConfigStore.xml (on new devices) or wpa_supplicant.conf (on older versions). Open the file as text. The data structure will look like a list of networks with parameters. Find the desired network name (SSID) and look at the field value pre_shared_key or PassphraseThis is the password in its pure form.
| Configuration file | Android version | Location | Data format |
|---|---|---|---|
| wpa_supplicant.conf | Android 9 and below | /data/misc/wifi/ | Text, readable |
| WifiConfigStore.xml | Android 10+ | /data/misc/wifi/ | XML, Passphrase tags |
| WifiConfigStore.dat | Some firmware | /data/misc/wifi/ | Binary (requires decoder) |
| NetworkConfig.xml | Custom ROMs | /data/misc/wifi/ | XML, varies |
⚠️ Warning: Manually editing system Wi-Fi configuration files may result in an inability to connect to networks. Edit them as read-only or make a backup before making any changes.
Password recovery apps
In the store Google Play There are many apps that promise to reveal saved passwords. However, there's an important caveat: without root access, no app has permission to read system password files for platform security reasons. AndroidTherefore, most of these programs are either useless or only work as QR code generators from already connected networks (similar to the standard method).
If you have Root, apps like WiFi Password Viewer or WiFi Key Recovery will become a powerful tool. They will automatically scan the system file WifiConfigStore.xml and display a list of all networks in a convenient interface with a "Copy" button. This eliminates the need to delve into the XML file code.
For devices without root access, the only legal method is to use apps that use the system API to create a hotspot or generate a QR code, if the system itself allows it. Attempting to exploit vulnerabilities in older Android versions through specialized software can be dangerous, as such programs often contain adware or malicious code.
☑️ WiFi app security check
Compatibility issues and limitations
It's worth keeping in mind that smartphone manufacturers are constantly changing interfaces and access levels. What worked on Samsung Galaxy S10, may not work on Huawei with shell EMUIFor example, on devices Huawei And Honor The menu may be called "Share" and the password may only be displayed after scanning the code with the camera of another device of the same brand.
Furthermore, corporate security policies (MDM profiles) can block the ability to view or share passwords, even for the device administrator. If the phone is issued by work, the QR code generation feature can be forcibly disabled.
There's also the issue of encryption. On very new versions of Android, passwords may not be stored in cleartext, but rather in a hashed or encrypted form, tied to a specific device hardware key. In such cases, even root access doesn't guarantee the ability to read the password in plain text—you'll only see a string of characters.
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password if I have never connected to this network from this phone?
No, this is impossible. The phone only stores passwords that have been successfully used to connect. If the device hasn't connected to the network, there's no password information in its memory.
Are password viewer apps safe to use?
Using such apps requires root access, which in itself reduces the overall security of the device. Trust only verified open-source apps or those from reputable developers. Be wary of apps that require unusual permissions.
Why is there no share button or QR code on my Android 12?
It depends on the manufacturer's shell. In some versions MIUI or old builds OneUI This feature may be hidden in a submenu or require installation of an additional plugin from the manufacturer. It may also be unavailable if the network is corporate and requires special security certificates.
Is it possible to recover the password if I reset the network settings?
No. Resetting network settings deletes all saved Wi-Fi profiles, including passwords. The only way to restore access is to find the password on another device already connected to the network or view it on the router.