How to find out the password from Wi-Fi on your Xiaomi phone: all working methods

You connected your Xiaomi (or Redmi/POCO) to your Wi-Fi network, but you forgot your password β€” and now you need to connect another device? The situation is familiar to many. Fortunately, on smartphones with MIUI firmware, there are several ways to extract the saved password without complex manipulation. In this article, we will discuss 5 working methods for different versions of Android and MIUI, including solutions without superuser rights (root).

Important: the system's capabilities depend on the firmware version. For example, in MIUI 14 (Android 13/14), some of the functions are hidden deeper than in MIUI 12 (Android 10), we took these nuances into account and wrote down the instructions for each situation. Also note that some methods require an ADB or a file manager - but about everything in order.

1. Viewing the password through MIUI settings (the easiest way)

Starting with MIUI 12.5 and later, Xiaomi has added a built-in Wi-Fi password display feature β€” but with reservations. This method only works for the networks the phone is currently connected to, and if the network is saved but not active, you will have to use other methods.

Instructions:

  • πŸ“± Open the Settings. β†’ Wi-Fi.
  • πŸ” Find an active network (marked Connected) and tap it by its name.
  • πŸ‘οΈ In the window that opens, click on the icon. QR-Code (or share passwords in older versions).
  • πŸ” Confirmed by PIN-a code, print or pattern lock, the system will show the password in the form of text or QR.

πŸ’‘

If the button QR-No code, update it. MIUI until the last version. MIUI 14 This feature works steadily even on budget models like Redmi 10A or POCO M5.

⚠️ Limitation: on some models (for example, Xiaomi Mi 11 Lite with a different model) MIUI 12.0.3) The password can be displayed as stars.

2.Use of file manager (without root)

Android Stores Wi-Fi Passwords in an Encrypted File wpa_supplicant.conf, but MIUI There is a workaround, however, through the built-in Explorer (or a third-party, such as the, FX File Explorer. This method works on Android 10 below (MIUI 11-12), Google has tightened its protections in new versions.

Step-by-step:

  1. Install FX File Explorer (or any other manager with access to root folders).
  2. Open the file manager menu and enable the display of hidden files (Settings β†’ Show hidden files).
  3. Cross the path: /data/misc/wifi/WifiConfigStore.xml or (for older versions of Android): /data/misc/wifi/wpa_supplicant.conf
  4. Find the block with your network name (SSID) – next to the PSK string (this is the password).
What to do if the file is not opened?
If the WifiConfigStore.xml file is not readable, copy it to your computer and open it using Notepad++ or VS Code. The password will be in the tag: <string name="PreSharedKey">your password</string>

⚠️ Attention: On Android 11+ (MIUI 12.5+) This method does not work without root, as Google has blocked access to the folder. /data/misc/wifi/ for third-party applications. for new devices (Xiaomi) 13/14, Redmi Note 12) use methods 3–5.

3. Removing password through ADB (Universal method)

ADB (Android Debug Bridge) is a debugging tool that allows you to execute commands on your phone from a computer.The method works on all versions of MIUI, but requires a PC connection and USB debugging enabled.

What you need:

  • πŸ–₯️ Computer with Windows/macOS/Linux.
  • πŸ“± Cable USB (preferably original).
  • πŸ› οΈ Utility. ADB Tools (download and unpack in any folder).

Instructions:

  1. On your phone, turn on: Settings β†’ About Phone β†’ MIUI version (tap 7 times to activate Developer Mode), then go back to Settings β†’ Additional β†’ For Developers and turn on Debugging over USB.
  2. Connect the phone to the PC and confirm trust in the computer (pop up a window on the smartphone screen).
  3. Open the command line (Windows) or the terminal (macOS/Linux) file ADB and perform: adb shell su -c "cat /data/misc/wifi/WifiConfigStore.xml | grep PSK" If the team doesn't work, try: adb shell su -c "cat /data/misc/wifi/wpa_supplicant.conf"
  4. In the conclusion, find the line with PSK="your password".

Enable Developer Mode |Install ADB Tools on PC |Connect your phone with the original cable |Allow debugging over USB on your phone

-->

⚠️ Attention: MIUI 14 (Android 13/14) The command can return the error Permission denied. 4 or 5.

4.Export passwords through backup (MIUI Backup)

Xiaomi allows you to back up your system, which includes Wi-Fi data. This method does not require root, but you need access to a computer to extract the password from the backup.

How it works:

  • πŸ“± On the phone go to Settings β†’ The phone. β†’ Backup.
  • πŸ”„ Create a new copy by selecting System Settings (be sure to turn on Wi-Fi).
  • πŸ’Ύ Save the backup to the Mi Cloud cloud or to your computer (the file will be with the.mbk extension).
  • πŸ–₯️ On PC, download the MiBackupExtractor utility and extract the file from the backup wifiPassword.xml.

This file will list all the saved networks with passwords in plain view, and it works on MIUI 12-14, but it takes time to build and parse the backup.

Through MIUI | File Manager |ADB| Backup | Another option

-->

Applications for viewing passwords (with reservations)

Google Play has applications like WiFi Password Viewer or WiFi Key Recovery, but their performance on MIUI is extremely low, because since Android 10, Google has blocked access to Wi-Fi passwords for third-party applications without root.

What to try:

  • πŸ“² WiFi Password Viewer – only shows passwords on Android 9 and below.
  • πŸ“² Root Browser – requires root rights but gives access to the root wpa_supplicant.conf.
  • πŸ“² MiXplorer - file manager with extended rights (root or need to be installed) ADB).

πŸ’‘

Without root or ADB, apps from Google Play won’t be able to show passwords to MIUI 12+. Use them only as a last resort or on legacy devices (like Redmi 4X on Android 7).

⚠️ Warning: Some apps in the Play Market promise "hacking Wi-Fi passwords" is a scam. They either show ads or ask for payment for a non-existent feature. Trust only proven open source utilities (like MiXplorer).

Comparison of methods: which one to choose?

To make it easier for you to navigate, we have compiled a table with the pros and cons of each method:

MethodNeed root?Works on MIUI 14?DifficultyNotes
Settings MIUI (QR-code)❌ No.βœ… Yes.⭐Only for active networking
File manager❌ No, but you need rights)❌ No, Android 11.+)⭐⭐It works on Android 10 and below.
ADB❌ No.⚠️ Partially.⭐⭐⭐MIUI 14 may require root
Backup❌ No.βœ… Yes.⭐⭐⭐⭐Long but reliable.
Apps from Play Marketβœ… Yeah (usually)❌ No.⭐Effective only with root

For most users, the easiest way is to QR-code MIUI (Method 1. If it doesn't work, try it. ADB (Method 3) or backup (method 4) The file manager (method 2) is only relevant for older devices.

FAQ: Frequent questions

❓ Can I find out the password from Wi-Fi, which the phone used to connect to, but is not connected now?
Yes, but only through ADB (method 3) or backup (method 4). MIUI settings display passwords only for an active network.
❓ Why in the file wpa_supplicant.conf The password is displayed in encrypted form?
Starting with Android 10, the passwords in this file are stored in an encrypted format, and can only be decrypted using root or special utilities (for example, WiFi Password Decryptor for PC).
❓ Does the way with QR-code-wise POCO F5 s MIUI 14?
Yes, but only if the phone is currently connected. On POCO and Redmi with MIUI 14, the password sharing function is stable.
❓ Can I find out the Wi-Fi password without a phone if it is connected to Xiaomi?
Not unless you have access to the phone itself.Passwords are stored encrypted in the device's memory and are not transmitted to Xiaomi's servers.
❓ Why? ADB Permission Denied on Xiaomi 13 Pro?
This is due to Android 13+ security policy. On the new flagships (Xiaomi 13/14, Redmi K60) root is required to access Wi-Fi passwords via ADB.