Smartphones based on the operating system Android automatically save data about the wireless access points to which you have ever connected. This allows the device to instantly reconnect when returning to coverage without having to re-enter credentials. However, over time, the list of these networks can become huge, and the user may need to delete old connections or find out the password for a home network that was forgotten.

Access to this information directly depends on the version of the installed firmware and access rights to the system. In modern versions Android 10 and higher, Google has significantly strengthened security measures by hiding direct paths to configuration files from ordinary users. However, there are legal ways to view connection history and even restore security keys through the standard settings interface or using special utilities for advanced users.

In this article we will examine in detail all the available methods: from simply viewing the QR code in the settings to using a debug bridge ADB to extract system files. You will learn where the history of connections is stored, how to export data and what restrictions your device manufacturer imposes on these processes.

Viewing saved networks through standard settings

Starting with version Android 10, the settings interface has become more user-friendly in matters of Wi-Fi management. Now you can not only see a list of known networks, but also access your password in the form of a QR code. To do this, you need to go to section Settings โ†’ Network and Internet โ†’ Wi-Fi. All available points within range are displayed here, and there is also often a โ€œSaved Networksโ€ button or a similar item in the menu.

If you are within range of a previously saved network, it will be marked with a lock icon or the inscription โ€œSavedโ€. Clicking on the gear next to the network name opens a detailed menu. In modern shells, such as One UI from Samsung or MIUI from Xiaomi, there is often a โ€œShareโ€ button or a QR code icon here. Scanning this code with another device allows you to instantly connect to the network without entering a password.

However, if the network is out of coverage, it may be hidden from the main list. In this case, try looking for the โ€œManage saved networksโ€ item in the Wi-Fi settings. The interface may differ depending on the manufacturer, but the logic remains the same: the system stores the connection profile, even if the signal from the router is temporarily absent. This is convenient for clearing the list of cafe or hotel chains that you visited once and no longer plan to use.

โš ๏ธ Attention: On some devices with โ€œpureโ€ Android (for example, Google Pixel), the function of viewing the password in text form may be absent, remaining accessible only through a QR code. To decrypt the code, you will need a third-party scanner application.

๐Ÿ’ก

If the QR code is not displayed, try clicking the "Share" button - sometimes the system generates a code only when this function is activated.

Using the "Quick Connect" function and QR codes

The QR code generation function has become standard de facto for transferring Wi-Fi credentials. This is not just a picture, but an encrypted string containing the encryption type, the network name (SSID) and the password itself. When you see a QR code on the screen of your smartphone, any other device with a camera and support for the standard can read it and automatically connect.

To view network data through this method, follow these steps:

  • ๐Ÿ“ฑ Open Wi-Fi settings and select the desired saved network.
  • ๐Ÿ”ณ Click on the "Share" button or the QR code icon.
  • ๐Ÿ” Go through the biometric authentication (fingerprint or Face ID) or enter the screen lock PIN.
  • ๐Ÿ‘๏ธ Under the QR code, a text password is often duplicated in small font.

If the text password is not displayed under the graph, you can take a screenshot of the screen with the QR code. Then open that image in any QR code reader app or Google Lens. The scan result will be a line like: WIFI:S:MyNetwork;T:WPA;P:MyPassword123;;. In this line, the value after P: and before the double semicolon is your desired password.

๐Ÿ“Š Which way of viewing networks is more convenient for you?
Through Android settings
Using a QR code
Via a computer and ADB
With root access and Explorer

Viewing history through a file manager (requires Root)

For users with superuser rights (Root), the process of obtaining information about networks becomes as transparent as possible. All configuration files for wireless connections are stored in a secure system partition. A regular file manager without access rights will not be able to open this directory, but specialized explorers, such as Root Explorer or Solid Explorer, will cope with this task.

The main file containing the entire connection history is called wpa_supplicant.conf. It is located along the way /data/misc/wifi/. Inside this file, blocks of data for each network are stored in clear text (or hashed, depending on the Android version and security settings). Each block begins with a line network={ and contains parameters ssid (network name) and psk (password).

When you open the file in a text editor, you will see a data structure similar to this:

network={

ssid="Home_WiFi"

psk="SuperSecretPassword"

key_mgmt=WPA-PSK

}

The important thing here is to be careful when editing. Any error in the file syntax may cause the Wi-Fi module to stop working correctly and the phone will not be able to connect to any network until the backup is restored.

โš ๏ธ Warning: Making changes to system files /data/misc/wifi/ without creating a backup copy may result in the loss of all saved networks. Always make a backup before editing!

What to do if the file is encrypted?

On modern versions of Android (11+), passwords in the wpa_supplicant.conf file can be encrypted. In this case, directly reading the text will not work, and you will need to use decryption utilities or a method with ADB.

Extracting data via ADB without root access

If obtaining root access is impossible or undesirable, you can use the tool Android Debug Bridge (ADB). This method requires connecting the smartphone to the computer via a USB cable and having the drivers installed. It allows you to run a command as an elevated system to read a specific configuration file without giving full access to the entire file system.

First, you need to activate developer mode on your phone. Go to Settings โ†’ About phone and click 7 times on the "Build number" item. After the message โ€œYou have become a developerโ€ appears, go to the menu For developers and enable the โ€œUSB Debuggingโ€ item. Connect the device to the PC and enter the command in the computer command line to check the connection:

adb devices

If the device is detected, run the command to display the contents of the Wi-Fi configuration file:

adb shell su -c "cat /data/misc/wifi/wpa_supplicant.conf"

If the command does not work due to lack of rights su, try an alternative option that works on some firmware without explicit root, using backup settings:

adb backup -f wifi.ab -noapk com.android.providers.settings

Received file wifi.ab can be analyzed on a computer using special utilities for unpacking Android backups to extract the text configuration.

๐Ÿ’ก

The ADB method is the safest way to obtain deep system information without the need to unlock the bootloader or flash the device.

Analysis of the table of saved connections

When analyzing connection history, it is important to understand what parameters the system stores. Below is a table describing the main network configuration fields that you can encounter when viewing files or using diagnostic applications.

>Pre-Shared Key (password for WPA/WPA2)

Parameter Description Example value
ssid Service set identifier (network name) "CoffeeShop_Free"
psk "12345678" or hash
key_mgmt Encryption key management type WPA-PSK, NONE, WPA-EAP
priority Connection priority (the higher, the more important) 1, 5, 10
id_str String identifier for static IP "home_static"

Parameter priority is especially interesting for advanced users. If you have two routers at home with different names, but you want your phone to always prefer one of them, you can manually edit this file (if you have Root) and set a higher priority for the desired network. The system will automatically select the network with the highest priority value if there are several available saved options.

Third-party applications for managing Wi-Fi

In the store Google Play there are many utilities that position themselves as Wi-Fi managers. However, due to Google's security policy restrictions introduced in recent versions of Android, most of them have lost the ability to show passwords in plain text without root access. They can show a list of networks, signal strength and technical information, but access to the field is often blocked. psk often blocked.

However, some applications remain useful for visualizing connection history and managing profiles. Examples of such utilities include WiFi Analyzer (for signal analysis) or specialized managers from router manufacturers. They allow you to see which networks your phone connected to recently, and quickly disconnect from them or forget the network.

  • ๐Ÿ“Š WiFi Analyzer: Great for viewing channel busy graphs and scan history, but does not show passwords.
  • ๐Ÿ”ง WiFi Key Recovery (Root): A powerful tool that requires superuser rights, but instantly displays all saved passwords in a convenient list.
  • ๐Ÿ”„ WiFi Manager: Allows you to bulk delete old networks and export configurations, which is useful when resetting your phone.

โš ๏ธ Attention: Be extremely careful when installing applications that promise to โ€œhackโ€ Wi-Fi or show passwords without Root. Often such apps contain malicious code or are simply a deception for displaying advertising.

โ˜‘๏ธ Checking Wi-Fi security

Done: 0 / 4

Frequently asked questions (FAQ)

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

Yes, this is possible on most modern smartphones via QR code generation function in Wi-Fi settings. After authentication, you will see the code under which the password is often written, or you can decrypt it by scanning the code with another device.

Where is the file with Wi-Fi passwords physically stored?

The system file with the configuration of wireless networks is located along the path /data/misc/wifi/wpa_supplicant.conf. Access to this directory is closed to regular applications and users without superuser rights (Root).

Why are some connections not in the list of saved networks?

Android can automatically delete networks that could not be connected to several times in a row, or networks with an open encryption type, if the "Avoid bad connections" function is enabled. Also, some corporate networks with a certificate may not appear in the general list.

Is it safe to use applications to recover Wi-Fi keys?

Applications that require root access is safe if they have a good reputation and many positive reviews. However, granting superuser rights to an unknown application carries risks. It is better to use time-tested utilities or standard system tools.

What to do if the QR code does not show the password in text?

Take a screenshot of the QR code and open it through the Google Lens application or any other QR code scanner on another device. As a result of scanning, you will receive a connection string, where after the symbol P: your password will be indicated.