Needing to connect a new device to your home network but forgetting your Wi-Fi password is a common occurrence. Fortunately, modern smartphones running the operating system Android Often already contain saved login data if they've successfully connected to the same access point before. Previously, extracting this information required complex root privileges, but in recent versions of the system, Google has significantly simplified access to network settings for regular users.
You don't need to be a cybersecurity expert or know complex programming to solve this problem. The system's standard tools not only display a QR code for quickly connecting guests, but also, in some cases, display the actual text security key. It's important to consider your operating system version, as the interface and available features can vary significantly across different phone models.
In this article, we'll take a detailed look at all current methods for retrieving forgotten data, from standard interface settings to using engineering menus and third-party utilities. We'll also touch on security issues and explain why the system stores this data in encrypted form and what restrictions Google imposes on its display in recent updates.
Wi-Fi Features in Different Android Versions
Since version Android 10Google implemented significant changes to its wireless security policy. Previously, apps could request access to a list of saved networks and passwords with minimal restrictions. Now, the system requires elevated privileges, and standard passwords are often hidden from the user's view, replaced with a QR code.
This is done to protect personal data, as access to a Wi-Fi network allows traffic to be intercepted. However, if you have physical access to an already connected device, the system considers you a trusted user. In versions Android 12 and the newer functionality has become even more flexible, allowing you to see the access code directly in the settings menu in most cases, if the device supports the corresponding shell.
It is worth noting that smartphone manufacturers such as Samsung, Xiaomi or Realme, may implement this functionality in their firmware in different ways. In some cases, the "Share" button immediately opens a QR code, while in others, additional identity verification via a fingerprint scanner or facial recognition is required.
⚠️ Note: The settings menu interface may differ depending on your smartphone model and the version of the installed shell. If you don't see the options described, check for system updates in the section
Settings → About phone.
Viewing your password using default settings (Android 10 and later)
The easiest and most secure way to find your access key is to use the built-in Share feature in the Wi-Fi menu. This method doesn't require any additional software and works on the vast majority of modern devices. Go to the Wireless Networks section and select your active connection.
After clicking the gear icon or network name next to the "Connected" status, the system will offer several options. We're interested in the "Share" button or the QR code icon. When you click it, the system will ask you to verify your identity using biometrics or a screen unlock PIN. This is a standard security measure against unauthorized access.
After successful authorization, a QR code will appear on the screen, which can be scanned with another device for instant connection. Most modern UIs (e.g., MIUI, OneUI, ColorOS) will display a text string with the password directly below the graphic code. If there is no text, you can take a screenshot and open it using Google Lens or any other QR code scanner from your gallery.
- 📱 Open
Settingsand go to the sectionWi-Fi. - 🔗 Click on the name of the active network or the gear icon to the right of it.
- 📤 Select a button
Shareor a QR code icon. - 👁️ Complete identity verification (fingerprint, face, or pattern).
- 📝 Look at the text below the QR code or scan it with another phone's camera.
☑️ Check your password before viewing it
Using Google Lens to Decode a QR Code
In situations where the operating system only shows a graphic code and the text password is hidden, a built-in tool comes to the rescue Google Lens (Lens). This service can analyze screen images and extract text information from them, including Wi-Fi connection strings.
To use this method, take a screenshot of the screen containing the QR code. Then, open the Google or Google Photos app, find the photo you took, and tap the "Lens" or "Search by image" button. The system will automatically recognize the code and prompt you to copy the password or connect to the network.
This method is especially relevant for "clean" Android, where the text display of the key can be disabled by developers for maximum privacy. It's important to understand that Google Lens runs locally or sends anonymized data to servers for analysis, so this method is considered safe for home use.
Viewing saved networks via the developer menu and ADB
For advanced users who need to access a list of all previously saved networks (not just the current one), there's a method using USB debugging. This method requires connecting your smartphone to a computer and installing a utility. ADB (Android Debug Bridge)It allows you to extract system configuration files where keys are stored.
First, you need to enable developer mode. To do this, go to Settings → About phone Tap the build number seven times quickly. A new option, "Developer options," will appear in the settings menu. Enable "USB debugging" there.
After connecting your phone to your PC, open the command prompt on your computer and enter the command to list networks. Please note that on modern versions of Android without root access, this method may only show the SSID (network name), but not the password itself, as the file wpa_supplicant.conf protected. However, in some cases, it is possible to access the configuration through adb shell cmd wifi get-network.
adb shell dumpsys wifi | grep -A 5"mCurrentNetwork"
This method requires technical literacy. If you're not familiar with the command line, it's better to use simpler options. Entering commands incorrectly can cause instability in the Wi-Fi module.
Compatibility table of methods and OS versions
To help you decide which method is best for your device, we've prepared a summary table. It shows the available features depending on the operating system version.
| Android version | Show QR code | Show password text | Root required |
|---|---|---|---|
| Android 9 and below | No (usually) | No | Yes (for most methods) |
| Android 10 | Yes | Partially (depending on brand) | No (for QR) |
| Android 11 | Yes | Yes (in most shells) | No |
| Android 12+ | Yes | Yes (standard feature) | No |
As can be seen from the table, owners of devices based on Android 11 Newer versions are the luckiest. They almost always have full functionality available without having to hack the system. Users of older versions will have to resort to third-party solutions or reflashing the router.
Using third-party applications and file managers
There are many apps on Google Play that promise to reveal passwords. However, after implementing security restrictions in Android 10, most of them became useless without superuser rights (Root). Applications like WiFi Password Viewer can only work on rooted devices, reading system files directly.
If you have root access, the process takes seconds. You install the app, grant it superuser privileges, and it displays a list of all networks and keys. Without these privileges, such programs often simply display advertising banners or prompt you to connect your phone to a PC for analysis, which isn't always effective.
An alternative could be file managers with access to system partitions (for example, Root Explorer or Solid Explorer with plugins). The path to the configuration file usually looks like this: /data/misc/wifi/wpa_supplicant.confThis text file stores SSID and password pairs in clear text, but access to this folder is restricted for regular applications.
⚠️ Warning: Rooting your device will void your warranty and may cause your banking apps to stop working. Only do this if you fully understand the risks and are comfortable with system recovery.
Alternative methods: router and other devices
If your phone doesn't allow you to access your password, it's logical to turn to the source of the signal—the router. If you have access to the router's web interface (often the address 192.168.0.1 or 192.168.1.1), you can view or change the password in the wireless security section. Administrator credentials may be required to log in, which are often found on a sticker on the bottom of the device.
Another option is to view the password on an already connected computer with the OS WindowsIn the wireless adapter properties in the Control Panel, there's a "Security" tab. Checking "Show entered characters" will allow you to see the key. You can then manually enter it on your phone.
Don't forget about physical stickers either. Many routers, especially those issued by ISPs, have the factory Wi-Fi password (if it hasn't been changed) printed on a label on the bottom of the router. This is the fastest way if you've never changed your security settings.
What to do if nothing helps?
If none of the software methods work and you can't access the router, your last option is to reset it to factory settings. To do this, locate the small Reset button on the router (often recessed) and press it with a paperclip for 10-15 seconds while the router is powered on. The router will reboot, and the password will be reset to the one on the sticker. Please note: this will reset all your ISP settings, and you may need to re-enter your PPPoE or VLAN information.
Frequently Asked Questions (FAQ)
Is it possible to find out my neighbor's Wi-Fi password if I'm connected to his network?
Technically, if you're connected to the network and have root access on your device, you can see the saved key. However, using someone else's network without the owner's permission is a violation of computer information laws. These methods are intended only for restoring access to your own networks.
Why doesn't my Android 11 display the password text, only the QR code?
It depends on your smartphone manufacturer. Some brands (like Xiaomi or Samsung) add text underneath the code, while stock Android (like Pixel or Motorola) often only show a graphic image. Use Google Lens to read the code; it only takes a couple of seconds.
Are password viewer apps safe to use?
Apps from the official Google Play store with high ratings and numerous reviews are generally safe. However, avoid downloading APK files from untrustworthy websites, as they may contain malicious code that can steal your personal data.
Will this method work if I forgot the password for the hidden network (Hidden SSID)?
Yes, if your phone has ever connected to this network and saved the profile, the password will be stored in the device's memory. Viewing the network name (SSID) and key through settings or ADB will allow you to retrieve the network name (SSID) and key, even if the network is hidden from public view.