The situation when you need to connect a new device to the network, but the password is lost or forgotten, is familiar to many users. Fortunately, modern smartphones based Android are able to store data about connected networks, which makes it easy to restore access to Internet. In older versions of the operating system, this was almost impossible without special rights, but today the process has been significantly simplified.
Recovery methods depend on the version Android and shell of the manufacturer of your gadget. In some cases, you will need access to the router settings, in others, the standard functionality of the system is sufficient. We will look at all the current methods, from simple menu settings to using console commands for advanced users.
Before proceeding, make sure that your device has previously been connected to the desired network. System will not be able to show the password for a network that the smartphone has never connected to. It is also worth considering that the menu interface may vary slightly depending on the brand, be it Samsung, Xiaomi or Pixel.
Recovery through settings Android 10 and later
Starting with the tenth version of the operating system, Google has introduced a native function for viewing and sharing passwords. This is the simplest and safest method that does not require the installation of third-party software. You need to go to Settings → Network and Internet → Wi-Fi and select the desired network from the list of saved ones.
The network configuration screen often displays a “Share” button or a QR code icon. After clicking on it, the system will ask for biometric authentication (fingerprint or face scan) or enter a screen unlock PIN code. This is a measure securitythat prevents outsiders from accessing your data.
⚠️ Attention: On some shells (for example, MIUI or OneUI), the password text may not be displayed explicitly, but only a QR code may be offered. In this case, use the QR scanner in the camera of another phone or take a screenshot of the code and open it through Google Lens.
If the password is still hidden by asterisks, try taking a screenshot of the screen with the QR code. Then open this screenshot in the Google Photos or Gallery application and click the “Search by Image” button (Google Lens). The system will recognize the encrypted code and display the password in plain text under the image. This works on almost all modern smartphones without exception.
If The QR code is not displayed, try clicking the "Share" button in the Wi-Fi menu. Often, the password is copied to the clipboard automatically or displayed at the top of the code generation screen.
Using a Google Account for synchronization
In more recent Android updates, especially version 14 and higher, Wi-Fi passwords are synchronized with yours Google account. This allows you to access data even from another device if it is authorized under the same account. The function is designed for a convenient transition to a new smartphone.
To view saved data, follow the path Settings → Google → Autofill → Autofill from Google → Google Passwords. In the list that opens, you need to find the “Wi-Fi Passwords” tab or filter. All access keys that have ever been saved on the device are stored here.
Select the desired network from the list. The system will again ask you to confirm your identity. After successful authentication, you will see the name of the network, the date it was saved, and the password itself, which can be copied. This method is especially useful if your current smartphone is broken or inaccessible, but you have access to your account from a computer or tablet.
- 🔐 An active Internet connection is required to synchronize data with the server.
- 📱 Available only on devices with a linked Google account.
- 🔄 Changes password on the router requires reconnection and updating the entry in the cloud.
Viewing the password through the router web interface
If software methods do not work result, you can always turn to the source of Internet distribution - the router. To do this, you need to know the IP address of the gateway. It is usually indicated on a sticker on the bottom of the router and looks like 192.168.0.1 or 192.168.1.1.
Open any browser on your smartphone and enter the gateway address in the address bar. You will need to enter the administrator login and password. If you have not changed them, try the standard combinations (often admin/admin), which are also written on the device body. In the router menu, find the section Wireless or “Wireless Network”.
In the Security settings, the current encryption key will be displayed. Here you can change the password to a more complex one if you suspect that your neighbors have connected to your network. Don’t forget to save the changes by clicking the “Apply” or “Save” button.
☑️ Access to the router
It is worth noting that the interface of routers from different manufacturers (TP-Link, Asus, Keenetic) may differ, but the search logic remains the same. Look for the words "Key", "Password", "PSK" or "Passphrase".
Password recovery applications
In the store Google Play there are many utilities that promise to show saved passwords. However, most of them only work on devices with rights Root. Without superuser rights, applications can only generate a QR code from a password already known to the system, but not “pull” it out of system files.
One of the popular solutions is the “WiFi Password Viewer” application. It scans the system file wpa_supplicant.confwhere connection data is stored. If you have root access, the application will show a list of all networks and their keys in clear text.
⚠️ Attention: Installing applications from unknown sources or using dubious apps to obtain root access can lead to your device becoming infected with viruses. Use only proven utilities with a high rating.
If you do not have superuser rights, the functionality of such apps is limited. They can only show the password of the network you are connected to right now, using system APIs to generate a QR code that can then be recognized.
What are root access?
root access (or superuser rights) are the equivalent of administrator rights in Windows. Gaining full access to the Android file system violates the manufacturer's warranty and can lead to system instability if critical files are modified.
Using ADB for advanced users
For users who do not want to root access, but own a computer, there is a method through USB debugging and utility ADB (Android Debug Bridge). This method requires connecting the smartphone to the PC via a USB cable and having the drivers installed.
First you need to activate developer mode. Go to Settings → About phone and quickly click 7 times on “Build Number”. Then, in the developer menu, enable USB Debugging. Connect your phone to your computer and launch the command line.
adb shell content query --uri content://wifi/wpaconf
This command will ask the system for Wi-Fi configuration information. However, on modern versions of Android, access to this content provider is often closed even to ADB without special permissions. If the command does not return a result, this method, alas, will not work without Root.
An alternative option is to try to read the file directly, if permissions allow:
adb pull /data/misc/wifi/wpa_supplicant.conf
The file will be saved on the computer and can be opened with any text editor. Inside there will be entries like ssid="Name" and psk="Password".
The ADB method only works on older versions of Android or on devices with weakened security. On Android 11+, access to system wifi files is strictly limited.
Comparison of methods for restoring access
The choice of method depends on your technical background and version of the operating system. Below is a table that helps determine the optimal way to solve the problem for your case.
| Method | Root required | Difficulty | Android version |
|---|---|---|---|
| QR code in settings | No | Low | 10+ |
| Google Account | No | Low | 14+ (partially 10-13) |
| Router interface | No | Average | Any |
| Applications (Root) | Yes | High | Any |
| ADB commands | No (but skills are needed) | High | Up to 10 (more often) |
As can be seen from the table, for most users the optimal solution is to use the built-in functionality of QR codes. It does not require the installation of additional software and is secure.
Frequently asked questions (FAQ)
Can I find out the Wi-Fi password if I have never connected to this network?
No, it is impossible. The phone physically cannot know the password for a network to which it has not been successfully paired. The only option is to find it out from the owner of the router or look at the sticker on the device case.
Is it safe to use applications to view passwords?
Applications that require root access get full access to your system. You can trust them with your data only if the developer has an impeccable reputation. It is better to use native Android methods.
What to do if the QR code does not show the password, but only prompts you to connect?
Use the Google Lens function. Take a screenshot of the QR code, open it through Google Photos and click “Search by Image.” The algorithms will recognize the code and write the password in plain text.
Will the password in my Google Account be reset if I change the router?
Yes, if you change the router or reset the network settings to factory settings, the old entry in the cloud will become irrelevant. When you connect to a new router for the first time from the same account, the data will be updated automatically.