How to connect to Wi-Fi on Android if you don't know the password: step-by-step instructions

Forgot your home Wi-Fi or guest network password, but need to connect urgently? This situation is familiar to many: someone else configured the router, the password was written down on a piece of paper that disappeared, or you simply don't have time to request it from the network owner. Luckily, Android There are several ways to get around this problem - both legal (if the network is yours or you have the right to connect) and technical (to restore access to your network).

In this article we will look at 7 proven methods, which will help you connect to Wi-Fi without entering a password: from using WPS And QR codes before retrieving the saved password from your phone or router settings. Important: All described steps apply only to networks to which you have the legal right to accessUnauthorized connection to other people's networks may violate local laws and provider rules.

If you are trying to regain access to his own If you're using a network (for example, after resetting your phone or purchasing a new device), most methods will work without restrictions. For guest networks (in cafes, hotels, or at friends' houses), it's best to confirm the password with the administrator—this will avoid potential security issues.

1. Connect via WPS (the fastest way)

WPS (Wi-Fi Protected Setup) is a technology that allows you to connect to a router without entering a password. It works on most modern routers and is supported by all Android-devices starting from version 4.0 Ice Cream SandwichThe main requirement is that the function must be activated in the router settings.

How does it work? Instead of a password, a password is used. PIN code (usually 8 digits, indicated on the router sticker) or WPS button on the device's body. Connection takes less than a minute, but has a limitation: after a successful connection, the network password remains unknown.

  • 🔹 Pros: No need to know the password, works on 90% of routers, fast connection.
  • ⚠️ Cons: Not all providers leave WPS enabled by default, which can be vulnerable to hacking (if the PIN is not changed from the factory setting).
  • 📱 Suitable for: Samsung, Xiaomi, Huawei, Realme and other brands on Android 4.0+.

Instructions:

  1. Open Settings → Wi-Fi on the phone.
  2. Click Additionally (or ⋮ → WPS in some firmware).
  3. Select Connecting via WPS.
  4. For 2 minutes press the button WPS on the router (usually marked with a 🔄 or WPS).
  5. Wait for automatic connection.
⚠️ Attention: If there is no WPS button on your router, try entering the PIN code (found on the sticker on the back of the device). Some models (e.g., TP-Link Archer C6) require preliminary activation of WPS in the web interface at the address 192.168.0.1 or 192.168.1.1.
📊 What kind of router do you have?
TP-Link
ASUS
Xiaomi
D-Link
ZTE
Another

2. Using a QR code to connect (Android 10+)

Starting from Android 10, the system has been updated with the function of connecting to Wi-Fi via QR codeThis method is ideal if you already have a device (phone, tablet) connected to the desired network. It allows you to generate a QR code with the network details and scan it on your new phone.

How does it work? The QR code contains encrypted network data (SSID, encryption type, password). When scanning Android Automatically extracts information and connects without manual input. This method is secure and does not require root privileges.

  • 🔹 Pros: No need to know the password, works without the Internet, supported by all modern smartphones.
  • 📱 Cons: A device already connected to the network is required.
  • 🤖 Supported versions: Android 10 and newer (including Android 13/14).

Instructions:

  1. On the phone that already connected to Wi-Fi, open Settings → Wi-Fi.
  2. Click on your network name → Share (or Share).
  3. Enter your device PIN or password to confirm.
  4. A QR code will appear - scan it new phone via camera or app Google Lens.
  5. Confirm the connection on the new device.

3. Extracting passwords from saved networks on your phone

If your Android- the phone has already connected to this network before, the password is saved in the system settings. It can be removed without root access on most devices (except Samsung and some models Xiaomi (with custom firmware). To do this, you'll need a file manager with access to system folders.

Important: This method only works for networks the phone has previously connected to. It won't help you find the password for a new network.

  • 🔹 Pros: does not require connection to a router, works offline.
  • ⚠️ Cons: Some devices require root access, Samsung And Huawei may block access.
  • 📁 Where to look: file wpa_supplicant.conf in the folder /data/misc/wifi/.

Instructions for devices without root:

  1. Install a file manager with access to system files (for example, FX File Explorer or Solid Explorer).
  2. Follow the path /data/misc/wifi/ (You may need to enable display of hidden files).
  3. Find the file wpa_supplicant.conf and open it with a text editor.
  4. Inside the file, find the block with the name of your network (ssid="...") - there will be a line next to it psk="..." with a password.
⚠️ Attention: On devices Samsung With One UI And Xiaomi With MIUI 12+ access to this file may be blocked. In this case, only root or connecting to the router in other ways.

Make sure the phone has connected to the network before

Use a file manager with root access (if necessary)

Check for the presence of the wpa_supplicant.conf file

Copy the password from the line psk="..."-->

4. Connecting via the router's web interface

If you have physical access to your router (for example, your home router), you can access its web interface and view the Wi-Fi password. To do this, you'll need any device already connected to the network (or a cable). Ethernet).

Most routers use standard login addresses:

  • 192.168.0.1 (TP-Link, D-Link),
  • 192.168.1.1 (ASUS, ZTE),
  • 192.168.8.1 (Xiaomi, Redmi).

The default login and password are usually admin/admin or indicated on the router sticker.

Manufacturer IP address Default Login/Password
TP-Link 192.168.0.1 admin/admin
ASUS 192.168.1.1 admin/admin
Xiaomi 192.168.31.1 Linking to an account Mi
D-Link 192.168.0.1 admin/empty

Instructions:

  1. Connect to the router via cable or an existing Wi-Fi connection.
  2. Open your browser and enter your router's IP address (see table above).
  3. Enter your login and password (default or your own if changed).
  4. Go to the section Wi-Fi (or Wireless network) → Security settings.
  5. Find the field Password (or PSK) - the current key will be displayed here.
⚠️ Attention: On routers Xiaomi And Keenetic You may need to link your router to the manufacturer's account. If you don't remember your login details, reset the router using the reset button. Reset (hold for 10 seconds) - this will restore factory settings, including the default password.

5. Password recovery via applications (root only)

If your phone has root rights, you can use specialized apps to extract Wi-Fi passwords. These utilities scan system files and display a list of all saved networks with passwords. Popular options include:

  • WiFi Password Viewer (simple interface, works on most firmware),
  • WiFi Key Recovery (supports Android 11+),
  • Root Browser (for manual search of configuration files).

Warning: Rooting your device will void your warranty and may impair its functionality. Use this method only if other methods have failed.

Instructions:

  1. Install one of the applications (for example, WiFi Password Viewer) from Google Play.
  2. Provide root access when prompted.
  3. A list of networks with passwords will appear in the main window.
  4. Find the desired network and copy the password.
What to do if you don't have root rights?

Without root, you can try the file manager method (Section 3) or connect via WPS (Section 1). If you own the router, reset it to factory settings (Reset button) and set it up again.

6. Connecting via guest access (for public networks)

Many public networks (in cafes, airports, hotels) offer guest access without a password. Usually, this requires:

  • 📱 Connect to a network with the type name Guest, Free_WiFi or Hotel_WiFi.
  • 🌐 Open your browser – the authorization page will open automatically.
  • ☑️ Accept the terms of use or enter your phone/room number (if required).

Some networks use SMS confirmation or social media for authorization. For example, in McDonald’s or Starbucks Often, it's enough to click "Log in with Facebook" or enter your phone number to receive a code.

If the network requires a password and you don't know it, try:

  • 🔍 Look for the password on the receipt (cafes/restaurants sometimes print it).
  • 📞 Ask the administrator (in hotels, the password is often indicated in a booklet in the room).
  • 🔄 Reconnect - sometimes authorization resets after restarting the phone.
⚠️ Attention: In some countries (for example, in the EU), free Wi-Fi is legally required in public places without requiring personal information. If a network requires payment or complicated registration, it may be a scam. Check the network name with the staff.

7. Alternative methods (if nothing helps)

If none of the above methods work, there are radical measures left:

  • 🔧 Resetting the router: Click the button Reset on the back of the router (hold for 10-15 seconds). This will restore the factory settings, including the default password (indicated on the sticker). Minus: All personal settings will be lost.
  • 📡 Connection via cable: If you have access to the router, connect your phone via USB-Ethernet adapter (OTG cable required) and log in to the web interface as described in Section 4.
  • 📞 Call the provider: If the router was issued by the provider (for example, Rostelecom or Beeline), call support - they can provide the password using the contract number.

For advanced users There are two more options:

  • 🐧 Terminal: On a rooted phone, you can run the command:
    su
    

    cat /data/misc/wifi/WifiConfigStore.xml

    The output will contain a line with the password (<string name="PreSharedKey">...</string>).

  • 🔍 Sniffer: Apps like Wireshark or Packet Capture can intercept handshake (data exchange during connection), but decrypting the password will require additional tools and skills.

FAQ: Frequently Asked Questions

Is it possible to connect to Wi-Fi without a password if it's someone else's network?

Technically yes (via WPS, router vulnerabilities or handshake interception), but it's illegal In most countries, unauthorized access to other people's networks can be classified as hacking and prosecuted under the violation of privacy law (in Russia, Article 272 of the Criminal Code). Use only legal methods for networks you have permission to access.

Why isn't WPS working on my router?

Possible reasons:

  • The function is disabled in the router settings (you need to go to the web interface and enable it).
  • Router older than 2010 (WPS may not be supported).
  • The provider has disabled WPS by default (for example, Beeline or MTS (They do this often).
  • The WPS button is broken or missing (on some models) ASUS it is software).

How do I find the Wi-Fi password on a Samsung device if the wpa_supplicant.conf file is unavailable?

On devices Samsung With One UI Access to system files is blocked. Alternatives:

  • Use Smart Switch (official software from Samsung) to backup Wi-Fi settings to PC, and then extract the password from the backup.
  • Connect to the router via the web interface (section 4).
  • If your phone is rooted, install WiFi Password Viewer.

Is it possible to connect to Wi-Fi via Bluetooth?

No, Bluetooth And Wi-Fi — are different technologies and are not interchangeable. However, some routers (for example, ASUS RT-AX88U) support Wi-Fi setup via an app via Bluetooth, but to connect to the internet you still need a network password.

What should I do if my router requires a login and password to access its settings, but I don't know them?

Standard combinations:

  • admin/admin (the most common option),
  • admin/blank password (D-Link, Tenda),
  • user/user (some models ZTE).

If it doesn't work, reset the router using the button Reset (hold for 10 seconds) - this will restore factory settings, including the default login/password (indicated on the sticker).