It's common to need to connect a new gadget to your home network but lose or forget the access key. Fortunately, modern mobile devices running the operating system Android Store information about previously used connections in secure memory. This allows smartphone owners to easily restore access to their data without resorting to complex router manipulation or calling a specialist.
In earlier versions of the operating system, access to this data was hidden from a regular user without rights. root, which created certain difficulties. However, starting with version 10, Google engineers implemented a native QR code feature, which dramatically simplified the process. Now To view the password on current versions of Android (10+), you don't need to install third-party software or gain superuser rights., since the system itself provides the necessary tools.
In this article, we'll cover in detail all available methods for retrieving saved keys, from standard interface tools to advanced command line techniques. You'll learn how to quickly find the information you need and securely transfer it to other devices. We'll also explore the nuances of various shells, such as MIUI, One UI and clean Androidso that the instructions are useful to owners of any smartphones.
The standard method is via QR code on Android 10 and later.
The easiest and most secure way to find a forgotten access key is to use the built-in QR code generation function. This option was introduced in Android 10 and became the standard for all subsequent versions, including Android 13 And 14First, you need to go to the menu Settings → Network & Internet → Wi-Fi or simply hold down the wireless connection icon in the notification shade.
Find the name of your currently connected or previously used router in the list of networks. Click the gear icon or arrow next to the network name to open detailed settings. The window that opens will often display a "Share" button or a QR code icon. When clicked, the system will ask you to verify your identity with a PIN, fingerprint, or Face ID.
After successful authentication, a square code will appear on the screen. In most modern shells, such as Xiaomi MIUI or Samsung One UIThe network password is written in plain text directly below this code. If the text is hidden, you can take a screenshot and open it using the Google Lens app or any similar scanner that will capture the data and display it in plain text.
- 📱 Click the gear icon next to your Wi-Fi network name in Settings.
- 🔒 Complete biometric or PIN authorization to access details.
- 📸 Take a screenshot of the QR code that appears if the password is not written in text.
- 👁️ Scan the image with Google Lens to decode the data.
⚠️ Attention: On some devices (for example, older versions OnePlus (or custom firmware), the password text may be hidden by asterisks even in the QR code menu. In this case, use a third-party app to scan the screen.
Using Google Chrome to View Saved Keys
If your smartphone's interface doesn't allow you to view your password directly, you can use syncing via your Google account. Browser Google Chrome has a built-in password manager, which often saves Wi-Fi network keys, especially if you've ever shared them or logged in to the network via a web interface. Open your browser, go to Settings, and select "Password Manager."
In the list of saved data, look for the one with the name of your wireless network. The system sorts them alphabetically or by date saved. Clicking on the desired entry will reveal a hidden field. To display it, you'll need to re-enter your Google account password or unlock your device. This is a reliable method if the standard menu doesn't work.
It's worth noting that this method doesn't work equally on all devices, as it depends on the manufacturer's security policy and browser version. On a clean Android integration works best when on devices Huawei or Honor Without Google services, this option may not be available. In this case, it's worth checking the manufacturer's cloud backups.
Restoring access to Android 9 and below without root rights
Owners of older devices running on Android 9 Pie and below face security restrictions that prevent apps from reading the file containing stored passwords. These OS versions lack native QR code functionality, and access to system files is blocked. However, there are workarounds that don't require complex rooting.
One of the effective methods is to use the Quick Connect function (Quick Connect) or similar services from the manufacturer, if they are pre-installed. You can also try creating a backup of your system settings through the standard recovery menu, and then analyze the backup file on your computer using specialized software for unpacking configuration files. Android.
Another option is to exploit vulnerabilities in older versions of Wi-Fi managers, although this method is less reliable and depends on the specific model. Resetting the network settings often helps, after which, upon reconnecting, you can attempt to intercept data via USB debugging if the package is installed on the computer. ADBThis requires a certain amount of technical literacy.
| Android version | Availability of a QR code | Access to the wpa_supplicant file | Recommended method |
|---|---|---|---|
| Android 14 | Yes (native) | Closed | Wi-Fi menu |
| Android 12 | Yes (native) | Closed | Wi-Fi menu |
| Android 10 | Yes (native) | Closed | Wi-Fi menu |
| Android 9 and below | No | Only with Root | ADB / Backup |
⚠️ Attention: Menu interfaces may differ depending on the smartphone brand (Samsung, Xiaomi, Realme). If you don't find the items described, use the settings search by entering the word "Wi-Fi" or "Network."
Why can't I just view the password on older Android devices?
Before Android 10, the security system strictly separated the permissions of apps and system processes. The file storing passwords (wpa_supplicant.conf) was accessible only by the superuser (root). Regular scanner apps couldn't read it without hacking the system, creating a risk of data leakage.
Advanced Method: Using ADB Commands
For technically savvy users who don't want to gain root access but have a computer at hand, using a debug bridge is a great solution. ADB (Android Debug Bridge). This tool allows you to send commands directly to the Android system. You'll need to install the drivers for your phone and the Platform Tools package on your PC.
First, you need to enable developer mode on your smartphone. To do this, go to Settings → About phone Tap the Build Number seven times in quick succession. Then, in the Developer Options menu that appears, enable USB Debugging. Connect your phone to the computer with a cable and confirm debugging permission on the device's screen.
Open a command prompt on your computer in the ADB folder and enter the command to list saved networks. Although direct access to the configuration file is blocked on newer Android devices, some commands allow you to obtain information about the current connection. Enter the following command:
adb shell dumpsys wifi | findstr"mLastConnectionInfo"
This command can display information about the last successful connection, including the network SSID. However, it's worth remembering that on modern Android versions, for security reasons, it's extremely difficult to obtain the password in plaintext via ADB without root access. This method is more suitable for connection diagnostics than for recovering forgotten passwords, unless you use specialized backup software.
- 💻 Install ADB drivers and Platform Tools on your computer.
- ⚙️ Enable USB debugging in the hidden developer menu.
- 🔌 Connect your smartphone with a cable and confirm the connection on the screen.
- 📝 Enter the command in the terminal to get system information.
☑️ Checking ADB readiness
Specifics of working with root rights and file managers
If your device has superuser rights (Root), the task is simplified to a minimum. Having root access removes all security restrictions, allowing you to read any system files. In this case, the password is stored in a text file. wpa_supplicant.conf, located along the way /data/misc/wifi/.
To view the file, you will need an advanced file manager that supports root access, for example, Root Explorer, ES File Explorer (old versions) or Solid ExplorerAfter launching the application, you need to grant it superuser rights, then navigate to the specified path. Opening the file with any text editor will reveal a list of all networks and passwords in the following format: ssid="NetworkName" psk="Password".
It's important to understand the risks: rooting your device will void your warranty and may disrupt banking apps that don't run on modified systems. Furthermore, careless editing of system files may render the Wi-Fi module inoperable. Only use this method if you fully understand the consequences.
Alternative methods and access to router settings
If software methods don't help, there's always the "hardware" option: logging into the router's administrative panel. To do this, your phone must be connected to a Wi-Fi network (even without internet) or connected to the router via a LAN cable (using an adapter). In the browser's address bar, enter the gateway IP address, usually 192.168.0.1 or 192.168.1.1.
After entering the administrator login and password (often indicated on a sticker on the bottom of the router, if you have not changed them), go to the wireless network section (Wireless or Wi-Fi Settings). There in the field Wireless Password or Pre-Shared Key The current access key will be displayed. You can not only view it, but also change it to a more complex one.
This method is universal and works regardless of Android version or phone model, as the request goes directly to the provider's equipment. It's especially useful when you need to find the password for a device that isn't a smartphone, such as a smart TV or game console.
What should I do if I forgot my router admin panel password?
If you've changed your router's password and forgot it, the only way out is to reset the device to factory settings. To do this, press and hold the button Reset On the router body (usually 10-15 seconds) with a paperclip. After rebooting, use the default data from the sticker on the bottom of the device.
Is it possible to find out the Wi-Fi password using apps from the Play Market?
Apps like "WiFi Password Viewer" only work on rooted devices. On regular smartphones, they're either useless or only show passwords for networks you've previously shared via QR code. Be careful: many of these apps contain aggressive advertising.
Is it safe to store passwords in a Google Account?
Yes, this is considered secure, as data is encrypted during transmission and storage. However, if your Google account is hacked, the attacker will have access to all stored keys. It is recommended to use two-factor authentication to protect your account.