Everyone is familiar with the situation when friends come over and ask for your Wi-Fi password. Often, we forget the complex combination of characters we once created to protect our router, or a new gadget requires us to re-enter the password. Fortunately, the operating system Android Starting with version 10, it stores data about connected networks in the public domain, making it easy to recover forgotten access keys.
On older versions of the system or if there are specific security settings, the procedure may differ. You won't need complex programs or superuser rights if you're using a modern device. However, if your smartphone is based on Android 9 or lower, it will not be possible to extract information using standard system tools, and additional measures will be required.
In this article, we will take a detailed look at all the current methods that will help you quickly find out PSK key (passphrase) directly from your smartphone screen. We'll cover the standard interface features, QR code capabilities, and specific commands for advanced users, so you can handle the task in any situation.
Method via QR code and public access
The easiest and fastest method, available on most modern smartphones with version Android 10 and newer, involves using the "Share" feature. You don't need to search for hidden files or enter commands—just a few taps on the screen. This method works on devices Samsung, Xiaomi, Pixel and other popular brands.
To get started, open the settings and go to the section Connections or Wi-FiFind the network you're currently connected to (usually marked with a gear icon or at the top of the list). Click on the network name or the settings icon next to it. On the screen that opens, you'll see a button. Share or icon QR.
After tapping, the system will ask you to confirm your identity using a PIN, fingerprint, or Face ID. This is a standard security measure to protect your data from prying eyes. After confirmation, a QR code will appear on the screen. Below it (or directly on the code image if you tap "Learn More") will be a text password. If there is no text, simply point the camera of another phone at the code—it will automatically recognize the data and prompt you to connect, displaying the password in a notification.
Please note that on some shells, for example MIUI or OneUI, the interface may differ slightly. In some cases, the password is hidden by asterisks even after scanning, but the very fact that the code is generated confirms that the device "remembers" the access key.
View saved networks in Settings on Android 12 and above
Owners of devices with the updated operating system Android 12, 13 And 14 We've added an even more convenient tool. Wi-Fi settings now feature a separate list of all saved networks, even those you're not currently connected to. This lets you view the password for a guest network or a neighbor's network if you've ever entered it on your phone.
To use this feature, follow the path Settings → Network & Internet → Wi-Fi. At the bottom of the screen (or in the three-dot menu), find the item Saved NetworksA list of all access points known to your phone will open. Select the desired network from the list.
After selecting the network, a button will appear on the screen Share or an eye icon. By clicking on them and completing biometric authentication, you'll see the full password. This is especially convenient if you need to connect a new device and your current connection is active on another device.
- 📱 Versatility: The method works on stock Android and most custom shells.
- 🔒 Safety: Access to passwords is protected by your phone's biometric system.
- 📝 Copying: In many OS versions, the password text can be copied to the clipboard with one click.
Using the Developer Options and ADB (Advanced)
For users who prefer to work with the command line or do not have a graphical interface for viewing passwords (for example, on some tablets or TV boxes), there is a method via ADB (Android Debug Bridge)This method requires connecting your smartphone to your computer and having the driver installed.
First, you need to enable debug mode. Go to Settings → About phone and quickly press the item seven times Build numberAfter the “You are now a developer” message appears, return to the main settings menu and find the section System → For Developers and enable the item USB Debugging.
adb shell dumpsys wifi | grep"mConfiguredNetworks"
This command will list the configurations, but on modern Android versions, direct password output via ADB is often blocked by Google's security policies. However, if you have root access, the command su -c"cat /data/misc/wifi/WifiConfigStore.xml" will allow you to see the configuration file where passwords are stored in the field PreSharedKey.
⚠️ Attention: Using ADB and rooting may void your device's warranty. Be careful when entering commands, as incorrect actions may cause system instability.
If you're unfamiliar with the command line, it's better to use the graphical methods described above. This option is more suitable for IT professionals or owners of specialized equipment that lacks a standard interface.
What to do if the computer doesn’t see the phone?
Make sure the ADB driver is installed, the cable is working properly, and in debug mode on your phone screen you have confirmed permission to debug from this computer (you need to click "Allow" in the pop-up window).
Viewing the password through the router's web interface
If your phone doesn't display the password (for example, on older versions of Android), but you're already connected to Wi-Fi, you can view the access key through the router's settings. Your phone must be connected to the Wi-Fi network to do this. This method is universal and works on all devices, including iPhones and older Android devices.
Open a browser on your phone (Chrome, Safari, Yandex) and enter the router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address can be found on the sticker on the bottom of the router or in its documentation. After entering the address, you'll need to enter your username and password to access the control panel.
By default, the login is often a word admin, and the password is either admin, or it's listed on the same sticker. If you've changed the administrator password before and forgotten it, this method won't work without resetting the router.
| Router brand | Entrance address | Menu section |
|---|---|---|
| TP-Link | 192.168.0.1 | Wireless → Wireless Security |
| ASUS | 192.168.1.1 | Wireless Network → Security |
| D-Link | 192.168.0.1 | Wi-Fi → Security Settings |
| Keenetic | 192.168.1.1 | My Networks and Wi-Fi → Home Network |
| Tenda | 192.168.0.1 | Wireless Settings → Wireless Security |
Once you find the section you need (usually called "Wireless" or "WLAN"), you will see a field PSK Password or "Wireless Network Password." The current character combination will be displayed. You can copy it or change it to something more convenient.
☑️ Checking access to the router
Specifics of different smartphone manufacturers
The Android interface varies greatly depending on the manufacturer. For example, on smartphones Samsung with shell One UI The (Share) button may be hidden in the top menu or require a double tap. On devices Xiaomi (MIUI/HyperOS) The QR code is displayed immediately after opening the Wi-Fi settings, but the password may not be written in text at all - only the code.
For phone owners Huawei And Honor It's worth paying attention to the "WLAN+" function, which sometimes changes the default network behavior. On some models Poco And Redmi To view the password, you must log in to your Mi Account, which is an additional measure to protect your data.
If the default paths don't work, try searching through the settings. Enter "Wi-Fi" or "Wireless Network" in the search bar of the settings menu. The system will automatically suggest the correct path for your firmware version.
⚠️ Attention: Operating system interfaces are updated regularly. Button locations and item names may differ from those described depending on the firmware version of your specific device.
Common problems and system limitations
Why is it sometimes impossible to view a password? The main reason is the operating system version. Android 9 (Pie) In earlier versions of Google, access to password files was blocked for regular apps and users for security reasons. Without root access (superuser rights), it's impossible to view saved passwords on such devices using standard tools.
Another issue could be corporate security policy. If the phone is work-issued or configured through an organizational profile, the administrator may have prohibited viewing and sharing Wi-Fi passwords. In this case, the menu options will be unavailable or hidden.
It's also worth remembering the physical limitations. If you've never connected to this network and entered the password, it's impossible to "magically" retrieve it from your phone. The phone can only display the password for a network whose key has already been entered and saved in the device's memory.
- 🚫 Android 6-9: Root access is required to view configuration files.
- 🏢 MDM profile: Corporate restrictions may block the feature.
- 📉 Memory error: When the list of networks is full, old passwords can be deleted automatically.
Questions and Answers (FAQ)
Is it possible to find out the Wi-Fi password if I'm not connected to it?
No, this is impossible. The phone only stores passwords that have been successfully entered previously. If the device has never connected to a network, there is no access key data in its memory.
Are password recovery apps safe to use?
Most of these apps on Google Play either don't work without root access or are scams. They can collect your personal data. It's better to use Android's native QR code functionality.
What to do if the QR code does not scan?
Try increasing your screen brightness. If that doesn't help, take a screenshot of the code and open it in Google Photos or Gallery—they often have a built-in Google Lens feature for analyzing images.
Where is the password stored in the file system?
On modern devices without root access, this file (WifiConfigStore.xml) is located in a protected section /data/misc/wifi/ and is not readable by regular file managers.
Does the password change after resetting network settings?
Yes, resetting network settings deletes all saved Wi-Fi profiles and their passwords. You'll need to re-enter the passkey the next time you connect.