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:

  1. Open Settings โ†’ Network and Internet โ†’ Wi-Fi.
  2. Click on the name of the desired network (do not connect!).
  3. Select Share (or Share on English firmware).
  4. Confirm unlocking PIN code, fingerprint or pattern key.
  5. 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.

๐Ÿ“Š What brand of smartphone do you use?
Samsung
Xiaomi
Huawei
Google Pixel
Other

If you only have a laptop or PC at hand: Windows-laptop or PC:

  • ๐Ÿ–ฅ๏ธ Click Win + R, enter ncpa.cpl and click Enter.
  • ๐Ÿ“ก Right-click on the active Wi-Ficonnection โ†’ Status โ†’ Wireless network properties.
  • ๐Ÿ”‘ Go to the tab Security and check the box Display entered characters.
โš ๏ธ Attention: On macOS passwords are stored in Connected Keychain. To see them, open Spotlight (โŒ˜+Space), enter Keychain Access, find the network name and double-click on it. In the window that appears, check the box Show password and 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:

  1. Turn over the router - the bottom panel usually shows the model, MAC address and login information for the web interface (for example, 192.168.0.1 or 192.168.1.1).
  2. Connect to the router via cable or via guest network (if it is enabled).
  3. Enter the interface address in the browser (for example, http://192.168.0.1) and log in (default logins: admin/admin or admin/password).
  4. Find section Wi-Fi (or Wireless) โ†’ 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:

  1. Find the router's IP address:
    • On the device sticker (usually 192.168.0.1, 192.168.1.1 or 192.168.8.1).
    • Via Command line (Win + R โ†’ cmd โ†’ ipconfig โ†’ line Main gateway).
  • Log in:
    • The default login and password are indicated on the sticker (most often admin/admin).
    • If the data has been changed, try admin/1234 or admin/password.
    • Find the section with Wi-Fi settings:
      ManufacturerPath to password
      TP-LinkWireless โ†’ Wireless Security โ†’ Password (PSK)
      ASUSWireless โ†’ General โ†’ WPA Pre-Shared Key
      D-LinkWi-Fi โ†’ Security Settings โ†’ Network Key
      Zyxel KeeneticHome Network โ†’ Wi-Fi โ†’ Security Key
      HuaweiWLAN โ†’ WLAN Basic Settings โ†’ WPA Pre-Shared Key
    • โš ๏ธ 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 button Reset (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:

      1. Install ADB on PC (official package from Google).
      2. Connect your phone via USB and enable debugging.
      3. Open Command Line (cmd) in the folder with ADB.
      4. 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'"

    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.
    • How to use WiFi Password Viewer:

      1. Download and install the application.
      2. Open it and provide access to memory (if prompted).
      3. Find in the list the desired network - the password will be displayed next to SSID.

      Restrictions:

      • โŒ 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!).
      ๐Ÿ’ก

      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:

      1. Press the button WPS on the router (usually indicated by the ๐Ÿ”„ icon).
      2. On on your phone, open Settings โ†’ Wi-Fi, select the desired network and press Connect via WPS.
      3. Wait 1-2 minutes - the device will connect automatically.

      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:

      • ๐Ÿ—ฃ๏ธ โ€œ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?โ€

      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:

      • ๐Ÿ’ป app Wireshark or Airodump-ng (for Linux).
      • ๐Ÿ“ก Network card with support monitor mode.
      • ๐Ÿ”‘ Dictionary for brute force (if the password is weak).

      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:

      1. Find a small button on the back panel of the router Reset (sometimes it is recessed into the case).
      2. Take a paperclip or toothpick, press and hold the button 10โ€“15 seconds.
      3. Wait for the reboot (the indicators should blink and light up in standard mode).
      4. Connect to the router via cable or via a standard network (usually called by model, for example TP-Link_1234).
      5. The default password is indicated on the sticker (for example, admin or 12345678).

      After reset:

      • ๐Ÿ”ง 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).
      โš ๏ธ 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:

      • Use WPA3 instead WPA2.
      • Disable WPS in 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.
      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.