How to view the Wi-Fi password on a Xiaomi phone: all the working methods

You are connected to Wi-Fi on your Xiaomi, but forgot your password - sounds familiar? Unlike Windows or MacOS, where you can view the network password in two clicks, on Android This feature is hidden by default. Smartphone manufacturers, including Xiaomi, restrict access to saved passwords for security reasons. However, there are several legal ways to bypass this restriction—using built-in tools. MIUI to third-party utilities.

In this article we will look at 5 proven methodsHow to find out the Wi-Fi password on phones Xiaomi, Redmi And POCO (including models on Android 10–14 And MIUI 12–14). Important: Some methods require superuser rights (root), but most work without them. We'll also explain why the standard method is through Settings → Wi-Fi It doesn't work and what to do if the network is saved but not connected.

Warning: If you try to access someone else's network without permission, it is against the law unauthorized access to computer information (Article 272 of the Criminal Code of the Russian Federation). All methods in the article are intended only for restoring access to your own networks for which the password has been lost.

Why can't I view my Xiaomi Wi-Fi password through the settings?

On phones Xiaomi (as with most Android-devices) there is no direct "Show password" option in the Wi-Fi menu. This is due to:

  • 🔒 Google's privacy policy: starting from Android 10, access to network passwords is restricted to prevent data leaks.
  • 📱 MIUI proprietary shell: even if in clean Android there are workarounds, Xiaomi blocks them at the firmware level.
  • 🔄 Dynamic passwords: some routers (for example, from TP-Link or Keenetic) automatically change the password when new devices are connected.

As a result, the user sees only the name of the network (SSID) and connection status, but not the password itself. However, there are workarounds for hidden functions. MIUI before use ADB commands.

📊 What Xiaomi smartphone do you have?
Redmi Note 10/11/12
POCO X3/X4/X5
Mi 11/12/13
Another Xiaomi
Not Xiaomi

Method 1: View the password via Wi-Fi Sharing (without root)

The easiest method is to use the built-in function Wi-Fi Sharing, which generates a QR code with network data. The password isn't displayed directly, but it can be extracted using a third-party scanner.

Instructions:

  1. Open Settings → Wi-Fi.
  2. Tap on the name of the current network (not on the switch!).
  3. Select General access (or Share in new versions MIUI).
  4. The system will ask for confirmation. fingerprint, PIN code or graphic key.
  5. A QR code will appear. Scan it using the app. WiFi Key Recovery (available in Google Play) or any other scanner that supports network data recognition.

The application will show SSID And password in text form. If the QR code is not scannable, try taking a screenshot and uploading it to an online decoder (e.g. ZXing Decoder).

The network is connected and working stably.

The screen is not darkened (the QR code must be clear)

The scanner supports WPA2/WPA3 format

VPN is disabled (may block network access)-->

⚠️ Attention: IN MIUI 14 on some models (Xiaomi 13, POCO F5) The QR code may contain encrypted data. In this case, use Method 3 (through ADB).

Method 2: Using a Wi-Fi configuration file (requires root)

If on yours Xiaomi There is superuser rights (root), the password can be extracted from the system file wpa_supplicant.confThis method works on all versions. Android, but requires caution - incorrect actions can disrupt the operation of Wi-Fi.

Step-by-step instructions:

  1. Install a file manager with root support (e.g. Root Explorer or Solid Explorer).
  2. Follow the path:
    /data/misc/wifi/WifiConfigStore

    In older versions Android (up to 9) the path can be:

    /data/misc/wifi/wpa_supplicant.conf
  3. Find the file wpa_supplicant.conf and open it with a text editor.
  4. Inside there will be blocks of the following type:
    network={
    

    ssid="Network_Name"

    psk="encrypted_password"

    key_mgmt=WPA-PSK

    }

    The password is specified in the line psk= (Sometimes password=).

If the password is encrypted (for example, in the format hex), use an online decoder (for example, Hex to ASCII).

Android version File path Password format
Android 9 and below /data/misc/wifi/wpa_supplicant.conf Plaintext or HEX
Android 10–12 /data/misc/wifi/WifiConfigStore Encrypted (decoder required)
Android 13+ /data/vendor/wifi/... (varies) Required Magisk for access
⚠️ Attention: Changing files in /data/misc/wifi/ This may cause the Wi-Fi module to malfunction. Back up the file before editing!

Method 3: Extracting the password via ADB (without root, but from a PC)

If you don't have root rights but have access to your computer, you can use Android Debug Bridge (ADB)This method works on most devices. Xiaomi (except those where USB debugging is disabled).

What you will need:

  • 🖥️ Computer with Windows/Mac/Linux.
  • 📱 Cable USB-Type C (original, not damaged).
  • 🛠️ Utilities ADB And Fastboot (download from official website).

Instructions:

  1. Turn on developer mode on Xiaomi:
    • Go to Settings → About phone.
    • Tap the item 7 times MIUI version.
    • Return to Settings → Advanced → For developers.
    • Activate USB debugging.
  • Connect your phone to your PC and trust the computer.
  • Open Command Prompt (CMD or Terminal) and run:
    adb shell
    

    su -c "cat /data/misc/wifi/WifiConfigStore/wpa_supplicant.conf"

    If an error occurs Permission denied, use the alternative command:

    adb pull /data/misc/wifi/WifiConfigStore/wpa_supplicant.conf
  • The password will be in the line psk= (may be encrypted).
  • On some firmware versions MIUI (for example, on Xiaomi 12T) access to the file is blocked even through ADBIn this case, only root or Method 4 (via backup).

    Method 4: Recover password from backup (MIUI Backup)

    Xiaomi allows you to back up your settings, including Wi-Fi data. If you've previously backed up via Settings → Advanced → Backup, the password can be extracted from the archive.

    How does this work:

    1. Create a new backup (select only the item Wi-Fi settings).
    2. The backup file will be saved in the folder MIUI/backup/AllBackup on internal memory.
    3. Copy the file to your PC and rename the extension from .bak on .zip.
    4. Unzip the file and find the folder wifi — there will be a file with passwords in clear text inside.
    5. If the backup is encrypted, use the utility MiBackup Extractor (available at GitHub). Please note: this method only works if a backup has been created. before losing the password.

      What to do if the backup is damaged?

      If the archive does not open, try to restore it using the program 7-Zip with the "Repair archive" option. If this doesn't help, create a new backup copy after connecting to the correct network.

      Method 5: Resetting the router (last resort)

      If none of the methods worked, there remains a radical solution - reset the router settings Factory reset. This will erase all custom settings, including the Wi-Fi password, but will allow you to connect by default.

      How to reset a router:

      • 🔌 Find the button on the back of the router Reset (usually recessed into the body).
      • 📍 Press it with a paper clip or toothpick and hold 10-15 seconds.
      • 🔄 Wait for the reboot (the indicators should blink and stabilize).
      • 📋 Connect to the network with the router name (for example, TP-Link_1234) and use the default password (indicated on the device sticker).

    After resetting, configure the router again via the web interface (192.168.0.1 or 192.168.1.1). On some models Xiaomi Router reset causes the function to be blocked Mi Wi-Fi - in this case, a reflash will be required.

    ⚠️ AttentionResetting your router will disconnect all users from the network, including smart devices (cameras, speakers, etc.). Before doing this, make sure you have access to your provider's settings (logins, VLAN ID, etc.).

    Common mistakes and how to avoid them

    When trying to find out the Wi-Fi password on Xiaomi Users are encountering common problems. Here's how to solve them:

    Error Cause Solution
    Permission denied V ADB You do not have permission to read the file. Get it root or use adb backup
    The QR code is not scanned. The screen is dark or the code is damaged Increase screen brightness, take a screenshot
    File wpa_supplicant.conf empty The network is not saved in the settings. Please reconnect to the network and try again.
    MIUI Backup does not contain Wi-Fi data Network settings are not selected in the backup. Create a new backup with a check mark Wi-Fi

    If you use Xiaomi with custom firmware (for example, LineageOS or Pixel Experience), standard methods may not work. In this case, install the module Magisk WiFi Password Viewer from the repository.

    FAQ: Answers to frequently asked questions

    Is it possible to find out the Wi-Fi password on a Xiaomi device without rooting or using a PC?

    Yes, but only if the network is currently connected. Use Method 1 (QR code) or applications like WiFi Password Viewer (not all firmware versions work). For networks you've connected to before but are currently inactive, you'll need ADB or root.

    Why is the password in the wpa_supplicant.conf file a hash?

    Starting from Android 10Passwords are stored in encrypted form. To decrypt them, a system-generated key is needed. Without root or special utilities (for example, WiFi Password Recovery Pro) it is impossible to extract the original password.

    Does the QR code method work on POCO F4?

    Yes, but on some models POCO (For example, F4 GT) The QR code may contain incomplete data. If the scanner does not display the password, try scanning the code with another phone with the installed Google Lens - sometimes it recognizes hidden fields.

    Is it possible to find out the password for someone else's Wi-Fi that my Xiaomi is connected to?

    Technically yes, but that's breaks the law (Article 272 of the Criminal Code of the Russian Federation). In addition, owners of modern routers (for example, ASUS RT-AX88U or Keenetic Ultra) can track suspicious activity and block your device by MAC address.

    What should I do if the internet doesn't work after resetting my router?

    Resetting your router is half the battle. After that, you need to:

    1. Login to the web interface (192.168.0.1 or 192.168.1.1).
    2. Enter the data from the provider (logins, VLAN, connection type - usually PPPoE or Dynamic IP).
    3. Set up Wi-Fi (network name, password, encryption) WPA2-PSK or WPA3).

    If you don't know your provider's parameters, call support or check your contract.