The situation when you need to connect a new device to the network, but you have forgotten the password, occurs everywhere. Often, a smartphone that is already successfully connected to this access point becomes a lifeline. However, unlike computers, mobile operating systems have long hidden this data from the user for the purposes of security. Only in the latest versions has it become possible to legally and simply extract this information without complex manipulations. Android it became possible to legally and simply extract this information without complex manipulations.
Previously, superuser rights were required to gain access to configuration files, which was associated with the risk of loss of warranty and unstable operation of the gadget. Today the situation has changed dramatically: starting with version 10, and especially in 11 and 12, built-in tools allow you to see the encryption key or generate a code for quick connection. In this article, we will analyze all the current methods, from standard functions to specialized software.
Before starting technical actions, make sure that your device is actually within the network coverage area and is successfully connected to it. If the connection is broken, it will be impossible to recover the lost data without physical access to the router. We will look at methods that work on various shells, such as MIUI, OneUI and stock Android.
The easiest way: QR code in the settings of Android 10+
Starting with the tenth version of the operating system, Google has introduced a native function for generating QR codes for shared networks. This is the safest and fastest method that does not require the installation of third-party software. You don't need to look for hidden files or use terminal emulators - everything is on the surface of the interface.
Go to the section Settings โ Connections โ Wi-Fi. Here you'll see a list of available networks, and the currently active network will be marked with a gear icon or "Connected." Click on the name of your network or the settings icon next to it. In the menu that opens, find the button QR code or Share.
A pattern lock will appear on the screen. In most modern shells, such as Samsung One UI or Xiaomi MIUI, the network password itself is displayed in small print right below this code. If the password is hidden by dots or asterisks, you will need a second smartphone.
โ ๏ธ Attention: Do not take screenshots of QR codes and do not publish them on social networks. Anyone with access to this image will be able to instantly connect to your network, gaining full access to your local traffic.
If the password is not written in the text below the QR code, simply scan this code with the camera of the second phone. The notification that appears after scanning will display text with the access key in clear text.
This method works stably on devices with updated firmware. However, the interface may vary slightly depending on the manufacturer. For example, on some models Pixel you must first press the "Share" button and then confirm the action with a fingerprint or PIN code.
Using third-party applications without root access
If your version of Android is lower than 10 or the interface does not allow you to view the password directly, specialized utilities from the store come to the rescue. Google Play. It is important to understand that without superuser rights, these applications cannot read the system file wpa_supplicant.conf, where all the keys are stored.
However, some developers have found workarounds by using Accessibility Services or automating the input process. Applications such as WiFi Password Viewer or Instabridgeoften offer databases of common passwords or try to recover them through packet analysis if the device is in monitoring mode (which is rare for regular phones).
- ๐ฑ WiFi Map โa huge database of passwords created by a community of users around the world.
- ๐ WiFi Password Recovery โattempts to extract data from the system cache, if allowed by the device's security policy.
- ๐ Instabridge โfocuses on searching for free access points, but has functions for viewing saved networks.
The effectiveness of such apps highly depends on the processor model and kernel version. On new devices with security patches 2023-2026, most of them will be useless without gaining full access to the system. Be careful when granting permissions: some dubious utilities may collect your personal data.
Method for advanced: access via root access
If you need a guaranteed result on an old device or you want to unload all saved networks at once, the only reliable option is to get rights Root. This gives full access to the file system, including protected system directories.
After rooting the device (using Magisk or SuperSU), you will need a file manager that supports superuser rights, for example Root Explorer or Solid Explorer. Follow the path /data/misc/wifi/. This is where the file is located wpa_supplicant.conf.
network={
ssid="MyHomeNetwork"
psk="SuperSecretPassword123"
key_mgmt=WPA-PSK
}
Open this file with the built-in text editor. You'll see a list of all the networks your phone has ever connected to. The parameter ssid indicates the network name, and psk the desired password in clear text. This method is universal and works on any version of Android, starting with the earliest ones.
โ ๏ธ Warning: Obtaining root access will void the warranty on the device and can lead to breakdown ("bricking") if done incorrectly. This also makes the phone vulnerable to malware that can steal your banking data.
What if the wpa_supplicant.conf file is empty?
If the file is empty or does not contain the necessary entries, the data may be stored in an encrypted keystore (Keystore), which is not accessible even to root users on some new Qualcomm and MediaTek chips. In this case, only the QR code method or resetting the network settings will help.
Restoring access through the router's web interface
If the phone cannot show the password and you do not have a computer at hand, you can try going into the settings of the router itself directly from a mobile browser. This method requires that your phone is connected to this WiFi network (even if there is no Internet).
Open your browser and enter the gateway IP address in the address bar. Most often this is 192.168.0.1 or 192.168.1.1. The exact address can be found in the WiFi settings on your phone in the โDetailsโ or โGatewayโ sections. You will be asked to enter the administrator login and password.
| Manufacturer | Standard IP | Default login | Default password |
|---|---|---|---|
| TP-Link | 192.168.0.1 | admin | admin |
| ASUS | 192.168.1.1 | admin | admin |
| Xiaomi | 192.168.31.1 | - | specified during setup |
| Keenetic | 192.168.1.1 | admin | 1234 |
| Huawei | 192.168.8.1 | admin | admin |
After authorization, find the section Wireless or Wireless mode. In the subsection Security (Security) there will be a password field. Often it is hidden by asterisks, but there is a โShow Passwordโ checkbox next to it. By removing it, you will see the key in text form.
If the standard login and password do not work, it means they were changed when you first set up the router. In this case, without resetting the device to factory settings, you will not be able to enter the control panel.
Synchronization with Google account
Modern smartphones based on Android can synchronize saved WiFi passwords with the cloud storage of your Google account. This allows you not only to restore access when changing your phone, but also to view data through a browser on any device.
To do this, go to the site passwords.google.com from any computer or other phone. Log in using the same account that is used on your mobile device. In the list of saved data, find the "Passwords" category and enter the name of your network in the search.
Google will require reauthentication to view sensitive data. After entering the code from SMS or confirmation through the app, you will see your login and password. This method is ideal if the phone itself is broken or the screen does not work, but the account is active.
- ๐ Data is protected by Google end-to-end encryption.
- ๐ Automatic update when the password on the device is changed.
- ๐ Access from anywhere in the world if available Internet.
โ ๏ธ Attention: The password synchronization function must first be enabled in the phone settings (
Settings โ Google โ Autofill). If it was disabled, there may be no data in the cloud.
What you should absolutely not do
Users chasing a forgotten password They often turn to dubious advice from the Internet. There are many myths about "magic" applications that crack WPA2 in seconds. The reality is this: modern encryption protocols are extremely secure, and a brute-force attack can take years.
Avoid downloading APK files from unverified forums that promise to โhack any WiFi.โ In 99% of cases these are Trojans, miners or spyware. Not only will they not give you a password, but they will also steal your bank card data, photos and correspondence.
It is also not recommended to use social engineering methods if you are not the owner of the network. Unauthorized access to computer information is an offence. All methods described above assume that you have a legal right to access this network (the owner or a trusted person).
โ๏ธ Security check before password recovery
Is it possible to find out the password if the phone has never connected to this network?
No, this is impossible. The phone does not store information about networks to which it has not connected. The only option is to use databases of shared passwords (like WiFi Map) if someone else has previously shared this key, or guess it through the router interface if you know the administrator data.
Why is there no QR code button on my Android 11?
Some manufacturers (for example, older versions of Huawei or Honor shells) could hide this function or implement it differently. Try clicking on the "eye" icon next to the password in the network settings or use the "Quick Settings" widget and add the "QR code for WiFi" tile there.
Is it safe to save passwords in your Google account?
Yes, this is one of the safest ways. Data is encrypted on the device before sending and decrypted only after your authorization. There is a risk of your Google account being hacked, but it is minimal when using two-factor authentication.
What to do if the router does not allow settings with a standard password?
If the password has been changed and forgotten, you will have to reset the router to factory settings. To do this, find a small button on the case Reset (often recessed into the case), press it with a paper clip and hold for 10-15 seconds. After this, the router will return to the factory login and password indicated on the sticker below.
Do WiFi hacking applications like WiFi Hacker work?
No, applications with such names on Google Play are fakes. They either show random passwords or simulate the hacking process for fun. Real hacking WPA2 requires powerful computing equipment and time; a smartphone cannot handle it.