It's a common situation to need to connect a new device to a wireless network but hopelessly forget the password. Owners of smartphones running the operating system Android Often find themselves in a vicious circle: the phone is already connected, but the access code is lost, and there's nowhere to enter it again. Fortunately, modern mobile OS versions provide built-in tools to solve this problem without having to reset the router.
Previously, retrieving saved keys required superuser rights (Root), which was risky and complicated for the average user. Today, Google has significantly simplified the process of exchanging data and viewing network details, making the system more transparent. However, methods may vary depending on the version. Android and the shell installed by the manufacturer of your gadget.
In this article, we'll cover all current access recovery methods, from standard system functions to specialized software and the command line. You'll learn how to quickly generate QR codes for guests and understand where your network security keys are stored within the system.
Using the built-in QR code in settings
Since version Android 10The operating system now includes a native QR code generation feature for quickly connecting other devices. This mechanism not only simplifies network login for guests but also allows the smartphone owner to see a text version of the password. The process is extremely simplified and does not require installing third-party apps.
To begin, you need to open the standard settings menu and go to the section Settings → Network & Internet → Wi-FiA list of available networks will be displayed, and the currently active connection will be marked with an icon or the word "Connected." Click on your network's name or the gear icon next to it to open the detailed menu.
In the window that opens, look for the "Share" button or the QR code icon. Once clicked, the system will ask you to verify your identity using your fingerprint, face recognition, or screen unlock PIN. This is a security measure to prevent unauthorized access to your data.
- 📱 A QR code will appear on the screen, which can be scanned with the camera of another device.
- 🔑 Below the graphic code, the password itself is often (but not always) written in small text font.
- 👁️ If the text is hidden, take a screenshot and open it in the Google Lens app for recognition.
⚠️ Note: On some custom skins (such as older versions of MIUI or EMUI), the text password may not be displayed below the code. In this case, use the screenshot and text recognition method.
This method is the safest, as it doesn't require advanced system access rights. The feature works reliably on devices from the following brands: Samsung, Xiaomi, Pixel And OnePlusIf you don't see this option, your Android version may be older than 10, in which case you'll have to resort to other solutions.
Viewing via Google Password Manager
The Google ecosystem offers a centralized password store that syncs across all devices linked to a single account. If you've ever logged into a Wi-Fi network with this account, the key may have been automatically saved in the cloud. This is especially important for users who use autofill from Google.
To check your saved data, go to Settings → Google → Autofill → Autofill from GoogleNext, select "Google Passwords" or "Password Manager." In the list of websites and apps, find the entry with the name of your wireless network. This may match the router's SSID.
After logging into the vault, you'll see a password field. By default, it's hidden behind asterisks. Click the eye icon to reveal the symbols. Make sure no one is nearby, as your data will be visible to anyone looking at your screen.
Menu path: Settings → Google → Manage Google Account → Security → Password Manager
It's important to note that this method only works if syncing was previously enabled. If you just reset your phone or are using a new account, the data may not be there. However, this is the first place to look before using more complex technical methods.
Login to the router's web interface
If your smartphone doesn't display the password and you don't have a computer handy, you can try accessing the router itself using your phone's browser. To do this, your device must be connected to a Wi-Fi network (even without internet) or connected to the router via OTG cable and an Ethernet adapter.
Open any browser (Chrome, Firefox, Samsung Internet) and enter the gateway IP address in the address bar. This is usually 192.168.0.1 or 192.168.1.1The exact address is often written on a sticker on the bottom of the router. You'll need to enter your username and password to access the admin panel.
If you've never changed the factory settings, they'll also be listed on the sticker (often admin/admin). Once in the menu, look for the section Wireless, WLAN or Wireless networkThere in the field WPA/WPA2 Password The current key will be displayed.
| Router brand | Standard IP | Default login | Default password |
|---|---|---|---|
| TP-Link | 192.168.0.1 | admin | admin |
| ASUS | 192.168.1.1 | admin | admin |
| Xiaomi | 192.168.31.1 | admin | (specified during setup) |
| Keenetic | 192.168.1.1 | admin | 1234 |
⚠️ Note: Router interfaces are constantly being updated. The menu item layout may differ from what's described. Look for tabs labeled "Wireless," "Security," or "WLAN."
This method is universal and doesn't depend on your Android version. It allows you to not only find out the password but also change it to a more complex one if you suspect your neighbors are accessing your network. Don't forget to save the changes by clicking the Save button. Save or Apply.
☑️ Checking access to the router
Using apps without root rights
In the store Google Play There are many utilities that promise to reveal saved passwords. Most require superuser privileges, but there are exceptions that work by creating a local access point or using special system APIs.
One of the popular solutions is the application WiFi Password Viewer or similar tools. They scan the system configuration file, access to which is restricted in newer versions of Android. However, some apps can bypass this restriction by using debugging permissions or special accessibility services.
Be careful when installing such software. Free versions are often overloaded with ads, and some may contain malicious code. Always check the developer's rating and user reviews before installing. It's better to choose open-source programs or those from reputable vendors.
- 🛡️ Apps often request broad permissions, which can be a privacy risk.
- 📱 On Android 12+, the functionality of such programs is severely limited by Google's security policies.
- 🔄 Some utilities only work on devices of specific brands (for example, only Xiaomi or Samsung).
If the app requires root access and you don't have it, it will likely only show the network SSIDs, not the passwords themselves. In this case, it's best to use the QR code method or the web interface described above.
Why do apps ask for Root?
The file where Android stores Wi-Fi passwords (wpa_supplicant.conf) is located in the protected system folder /data/misc/wifi/. Without root access, regular apps don't have permission to read this file. Apps that don't have root access use workarounds, such as connection emulation or traffic analysis, which aren't always effective.
Advanced Method: ADB and Command Prompt
For users who are not afraid of technical terms and have access to a computer, there is a way to extract passwords through a debug bridge. ADB (Android Debug Bridge). This method doesn't require root access on the phone itself, but it does require USB debugging to be enabled.
First, you need to enable developer mode. Go to Settings → About phone and quickly tap "Build number" seven times. Then, in the "Developer options" menu that appears, enable "USB debugging." Connect your smartphone to your PC using a cable.
On your computer, open a command prompt in the ADB tools folder and enter the command to display the configuration file contents. The system may prompt you to confirm the connection on your phone's screen.
adb shell cat /data/misc/wifi/WifiConfigStore.xml
Find the tag in the command output PreSharedKeyThe value contained in this tag is your password. If the file can't be read (permission denied error), then root access is required in this particular case, as the security policy of your Android version is too strict.
Critical: File WifiConfigStore.xml Contains passwords for ALL networks the phone has ever connected to. Be careful when handling this data.
Security and protection of saved networks
Understanding how easy it is to access saved passwords makes you think about the security of your own device. If your phone falls into the wrong hands and is unlocked, an attacker could easily obtain passwords for your home and work networks.
It's recommended to regularly check your list of saved networks and delete those you no longer use. This will reduce the risk of automatically connecting to insecure hotspots with similar names. It's also a good idea to use complex passwords that are difficult to brute-force.
Don't connect your smartphone to public Wi-Fi networks unless necessary, especially if you plan to enter sensitive data. Even if you know the password for such a network, the connection itself may be vulnerable to eavesdropping.
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password if the phone is not connected to it?
No, this isn't possible using standard Android tools. The phone only stores passwords for networks it's previously connected to. If the device has never connected to the router, the password won't be stored. The only option is to view the data on another device that's already connected, or to access the router's settings.
Does the QR code method work on Android 9 and above?
The native QR code generation feature only appeared in Android 10. On older versions (Android 9 Pie and below), this feature is not available in the default menu. However, manufacturers like Samsung or Xiaomi may have added this option to their operating systems earlier. If the "Share" button is missing from the Wi-Fi menu, you'll need to use third-party apps or root access.
Is it safe to use apps like "WiFi Password Hacker"?
Most of these apps are either ad-filled dummy apps or malware. They can't magically "hack" a password. The only truly effective ones are those that read system files (requiring root access) or exploit WPS vulnerabilities (which are often disabled on modern routers). Be extremely careful when installing such software.
What should I do if I forgot my router admin password?
If you've changed the password for your router's web interface and forgot it, your only option is to reset the device to factory settings. To do this, press the button Reset on the router body (usually recessed) and hold for 10-15 seconds. After this, the router will reset to the factory login and password (indicated on the sticker), but you'll have to reconfigure your internet settings.