How to connect to Wi-Fi on Android if you don't know the password: from QR code to WPS

You've discovered you can't connect to Wi-Fi at a cafe, hotel, or even at home—you've lost the password, the sticker on the router has worn off, and the network owners can't remember the combination. After resetting your Android settings or buying a new phone, access to saved networks is also lost. Restore Wi-Fi connection without entering password It's possible: from simple methods like using a QR code or previously connected devices to technical workarounds via router settings or specialized apps. However, some methods require administrator rights and may violate network terms of use or even the law—for example, when attempting to hack someone else's router.

In this article we will look at 7 proven methods — from the simplest (for example, through QR code or button WPS) to advanced (like ADB-commands or traffic analysis). Each method provides step-by-step instructions, limitations, and warnings about potential risks. If you're looking for a way to bypass a password on someone else's router - we warn you right away: this may be illegal. But if we are talking about yours Whether you've simply forgotten about a network or legal access (for example, in a public place), read on.

1. Connection via QR code (the easiest way)

If you have a second gadget (smartphone, tablet or even laptop) that is already connected to the required network, you can generate QR code for Wi-Fi and scan it on the target Android device. This method works on all modern versions. Android 10+ and does not require root rights or technical knowledge.

How to do it:

  • 📱 On a device that is already online, open Settings → Wi-Fi.
  • 🔍 Find your network name in the list and tap on it.
  • 🖼️ Select the "Share" or "QR code" option (on some firmware versions, you need to tap "More" → "Share").
  • 📲 On the target Android device, open the camera or QR scanner (for example, via Google Lens) and scan the code.

If there is no QR option, you can use third-party applications like WiFi QR Code Generator (available in Google Play). They allow you to manually enter the network name (SSID) and password, then generate a code for scanning.

2. Using the WPS button on the router

WPS (Wi-Fi Protected Setup) — is a fast connection technology that allows you to connect a device to a router without entering a password. Many modern routers (for example, TP-Link, ASUS, Keenetic) support WPS, but the feature is often disabled by default due to security vulnerabilities.

Connection instructions:

  1. Make sure your router supports WPS (usually there is a button labeled WPS or the 🔄 icon).
  2. On your Android device, open Settings → Wi-Fi → Advanced → WPS (the path may differ depending on the firmware).
  3. Click “Connect via WPS” and press the physical WPS button on the router within 2 minutes.
  4. Wait for automatic connection (usually takes 10-30 seconds).

⚠️ Attention: WPS is vulnerable to brute-force attacks, so many manufacturers are abandoning this feature. If your router is older than 2018, it's best to avoid using WPS or disable it after connecting.

The router has a WPS button. There's a WPS option in the Android settings. The router was manufactured after 2016 (fewer vulnerabilities). The network uses WPA2/WPA3 (WPS doesn't work with open networks).

-->

3. Recover password from Android memory (only for your own networks)

If you've previously connected to this network on this Android device, the password may be stored in system files. You don't need to have the password to retrieve it. root rights — it is enough to use standard tools or special applications.

Extraction methods:

  • 📄 Via Android settings:
    1. Open Settings → Wi-Fi.
    2. Tap on the network name → “Manage network” or “Edit network”.
    3. Check the box "Show password" (you will need to enter your PIN or fingerprint).
  • 🔧 Via the app WiFi Password Viewer:

    Install the app from Google Play (For example, WiFi Password Show), open it and select the desired network. The app will display the saved password if it has access to system files.

  • ⚠️ Attention: On devices with Android 9+ and encryption File-Based Encryption (FBE) Some applications may not work without root. Also, this method won't work for other people's networks, which you have never connected to.

    4. Connecting via guest access (for public networks)

    Many cafes, hotels and airports offer guest Wi-Fi with simplified access. Often, all that's needed to connect is:

    • 📋 Enter your phone number and receive an SMS with a code.
    • 💳 Log in via social networks (Facebook, VK, Google).
    • ✅ Accept the terms of use on the captive portal (the page that opens after connecting).
    • How does this work:

      1. Connect to a network with a name like Free_WiFi, Guest_Access or Hotel_WiFi.
      2. Open your browser – the authorization page should load automatically.
      3. Follow the instructions (enter your number, email, or confirm via social network).

    🔹 Helpful tip: If the page does not open, try to manually go to the address 192.168.1.1 or captive.apple.com (yes, it even works on Android).

    Every day|1-2 times a week|Only when traveling|Never-->

    5. Traffic Analysis and Handshake Interception (Advanced Method)

    This method is only suitable for own networks and requires technical knowledge. It is based on interception handshake (data exchange between the device and the router upon connection) followed by brute-force password cracking. To implement this, you'll need:

    • 📡 A second smartphone or laptop with Wi-Fi adapter, supporting monitor mode.
    • 🛠️ Programs: Aircrack-ng, Wireshark or Hashcat.
    • 🔑 Password dictionary (e.g. rockyou.txt).
    • Brief instructions (for educational purposes only!):

      1. Launch monitor mode on the adapter:
        airmon-ng start wlan0
      2. Intercept the handshake:
        airodump-ng -c [channel] --bssid [router MAC] -w capture wlan0mon
      3. Wait for any device to connect to the network (or connect it yourself).
      4. Decrypt the password using Aircrack-ng:
        aircrack-ng -w [dictionary path] capture-01.cap

      ⚠️ Attention: This method violates the terms of service of most networks and may be classified as hacking. In some countries (including Russia), this carries administrative and criminal penalties. Use for testing purposes only. his own networks with the owner's permission.

      Why doesn't this method work with WPA3?

      Standard WPA3 uses Simultaneous Authentication of Equals (SAE), which is protected from offline attacks like brute-force attacks. Even if you intercept traffic, brute-force attacks will be virtually impossible without specialized equipment.

      6. Resetting the router to factory settings (extreme case)

      If we are talking about yours If you've forgotten your Wi-Fi password, the most reliable way is to reset it to factory settings. To do this:

      1. Find the button on the back of the router. Reset (usually recessed into the body).
      2. Press and hold it for 10-15 seconds (until the indicators start flashing).
      3. After rebooting, connect to the network with the factory name (for example, TP-Link_XXXX) and a password (usually indicated on a sticker).

      ⚠️ Attention: Reset will delete all settings — including PPPoE-logins, ports, MAC filters and guest networks. If the router was configured by your ISP, reconfiguration may be required after a reset.

      Router manufacturer Factory network name (SSID) Factory password
      TP-Link TP-LINK_XXXXXX Indicated on the sticker (usually 8 characters)
      ASUS ASUS_XX Password = serial number
      Keenetic Keenetic-XXXX Password on the sticker or 12345678
      Zyxel Zyxel_XXXX Password = serial number in lowercase

      7. Alternative methods: from USB tethering to a request from the provider

      If none of the above works, consider these options:

      • 📶 USB tethering: Share the Internet from a smartphone that is already online via USB or Bluetooth.
      • 📞 Call the provider: If it's home Wi-Fi, call support (e.g. Rostelecom, MTS, Beeline) and ask for a password reminder. You'll be asked to confirm your personal information.
      • 💬 Social engineering: In a public place, politely ask the administrator or waiter for the password - they will often give it to you without any problem.

      🔹 Key takeaway: Most of the legal ways to connect to Wi-Fi without a password only work for their own networks or public hotspots with guest access. Attempts to bypass security on someone else's network are illegal and unethical. Always prioritize legal methods and respect network owners' rules.

      FAQ: Frequently asked questions about connecting to Wi-Fi without a password

      Is it possible to connect to someone else's Wi-Fi without the owner's consent?

      No, it does. Article 272 of the Criminal Code of the Russian Federation ("Unauthorized access to computer information") and the terms of service of most internet service providers. Even if the network is not password-protected, connecting without permission can be considered hacking. The exception is public hotspots with explicit permission (for example, at airports or cafes).

      Why isn't WPS working on my router?

      Possible reasons:

      • The function is disabled in the router settings (go to the web interface via 192.168.1.1 and check the section WPS).
      • Routers older than 2015 - many manufacturers have disabled WPS due to vulnerabilities.
      • The device does not support WPS (for example, some models Google Nest WiFi).

      How to find out the Wi-Fi password on Android without root?

      On devices with Android 10+ you can try:

      1. Open Settings → Wi-Fi → [network name] → Share (PIN or fingerprint required).
      2. Use apps like WiFi Password Viewer (does not work on all firmware versions).
      3. Connect the device to the PC and extract the password via ADB (team: adb pull /data/misc/wifi/WifiConfigStore.xml).

      On Android 9 and below, viewing the file often helps /data/misc/wifi/WPA_SUPLICANT.conf via a file manager with root access.

      What should you do if you forgot your Wi-Fi password and can't reset your router?

      Try these steps:

      • Check the sticker on your router - sometimes the password is listed there.
      • Go to the router's web interface (192.168.1.1 or 192.168.0.1) and look at the password in the section Wi-Fi or Wireless.
      • If the router settings are protected and the login details are unknown, the only option left is to reset the router.

      Is it possible to hack Wi-Fi with WPA3?

      Standard WPA3 makes hacking much more difficult than before WPA2Basic methods like handshake interception and brute force don't work due to:

      • SAE (Dragonfly Key Exchange) — protects against offline attacks.
      • Forward Secrecy — even if an attacker obtains the password, he will not be able to decrypt past traffic.
      • Limits on the number of connection attempts.

      Theoretically, attacks are possible through implementation vulnerabilities (for example, Dragonblood), but they require deep knowledge and are often patched by manufacturers.