The inability to connect a new smartphone or tablet to the home network due to a lost security key often occurs due to prolonged use of the auto-connect function, when the combination of symbols simply disappears from memory. If you have forgotten the Wi-Fi password on Android, do not rush to reset the router settings to factory settings, since modern versions of the mobile operating system have built-in tools for viewing saved data without installing third-party software.
Previously, restoring access was only possible if there were root-rights specific file managers capable of reading system partitions. Today, starting with Android 10, the security mechanism has been revised towards user convenience. Now you can retrieve saved data through the standard settings menu, using the sharing function or scanning a QR code. However, the method may differ depending on the manufacturer’s shell, be it MIUI, One UI or pure Android.
In this article we will analyze in detail all the current methods for recovering lost data. We will look at standard system tools, cloud backup capabilities, and specialized utilities for advanced users. It is important to understand that the success of the operation directly depends on the version of your software and access rights to the device.
Using the sharing function in Android 10 and higher
Starting with the tenth version of the operating system, Google has introduced a native function for quickly exchanging access keys. This is the simplest and safest method, which does not require installing additional applications or tampering with system files. If your smartphone is running the latest version of the software, the algorithm of actions will be extremely simple and intuitive.
First, you need to go to the wireless connection settings section. Find item Settings → Connections → Wi-Fi or a similar path in your model. In the list of available networks, find the one to which you are already connected at the moment. A gear icon or a “Share” button should appear next to the network name or in the context menu when long pressed.
After clicking on the share button, the system will ask you to confirm your identity. You will need to enter PIN code, pattern key or scan your fingerprint. This is a security measure to ensure that only the device owner has access to sensitive network data. After successful authentication, a QR code will be displayed on the screen.
Under this code the password itself is usually written in text form. If the text is hidden by asterisks, you can take a screenshot of the screen or use a second smartphone with a camera to scan. When you point the camera of any other device at this code, the connection will occur automatically, and the notification often duplicates the text string with the security key.
If there is no password text under the QR code, take a screenshot of the screen and open it in the Google Lens application or any QR code scanner - they will recognize and show the hidden string.
The function works only if the smartphone is currently connected to the network or has previously saved its profile with full access.
Viewing saved networks through Google settings
In some interface updates, especially on Pixel smartphones and devices with a pure system, the viewing mechanism was moved to a separate synchronization menu. This allows you to manage networks that the device has previously connected to, even if the current connection is disconnected. This feature is tightly integrated with your Google account.
To use this method, go to Settings → Google → Devices and sharing. In some firmware versions, this path may look like Settings → System → Backup. Here you need to find the section responsible for restoring networks or synchronizing Wi-Fi. The system will show a list of all networks whose data has been saved in the cloud.
By selecting the desired network from the list, you can see the connection details. The interface may vary: in some cases the password is displayed immediately, in others you need to click the “Show” or “Generate QR code” button. Please note that for this feature to work, Wi-Fi data synchronization must be active in your account.
If the list is empty or the required network does not exist, it means that automatic backup was previously disabled. In this case, this method will not work, and you will have to resort to other methods of restoring access. This often happens on devices where the user has manually turned off synchronization to save data or battery.
⚠️ Warning: Data in the Google menu may be delayed. If you changed the password on your router five minutes ago, the old combination of characters may still be stored in the cloud profile.
Specifics shells MIUI, One UI and EMUI
Smartphone manufacturers often modify the standard Android interface by adding their own features. Owners of devices from Xiaomi, Samsung and Huawei may find the password viewing function in completely unexpected places. Differences in menu logic sometimes confuse users, forcing them to look for buttons that don't exist.
On devices Xiaomi with the MIUI shell, the process is simplified as much as possible. In the Wi-Fi menu, next to the active network, there is a “Share” button. After scanning your fingerprint, a card with a QR code is generated. A unique feature is that the password is often written in small print right below the code graph, eliminating the need to scan it with a second phone.
Users Samsung with the One UI skin also have access to a convenient tool. In Wi-Fi settings, you need to click on the gear next to the name of the network, and then select “QR code” at the bottom of the screen or in the “More” menu. The system will require you to enter a screen unlock password, after which it will show a code for scanning.
Owners Huawei i Honor with the EMUI or Magic UI shell are faced with a similar interface. In the network management menu, there is often a “Share password” item or a QR code icon at the top of the access point settings screen. However, in older versions of EMUI, this function may have been hidden or required the installation of a plugin.
- 📱 Xiaomi (MIUI): The password is often duplicated in the text under the QR code immediately after authentication.
- 🔒 Samsung (One UI): Mandatory confirmation via PIN code or biometrics is required before generating the code.
- 🌐 Huawei (EMUI): In some versions, the function is only available through the menu “Mobile hotspot.”
What to do if there is no “Share” button?
On some custom firmware, the manufacturer could disable this function at the system level. In this case, try updating the software to the latest version or use the methods with root access described below.
Data recovery via Google Drive and backups
If you do not have a second device on hand to scan the QR code, and the text password is not displayed, you can try restoring your data through a full backup. This method involves analyzing the backup that the system periodically creates on Google servers. This is a more difficult path that requires care.
The essence of the method is that when you enable backup, Android stores the network configuration, including the SSID and security key, in encrypted form on your Google Drive. Direct access to this file through the file manager on the phone is closed, but there are ways to export the data.
One of the options is to reset the phone to factory settings and, during the initial setup, choose to restore from a Google copy. During the setup process, the system will offer to restore saved Wi-Fi networks. However, this method is radical and does not guarantee that the password will be displayed in text form after recovery - the phone will simply connect automatically.
A more advanced method involves using utilities on a PC to unpack Android backups, but this requires superuser rights at the stage of creating a backup or using specialized software like Helium (for older versions). For the average user, this method may be too labor-intensive compared to simply scanning a QR code.
| Method | Required rights | Complexity | Efficiency |
|---|---|---|---|
| QR code in settings | No | Low | High (Android 10+) |
| Google Drive | No | Medium | Medium (auto-connect) |
| Wpa_supplicant file | Root | High | 100% |
| Third-party applications | Root / No | Medium | Depends on the OS version |
Using applications to recover passwords
There are many utilities in the Google Play store that position themselves as tools for recovering forgotten keys. However, their effectiveness directly depends on the version of your operating system and the availability of superuser rights. Thoughtless installation of such apps can lead to infection of the device with advertising.
On devices without root access most of these applications are useless. They do not have access to the system file where encrypted passwords are stored. Such utilities often simply duplicate the function of a standard QR code or offer databases of popular passwords for access point addresses, which rarely helps in the case of a home network with a unique key.
If your smartphone is rooted, applications like WiFi Password Viewer or ES Explorer (with root mode enabled) can instantly display all saved networks. They read the configuration file directly and output the data in a clear format. This is the fastest way for experienced users.
When choosing an application, carefully read reviews and check permissions. Avoid apps that require access to your contacts or microphone to “search for passwords.” A legitimate utility only needs access to network settings and, possibly, root access.
⚠️ Attention: Installing applications from unverified sources to obtain root access may lead to loss of warranty and disruption of banking applications on the device.
☑️ Check before installing applications
Access to system file wpa_supplicant.conf (for Root)
For users with superuser rights, there is a “gold standard” of recovery - direct access to the system configuration file. This method works on any version of Android, including the oldest, and gives a 100% guarantee of results. It requires the use of a file manager with root support, for example Root Explorer or Solid Explorer.
A file containing all passwords ever entered is located at /data/misc/wifi/wpa_supplicant.conf. In newer versions of Android, the path may differ slightly, but the logic remains the same. By opening this file in a text editor, you will see a list of blocks, each of which corresponds to a saved network.
Inside the block network={} we are interested in two lines: ssid (network name) and psk (password). The value specified in quotation marks after pskis the required security key in clear text. You can simply overwrite it or copy it.
network={ssid="MyHomeWiFi"
psk="SuperSecretPassword123"
key_mgmt=WPA-PSK
}
Be extremely careful when editing this file. Any unnecessary syntax change may cause the Wi-Fi module to stop working correctly and the phone will not be able to connect to any network until a factory reset or flashing. It is recommended to make a copy of the file before any manipulation.
Before editing system files, always create a backup copy of them in the internal storage folder so that you can restore the original in case of an error.
Alternative methods of logging into the router
If none of the software methods on the smartphone worked, the classic method remains — login to the router control panel. To do this, you will need any device already connected to the network (laptop, tablet), or a cable connection. This method is universal and does not depend on the Android version.
You need to open a browser and enter the gateway IP address. Most often this is 192.168.0.1 or 192.168.1.1. The exact address, as well as the login and password for entering the admin panel, are usually indicated on a sticker on the bottom of the router itself. Standard combinations are often admin/admin or admin/password.
Once in the settings interface, go to the wireless network section (Wireless or Wi-Fi Settings). There in the security field (Security Key / Password) you can see the current password. Most modern interfaces have an eye button that allows you to show hidden characters.
This method also allows you to change your password to a more memorable one if you realize that the old combination is too complex. After the change, do not forget to reconnect all devices in the house using the new key.
What to do if the password from the router is also lost?
If you changed the password from the admin panel of the router and forgot it, the only solution is a hardware reset (Reset). There is a small button on the body of the device that needs to be pressed with a paper clip for 10-15 seconds. The router will return to the factory settings, and the password will be the same as indicated on the sticker.
Is it possible to find out the password if the phone is not connected to the network?
On Android 10 and higher, you can see the password from the network to which the phone was previously connected, even if it is now unavailable. To do this, you need to go to the saved networks in the Wi-Fi settings, select the one you need and click “Share”. The system will generate a QR code with the data of this network.
Is it safe to use applications like WiFi Password Viewer?
It is safe only if you have root access and download proven software from the official store. Applications without root access is often dummies or ad collectors. They cannot access the system password storage without superuser rights.
Why is there no “Share” button on Wi-Fi on my Android?
This may be due to the version of the operating system (below Android 10) or firmware features from the manufacturer. Some budget models or custom builds may not have this feature in the standard interface. In this case, only logging into the router or root access will help.