It's common to need to connect a new gadget to your home network or invite guests over, but have forgotten the password. Mobile device owners often wonder how to view saved access data directly from their phone, without a computer or router. Fortunately, modern operating systems make this quite easy, although the methods may vary depending on the year of the smartphone's release.
Previously, obtaining such information required root rights and dedicated file managers, which was insecure and complicated for the average user. Google has now significantly simplified access to security settings by integrating the key viewer into the standard interface. However, if you have an older device, this procedure may require additional steps or the use of third-party software.
In this article, we will examine in detail all the current methods for recovering lost data for various versions. AndroidYou'll learn where to look for hidden QR codes, how to use console commands, and whether third-party apps are worth using.
The standard method for Android 10 and later
Starting with the tenth version of the operating system, Google has implemented a native QR code generation feature for quickly connecting other devices. This method is the most secure and doesn't require installing additional software. To use it, simply open the wireless network settings on a device that is already authorized to the network.
Go to the menu Settings → Wi-Fi and tap the gear icon next to the active network name. Detailed connection information will appear on the screen, including the IP address and speed. At the bottom of the screen (or in the upper corner, depending on your browser), you'll see a "Share" button or a QR code icon.
After clicking this button, the system will ask you to confirm your identity using biometrics (fingerprint, Face ID) or screen unlock PIN. This is an important security measure to prevent password theft if your phone is lost. After successful authentication, a square code will appear on the screen.
The password itself is often (but not always) written in text beneath the QR code image. If there is no text, the code can be scanned with any other smartphone or even a screenshot can be taken and recognized using Google Lens. The scan results will display a string like this: WIFI:S:NetworkName;T:WPA;P:YourPassword;;, where after P: and the sought-after key is hidden.
⚠️ Note: On some smartphones (e.g. Xiaomi or Samsung with proprietary skins), the text password may not be displayed below the code. In this case, use a second phone to scan the screen of the first.
It's worth noting that the menu interface may differ slightly on different models. For example, on Samsung Galaxy the button may be called "QR code", but on a clean Android (Pixel, Motorola) — "Share." The operating principle remains the same across the entire ecosystem.
Using Google Home to View Keys
If the standard menu does not show the password, you can use the application Google Home, which is often preinstalled on devices with Google services. This method is especially relevant for those who manage their smart home through the Google ecosystem. The app allows you to manage the network and view connected devices.
Open the app Google Home On your smartphone. At the top of the home screen, find the "Devices" or "Wi-Fi" section. Tap the gear icon or the "View Network" button. In the menu that opens, select "Share Wi-Fi" or a similar option.
The system will again ask for identity verification. Afterward, a QR code for guests will appear on the screen. As before, the text version of the password can be hidden, but the code itself contains all the necessary information. This is a great option if you don't want to delve into your phone's system settings.
It's important to note that for this method to work, your phone must be connected to the same network whose password you want to find out. If you're outside the router's range, the app won't be able to generate a valid access code.
Methods for Android 9 and older versions
On devices running Android 9 Pie and earlier versions (8 Oreo, 7 Nougat), the function of viewing passwords via QR code is missing. The operating system stores access keys in a system file. wpa_supplicant.conf, access to which is closed to regular applications.
The only reliable way to find out the password on such devices without access to the router is to obtain root rights (superuser rights). This gives you full control over the file system. After rooting, you can use root-enabled file managers, such as Root Explorer or ES File Explorer.
The process is as follows: open the file manager, go to the root of the system along the path /data/misc/wifi/Find the file wpa_supplicant.conf and open it as a text document. Inside, you'll see a list of all saved networks in the following format:
network={ssid="MyWiFi"
psk="SuperSecretPassword123"
key_mgmt=WPA-PSK
}
Here ssid — the network name, and psk — the password you're looking for. Be extremely careful when working with system files: accidentally changing other parameters may cause instability in the Wi-Fi module.
⚠️ Warning: Rooting your device will void your warranty and may make it vulnerable to malware. Only do this if you fully understand the risks.
An alternative for older versions without root access is to access the router's web interface through a browser on your phone. To do this, you'll need the gateway IP address (usually 192.168.0.1 or 192.168.1.1) and the administrator login and password.
☑️ Check before rooting
Third-party applications and their limitations
In the store Google Play You can find many apps that promise to reveal saved Wi-Fi passwords with one click. However, it's important to understand the limitations of Android security policies. Starting with version 4.4, Google blocked third-party apps from accessing system password files.
The apps you'll find today fall into two categories. The first are utilities that only work on rooted devices. They're essentially a convenient shell for reading files. wpa_supplicant.confThe second category is password databases where users share keys to public access points (cafes, airports).
Popular names of such programs include WiFi Password Viewer, WiFi Key Recovery and others. If your phone isn't rooted, these apps will either display ads offering superuser rights or simply be unable to find the saved keys.
Using such apps carries certain risks. You grant the program access to a list of your networks, which can be used to collect statistics or conduct more sophisticated attacks. Furthermore, many "free" versions are overloaded with intrusive advertising.
| Application type | Requires Root | Security | Performance on Android 10+ |
|---|---|---|---|
| System viewers | Yes | Average (depending on the developer) | High |
| Password databases (maps) | No | Low (user data) | Low (for home networks) |
| Network Analysts | Partially | High | Average (signal analysis only) |
Using ADB Commands for Advanced Users
For users who do not want to get full root rights, but have access to the computer, there is a debugging method through ADB (Android Debug Bridge)This method requires enabling developer mode on your phone and having a PC with the drivers installed.
First, you need to enable USB debugging in the Developer Options menu. Then connect your phone to your computer using a cable. Open the command prompt on your PC and enter the following command to test the connection: adb devicesIf the device is detected, you can try reading the configuration file.
Without root command adb pull /data/misc/wifi/wpa_supplicant.conf It most likely won't work, giving an access error. However, on some firmware versions (especially older or custom ones), you can use the command:
adb shell dumpsys wifi | grep -A 5 "mLastConnectionInfo"
This command displays information about the last connection, but often obscures the password itself with asterisks or doesn't display it at all in newer versions of Android. Nevertheless, it's one of the few ways to attempt to retrieve data without completely hacking the system.
If you have temporary root access via ADB (command adb root), then the task is simplified to copying the configuration file to the computer with the command adb pull /data/misc/wifi/wpa_supplicant.conf c:/wifi.txtAfter this, the file can be opened with any text editor.
⚠️ Note: Command line interfaces and access rights may vary depending on the processor manufacturer (Snapdragon, MediaTek, Exynos) and firmware version.
What to do if none of the methods helped
In situations where it's impossible to view the password on your phone (no root, an old Android version, or blocked login), the classic method remains: accessing the router settings. To do this, the device must be connected to a Wi-Fi network or a cable.
Open your browser and enter your router's IP address in the address bar. Most often, this is 192.168.0.1, 192.168.1.1 or 192.168.31.1The exact address, username, and default password are listed on a sticker on the bottom of the device. If you've changed the login details and forgotten them, you'll need to reset the router to factory settings (press the Reset button).
After logging into the web interface (often you need to enter your login admin and password admin or password) Find the "Wireless" or "Wi-Fi" section. Under the "Security" subsection, you'll find a "Password/Key" field. It's often hidden behind asterisks, but there may be a "Show" button next to it or an option to simply copy the text.
If access to the router is lost, the only solution is to perform a full reset. Press and hold the button Reset Press the key on the router body for about 10-15 seconds (until all the indicators start flashing). After this, the device will return to factory settings, and the password will be the one written on the sticker.
Why can't you just "hack" someone else's Wi-Fi?
Modern WPA2 and WPA3 encryption protocols use complex algorithms. Brute-forcing a password can take hundreds of years. Legal recovery methods only apply to personal networks to which you already have physical access or administrator rights.
Frequently Asked Questions (FAQ)
Is it possible to find out a neighbor's Wi-Fi password using an app?
No, legitimate apps can't hack other people's networks. Apps that promise to do so are either scams or use stolen password databases, which is illegal. You can only connect to open networks or networks whose passwords are known to the owner.
Where can I find the wpa_supplicant.conf file on Android 12?
On Android 12, this file is located at /data/misc/apexdata/com.android.wifi/WifiConfigStore.xml or in a similar system folder. Access to it without root access is completely blocked. The standard QR code method is the only official alternative.
Are password viewer apps safe to use?
Apps that require root access to read system files can be safe if they have a good reputation. However, apps that require strange permissions or promise "magical" access without root access often contain ads or malware. It's better to use built-in system features.
What to do if the QR code cannot be read?
Try increasing your screen brightness, wiping the camera, or using a different device to scan. You can also take a screenshot of the code and open it in Google Photos or Google Lens by selecting the image search function.