How to connect to a password-protected Wi-Fi network via your phone: all the methods

Connecting to someone else's or a forgotten Wi-Fi password via a smartphone is a challenge many users face. On the one hand, modern security standards (WPA3, 802.11ax) make networks more secure, but on the other hand, a forgotten password or lack of access to the router can be a real headache. This article will discuss legal and technical methods connections to password-protected networks, including bypassing blocks, password recovery, and alternative access options.

It is important to understand: Unauthorized connection to someone else's Wi-Fi network violates the law (Article 272 of the Criminal Code of the Russian Federation on unauthorized access to computer information)All the described methods are applicable only to restoring access to your network Or with the owner's permission. If you are a tenant, office employee, or guest, please confirm the password with the network administrator.

We will look at ways to Android (including Samsung, Xiaomi, Google Pixel) And iOS (iPhone/iPad), as well as universal solutions. Particular attention is paid to common errors, such as when the phone "sees" the network but fails to connect, or when an "Incorrect password" message appears even though the password is entered correctly.

📊 What phone do you have?
Android
iPhone
Other (specify in comments)
No smartphone

1. Recover your password through your phone settings (if connected previously)

If your smartphone has previously connected to this Wi-Fi network, the password can be retrieved from the saved data. This method works on Android with rights root or through system menus on some firmware versions.

On iPhone (iOS) Saved passwords can be accessed directly:

  1. Go to Settings → Wi-Fi.
  2. Tap on the network name (there will be a "✓" icon next to it).
  3. Click "Password" - the system will ask for it Face ID/Touch ID or the device passcode.
  4. The password will be displayed as text (you can copy it).

On Android without root rights:

  • 🔹 On Xiaomi: Settings → Wi-Fi → Network name → Share (a QR code with a password will open).
  • 🔹 On Samsung One UI: Settings → Connections → Wi-Fi → ⚙️ → QR code.
  • 🔹 On "pure" Android (Pixel, Motorola): required root or ADB commands.
⚠️ Attention: On Android 10+ Google has restricted access to Wi-Fi passwords via the API. If your phone doesn't display the password in Settings, additional steps will be required (see the section about ADB).

Make sure your phone has connected to this network before

Check if your network settings have been reset (after updating the OS)

Have access to a Google account (on Android) or Apple ID (on iOS)

Connect the device to a charger (for long-term operations)

-->

2. Connection via QR code (if you have access to another device)

Modern routers and smartphones support Wi-Fi data exchange via QR codesThis is convenient if you have a second phone/tablet already connected to the network, or physical access to the router.

How does this work:

  1. On a device that is already online, generate a QR code:
    • 📱 Android: Settings → Wi-Fi → Network name → Share.
    • 🍎 iOS: Use the Camera app and point it at the QR code with the password (for example, from the router sticker).
  • Scan the code with your main phone via:
    • The standard Camera application (on Android 10+ And iOS 11+).
    • Specialized applications: WiFi Key Share (Android), QR Scanner (iOS).
    • If there is no QR code, but you have access to the router, look for it on the bottom panel of the device (often next to SSID and the default password). For example, on routers TP-Link or ASUS The sticker contains connection data.

      Router brand Where to find a QR code Example password format
      TP-Link The sticker is on the bottom, next to the MAC address. 12345678 or admin123
      ASUS On the box or under the lid A1B2C3D4E5 (10 characters)
      Xiaomi In the mobile app Mi WiFi Random combination (eg zxasqw12)
      Keenetic On the bottom panel or in the web interface Word + numbers (eg keenetic777)
      ⚠️ Note: Default passwords on routers are often the same SSID or consist of a combination of letters and numbers (for example, TP-LINK_1234). If the sticker is worn off, try the standard options: admin, 12345678, password.

      3. Using WPS to connect without a password

      WPS Wi-Fi Protected Setup (Wi-Fi Protected Setup) is a technology that allows you to connect to a router without entering a password. It works on most modern devices, but is often disabled by default due to vulnerabilities.

      How to connect via WPS:

      1. Make sure your router supports WPS (the button with the 🔄 symbol or the inscription WPS on the body).
      2. On the phone:
        • 📱 Android: Settings → Wi-Fi → Advanced → WPS Connection (or "WPS button").
        • 🍎 iOS: WPS is not supported directly - a third party application is required (eg. WPS Connect).
    • Click the button WPS on the router (usually you need to hold it for 2-3 seconds).
    • The phone will automatically connect to the network within 2 minutes.

    If WPS doesn't work:

    • 🔹 Check if the function is enabled in your router settings (192.168.1.1 or 192.168.0.1 → section WPS).
    • 🔹 Make sure that the router is not locked after several unsuccessful attempts (usually the lock is reset after 5 minutes).
    • 🔹 On some routers (Zyxel, D-Link) WPS can only be enabled via the web interface.
    Why is WPS considered insecure?

    WPS technology is vulnerable to brute-force attacks due to the short PIN code (8 digits). Attackers can crack it in a few hours, gaining access to the network. Many manufacturers (for example, ASUS) WPS is disabled by default in new models. If security is critical, it is recommended to disable WPS in the router settings and use only WPA3.

    4. Connecting via ADB (for Android with debugging)

    If you have Android-phone with the alarm turned on USB debugging, you can extract saved Wi-Fi passwords via ADB (Android Debug Bridge). This method requires a PC and basic command line skills.

    Step-by-step instructions:

    1. Enable USB debugging on your phone:
      Settings → About phone → Build number (tap 7 times)
      

      Settings → System → Developer options → USB debugging

    2. Connect your phone to your PC via USB cable (select "File Transfer" mode).
    3. Open Command Prompt (Windows) or Terminal (macOS/Linux) and enter:
      adb shell
      

      su

      cat /data/misc/wifi/WifiConfigStore.xml | grep ps

      (required) root rights)

    4. Or use the command for Android 10+:
      adb shell cmd -w wifi_list_networks

      (will show a list of networks, but not passwords).

    If root missing, try an alternative method via backup:

    • 🔹 Install Titanium Backup or Swift Backup (requires root).
    • 🔹 Create a backup copy of the file /data/misc/wifi/WifiConfigStore.xml.
    • 🔹 Extract passwords from the backup to your PC (use a text editor).
    ⚠️ Attention: The ADB method does not work on all firmware. Manufacturers (for example, Samsung, Huawei) can block access to system files even with root rights. iOS A similar method is not possible without jailbreak.

    5. Alternative methods: Internet sharing and guest access

    If you are unable to connect to the main network, consider alternative options:

    1. Guest network on a router

    Many routers (ASUS, TP-Link, Keenetic) support the creation guest network with a separate password. Ask the network owner to set it up:

    • 🔹 Log into your router's web interface (192.168.1.1).
    • 🔹 Find the section Guest network or Guest Network.
    • 🔹 Turn on the network, set a simple password (for example, guest123).

    2. Sharing the Internet from another device

    If you have a second phone, tablet or laptop with Wi-Fi access, you can share the Internet via access point:

    • 📶 Android: Settings → Connections → Tethering & portable hotspot → Mobile hotspot.
    • 🍎 iOS: Settings → Tethering (turn on "Allow others").

    3. Connecting via an Ethernet adapter

    For Android-phones with support USB-C or OTG can be used Ethernet adapter (For example, USB-to-Ethernet from TP-Link). Connect the cable from the router directly to your phone—this will bypass the need to enter the Wi-Fi password.

    Method Required Restrictions
    Guest network Access to the router Limited speed, no access to local devices
    Access point Second device with internet access Traffic consumption, fast battery drain
    Ethernet adapter Adapter + cable Doesn't work on all phones (OTG support required)

    6. What to do if nothing works: troubleshooting

    If none of the methods helped, check the following points:

    1. Router problems

    • 🔹 Reboot your router (unplug it for 30 seconds).
    • 🔹 Check if it is turned on MAC address filter (in the router's web interface).
    • 🔹 Make sure the network is not hidden (SSID Broadcast included).

    2. Errors on the phone

    • 🔹 Update your phone's firmware (Settings → System → Software Update).
    • 🔹 Reset network settings: Settings → System → Reset → Reset Wi-Fi, mobile networks, and Bluetooth.
    • 🔹 Check if the mode is enabled Saving traffic or Adaptive battery (may block connections).

    3. Compatibility issues

    • 🔹 If the router uses WPA3, and the phone is old, try switching the network to WPA2 in the router settings.
    • 🔹 On iPhone connection to networks with may not work 802.11r (Fast Transition) - disable this option in the router.

    7. Legal ways to get a Wi-Fi password

    If the network is not yours but you have the right to use it (for example, in a cafe, hotel or office), try the following options:

    1. Contact the administrator

    • 🔹 In a cafe/restaurant, the password is often written on the receipt or counter.
    • 🔹 At the hotel, ask at reception - sometimes the password is unique to each room.
    • 🔹 In the office, contact the IT department (binding by MAC address may be required).

    2. Use captive portals

    Some networks (such as those at airports) require browser authentication. After connecting to Wi-Fi, open any website—you'll be redirected to a page where you can enter your login/password or accept the terms and conditions.

    3. Applications for public networks

    Services like WiFi Map or Instabridge They collect a database of open networks and passwords shared by users. Keep in mind that this isn't always legal or safe.

    ⚠️ Warning: Connecting to unencrypted public networks (open Wi-Fi) is dangerous - your traffic may be intercepted. Use VPN (For example, ProtonVPN or Windscribe) to protect data.

    FAQ: Frequently Asked Questions

    Is it possible to connect to Wi-Fi without a password if you know the router's MAC address?

    No, knowledge MAC addresses The router's password doesn't help bypass it. The MAC address is needed for device filtering (if enabled in the router settings), but not for authentication. Connecting still requires a password or alternative methods (WPS, QR code).

    Why does my phone say "Incorrect password" even though I'm entering it correctly?

    There are several reasons:

    • 🔹 Password is case sensitive (check Caps Lock).
    • 🔹 The password contains special characters (e.g. !, @, spaces) that are not visible when typing.
    • 🔹 The router uses WPA3, but the phone doesn't support it (try switching the network to WPA2).
    • 🔹 It's enabled in the router settings 802.11r (Fast Transition), which conflicts with some devices.

    Solution: Enter the password in Notepad, copy it, and paste it into the input field. If that doesn't help, reset the network settings on your phone.

    How to connect to Wi-Fi on iPhone if you forgot the password?

    On iPhone There are two ways:

    1. If the phone has previously connected to the network:
      • Go to Settings → Wi-Fi.
      • Tap on the network name → "Password" (required) Face ID/Touch ID).
  • If there was no connection:
    • Use QR code (if there is access to another device on this network).
    • Ask the network owner to generate a new password through the router's web interface.

    On iOS There are no legal ways to extract the password without network administrator rights.

    Is it possible to hack Wi-Fi using apps like WiFi Master Key?

    Apps like WiFi Master Key, WPS Connect or AndroDumpper They promise to "hack" Wi-Fi, but:

    • 🔹 They only work with old routers with vulnerabilities (for example, WPS with default PIN).
    • 🔹 Modern networks (WPA3) are protected from such attacks.
    • 🔹 Using such applications may violate the law (Article 272 of the Criminal Code of the Russian Federation).
    • 🔹 Many such programs contain malicious code (mining, spyware).

    Recommendation: Avoid using dubious apps. If you've forgotten your password, use legitimate methods (see Sections 1 or 5).

    How do I reset my router's Wi-Fi password if I can't access the web interface?

    If you forgot your password router web interface (admin/password do not fit), please do hard reset:

    1. Find the button Reset on the back of the router (usually recessed to prevent accidental pressing).
    2. Take a paper clip or a toothpick and press and hold the button 10-15 seconds (until the indicators blink).
    3. The router will reboot with factory settings. Connect to its network (the name is usually TP-Link_XXXX, password - see sticker).
    4. Go to the web interface (192.168.1.1 or 192.168.0.1) and set up a new network.

    ⚠️ After the reset, all settings (including the Wi-Fi password) will be deleted. Linked devices will need to be reconnected.