A modern smartphone user rarely thinks about how exactly his device connects to a wireless network until he needs to connect a new gadget or laptop. At this moment, a classic problem arises: the router is in the corner, the password is not written down anywhere, and the phone, which is already connected, is silent. The situation is aggravated by the fact that security settings in the operating system hide key data from the eyes of the average user. This is not done to confuse the owner, but to protect his privacy. Android Security settings hide key data from the eyes of the average user. This is not done to confuse the owner, but to protect his privacy.
The concept security key in this context most often means the access password to the access point WPA2/WPA3. It is this set of characters that is necessary to authorize a new device on the local network. However, depending on the version of the operating system and the manufacturer's shell (be it Samsung One UI, Xiaomi MIUI or pure Android), the methods for retrieving this information are radically different. In older versions of the system, access to configuration files was tightly closed without superuser rights, while modern releases offer built-in tools for convenient sharing of access.
In this article we will analyze all the current methods for obtaining a forgotten password, from standard QR code scanning functions to advanced methods using the command line. Key limitation: on devices without root access, viewing the password in text form is only possible on Android 10 and later. If you are the owner of an older device, some of the methods described below may not be available, and you will have to resort to alternative solutions. Let's look at each method in detail so that you can choose the right one for your situation.
Searching for a key through Wi-Fi settings and QR code
Starting Since Android 10, Google has introduced a native Wi-Fi sharing feature that solves the problem of forgotten passwords in an elegant and simple way. The mechanism is based on the generation of a dynamic QR code, which contains an encrypted string with connection data. You don't need to be a hacker or have access to system files - just have a working connection on one of your devices. This method is the safest, as it does not require third-party software.
To implement this method, you need to unlock the screen of a smartphone that is already connected to the desired network. Then you should go to the settings menu. The path may differ slightly depending on the brand of your device, but the logic remains the same: we are looking for the section responsible for wireless connections. Here lies the first nuance: on some shells, for example Xiaomi or Realme, the Wi-Fi settings icon can be placed in a separate menu "Connection and sharing".
Find in the list of available networks the one to which you are currently connected. There should be a gear or a โSettingsโ button next to or below the network name. Click on it. In the connection details window that opens, look for the โShareโ button or QR code icon. The system will ask you to confirm your identity using a PIN code, fingerprint or facial scan - this is a measure of protection biometric data and device settings.
If the QR code is not displayed immediately, try clicking on the eye icon or the "Show password" button under the code image, if such an option is available in your version firmware.
After successful authentication, a QR code will appear on the screen. Below it, as a rule, the password itself is written in small print. If the text under the code is unreadable or missing, simply point the camera of another smartphone (with an enabled QR scanner or via Google Lens) at the screen. The scanner phone will recognize the code and offer to connect, and in some cases will immediately show the password in the connection notification.
- ๐ฑ Open
Settings โ Wi-Fion the connected device. - ๐ Click on the name of the active network or icon gears next to it.
- ๐ Select the "Share" or "QR code" option and confirm your identity.
- ๐๏ธ Look at the password under the code or scan it with another device.
โ ๏ธ Attention: The QR code generation function is open password text may be missing on devices with custom shells of older versions (Android 9 and lower), even if the menu is visually similar.
Using the Google Home function to view passwords
The Google ecosystem seeks to unify the management of smart home and network connections. The latest updates to Google Play services and applications Google Home have made it possible to synchronize saved Wi-Fi passwords between devices linked to the same account. This means that if you've ever shared a password with a friend via Android or logged into the network from another phone using your account, the data could be saved in the cloud. To check this feature, open the app on your smartphone. Make sure you are logged in to the same account that was used on the device where the password was saved. In the application interface, find the "Devices" or "Wi-Fi" section. If your router supports integration with Google (for example, models
To check this feature, open the application Google Home on your smartphone. Make sure you are logged in to the same account that was used on the device where the password was saved. In the application interface, find the "Devices" or "Wi-Fi" section. If your router supports Google integration (for example, models Google Nest Wifi or compatible routers from TP-Link and Asus), you can see a list of connected devices and network settings directly in the application.
However, a more universal method is associated with the Google password manager. Go to your Google account settings through your browser or phone system menu. Find the "Security" section and then "Password Manager". All saved logins and passwords are stored here, including Wi-Fi network security keys if the corresponding synchronization has been enabled. Find your network address (SSID) in the list and click on it. After re-verifying your identity, the password will be shown in clear text.
This method is good because it is independent of the current version of Android on the phone from which you are trying to find out the password. The main condition is the presence of the Internet on the device to log into your account and preliminary data synchronization. If you have never saved passwords to your Google account, this method, alas, will not work.
- ๐ Open
Google Settings โ Autofill โ Password Manager. - ๐ In the search, enter the name of your Wi-Fi network.
- ๐๏ธ Click on the eye icon to display the saved key.
- ๐ Pass biometric or PIN code authorization.
Password check on Samsung devices
Smartphone owners Samsung are in a better position thanks to the shell One UI, which is often ahead of stock Android in terms of user-friendliness. The Korean giant's engineers have implemented the ability to view the password directly in the Wi-Fi settings menu, and this feature is available even on relatively old versions of Android (starting with Android 9 with security updates). This makes the process of restoring access to the network as transparent as possible.
The algorithm of actions on Samsung is almost identical to the standard one, but with an important difference: the password is displayed in text immediately, without the need to scan the QR code with the camera of another phone. Log in Settings โ Connections โ Wi-Fi. Click on the name of the network you are connected to. In the window that opens, you will see a QR code, and right below it - a password field. If dots are displayed instead of symbols, just click on the eye icon.
It is worth noting that on some models of the series Galaxy A or older flagsors (S8, S9) this function may be hidden if you are not logged in account Samsung Account. The security system requires owner verification before disclosing sensitive network data. Also make sure that you have the latest firmware installed, as Samsung regularly updates the functionality of the connection menu.
What to do if there is no eye icon?
If there is no show password button in the Wi-Fi menu on Samsung, try pressing and holding the QR code. In some versions of One UI, this action copies the image of the code to the clipboard, after which it can be pasted into any messenger and read using a third-party QR scanner application that can recognize text inside the code.
For users of corporate networks or networks with advanced settings (Enterprise), where not only a password is used, but also a certificate, the display of the key may be blocked by the organization's security policies. In home use, such restrictions are extremely rare.
Method with root access and a file manager
For owners of devices with modified firmware or acquired superuser rights (Root), the process of obtaining a password becomes trivial. Having root access gives you full access to the Android file system, including system partitions where configuration files are stored. The security keys of all ever connected networks are stored in a special XML file. This method works on any version of Android, up to the latest, but requires preliminary preparation.
You will need a file manager with support for root access, for example Root Explorer, Solid Explorer or FX File Explorer with a plug-in add-on installed. After launching the application, you must grant it superuser rights (a request from Magisk or SuperSU). Next you need to follow the path: /data/misc/wifi/. This directory contains the file WifiConfigStore.xml (in new Android) or wpa_supplicant.conf (in older versions up to Android 10).
Open this file as text. Inside you will see a lot of tags and lines of code. You need to find a tag <SSID> with the name of your network. There will be a tag <PreSharedKey>immediately below or next to it. The value inside this tag is your desired password in clear text. Be careful when editing this file: any change to the syntax may cause the phone to no longer see saved networks or even lose the Wi-Fi module until the settings are reset.
โ๏ธ Check before editing system files
| Android version | File location | File name | Access without Root |
|---|---|---|---|
| Android 4.0 - 9.0 | /data/misc/wifi/ | wpa_supplicant.conf | No |
| Android 10+ | /data/misc/wifi/ | WifiConfigStore.xml | No |
| Android 12+ | /data/misc/wifi/ | WifiConfigStore.xml | Partially (via ADB) |
| All versions | /data/misc/wifi/ | WifiConfigStore.data | No (binary) |
โ ๏ธ Attention: Obtaining root access will void the device warranty and may make it impossible to use banking applications and services with a high degree of protection (Google Pay, Samsung Pay).
Using ADB to retrieve the configuration
If receiving full root access seem too risky to you, but standard methods do not work, you can use the debug bridge ADB (Android Debug Bridge). This tool is intended for developers, but allows you to run certain commands with elevated privileges without completely unlocking the bootloader. The method works on Android 10 and higher, where access to the configuration file is disabled, but the backup command can still produce the data in readable form.
First, you need to activate developer mode on your phone. Go to Settings โ About phone and click 7 times on the build number. In the "For Developers" menu that appears, enable "USB Debugging". Connect your phone to your computer via a USB cable. The package must be installed on the computer Platform Tools. Open a command line in the folder with ADB and enter the command to check the connection: adb devices. The phone screen will ask you to allow debugging - confirm it.
The most effective command for retrieving passwords requires creating a local backup of your Wi-Fi settings. Run the following command in the terminal:
adb backup -noapk com.android.providers.settings -f wifi_backup.ab
A request to create a backup copy may appear on your smartphone screen. If the system asks you to set a password for the backup, set any one, but remember it. After the process is completed, a file wifi_backup.abwill appear on your computer. This file is in a proprietary format and will require a abe (Android Backup Extractor)utility to read its contents. After unpacking the archive, you will receive a TAR file, inside which will be the same XML configuration file with all passwords.
The ADB method does not require root access, but is difficult to implement and depends on whether the device manufacturer allows backups of system settings via ADB.
It is worth considering that manufacturers are increasingly blocking the ability to backup critical data via ADB for security purposes. On smartphones Xiaomi, Huawei and some models Samsung this command may fail or create an empty file. In this case, you can only rely on the QR code or the router.
Login to the router web interface
If none of the software methods on the phone itself produce results, there is always a โhardโ option - checking the settings of the signal source itself. The router's web interface contains all information about the wireless network, including the current security key. To access, you will need any device (laptop, tablet or phone itself) connected to this network, or connected via a LAN cable.
Open your browser and enter the routerโs IP address 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. Standard combinations - admin/admin or admin/password. If you changed the login password to the router and forgot it, you will have to reset to factory settings (Reset), which will require re-configuring the Internet.
After successful authorization, find the section responsible for the wireless network. It may be called Wireless, Wi-Fi, Wireless mode or WLAN. Inside, look for the โSecurityโ or โWireless Network Settingsโ subsection. The field Wireless Password, WPA Pre-Shared Key or simply "Password" will indicate the current key. You can copy it or change it to a new one, which you will definitely not forget.
- ๐ Enter the router IP (often
192.168.0.1) into the address bar of the browser. - ๐ Enter the administrator login and password (indicated on the sticker).
- ๐ก Go to the Wireless / Wi-Fi Settings section.
- ๐ Find the Password/Key field and copy the value.
โ ๏ธ Attention: Router interfaces from different manufacturers (Asus, TP-Link, D-Link, Keenetic) are very different. If you cannot find the item you need, look for sections with the word "Security" or "Security".
Frequently asked questions (FAQ)
Is it possible to find out the Wi-Fi password on Android without root access if the system version is lower than 10?
Unfortunately, on Android 9 and In older versions without root access, it is impossible to view the saved password in text form using standard tools. The system stores them in an encrypted system file, access to which is restricted. The only way out is to use a QR code (if this function was added by the manufacturer to the shell) or enter the router settings.
Is it safe to use applications from the Play Market to view passwords?
Most apps that promise to โhackโ or โshowโ your Wi-Fi password without root are either useless or malicious. They cannot bypass Android system security restrictions. The only thing they can do is show the password if it is already saved in the system and the Android version allows it (Android 10+), but the same can be done through the standard settings. Be careful with the permissions you grant to such apps.
What should you do if the QR code shows an error when scanning?
The scanning error may occur due to low screen brightness, glare, or too complex network encryption (for example, Enterprise networks). Try increasing the brightness of the source phone's screen, wiping the scanning device's camera, or bringing them closer. If the network uses a certificate, a simple password may not be displayed.
Where is the security key located if the network is hidden?
Hidden networks (Hidden SSID) do not broadcast their name, but the principle of storing the password on Android is the same. If you have ever connected to such a network manually, the password is stored in the same configuration file. However, you may not be able to see the QR code for the hidden network in the standard menu. In this case, only logging into the router or using root access/ADB to view the configuration file will help.
Does the password in the router change if I look at it through the phone?
No, viewing the password through the phone settings, QR code or file system is a passive reading operation. Your security key will not change or be reset. However, if you decide to change the password in the router settings via the web interface, all connected devices will require you to re-enter the new key.