It's common to need to connect a new device to a network whose password you've forgotten, but whose Android smartphone is still connected. Fortunately, modern versions of Google's operating system offer built-in tools to solve this problem without the need for jailbreaking or installing complex software. Restoring access Accessing your data can take just a few minutes if you know where to look for hidden security settings.
In older versions of Android, access to system files where encryption keys are stored was strictly restricted, and the only solution was to gain superuser (root) privileges. However, starting with Android 10, the security policy changed, allowing users to legally view and share network data through QR codes. Interface may vary slightly depending on the manufacturer of the device, whether it is Samsung, Xiaomi or Pixel, but the logic of actions remains the same.
In this article, we'll cover in detail all the current password recovery methods, from built-in tools to debug consoles. You'll learn how to securely manage your network connections and avoid the awkward situation of a guest asking for an internet "key" you don't remember. System passwords are stored in encrypted form and become readable only after the owner has authorized them via biometrics or a PIN code.
Using the QR code feature on Android 10 and later
The simplest and most secure method, which doesn't require installing third-party apps, is available on all devices running Android 10 or higher. It works by generating a special image containing all the necessary connection information, including the password itself, either in plain text under the code or in a hidden field.
First, you need to unlock your smartphone screen and pull down the notification shade. Find the icon Wi-Fi and long-press it (hold your finger for about 2 seconds) to immediately access the wireless network management menu. If you're in the settings menu, simply select Connections or Network and Internet.
In the list of available networks that opens, find the one you're currently connected to (usually marked with a gear icon or at the top of the list). Click the network name or the settings icon next to it. A detailed menu for the selected connection will open, where you'll find the button. Share or a QR code icon.
⚠️ Please note: To view the QR code, the system will require you to verify your identity. This may involve entering your screen unlock PIN, pattern, or fingerprint. For security reasons, access to your password is not possible without this procedure.
After successful authorization, a QR code will appear on the screen. Depending on your smartphone model (Huawei, Oppo, Motorola), the password may be written directly below the code. If there's no text below the code, take a screenshot or simply point the camera of another phone (or the same one, if it has a camera scan feature) at the image.
When scanning the code with the system or camera, a notification will appear on the screen with the text: "Connect to [Name] network." This notification often also displays the password in plain text. If the standard camera doesn't display the text, use Google Lens, which is integrated into many galleries and search engines.
View passwords using Google Password Manager
Google has introduced a convenient, syncable password manager that stores not only website keys but also Wi-Fi network data. This is especially convenient because the information is accessible not only on the current device but can also be verified through the account's web interface.
To use this method, open the standard Settings your device. Scroll down to the section Google and click on it. In the Google services menu, select Autofill, and then Google Autocomplete. Next, go to the section Google Passwords or Password manager.
In the list of saved data that opens, find the name of your Wi-Fi network. The list can be sorted alphabetically or by date added. After clicking on the desired network, the system will again ask for identification (biometrics or code). After logging in, you will see a field with the network name and a hidden password field.
- 🔑 Click the eye icon in the password field to see the characters.
- 📋 Use the copy button to paste the password to the clipboard.
- 🗑️ If necessary, you can delete saved data for this network.
- 🔄 Make sure sync is enabled in your Google account to keep your data up to date.
This method is especially effective if you have previously connected to the network with this account on another device. Synchronization This happens in the background, so the password may appear in the list even if you entered it on a tablet and are viewing it on a smartphone.
Using ADB to Extract System Files (Advanced)
For users who aren't afraid of the command line and want to access system configuration files without root privileges, there's a USB debugging method. This method requires a computer and the following package installed: Android Debug Bridge (ADB).
The first step is to enable developer mode on your Android device. Go to Settings → About the phone and find the item Build numberClick it quickly seven times in a row until the message "You are now a developer" appears. After this, a new section will appear in the settings menu. For developers.
Enable the option in this section USB debuggingConnect your phone to your computer using a cable. On your PC, open a command prompt in the ADB folder and enter the following command to test the connection:
adb devices
A debugging permission prompt will appear on your phone's screen—confirm it. Now we can try copying the system file that stores Wi-Fi configurations. Please note that access to this file may be restricted on modern versions of Android, but it's worth a try:
adb pull /data/misc/wifi/WifiConfigStore.xml wifi_config.xml
If the command is successful, a file will appear in the ADB folder. wifi_configStore.xmlOpen it with any text editor (Notepad, Notepad++) and find the tag PreSharedKeyThe password you're looking for will be stored in plaintext inside this tag.
⚠️ Warning: On devices running Android 11 and later, access to the file system via ADB without root access is often blocked. If the pull command returns a "Permission denied" error, this method will not work for your OS version without additional security precautions.
What to do if ADB doesn't see the device?
Make sure the drivers for your smartphone are installed (especially important for Xiaomi and Huawei). Try replacing the USB cable with the original one or one that supports data transfer, not just charging. Also, check that "File Transfer" (MTP) is selected in the USB connection mode.
Third-party apps for access recovery
In the store Google Play There are many utilities that promise to reveal saved passwords. However, it's important to understand the difference between programs that work without root access and those that require deep system access. Without superuser rights, most of them can only generate QR codes from data already known to the system, duplicating the system function.
One of the popular and proven solutions is the application WiFi Password Viewer or open-source equivalents. They work by requesting access to system settings through special APIs provided by the manufacturer for certain brands or through accessibility features.
When you first launch the app, it will ask you to grant special permissions. You'll need to go to the Accessibility settings (Special features) and allow the selected service to operate. After this, the program will be able to "read" information about the current connection.
| Application name | Root is required | Functional | Safety rating | |
|---|---|---|---|---|
| WiFi Password Viewer | No (depending on OS) | View current password | High | |
| WiFi Map | No | Search for networks around | Average | Average |
| WiFi Password Recovery | Yes | Full access to all networks | High (at root) | |
| Instabridge | No | User password database | Average |
Use only those apps that have high ratings and a large number of reviews. Security Your data is at risk if you install malware disguised as a useful utility. Avoid programs that require strange permissions unrelated to Wi-Fi.
☑️ App Security Check
Nuances for different manufacturers (Samsung, Xiaomi, Huawei)
Electronics manufacturers often modify the Android interface by adding their own skins. This affects the layout of controls. For example, on devices Samsung With the One UI shell, the path to the QR code can be found directly in the network widget, without having to go into deep settings.
For smartphone owners Xiaomi (MIUI or HyperOS), please note that when generating a QR code, the password may not appear as text under the image due to regional restrictions or firmware version. In this case, scanning the code with the standard scanner in the Security app or the camera will resolve the issue.
Devices Huawei And Honor have their own ecosystem. On them, the "Share" function is often integrated with the Huawei Share service. If the standard method doesn't work, try using the "Scanner" function in the desktop search bar—it can read codes from the screen of another device nearby.
⚠️ Note: Shell interfaces may change with software updates. If you don't find the menu item described, search your phone's settings by entering "Wi-Fi" or "QR".
Access issues and security limitations
Why is it sometimes impossible to see a password? This is a matter of Google's security policy. On devices with Android 9 and below, viewing passwords in plaintext is impossible without root access, because the configuration file wpa_supplicant.conf Available only to the system. Attempts to bypass this restriction on older operating systems require reflashing or exploiting vulnerabilities.
There are also corporate networks or networks with special security certificates (EAP-TLS), where the password itself may not be used in its usual form, and access is provided through a digital certificate. In such cases, "finding the password" is technically impossible, as it is not available in plain text.
If you reset the network settings on your router, but your phone still remembers the old password, it will try to connect with the incorrect password. In this case, you need to press Forget the network (Delete network) and reconnect by entering the current key.
Is it possible to find out a Wi-Fi password without connecting to it?
No, if the network is secure. Finding the password for a network you've never connected to and don't have physical access to the router or other connected device isn't possible using Android. This would be a critical vulnerability.
Is it safe to save passwords in a Google account?
Yes, data is encrypted during transmission and storage. However, if your Google account is hacked, the attacker will have access to all stored passwords. Be sure to use two-factor authentication.
What to do if the QR code is not generated?
Make sure you are the device administrator or the phone owner. On work phones with corporate profiles, this feature may be blocked by the system administrator.
Will the ADB method work on Android 14?
On Android 14, access to the file system via ADB without root access is even more limited. Directly copying the configuration file will likely fail. It's recommended to use the standard QR code method.