The situation when you need to connect a new device to a wireless network, but you have forgotten the password, and there is no way to enter it into your smartphone, occurs everywhere. Users often encounter the fact that the phone is already connected to the home network, but the combination of symbols is securely hidden in the depths of the system. Fortunately, modern versions of the operating system Android provide tools to solve this problem without the need for hacking or complex manipulations.

In this article we will analyze in detail all the legal and effective methods for retrieving saved connection data. You'll learn how to use the built-in QR code generation features, how to access system files as root, and what to do if standard methods don't work. It is important to understand that data security is a priority, so some methods require special privileges.

Before taking any active steps, it is worth assessing the version of your operating system. The interface and available features may vary significantly on devices from different manufacturers, such as Samsung, Xiaomi or Google Pixel. We will look at universal algorithms that cover most use cases.

Using the QR code function on Android 10 and later

Starting with version ten Android, the developers have introduced a convenient function for sharing network access via a QR code. This is the fastest and safest method that does not require installing third-party software. You don't need to be an expert in settings to use this option, since it is built directly into the Wi-Fi management menu.

First, open the settings of your gadget and go to the wireless connections section. Find the network that you are currently connected to or that is saved in the device memory. In most shells, next to or below the network name there will be a special gear icon or a “Share” icon.

Click on this interface element. The system will ask you to confirm your identity by asking you to enter a pattern key PIN code or scan your fingerprint. After successful authentication, a square code will be displayed on the screen. Below it is often, but not always, written the password itself in text form.

  • 📱 Point the camera of the second device at the screen to automatically connect to the network without entering characters.
  • 📸 Take a screenshot of the screen with a QR code if you need to transfer data to another person later.
  • 👁️ Carefully inspect the area under the code - there may be a text password.

⚠️ Attention: On some custom firmware (for example, old version MIUI) the password text under the QR code may be hidden by asterisks. In this case, you will need to take a screenshot and recognize the code through a third-party application.

If the text under the code is hidden, do not despair. You can save the code image to the gallery and then open it through any QR code scanner or even another phone's standard camera. The scan result will be a line like WIFI:S:MyNetwork;T:WPA;P:12345678;;. The characters after P: and before ;; are your desired access key.

📊 What Android do you have?
Android 10-11
Android 12-13
Android 14-15
Another version or I don’t know

View saved networks through settings (Android 15 and newer)

In the latest updates to Google's mobile operating system, the privacy policy has become even stricter, but at the same time the functionality for the user has expanded. Now in the settings menu there is a full list of all saved networks, and not just the active one. This allows you to manage connections that you have joined in the past.

To find the data you need, go to settings and select the Wi-Fi section. Scroll down to Saved Networks or Manage Networks. Here you will see a list of all access points to which your smartphone has ever connected. Select the network you are interested in from the list.

After clicking on the network name, a menu with detailed information will open. Depending on the device manufacturer, there may be a Share button or an eye icon to display the hidden password. The system will again ask you to confirm your identity using biometrics or a screen unlock code.

Android version Password access Required actions
Android 10-11 Via QR code Click "Share", confirm identity
Android 12-13 QR code + Text Similarly, the text is often visible immediately
Android 14-15 Direct view Section "Saved networks", "Eye" button

This method is the most preferred for ordinary users, since it does not violate the device's warranty and does not require interference with system files. However, if you have a very old device or specific firmware, this path may not be available.

💡

If the eye icon does not appear after clicking on the network, try clicking on the edit button (pencil), sometimes the password becomes visible in the settings change mode.

Using root access to access system files

For device owners with acquired superuser rights (Root) the process of retrieving a password turns into a simple procedure of viewing a text file. The operating system stores all connection data in a special configuration file, access to which is closed to ordinary applications.

You will need a file manager that supports working as a superuser, for example Root Explorer or Solid Explorer. Launch the application and grant it access rights when prompted by the root access manager (Magisk or SU).

Navigate to the following path in the root directory: /data/misc/wifi/. In this folder you are interested in a file called WifiConfigStore.xml or, on older versions of the system, wpa_supplicant.conf. Open this file using the built-in text editor.

Path: /data/misc/wifi/

File: WifiConfigStore.xml

Search for: preSharedKey

Inside the file you will find many entries, each of which corresponds to a specific network. Look for the tag preSharedKey or passphrase. The value contained in this tag is your password. Be extremely careful when editing this file - any error in the XML syntax may cause the Wi-Fi module to stop working correctly.

⚠️ Warning: Rooting your device will void your device's warranty and may make it vulnerable to malware. Make a backup copy of the system before any manipulations with root files.

What to do if the file does not open?

If the file manager gives an access error, make sure that you have granted SuperUser rights to this particular application. Sometimes you need to switch the file manager mode to the "RW" (Read-Write) state in the top panel.

Third-party applications from Google Play Market

In the official Google Play application store, there are many utilities that promise to show saved passwords. However, with the release of new versions Android, the capabilities of such apps were severely limited by the platform's security policies. Without root access, they often work only as QR code generators, duplicating the system function.

However, some applications remain useful tools. They can automatically scan the screen, recognize QR codes from the gallery, or help manage network lists. Before installing, carefully read reviews and check the permissions that the app requests.

Popular applications such as WiFi Key Recoveryrequire superuser rights to function fully. If your device is not Rooted, the application may offer to create a backup copy of the settings, which can be restored on another rooted device, but this is a difficult path for the average user.

  • 🛡️ Check the application rating and the number of downloads before installation.
  • 🚫 Avoid apps that require you to disable the antivirus or install unknown ones certificates.
  • 📲 Use applications only as a convenient interface for system functions, and not as a magic pill.

It is worth understanding that no application can “hack” a password that is not stored in the phone’s memory. If you have never connected to this network, the app will not be able to help you. Their task is only to extract existing data from the system storage.

💡

Without root access, third-party applications do not have access to the encrypted password storage of the Android system and work only as shells for standard functions.

How to find the password through the router web interface

If the smartphone cannot show the password, and you have a computer or other device at hand gadget connected to the same network (via cable or Wi-Fi), you can go into the settings of the router itself. This is a universal method that works regardless of the Android version or access rights.

Open your browser and enter the IP address of your router in the address bar. Most often this is 192.168.0.1 or 192.168.1.1. The exact address, as well as the username and password for entering the control panel, are usually written on a sticker on the bottom of the device.

After authorization, find the section responsible for the wireless network. It may be called Wireless, Wi-Fi, Wireless Mode or WLAN. Inside this section, look for the “Security” (Security) or “Wireless Network Settings” subsection.

The PSK Password, Wireless Password or “Wireless Network Key” field will display the current password. Often it is hidden by dots, but there is a “Show password” checkbox or an eye icon nearby. After unlocking, you will see the required combination of characters.

⚠️ Attention: If you change the password in the router settings, all previously connected devices will lose connection to the network. You will have to reconnect them again using a new key.

This method also allows you to change the password to a more complex or memorable one, so that similar problems do not arise in the future. It is recommended to use a combination of letters of different case and numbers for maximum protection of your home network.

Resetting the router settings as a last resort

When none of the software methods worked, and access to the administrator panel is lost (the password for the router is forgotten), the only option is to physically reset the device to factory settings. This is a radical method that should be used only in a desperate situation.

Most routers have a recessed button on the body Reset. To activate the reset function, press it with a paperclip or toothpick and hold it for 10-15 seconds until the indicators flash simultaneously. After this, the device will reboot.

After the reset, the router will return to factory settings. The Wi-Fi password will become what is written on the factory sticker on the bottom of the device (often a blank field or a simple combination). You will need to reconfigure the Internet connection and network name.

☑️ Actions after resetting the router

Done: 0 / 5

Don't forget that resetting will remove all user settings, including static IP addresses, speed limits, and parental control settings. Make sure that you have information from your provider to re-set up Internet access.

What if the Reset button does not work?

If holding the button does not work, the button mechanism may be faulty or the device firmware may be frozen. Try turning off the router's power for 30 seconds, turning it on and immediately start holding the reset button.

Is it possible to view the password on Android without root access?

Yes, on Android 10 and later this can be done through the QR code generation function in the Wi-Fi settings. The password is often displayed in text below the code or can be decrypted by scanning the code with another device.

Why does the WiFi Key Recovery app say "Root Required"?

The Android system stores passwords in a secure system partition that can only be accessed by processes with superuser rights. Without Root, the application cannot read the configuration file where the access keys are written.

Is it safe to use third-party applications to view passwords?

Using applications from the official Google Play store is relatively safe, but they often have limited functionality without Root. Avoid downloading dubious utilities from third-party sites, as they may contain malicious code.

What to do if there is no password text under the QR code?

Take a screenshot of the screen with the QR code. Then open that image through any QR code scanner app or Google Lens. In the scan results, you will see a connection string, where after the symbol P: your password will be indicated.

Can a virus steal my Wi-Fi passwords?

Theoretically, yes, if a malicious application gains access rights to the system or you yourself grant it permissions. On rooted devices the risk is higher. Always check application permissions and do not install software from unknown sources.