It's quite common to need to connect a new device to your home network but forget the passkey. Fortunately, modern smartphones based on Android They have built-in functionality that allows you to easily recover lost data without complex manipulations. If you've previously connected to this access point, the system has saved your credentials in the device's secure memory.
The recovery process directly depends on the version of the operating system installed on your gadget. Starting with Android 10Google has implemented a convenient mechanism for viewing passwords via QR code, making the procedure accessible to the average user. In older versions, such as Android 6, 7, 8, or 9, the procedure will be different and will require root rights or using third-party utilities.
In this article, we will examine in detail all the current methods, from standard system tools to advanced methods through ADBWe'll also cover what to do if none of the software methods work and how to access your data through the router's web interface. Follow the instructions carefully to quickly restore internet access.
Using a QR code on Android 10 and later
Starting with the tenth version of the operating system, Google has implemented a native QR code generation feature for sharing Wi-Fi networks. This is the simplest and most secure method, requiring no additional software. The feature is available on the vast majority of modern smartphones, including Samsung Galaxy, Xiaomi, Huawei and devices with clean Android.
First, you need to go to your wireless network settings. This option is usually located in the main settings menu or in the notification shade. Find the name of the network your phone is currently connected to or has previously connected to. Next to the name, there may be a gear icon or an arrow pointing to additional options.
Click the Share button or the QR code icon. The system will ask you to verify your identity using biometrics (fingerprint, face scan) or a screen unlock PIN. After successful authentication, a square code will appear on the screen, often (but not always) underneath which is a text string for the password.
- 📱 Open
Settings → Wi-Fiand select the active network. - 🔒 Take the test Face ID or fingerprint.
- 📸 Point the other phone's camera at the screen to connect or scan the code with a scanner.
It's important to understand that this method only works if the device already knows the network. If you're trying to remember the password for a network you've never connected to from this phone, this method won't work. Also, the interface may differ slightly on some custom ROMs, but the logic remains the same: look for the "Share" button or the QR icon.
View saved passwords via Google Account
In more recent updates Android, especially in versions 12, 13, and 14, Wi-Fi password syncing via Google's cloud service has been added. This allows you to not only share access but also view saved keys in plain text directly in the security settings.
To use this feature, open your phone's Settings and go to the "Google" section. Find "Autofill" or "Password Manager." This is where all your saved logins, website passwords, and Wi-Fi network access keys that have been synced with your account are stored.
Find the desired network name in the list of networks. When you click it, the system will ask you to confirm your identity again. The network card will then open, displaying the desired character combination in the "Password" field. You can copy it or use the "Share" button to send the data to another device.
This method is especially convenient because it gives you access to the history of all networks you've ever connected to, even if you're currently away from the router. The main requirement is that Google data sync must be enabled on your device.
Methods for Android 6, 7, 8, and 9 without root rights
On devices with operating system versions below version 10, the security system prevents regular applications from directly viewing saved passwords. Network configuration files are protected and only the superuser can access them. However, there are workarounds that don't require obtaining root rights, although they are less convenient.
One option is to use the backup feature. You can create a backup of your system settings and then attempt to extract the Wi-Fi configuration file from it. However, this method requires a computer and a certain level of technical literacy, as the file will be encrypted or in a format unreadable to humans without decoding.
A more realistic option for regular users is to use the Smart Home feature or ecosystem apps, if you have them installed. For example, some shells from Xiaomi (MIUI/HyperOS) or Samsung (OneUI) They allowed you to see the password in the router settings if it was connected via USB, but this is rare. Most often, owners of older smartphones have to resort to resetting the router or using a PC.
⚠️ Attention: On Android 9 and below, it's impossible to view a password in plaintext using standard system tools. Any apps from the Play Market that promise to do this without root access are likely scams or simply display data already known to the system that you can't see anyway.
If it's critical for you to retrieve the password on your old device, try to remember if you've changed it recently. Users often write down new data in notes or send it to themselves via messengers. Check your message history in Telegram (section "Favorites") or WhatsApp.
Using Root Rights and File Managers
For advanced users whose devices have superuser rights (root), the password recovery process turns into a simple system file browsing procedure. This method works on all Android versions, including the oldest, as it provides direct access to the file system.
You will need a file manager with root access support, such as Root Explorer, Solid Explorer or MT ManagerAfter installing the application, you must grant it superuser privileges the first time you launch it. Then, follow a specific path in the system folder.
The file we are interested in is called wpa_supplicant.conf and is located along the way /data/misc/wifi/Open this file as a text document (text editor). Inside you will see a list of all networks in the format ssid="Network_Name" And psk="Password"The required character combination will be specified in quotation marks after the psk parameter.
network={ssid="Home_WiFi"
psk="MySuperPassword123"
key_mgmt=WPA-PSK
}
What to do if the wpa_supplicant.conf file is empty or missing?
This can happen if data encryption is enabled on the device or if it uses specific firmware. In some cases, the file may have a different name or be located in a different directory, such as /data/misc/ipconfig/. The absence of the file may also mean that the phone never saved passwords in plain text for security reasons.
Be careful when editing system files. Do not delete or change any other settings in this document, as this may cause instability in the Wi-Fi module. After reviewing the information, simply close the file, saving or discarding the changes (if you haven't changed anything, it's best not to save).
Restoring access via the ADB command line
Another professional method that does not require direct root access on the phone, but does require a computer and the device to be turned on. USB debugging on a smartphone. This method uses tools Android Debug Bridge (ADB)It may work on some devices where security vulnerabilities allow the command to read the configuration file.
First, you need to install the drivers for your phone and the Platform Tools package on your computer. Connect your smartphone to the PC using a cable. In the command prompt (terminal) on your computer, enter the following command to test the connection: adb devicesA debugging permission request will appear on your phone's screen, which you must confirm.
Next, try running the command to display the contents of the password file. Enter the following line:
adb pull /data/misc/wifi/wpa_supplicant.conf c:/wifi.txt
This command will attempt to copy the configuration file from your phone to the root of your computer's C drive. If successful, open the file. wifi.txt and find your password there. If you receive a "permission denied" error message, your device's security level is too high for this non-root method.
- 💻 Install ADB Drivers and Platform Tools on PC.
- 🔌 Enable USB debugging in the developer menu on your phone.
- 📝 Run the command
adb pullto extract the config.
Logging into router settings as a universal method
If none of the software methods on the phone itself work, the most reliable and universal option remains: the router settings. The Wi-Fi network password is always stored in the router's configuration. To access it, you'll need any device (laptop, tablet, or even phone) connected to the router via cable or Wi-Fi.
Open your browser and enter your router's IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address, as well as the username and password for accessing the control panel, are usually written on a sticker on the bottom of the device. If you've changed your login information and forgot it, you'll need to reset the router to factory settings.
After logging in, find the section related to wireless network. It may be called Wireless, Wi-Fi, WLAN or "Wireless Mode." Inside, look for the "Security" or "Wi-Fi Settings" subsection. In the field Wireless Password, WPA Pre-Shared Key or "Password" will indicate the current access key.
| Router brand | Entrance address | Standard login | Standard password |
|---|---|---|---|
| TP-Link | 192.168.0.1 | admin | admin |
| ASUS | 192.168.1.1 | admin | admin |
| D-Link | 192.168.0.1 | admin | (empty) |
| Xiaomi | 192.168.31.1 | admin | (set during setup) |
| Keenetic | 192.168.1.1 | admin | 1234 |
The menu location may vary depending on the firmware version. If you can't find the item you need, look for the "Quick Setup" section in the menu or use the router manufacturer's mobile app, which often allows you to manage network settings more conveniently.
⚠️ Attention: If you change the password in your router settings, all connected devices will lose internet connection. You'll have to reconnect each smartphone, TV, and laptop using the new access key.
☑️ Check before resetting your router
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password if the phone is not connected to it?
No, this can't be done using standard Android tools. The phone only stores passwords for networks it has connected to. If the device has never connected to a given access point, it has no information about the key in its memory. The only option is to obtain the password from the router owner or view it in the router's settings if you have physical access to it.
Are Wi-Fi hacking apps safe to use?
Most apps with names like "WiFi Password Hacker" on Google Play are either jokes or contain ads and malware. Real security auditing tools (like Aircrack-ng) require complex setup, root access, and a special Wi-Fi module. Using questionable software can lead to theft of your personal data.
What should I do if I forgot my router admin panel password?
If the default admin/admin password doesn't work and you don't remember the changed password, a hard reset is the only solution. There's a small hole with a button on the router body. Press it with a paperclip and hold for 10-15 seconds until the router's LEDs flash. After this, it will reset to factory settings, and the password will be listed on a sticker.
Where are Wi-Fi passwords stored in a Google Account?
Data is synced via the Google Password Manager service. You can find it at passwords.google.com or in your phone's settings: Google → Autofill → Password Manager. There, it is securely encrypted and accessible only after biometric verification.