Forgotten Wi-Fi password is a situation familiar to many. It is especially unpleasant when your Androidsmartphone has never connected to this network, and you need access urgently. Unlike iOSwhere the system strictly limits access to network settings, Android offers more options for password recovery - but not all of them are obvious.
In this article we will look 7 proven methodshow to find the password for Wi-Fi to which your phone is not connected. From simple methods using other devices to advanced techniques with a ADB router. Important: some methods require administrator rights or access to the router, so choose the appropriate option based on your situation.
We warn you right away: hacking other people's networks is illegal โ all described methods are applicable only for restoring access to your own the network for which you have lost the password. If we are talking about a public access point (cafe, airport), contact the administrator of the custom institution.
1. Checking saved networks on other devices
The easiest way is to use another device that has already connected to the desired network. This could be a second smartphone, tablet, laptop, or even Smart TV. The main condition: the device must be authorized on this network at least once.
On Androiddevices, the path to the password depends on the firmware version and the manufacturerโs shell. For example, on a clean Android 12+ algorithm is as follows:
- Open
Settings โ Network and Internet โ Wi-Fi. - Click on the name of the desired network (do not connect!).
- Select
Share(orShareon English firmware). - Confirm unlocking PIN code, fingerprint or pattern key.
- The password will be displayed under the
QR code.
On devices Samsung, Xiaomi or Huawei the path may differ. For example, on MIUI (firmware Xiaomi) the password is hidden behind the button Show QR code, and on One UI (Samsung) - in the section Management networks.
If you only have a laptop or PC at hand: Windows-laptop or PC:
- ๐ฅ๏ธ Click
Win + R, enterncpa.cpland clickEnter. - ๐ก Right-click on the active
Wi-Ficonnection โStatusโWireless network properties. - ๐ Go to the tab
Securityand check the boxDisplay entered characters.
โ ๏ธ Attention: On macOS passwords are stored inConnected Keychain. To see them, openSpotlight(โ+Space), enterKeychain Access, find the network name and double-click on it. In the window that appears, check the boxShow passwordand enter the password for your account.
2. Using a QR code from a router
Many modern routers (for example, TP-Link, ASUS, Keenetic) support the generation function QR code for quick connection. If you have physical access to the router, this method will take less than a minute.
Instructions:
- Turn over the router - the bottom panel usually shows the model,
MAC addressand login information for the web interface (for example,192.168.0.1or192.168.1.1). - Connect to the router via cable or via guest network (if it is enabled).
- Enter the interface address in the browser (for example,
http://192.168.0.1) and log in (default logins:admin/adminoradmin/password). - Find section
Wi-Fi(orWireless) โQR code. Scan it with your phone camera.
If QR code is not displayed, check your router settings:
- ๐ง
Basic Settings โ Wi-Fi โ QR Code Generation(for TP-Link). - ๐ฑ
Guest network โ Settings โ QR code(for Keenetic). - ๐
Administration โ System โ QR Code(for ASUS).
If router does not support a QR code, generate it yourself using services like qi-fi.org. Enter the network name (SSID) and password - the system will create a code for connection.
3. Access via the router web interface
If you are the owner of the network, the most reliable way is to go to the router settings. To do this, you do not need a Wi-Fi connection: physical access to the router or a cable connection is enough.
Step-by-step guide:
- Find the router's IP address:
- On the device sticker (usually
192.168.0.1,192.168.1.1or192.168.8.1). - Via
Command line(Win + R โ cmd โ ipconfigโ lineMain gateway).
- On the device sticker (usually
- The default login and password are indicated on the sticker (most often
admin/admin). - If the data has been changed, try
admin/1234oradmin/password. - Find the section with Wi-Fi settings:
Manufacturer Path to password TP-Link Wireless โ Wireless Security โ Password (PSK)ASUS Wireless โ General โ WPA Pre-Shared KeyD-Link Wi-Fi โ Security Settings โ Network KeyZyxel Keenetic Home Network โ Wi-Fi โ Security KeyHuawei WLAN โ WLAN Basic Settings โ WPA Pre-Shared Key - Install
ADBon PC (official package from Google). - Connect your phone via
USBand enable debugging. - Open
Command Line(cmd) in the folder withADB. - Enter the command to view saved networks:
adb shell su -c "cat /data/misc/wifi/WifiConfigStore.xml"Or for new versions Android:
adb shell su -c "cat /data/misc/wifi/WifiConfigStore.xml | grep -E 'SSID|PreSharedKey'"
โ ๏ธ Attention: If you cannot log into the router due to a changed password, reset the settings to factory settings. To do this, press and hold the buttonReset(usually located in a small hole) for 10-15 seconds. After resetting, the login data will become standard (admin/admin).
What to do, if the router is blocked by the provider?
Some providers (for example, Rostelecom or Beeline) block access to the settings of the router issued for rent. In this case:
1. Call the provider's support and request login information.
2. Check if you can access the Wi-Fi settings through your personal account on the provider's website (sometimes the network parameters are duplicated there).
3. yours, but is locked - require unlocking or replacing the device with an unlocked one.
4. Password recovery via ADB (for advanced users)
If your Androidphone was previously connected to this network (but is now disabled), and USB debugging (ADB) enabled, you can extract the password via the command line. The method works on rooted and some non-rooted devices.
Instructions:
If the phone is not rooted, try an alternative method (required Android 10 and below):
adb pull /data/misc/wifi/WifiConfigStore.xml C:\wifi_passwords.xml
The file WifiConfigStore.xml will be saved to disk C:. Open it with any text editor and find the lines with <string name="PreSharedKey">.
โ ๏ธ Attention: Starting with Android 11, Google has tightened access to system files. Without root access this method may not work. Also, some manufacturers (for example, Xiaomi) block access to /data/misc/wifi/ even on rooted devices.
Install drivers for your phone|Enable USB debugging in developer settings|Download platform-tools from the official Google website|Connect the phone to the PC via USB cable (preferably an original one)|Allow debugging on the phone screen-->
5. Using applications to recover passwords
There are applications that can show saved Wi-Fi passwords. However, most of them require Google Play There are applications that can show saved Wi-Fi passwords. However, most of them require root access or work only on older versions Android. We tested several options:
Top 3 applications for viewing Wi-Fi passwords:
- ๐ฑ WiFi Password Viewer - works on Android 9 and below without root, shows passwords in the format
SSID:Password. - ๐ WiFi Key Recovery - requires root, but supports new versions Android (including Android 13).
- ๐ ๏ธ Root Browser โa file manager with access to system folders. Allows you to manually find
WifiConfigStore.xml. - Download and install the application.
- Open it and provide access to memory (if prompted).
- Find in the list the desired network - the password will be displayed next to
SSID. - โ On Android 10+ without root, applications show only networks to which the phone is connected now.
- โ Some manufacturers (for example, Huawei) block access to passwords at the app level.
- โ Applications may contain advertising or request unnecessary permissions (do not install suspicious software!).
- Press the button
WPSon the router (usually indicated by the ๐ icon). - On on your phone, open
Settings โ Wi-Fi, select the desired network and pressConnect via WPS. - Wait 1-2 minutes - the device will connect automatically.
- ๐ฃ๏ธ โHello! Can you reset your Wi-Fi password? My phone forgot it after the update.โ
- ๐ถ โI have a weak signal from my router. Can I connect to your network for a couple of hours?โ
- ๐ง โHelp me figure it out: my phone doesnโt connect to your Wi-Fi, although it worked before. Maybe the password has changed?โ
- ๐ป app
WiresharkorAirodump-ng(for Linux). - ๐ก Network card with support
monitor mode. - ๐ Dictionary for brute force (if the password is weak).
- Find a small button on the back panel of the router
Reset(sometimes it is recessed into the case). - Take a paperclip or toothpick, press and hold the button 10โ15 seconds.
- Wait for the reboot (the indicators should blink and light up in standard mode).
- Connect to the router via cable or via a standard network (usually called by model, for example
TP-Link_1234). - The default password is indicated on the sticker (for example,
adminor12345678). - ๐ง Configure the router again (network name, password, type security
WPA2/WPA3). - ๐ Update the firmware via the web interface.
- ๐ Save the new password in a safe place (for example, in a password manager).
- Use
WPA3insteadWPA2. - Disable
WPSin the router settings. - Set a complex password (at least 12 characters with letters, numbers and special characters).
- Update regularly router firmware.
- Disable the guest network if it is not in use.
How to use WiFi Password Viewer:
Restrictions:
Applications for recovering Wi-Fi passwords only work with networks to which the phone has previously connected. If the network is new, these methods. are useless.
6. Alternative methods: from WPS to social engineering
If none of the above methods are suitable, consider alternative options. They are less reliable, but sometimes they help:
Method 1: WPS (Wi-Fi Protected Setup)
Many routers support technology WPS, which allows you to connect to the network without entering a password. To do this:
Limitation: WPS Often disabled by default due to security vulnerabilities. Also, some phones (for example Google Pixel) do not support this feature.
Method 2: Social Engineering
If the network belongs to a friend, neighbor or colleague, the easiest way is to ask for the password directly. Formulations that work most often:
Method 3: Traffic analysis (for advanced users only)
If you have access to another device on this network (for example, a laptop), you can try to intercept handshake package (provided that a new device is connecting to the network). To do this you will need:
Warning: this method is technically complex, requires deep knowledge in the field of network security and may be regarded as hackWe do not recommend using it without good reason.
7. Resetting the router settings (extreme case)
If you are the owner of the router, but cannot recover the password using any of the methods, it remains hard resetThis will return all settings to the factory ones, including the network name (SSID) and password.
How to reset a router:
After reset:
โ ๏ธ Attention: Resetting the router will disconnect all connected users and restore the settings provider (if the device was leased). After the procedure, you may need to re-authorize on the Internet provider's network (enter your login/password PPPoE).
FAQ: Frequently asked questions about restoring the Wi-Fi password
Is it possible to find out the password for Wi-Fi to which the phone has never been connected?
No, if the phone has not connected to the network before, then no application or system tool will be able to show the password. In this case, the only methods left are through the router (web interface, reset) or social engineering (checking the password with the network owner).
Why do password recovery applications not work on Android 11+?
Starting with Android 10, Google has tightened its security policy by limiting access to system files with passwords. Without root access applications can only show the networks to which the device is currently connected. Manufacturers (for example, Samsung or Xiaomi) additionally block access to this data.
Is it possible to hack someone else's Wi-Fi if you know its name (SSID)?
Technically this is possible, but illegallyModern security standards (WPA3) make brute force attacks extremely difficult, and exploiting vulnerabilities (for example, KRACK) requires deep knowledge and is often punishable by law. We categorically do not recommend trying to hack other people's networks.
How to protect your Wi-Fi from password recovery?
To minimize risks:
What to do if you forgot the password for the router?
If you forgot the login information for the router web interface (admin/password), reset button Reset (as described in section 7). After this, the login and password will be the factory values โโindicated on the device sticker.