How to view saved password from Wi-Fi on Xiaomi: all working ways

Forgot your home Wi-Fi password, but it's saved on your Xiaomi smartphone? Don't rush to reset your router or call your ISP. There are several ways to extract your stored network keys in MIUI, both through standard settings and through hidden Android features. In this article, we'll look at all the current methods for Redmi, POCO and Mi devices based on MIUI 12-14 and Android 10-14.

Important: Not all methods work on newer versions of firmware due to tighter security policies. We tested the instructions on Xiaomi 13 Pro (MIUI 14), Redmi Note 12 (MIUI 13) and POCO X5 (Android 13). If your model is older than 2019, the chances of success are higher - the manufacturer gradually restricts access to system data.

Before you start, check:

  • 📱 You have administrator rights on your phone (for some methods).
  • 🔒 The phone is not blocked by corporate policy (for example, via Knox or the Internet). MDM).
  • 📶 You are connected to the Wi-Fi network you want to know.

1. Standard method via "Wi-Fi settings" (MIUI 12 and later)

The easiest method is to use the built-in password viewing feature in MIUI, which works on most devices Released after 2020, but can be disabled on some regional firmware.

Instructions:

  1. Open the Settings. → Wi-Fi.
  2. Tap the current network name (or select the saved network from the list).
  3. Click on the "Share" icon (Icon) QR-code-arrow).
  4. Enter. PIN-phone code or pattern lock to confirm.
  5. Under QR-The code will appear text password – copy it.

☑️ What to do if the “Share” button is inactive

Done: 0 / 4

⚠️ Note: On some firmware (for example, MIUI Global for Europe) this feature may be hidden due to requirements GDPR. In this case, use the methods below.

2. Viewing the password through “Developer Mode” (without root)

If the standard method didn’t work, you can try enabling a hidden password display option through the developer menu, which works on Android 10-12 and requires developer mode pre-activation.

Steps:

  1. Activate Developer Mode: Go to Settings → About the phone, tap 7 times on the version MIUI. Enter. PIN-code-on-demand.

Settings → Additional → For Developers

Network display of passwords

Show passwords

Settings → Wi-Fi

What if there is no “Network Password Display” option?
On the new versions MIUI (13+) This feature is often removed. The alternative is to use it. ADB-commands (see method 4) or third-party applications with superuser rights.

On some models (e.g. Xiaomi 11T and newer), this method stopped working after the security updates of 2022. If the option is not available, move on to the next method.

3. Use of Wi-Fi configuration file (file manager required)

All saved networks and their passwords are stored in a system file. wpa_supplicant.conf. You can access it through a file manager with root or ADB. Let's look at both options.

Option A: Root Explorer (root)

If you have Magisk or another superuser installed on your Xiaomi:

  1. Install Root Explorer or Solid Explorer (with root support).
  2. Go to /data/misc/wifi/WifiConfigStore
  3. Find the file. wpa_supplicant.conf Open it with a text editor.
  4. Look for blocks of the type: network={ ssid="Name network" psk="wifi password" key_mgmt=WPA-PSK }

Option B: Through ADB (no root, but debugging is needed)

If root-rights are not available, but USB debugging is enabled:

  1. Connect your phone to your PC and execute the command: adb pull /data/misc/wifi/WifiConfigStore/wpa_supplicant.conf
  2. Open the downloaded file on your computer.

💡

If the file wpa_supplicant.conf empty, try the way /data/misc/apexdata/com.android.wifi/WifiConfigStore — On new versions of Android, the storage location has changed.

⚠️ Attention: MIUI 14 and Android 13+ Access to this file is often blocked even through the ADB. In this case, only the backup method remains (see the next section).

4. Removing password through backup (without root)

The official method from Google, which works on most Xiaomi devices without additional permissions, is to back up your Wi-Fi settings and extract your password from it.

Step-by-step:

  1. Install Mi PC Suite on your computer or use ADB.
  2. Connect your phone and execute the backup command: adb backup -f wifi_backup.ab -shared wifi
  3. On the phone, confirm the creation of a backup (don’t set the password!).
  4. Download the archive. wifi_backup.ab PC-only.
  5. Use Android Backup Extractor (Java Utility) to extract data: Java -jar abe.jar unpack wifi_backup.ab wifi_backup.tar
  6. In the resulting archive, find the file wifi/WifiConfigStore.xml - it will contain SSID and passwords in encrypted form.
  7. Decrypt your password using this script (Python required).

New models QR-The code is generated, but the password under it is hidden by stars ().