Where to find the Wi-Fi password on a Xiaomi phone: all working methods 2026

Forgot your home Wi-Fi password, and the router is in a hard-to-reach place? Or need to connect a new device, but the password sticker has long since worn off? On smartphones Xiaomi (including Redmi And POCO) There are several ways to retrieve a saved network password - both through standard settings MIUI, as well as using third-party tools. The main thing is to know where to look and what nuances to consider depending on the firmware version.

In this article we will look at 5 current methods to view the Wi-Fi password on Xiaomi, including solutions for both rooted and unrooted devices. You'll learn how to bypass restrictions. MIUI 14, what to do if the access point is hidden, and how to export passwords for backup. We also covered why some methods stopped working after Android 12+ updates and how to work around them.

⚠️ Important: All methods are intended solely for password extraction. your own networksto which the phone is already connected. Attempting to hack into other people's networks is illegal and may result in liability.

1. The standard method through MIUI settings (without root)

The easiest method is to use built-in tools MIUIIt works on most devices. Xiaomi, Redmi And POCO with firmware version MIUI 12 and later, but there are limitations: the password will only be displayed for current active network, to which the phone is connected.

Instructions:

  1. Open SettingsWi-Fi.
  2. Tap on the name of your network (it must be connected).
  3. In the window that opens, click Share (or Share (on English firmware).
  4. Confirm the action with PIN code, fingerprint or pattern.
  5. The password will be displayed under the QR code in the field Password.

⚠️ Attention: if the button Share is missing or inactive, this means that:

  • 🔹 You are not connected to the network (check your connection).
  • 🔹 You have guest network (password is not saved).
  • 🔹 The firmware is modified (for example, custom LineageOS).

What to check if the Share button isn't working

Completed: 0 / 4

On some models (eg, Xiaomi 12T or Redmi Note 11) after pressing Share A QR code may appear without a text password. In this case:

  1. Take a screenshot of the QR code.
  2. Scan it with any QR reader (for example, via Google Lens).
  3. The password will be displayed in the decoded data.

2. View all saved passwords via the configuration file (requires a PC)

If you need to extract passwords from all saved networks (not just the current one), you can use a backup copy of your Wi-Fi settings. This method doesn't require root access, but it does require a computer and debug mode. ADB.

Algorithm of actions:

  1. Activate Developer mode:
    • Go to Settings → About phone.
    • Tap the item 7 times MIUI version.
    • Return to Settings → Advanced → For developers.
    • Turn on USB debugging.
  • Connect your phone to your PC via USB cable (select the mode File transfer).
  • Download and install ADB Tools (or use Mi PC Suite, if installed).
  • Open Command Prompt (Windows) or Terminal (macOS/Linux) and run:
  • adb pull /data/misc/wifi/WifiConfigStore.xml

    In the received file WifiConfigStore.xml find lines like this:

    <string name="Network_0">{"ssid":"<network_name>","psk":"<password>",</string>

    🔹 Note: on Android 11+ The file path may differ. If the command doesn't work, try:

    adb pull /data/misc/wifi/WifiConfigStore.xml.bak

    3. Using password viewer apps (without root)

    IN Google Play There are apps that can extract saved Wi-Fi passwords without root access. They work through the same system files as the ADB method, but automate the process. The best options are:

    Application MIUI support Root required Peculiarities
    WiFi Password Viewer Yes (MIUI 12-14) No Shows passwords only for connected networks
    WiFi Key Recovery Partially No May not work on Android 13+
    WiFi Password (Root) Yes Yes Full access to all saved networks

    🔹 How to use:

    1. Install one of the applications (for example, WiFi Password Viewer).
    2. Run it and grant access to files (if requested).
    3. Find the network you need in the list and tap on it—the password will be displayed.

    ⚠️ Attention: some antiviruses (for example, Avast or Kaspersky) may block such apps as "potentially dangerous." This is a false positive—they don't steal data, but simply read system files. But Never install APKs from untrusted sources. (official Google Play only).

    📊 What's your most common method for sharing Wi-Fi with guests?
    QR code
    I verbally state the password
    I use WPS
    Other

    4. Method for devices with root rights (full access)

    If on yours Xiaomi installed root rights (for example, through Magisk), you can use applications like Root Browser or WiFi Password (Root) for viewing all saved passwords, including hidden networks.

    Step-by-step instructions:

    1. Install Root Explorer or FX File Explorer (with root support).
    2. Follow the path: /data/misc/wifi/ or /data/misc/apexdata/com.android.wifi/ (for Android 10+).
    3. Find the file WifiConfigStore.xml and open it with any text editor.
    4. Look for blocks with "psk" — these are passwords.

    🔹 Alternative: application WiFi Password (Root) Automatically parses this file and displays passwords in a convenient format. Simply open it and grant root access.

    What to do if the WifiConfigStore.xml file is missing?

    On some firmware (for example, Xiaomi.eu) The path may vary. Try searching for the file in Root Explorer using the keyword "wifi." Also check the folders /data/vendor/wifi/ or /data/system/wifi/.

    ⚠️ Attention: changing or deleting files in /data/misc/wifi/ may lead to loss of all saved networksDon't edit them manually without a backup!

    5. Export passwords via MIUI backup

    MIUI allows you to back up your settings, including Wi-Fi data. This method is suitable if you want save all passwords for future use (for example, when resetting the phone).

    How to do it:

    1. Go to Settings → About phone → Backup.
    2. Select Local backupCreate a new one.
    3. Tick ​​the box Wi-Fi settings (other items can be disabled).
    4. Click Begin and wait for it to complete.
    5. The backup file will be saved in /MIUI/backup/AllBackup/.

    To extract passwords from a backup:

    1. Copy the file to your PC (for example, backup_20260515_123456.ab).
    2. Rename the extension from .ab on .zip and unzip the archive.
    3. In the folder apps/com.android.providers.settings/ find the file settings.db.
    4. Open it through SQLite Browser and execute the query:
      SELECT * FROM wifi WHERE ssid='your_network_name';

      The password will be in the field pre_shared_key.

    5. 🔹 Note: This method only works if there is a backup not encryptedIf you set a password on the backup, you will have to remove it first. Settings → Backup → Manage backups.

      6. Alternative methods (if nothing helps)

      If none of the methods worked, try these options:

      • 📱 View on another device: if a laptop is connected to the same network Windows or another phone, extract the password from there. On Windows: Control Panel → Network and Sharing Center → Wireless Network → Properties → Security.
      • 🔄 Resetting the router: if this your router, press the button Reset for 10 seconds to reset the settings. The password will be reset to the factory default (indicated on the sticker).
      • 📡 WPS connection: if the router supports WPS, press the button WPS on the router and connect without a password (in the Wi-Fi settings, select Connecting via WPS).
      • 🔧 Change password: Log into your router's control panel (usually 192.168.1.1 or 192.168.0.1) and set a new password in the section Wireless → Security.

      FAQ: Frequently asked questions about Wi-Fi passwords on Xiaomi

      Is it possible to find out the password for a Wi-Fi network that my phone was previously connected to but is not currently connected to?

      Without root access - no. Default settings MIUI show password only for current active networkTo view the network history you will need either root, or the method with ADB (section 2).

      Why did the Share button stop working after updating MIUI?

      In some versions MIUI 13/14 (especially on Xiaomi 13/14 series) This feature is limited for security reasons. Try:

      • Update the firmware to the latest version.
      • Use ADB or root applications.
      • Reset network settings (Settings → Wi-Fi → Advanced → Reset settings).
      Is it possible to see the password for a hidden network (SSID hidden)?

      Yes, but with some reservations:

      • If the phone already connected to a hidden network, the password can be extracted through ADB or root applications.
      • If the network is not in the list of saved ones, you will have to connect it manually first (enter the SSID and password through Add a network in Wi-Fi settings).
      Are password viewer apps safe to use?

      Applications from Google Play (For example, WiFi Password Viewer) are safe because they do not transmit data to the Internet, but only read local files. However:

      • Avoid APKs from third-party sources (risk of viruses).
      • Don't grant apps unnecessary permissions (such as access to contacts).
      • After use, uninstall the application if you no longer need it.
      How to protect your Wi-Fi passwords from being extracted?

      If you're sharing your phone with someone else and don't want them to see your saved passwords:

      • Turn it off USB debugging in the developer settings.
      • Set up an app lock (for example, via App Lock in MIUI).
      • Remove unnecessary networks regularly Settings → Wi-Fi → Saved Networks.
      • Use Wi-Fi guest mode on the router for temporary devices.

    If none of the methods worked, check if access is blocked antivirus or corporate policy (on working phones). Also keep in mind that on some firmware (for example, Xiaomi for the European market) there may be additional restrictions.