A forgotten Wi-Fi password blocks the connection of a new gadget to the network, but the owner of an Android smartphone can instantly find out the saved code directly in the device settings or through system utilities, without resorting to a reset router.

The process of restoring access depends primarily on the version of the installed firmware. Starting from Android 10, the developers have significantly simplified this procedure by introducing native generation support QR codes for shared networks. On older versions of the system, such as Android 9 and below, the situation becomes more complicated, since direct access to the text display of the security key is often blocked without the presence of root access. However, even in such cases, there are workarounds that allow you to obtain the necessary information.

In this article we will analyze in detail all the current methods for viewing saved passwords. We will look at the standard system tools, the possibilities of using the computer through software debugging, as well as specialized software. It is important to understand that data security is a priority, so some methods require additional identity verification, such as entering USB, as well as specialized software. It is important to understand that data security is a priority, so some methods require additional identity verification, such as entering PIN code unlocking the screen or using biometric sensors.

Viewing your password through settings Android 10 and later

The easiest and safest way to find out the access code is available to users whose devices are running Android 10, Android 11, Android 12 and more recent versions. In these updates, Google has implemented a Share feature that generates a pattern. First you need to open the menu Settings and go to the section Network and Internet or Connections, depending on the manufacturer's shell.

Find the item Wi-Fi and click on it. You will see a list of available networks, where the currently active network will be marked with a gear icon or the words โ€œConnectedโ€. Click on the name of your network or the settings icon next to it. In the network information window that opens, there should be a button Share or icon QR code.

After clicking the button, the system will require confirmation of your identity. This could be by entering a pattern key password from the lock screen or placing your finger on the fingerprint scanner. Once identification is successful, a square QR code will be displayed on the screen. Under it, in most modern firmware (for example, on blank Android or in shells One UI from Samsung), the password itself will be written in text form in small font.

โš ๏ธ Attention: On some custom shells (for example, old versions MIUI or ColorOS) the password text under the QR code can be hidden. In this case, you will need a second smartphone with a camera to scan the code and see the password in the connection notification.

If there is no text display, use any other smartphone or tablet with a camera. Point your lens at the generated code. A pop-up notification or scan result in the camera app will show a connection string where after the prefix P: The network security key you are looking for will be indicated.

๐Ÿ’ก

If you are using a third-party QR code scanner, make sure it has good reviews in the Play Market to avoid leaking data about your networks.

Using Google Lens to decrypt a QR code

In situations where the operating system shows only pattern lock without text decoding, the built-in service Google Lenscomes to the rescue. This tool is available on almost any device with Google services and allows you to instantly read encrypted information. The method is especially relevant for owners of smartphones Xiaomi, Huawei and other brands, where the privacy policy sometimes hides direct text.

To implement this method, take a screenshot of the screen with the displayed QR code of your Wi-Fi network. Then open the application Google or the search widget on your home screen. Click on the camera icon in the search bar, which activates the Google Lensmode. Select a previously taken screenshot from the gallery or point the camera of the second device at the screen of the first.

The system will automatically recognize the code structure and offer the โ€œConnect to the networkโ€ action. Don't click connect right away. Instead, look at the text description of the scan result. The full configuration line of the form will be displayed there: WIFI:T:WPA;S:MyNetwork;P:SecretPassword;;. The password you are looking for is located immediately after the symbol P: and before the semicolon.

  • ๐Ÿ“ธ Take a high-quality screenshot of the code so that there are no highlights or blur.
  • ๐Ÿ” Use the Google application or the built-in scanner in the camera to analyze the image.
  • ๐Ÿ“ Look for the character P: in the decrypted string - this is the password start marker.

This method does not require special permissions or superuser rights. It is completely legal and safe, since image processing occurs locally or through secure channels of Google servers. The main advantage is versatility: the method works regardless of the phone model, be it a budget one Realme or flagship Pixel.

๐Ÿ“Š What is your smartphone brand?
Samsung
Xiaomi
Huawei
Google Pixel
Other

View saved networks on Android 9 and lower

Owners of devices with a lower operating system version Android 10 face more severe security restrictions. In these versions, the file storing Wi-Fi configurations (wpa_supplicant.conf) is protected by system permissions that prevent normal applications from reading it. Without root access (superuser rights), it is impossible to view the password through the standard menu.

If your device has an unlocked bootloader and installed rights root (for example, through Magisk), you can use file managers with expanded access, such as Root Explorer or RE Manager. Follow the path /data/misc/wifi/. In this directory, find the file wpa_supplicant.conf and open it as text.

Inside the file you will see a list of all the networks to which the phone has ever connected. Each entry contains a block with the following parameters: ssid (network name) and psk (password). The value specified in quotes after psk=is your access key. Be extremely careful when working with system files: accidentally changing other settings may result in loss of network connectivity.

โš ๏ธ Attention: Getting root access will void your device's warranty and may make it vulnerable to malware. Perform these steps only if you fully understand the risks and have experience working with Android system files.

For users without root access on older versions of Android, the only safe option is to log into the router control panel through a browser if you know the router administrator password. Mobile applications that promise to show your password without root on Android 9 are most often fraudulent and simply collect data about your networks.

What to do if you donโ€™t have root access on your old Android?

The only option is to connect your phone to the router with a cable via an OTG adapter (if supported) or go to the router settings from any already connected device at 192.168.0.1 or 192.168.1.1.

Retrieving a password via ADB without root access

There is an advanced method for retrieving a password from devices based on Android 10+ without the need for rooting, but using a computer and a tool ADB (Android Debug Bridge). This method requires you to enable USB debugging in the developer options. It allows you to execute a command that will output the network configuration to the computer console.

First, connect your smartphone to the PC via a USB cable. On your phone in developer mode, activate the item USB debugging. On your computer, open a command prompt or terminal in the folder where ADB is installed. Enter the command to check the connection: adb devices. A request for debugging permission will appear on the phone screen, confirm it.

Next, run a command that will ask the system to dump the current Wi-Fi state. The syntax may differ depending on the version of Android, but the universal version looks like this:

adb shell dumpsys wifi | findstr "mConfigKey"

In the command output you will find a line containing the configuration key. However, starting with Android 10, Google has limited the output of real passwords in dumps for third-party processes, even through ADB without special privileges. Therefore, this method is unstable on new firmware and is more often applicable for Android 9 and below, where access rights are less strict. On the latest versions, you can see a mask instead of a real password.

  • ๐Ÿ’ป Install ADB drivers on your computer before connecting.
  • โš™๏ธ Activate developer mode by clicking 7 times on the build number in the "About phone" menu.
  • ๐Ÿ”Œ Use the original USB cable for stable connections.

Despite the technical difficulties, this method remains the only software method for advanced users who do not want to violate the device warranty by obtaining root access, but have command line skills.

๐Ÿ’ก

The ADB method is most effective on devices with Android 9 and lower; on new versions, the system blocks the output of real passwords to the console.

Third-party applications for access recovery

The store Google Play presents many utilities that position themselves as tools for recovering Wi-Fi passwords. It is important to understand how they work: applications without root access cannot read the system file with passwords directly. They operate differently - some use clipboard access or accessibility features to read data from system dialogs, others simply duplicate the function of creating a QR code, if available on the system.

One โ€‹โ€‹popular type of such apps are Wi-Fi managers, which require permission to access network settings. An example would be the application WiFi Key Recovery (for rooted devices) or Instant WiFi Tether. If you have root access, such applications instantly display a list of all networks with passwords in a convenient interface, allowing you to copy them to the clipboard with one click.

For devices without root access, the functionality of such applications is very limited. They can only show the network name (SSID) and signal strength, but not the password. Be careful: many free apps are full of ads and may ask for unnecessary permissions, such as access to contacts or location, that are not necessary for working with Wi-Fi.

Application type Root availability Efficiency Security
Managers with Root Required High (100%) Medium (risk of obtaining root access)
QR generators Not required Medium (depending on OS) High
Utilities without Root Not required Low (often do not work) Low (lots of advertising)
QR scanners Not required High (for Android 10+) High

It is recommended to give preference to trusted developers and carefully read reviews before installation. The best choice is to use the built-in system tools or the method with Google Lens, since they do not require the installation of additional dubious software.

Recovery through the router admin panel

If none of the mobile methods are suitable, there is always the classic method - logging into the router's web interface. This method is universal and works regardless of the Android version or whether you have superuser rights. The main condition is that your phone must already be connected to this Wi-Fi network (even if you do not know the password, the connection could have occurred automatically earlier).

Open any browser on your smartphone (Chrome, Firefox, Samsung Internet). In the address bar, enter the router's IP address. Most often this is 192.168.0.1 or 192.168.1.1. The exact address is usually indicated on a sticker on the bottom of the device. After entering the address, the authorization page will appear.

Enter the administrator login and password. By default, this is often the combination admin/admin, but it could be changed during initial setup. If you haven't changed the data, try the standard ones. After successful login, find the section Wireless mode (Wireless) or Wi-Fi. In the subsection Security (Security) there will be a password field that can be made visible by clicking on the โ€œeyeโ€ icon.

โš ๏ธ Attention: The interfaces of routers from different manufacturers (TP-Link, ASUS, D-Link, Keenetic) are very different. If you cannot find the item you need, check the instructions for your specific router model or look for screenshots of the interface on the Internet by model name.

This method also allows you not only to find out the current password, but also to change it to a new, more complex one if you suspect that unauthorized persons have access to the network. After changing the password, all devices will be disabled, and you will need to enter the new key again.

โ˜‘๏ธ Actions when logging into the router

Done: 0 / 4

Frequently asked questions and problems (FAQ)

Is it possible to find out the Wi-Fi password if the phone has never been connected to it?

No, this is impossible. The phone stores only those passwords that were used to successfully connect. To obtain a password from a network to which you did not have access, you will need special tools to crack the encryption (for example, brute force passwords), which is an illegal and technically complex process that is not available to the average user through the smartphone menu.

Why is the password text not displayed under the QR code?

This is a feature of a specific manufacturerโ€™s shell (for example, MIUI, EMUI or ColorOS). Interface designers may have hidden the text field for reasons of visual cleanliness or security. In this case, use a second phone to scan the code through Google Lens or any QR code scanner application - the password will be displayed in the connection notification on the second device. Is it safe to use password recovery applications? Unrooted apps that promise to reveal your password are often useless or contain invasive advertising. The safest way is to use the standard Android functions (QR code) or enter the router settings through a browser.

Is it safe to use password recovery apps?

Applications that require root access is potentially dangerous because they give complete control over the system. Unrooted apps that promise to reveal your password are often useless or contain invasive advertising. The safest way is to use the standard Android functions (QR code) or enter the router settings through a browser.

What should I do if I forgot the password from the routerโ€™s admin panel?

If the standard password (admin/admin) is not suitable and you do not remember it, the only solution is to reset the router to factory settings. To do this, press and hold the button Reset on the device body for about 10-15 seconds. After this, the router will return the factory password indicated on the sticker, but all your individual settings (network name, connection type) will be reset and will have to be configured again.

Does this method work on Android tablets?

Yes, the principle of operation is identical. Android tablets use the same file system and network settings. You can find the password through the Wi-Fi settings, generate a QR code, or enter the router panel through a browser on a tablet in the same way as on a smartphone.