It's quite common to need to connect a new device to your home network but have forgotten or lost your Wi-Fi password. Owners of smartphones based on Android They often find themselves at a dead end, believing that retrieving saved data is impossible without specialized knowledge. However, modern operating system versions and proven administration methods make this task a quick solution.
There are several ways to restore access to the security key, depending on the version of the installed firmware and the availability of superuser rights. Key information Network information is stored in system files, access to which was restricted in older OS versions, but in the latest builds, Google has significantly simplified the connection sharing process. You don't need complex hacking programs; standard tools or physical access to the router are sufficient.
Before we get into technical details, it's worth considering the simplest option: looking at the sticker on the router itself. The default password and network name (SSID) are often printed on a sticker located on the bottom or back of the device. If you've never changed your phone's factory security settings, this method will save you time and hassle by eliminating the need to dig into your phone's settings.
⚠️ Attention: If the router was reset by the previous owner or you changed the security settings manually, the information on the sticker will be out of date. In this case, you'll need to use software methods.
Using the Share feature in Android 10 and later
Starting with the tenth version of the operating system AndroidGoogle engineers have implemented a native feature for viewing passwords via QR code generation. This is the most secure and simple method, requiring no third-party software or permissions. RootThe mechanism works at the level of system Wi-Fi settings and is available on most modern smartphones from Samsung, Xiaomi, Pixel and other manufacturers.
To implement this method, you need to go to the wireless network settings menu. Find the item Settings → Connections → Wi-Fi (The path may vary slightly depending on your shell.) In the list of available networks, find the one you're currently connected to or one you've saved previously, and click the gear icon or the network name to access its properties.
In the network settings menu that opens, look for the "Share" or "QR code" button. Once clicked, the system will ask you to verify your identity using biometrics (fingerprint, Face ID) or a screen unlock PIN. security measure, preventing unauthorized access to your data if your device is lost.
- 🔑 Scan the QR code that appears with another phone—there's often a text password written underneath the image.
- 📸 Take a screenshot of the screen with the code and open it in Google Lens or any QR reader app to see the text string.
- 📱 Use a second smartphone to scan the code using the standard camera.
If the screen only displays a QR code without a text counterpart, use the Google Lens feature built into the camera or gallery. Point the camera at the code, and the system will recognize the connection string, highlighting the password as a separate element. This method works reliably and is preferred by regular users.
Viewing through Google account settings
In more recent ecosystem updates, especially on devices with services Google Play, a new feature has been added that allows you to sync Wi-Fi passwords across your account. This allows you to retrieve a forgotten security key even if you're not currently connected to the network but have previously saved your login on this or another device linked to the same Google account.
To use this method, open your smartphone's main settings and go to the account management section. The path usually looks like this: Settings → Google → Autofill → Autofill from Google → Google Passwords. An encrypted list of all saved credentials is stored here.
In the list of websites and apps, find the entry corresponding to your Wi-Fi network. They often have a specific icon or are labeled "Wi-Fi." Tap the desired entry. The system will require re-authentication (fingerprint or pattern). After successful verification, you will see a password field, which you can copy or display by tapping the eye icon.
⚠️ Attention: This feature only works if password syncing was previously enabled in Google settings. If syncing was disabled, your data will not be accessible via the cloud.
This method is especially convenient because it doesn't require connecting to a specific access point. You can recover the password for a network you connected to a month ago while in another city. Data security It is secured by Google encryption, so even if your phone is compromised, an attacker won't be able to quickly extract all your passwords without biometrics.
What should I do if my password isn't displayed in my Google account?
If your network isn't listed in Google's password list, syncing was disabled when you connected. In this case, only local methods (QR code in Wi-Fi settings) or a router reset will help.
Using QR code scanner apps
If you can't use the built-in system tools (for example, on older versions of Android or stripped-down firmware from Chinese manufacturers), you can resort to specialized software. Market Google Play offers a variety of utilities that can read and decode QR codes, and some of them have network analysis features.
However, you should be extremely careful. Many apps with catchy names like "WiFi Password Viewer" are actually advertising platforms or contain malicious code. Real benefit They will only work if you already have a QR code (printed or on the screen of another device) that needs to be read.
For safe use, choose an app with a high rating and many reviews, such as QR & Barcode Scanner from Gamma Play or similar proven tools. Avoid programs that require superuser privileges to "recover" passwords unless you trust their developer.
- 📲 Install a reliable QR scanner from the official app store.
- 📷 Scan the code received through the "Share" menu in Wi-Fi settings (if your phone allows you to generate a code but does not display the text).
- 💾 Save the scan result to the clipboard for later use.
It's important to understand that without root access, the app won't be able to directly extract the password from system files. It will only help decode the information if the system itself provides it in the form of a QR code. It's an intermediary tool, not a magic hack.
Getting a password via ADB without root rights
For advanced users who don't want to gain full superuser rights but have access to the computer, there is a debugging method through ADB (Android Debug Bridge)This method allows you to extract the system password file if USB debugging is enabled on the device and the appropriate permissions are available.
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 a PC with the SDK Platform Tools installed.
Run the command to back up your Wi-Fi settings. In your computer's command prompt, enter:
adb backup -f wifi.ab -noapk com.android.providers.settings
After creating the file wifi.ab It needs to be converted into a tar archive and then the database needs to be extracted settings.dbInside the database in the table secure you can find a line with a key wifi_passphraseThis method requires technical literacy, but is one of the few ways to access data without root access on older versions of Android (before version 10).
⚠️ Attention: On Android 10 and above, access to system settings backup via ADB was severely restricted for security reasons. This method may not work on newer devices without additional permissions.
☑️ Getting Started with ADB
Using root rights and file managers
If your smartphone is unlocked Bootloader and established rights SuperSU or Magisk, the process of obtaining a password becomes trivial. Root privileges grant full access to the file system, including protected system directories where all security keys are stored.
You will need a file manager with root access support, such as Root Explorer, ES File Explorer (old versions) or MiXplorerAfter launching the application, grant it superuser privileges when prompted. Navigate to the following path:
/data/misc/wifi/
There is a file in this folder wpa_supplicant.confOpen it with a text editor. Inside, you'll see a list of all networks the device has ever connected to, in the following format:
network={ssid="Network_Name"
psk="Your_Password"
}
Here psk — this is the desired password in clear text. This method is universal and works on almost all versions of Android, including the latest ones, provided you have root access. However, gaining root access may void the device's warranty and interfere with the operation of banking apps.
Why do banking apps stop working with root access?
Banks use Google's SafetyNet service (now Play Integrity API) to check system integrity. Root access indicates a potential vulnerability, so apps block access to payment functions.
Resetting the router to factory settings
If none of the software methods work, or you don't have access to the phone where the password was saved, the final, drastic option is to physically reset the router. This method is guaranteed to restore network access, but it will require you to reconfigure all your ISP connection settings.
On the router body, find a button or hole with an inscription Reset or RestorePress it with a thin object (like a paperclip) and hold it for 10-15 seconds until the indicators blink simultaneously. The router will reboot and return to its out-of-the-box state.
After the reset, the Wi-Fi password will be the one on the sticker underneath the device. You'll need to connect to the network (you now know the password), open a browser, and go to the gateway address (usually 192.168.0.1 or 192.168.1.1) to re-enter the Internet login and password provided by your provider.
| Parameter | Before the reset | After reset |
|---|---|---|
| Wi-Fi password | Unknown (forgotten) | Factory (on the sticker) |
| Provider settings | Saved | Deleted (must be re-entered) |
| Network name (SSID) | Custom | Factory (router model) |
| Access to the admin panel | Complex password | admin/admin (or from the sticker) |
Use this method only as a last resort, when all other options have been exhausted. Make sure you have a contract with your ISP or authentication information (PPPoE, L2TP, static IP), otherwise, the internet will not work after the reset, even if Wi-Fi is enabled.
Frequently Asked Questions (FAQ)
Is it possible to find out someone else's Wi-Fi password using these methods?
No, the methods described only work for networks to which your smartphone has previously connected and stored data. Hacking into other people's networks without their permission is illegal and is not covered in this guide.
Are password recovery apps safe to use?
Using apps from unknown sources can be dangerous. They may request unnecessary permissions or contain ads. It's better to use built-in Android features or trusted file managers with root access.
What should I do if there is no "Share" button in the Wi-Fi settings?
This means your Android version (most likely below 10) doesn't support native password viewing. In this case, try the Google Account method or use ADB if you have a computer.
Will the internet on other devices be lost if I view the password?
No, viewing or copying a password does not affect network operation in any way. The internet will continue to function normally on all connected devices.
Where can I find the wpa_supplicant.conf file on modern Android?
On Android 10 and above, access to this file, even with root access, may be restricted by the new partition system. In such cases, it's more reliable to use the QR code method or back up your settings.