It's common to need to connect a new device to a network but forget the password. Often, an Android smartphone is already connected to the router, which raises the logical question: is it possible to somehow retrieve saved login data directly from the phone? Modern versions of Google's mobile operating system offer built-in tools for viewing this information, but their implementation may vary depending on the firmware version and device model.
In this article, we'll cover in detail all the current methods for restoring access to your wireless network security key. We'll cover standard methods through the system interface, using QR codes, and more complex options involving USB debugging for advanced users. Understanding these processes will allow you to avoid relying on a sticker on your router or notes in a notebook.
It's worth noting that the ability to view passwords directly depends on the security level of your OS version. Starting with Android 10, Google significantly changed its system file access policy, making old methods obsolete but introducing more user-friendly visual interfaces. Data security In modern smartphones, security is paramount, so access to stored encryption keys now requires biometric or graphical authorization of the owner.
View your password through Android 10 and higher settings
Starting with the tenth version of the operating system, developers have implemented a QR code generation feature for quickly connecting guests. This same mechanism allows the device owner to see a text version of the password. The process is as follows: open Settings and go to Network and Internet or Connections, depending on the brand of your smartphone. Next, select the option Wi-Fi.
A list of available networks will appear on the screen, with the currently active connection marked with the appropriate status. Click the gear icon next to your network name or simply tap the network name to open the detailed menu. At the bottom of the screen or in the upper right corner (depending on the manufacturer's shell, for example, MIUI, OneUI or OxygenOS) there should be a "Share" button or a QR code icon.
After pressing the button, the system will request identity verification via a PIN, fingerprint, or facial recognition scan. This is a necessary security measure to prevent data theft by intruders who gain physical access to an unlocked phone. After successful authentication, a QR code will appear on the screen. Below it, the password itself is usually written in small print. If there is no text below the code, you can take a screenshot and open it in the Google Lens app or any other QR code reader that recognizes text in an image.
⚠️ Attention: On some custom firmware versions (for example, older versions of Chinese-made skins), the password text may be obscured by asterisks even after scanning. In this case, use the Google Lens method in the screenshot—it almost always detects hidden text.
It is important to understand that this method only works for the network to which the phone is currently connected, or for networks to which the device has previously connected and which are saved in memory. System limitations do not allow you to view passwords for networks to which the phone has never connected without first entering them.
The interface may vary slightly. For example, on stock Android (Pixel, Motorola), the path looks like this: Settings → Network & Internet → Internet → (gear) → ShareOn Samsung devices the path may be Settings → Connections → Wi-Fi → (gear next to the name) → QR code.
Using Google Password Manager
The Google ecosystem offers a centralized password vault that syncs across all devices linked to a single account. This applies not only to websites in the Chrome browser but also to Wi-Fi passwords. If syncing is enabled on your device, you can find your saved password using your system password manager.
To do this, open Settings phone, scroll down to the section Google and select Autofill. Next, click on Google Autocomplete and select Google Passwords (or simply "Password Manager"). In the list that opens, find the entry with the name of your Wi-Fi network. The list is sorted alphabetically or by date last used.
When you select the desired network, the system will again ask you to confirm your identity. Afterward, a card with your details will open, where the "Password" field will be hidden by dots. Click the eye icon to see the text value. This method is useful because it allows you to access your password even from another device (such as a tablet or computer), as long as you're logged in to the same Google account.
The advantage of using Google Password Manager The advantage is independence from a specific physical device. Even if your phone is broken, you can restore network access on a new device simply by logging into your account. However, if syncing has been disabled, this method will be useless, and you'll have to resort to local solutions.
Password verification on Android 9 Pie and earlier versions
On devices running OS versions earlier than Android 10, the situation is more complicated. These versions lacked native functionality for viewing saved Wi-Fi passwords in the user interface. The system stores this data in a system file. wpa_supplicant.conf, access to which is closed to regular applications for security reasons.
To see the password on Android 9 and below, you usually needed Root rights (superuser rights). Without them, it was impossible to view the saved key using standard system tools. Users had to install specialized apps from the Play Market or third-party sources, which required root privileges to read system files.
If you had gained superuser rights (via Magisk, SuperSU, or similar tools), you could use file managers with root access, such as Root Explorer or Solid Explorer. You had to navigate to /data/misc/wifi/ and open the file wpa_supplicant.conf text editor. Inside the file were blocks network, where in the field psk the required password was specified.
⚠️ Attention: Rooting voids the device's warranty and can lead to system instability or bricking if done improperly. On modern phones, rooting also disrupts banking apps and Google Pay services.
For users unwilling to gain root access, the only legal option was to log into the router's web interface if it was connected to the network, or reset the router to factory settings. The latter reset the password to the value printed on the sticker on the bottom of the device.
Why did Google block Wi-Fi file sharing?
Starting with Android 10, Google implemented strict restrictions on app access to the file system. This was done to prevent data theft by apps that could read saved network data and transmit it to third parties without the user's knowledge.
Using ADB to View Passwords (Without Root)
For advanced users who don't want to root their device but have a computer nearby, there's a method using USB debugging (ADB). This method allows you to extract the Wi-Fi configuration file directly from the phone's memory, but it doesn't work on all device models and requires minimal technical skills.
First, you need to activate developer mode on your smartphone. To do this, go to Settings → About phone and quickly tap the build number 7 times. Then, in the menu that appears For developers turn on the item USB debuggingConnect your phone to your computer using a cable.
ADB must be installed on your computer. Open a command prompt or terminal in the ADB folder and enter the following command to test the connection: adb devicesA debugging permission request will appear on your phone's screen. Tap "Allow." If the device is detected, you can extract the configuration file.
adb pull /data/misc/wifi/wpa_supplicant.conf
This command will attempt to copy the file to your computer. However, on most modern, non-rooted smartphones, this command will return a "permission denied" error. This only has a chance of success on older devices or certain specific firmware versions with less strict permissions settings. If the file was copied successfully, open it with any text editor and find the line psk="your_password".
| Method | Required Android version | Root rights are required | Complexity |
|---|---|---|---|
| QR code in settings | 10 and above | No | Low |
| Google Password Manager | Any (with synchronization) | No | Low |
| File Manager (Root) | Any | Yes | High |
| ADB (command line) | Any | No (but it rarely works) | Average |
Restoring access via the router's web interface
If your phone is connected to Wi-Fi but you can't view the password through the system (for example, due to interface bugs or an old version of Android), you can try accessing the router's settings. To do this, your smartphone must be connected to the wireless network whose password you're looking for.
Open a browser on your phone (Chrome, Firefox, Samsung Internet) and enter the gateway IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address can be found in the Wi-Fi connection settings on your phone, in the "Details" or "MAC Address Management" section, where it is listed as "Gateway" or "Router."
After entering the address, the router's authorization page will open. You will need your login and password to access the admin panel. By default, these are often set to admin/admin or indicated on a sticker on the device's body. If you've changed this information and forgotten it, this method, unfortunately, won't work without resetting the router.
Once inside the interface, look for the section Wireless, Wi-Fi or Wireless mode. In the subsection Wireless Security or Wireless security there will be a field PSK Password or PasswordThere you can not only see the current key, but also change it to a new, more complex one.
☑️ Checking access to the router
Common problems and solutions
Even following the instructions, users may encounter difficulties. One common issue is the absence of a "Share" button or QR code. This often occurs on heavily modified firmware versions of budget smartphones or enterprise versions of Android, where functions are restricted by the administrator.
In such cases, you can try installing a third-party app to generate QR codes from the current network. However, due to Android security restrictions, such apps can only display the SSID (network name), not the password, unless they have special permissions or root access.
Another issue is grayed-out buttons or inactive interface elements in the Wi-Fi settings. This may indicate that the network profile was created with limited privileges or is an enterprise (EAP) profile, where the password is not stored in plaintext but is dynamically generated or linked to a certificate.
⚠️ Attention: Settings interfaces and menu item names may change after operating system updates. If you don't find the described items, search for "Wi-Fi" or "Password" within your phone's settings menu.
If all else fails, the last but reliable method is physical access to the router. Turn the device over and look for the sticker with the password information. If the password hasn't been changed previously, it will be listed there. If it has been changed, only the button will work. Reset on the router body, which must be held for 10-15 seconds when the power is on.
Questions and Answers (FAQ)
Is it possible to find out the Wi-Fi password if the phone is not connected to it?
No, this isn't possible using standard Android tools. Your phone only stores passwords for networks it's connected to. To view the password for a network another phone is connected to, you'll need physical access to that phone and the ability to log in to its system.
Are Wi-Fi hacking apps safe to use?
Apps that promise to "hack" Wi-Fi are most often scams. They either display ads or steal your personal data. A real "hack" (bringing the password) takes a huge amount of time and is not guaranteed to succeed, especially with modern WPA2/WPA3 encryption standards.
What should I do if the QR code does not show the password text?
Take a screenshot of the screen containing the QR code. Then, open the Google Photos or Google Lens app, select the screenshot, and tap "Search by image" or "Text." The system will recognize the text hidden within the image, and you can copy it.
Where are Wi-Fi passwords stored on Android?
Passwords are stored in a system file /data/misc/wifi/wpa_supplicant.confAccess to this directory is protected by superuser (root) rights, so without special permissions, a regular user or application cannot read this file directly.