How to see the password from Wi-Fi on the phone Xiaomi: all working ways

You connected your Xiaomi (or Redmi/POCO) to Wi-Fi, but you forgot your password β€” and now you need to connect another device? The situation is familiar to many. Fortunately, on Android, there are several ways to extract the saved password from the network to which the phone is already connected, the main thing is to know where to look and what tools to use.

In this article, we’ll look at 5 proven methods, from simple (via MIUI settings) to advanced (using ADB or superuser rights). Note that some methods require root or computer rights, but there are universal solutions without additional conditions. We’ll also explain why the standard methods may not work on new versions of Android 12+ and MIUI 14+ – and what to do about it.

Before you start, make sure your Xiaomi is actually connected to the target network. If the connection is active, you can start.

1. Standard method via MIUI settings (no root)

Xiaomi smartphones with MIUI 12 and older (including HyperOS) have a built-in Wi-Fi password viewing feature β€” but it’s hidden from the user. To activate it, you need to perform a simple manipulation of the system menu.

Instructions:

  • πŸ“± Open the Settings. β†’ Wi-Fi and tap on the current network name.
  • πŸ” In the window that appears, click on the Share icon (or Share iconΒ»).
  • πŸ” The system will request confirmation by PIN-code, print or pattern lock.
  • πŸ“‹ After authentication will open QR-And the code is the network data, and underneath it is the Password line, which is your password.

⚠️ Note: Some firmware (especially custom ones) may not work, and if you click on Share, you can only see it. QR-code without a text password, go to the next method.

πŸ“Š What version? MIUI your Xiaomi?
MIUI 14
MIUI 13
MIUI 12
HyperOS
I don't know.

2. View password through configuration file (file manager required)

Android Stores All Saved Wi-Fi Passwords in a System File wpa_supplicant.conf. It can be accessed through any root file manager (e.g., Root Explorer or Root Explorer). FX File Manager or even without them – if you use workarounds.

If you don’t have root rights, try this method:

  1. Install a file manager FX File Manager (or similar with support) FTP-server).
  2. Turn it on. FTP-server and connect to the phone from the computer over the local network.
  3. Go to /data/misc/wifi/WifiConfigStore (on new versions of Android may be different).
  4. Find the file. wpa_supplicant.conf Open it with a text editor.

The file will have lines of the form:

network={


ssid= "Name of your network"




psk="your password"




key_mgmt=WPA-PSK




}

⚠️ Attention: On Android 10+ and MIUI 12+ access to this file is often blocked even for root users. /data/misc/wifi/ empty or absent, try the following method.

Make sure your phone is connected to the right Wi-Fi | network

Use root-enabled file manager (if you have permission)|

Try alternative paths: /data/misc/wifi/ or /data/vendor/wifi/|

Set up FTP-Access if there are no root rights-->

3. Use ADB (no root, but need a computer)

ADB (Android Debug Bridge) is a tool for debugging Android devices through a computer, which can extract a Wi-Fi password even if you don't have root permissions. The method works on most versions of MIUI, but requires pre-setting.

Step-by-step:

  1. Download and install ADB Tools on your computer.
  2. On your phone, activate Developer Mode (7 times tap Settings β†’ About Phone β†’ MIUI version) and enable Debugging via USB.
  3. Connect Xiaomi to your PC via cable and confirm your trust in your computer.
  4. Open the command prompt (or Terminal on Mac/Linux) and type:
adb shell


su -c "cat /data/misc/wifi/WifiConfigStore/SoftAp_WPA_PSK" || echo "Root or other path required"




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

If the teams don’t work, try an alternative route:

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

In the resulting WifiConfigStore.xml file, find the following line:

<string name="PreSharedKey">&#x22;your password&#x22;</string>

πŸ’‘ Useful advice: If ADB If you have permission denied, you have your firmware blocked, and only root or backup will help (see next section).

What if the ADB can’t see the device?
Make sure you have drivers installed for Xiaomi (download from the official website). USB-cable (preferably original) Include the "Debugging by" option in the developer settings USB (Charging).” Reboot your phone and computer.

4. Removing password from MIUI backup

MIUI allows you to back up system data, including your Wi-Fi settings. If you’ve ever backed up Settings β†’ Additional β†’ Backup, you can extract your password from it.

How it works:

  • πŸ“² Create a new backup (select only β€œWi-Fi settingsΒ»).
  • πŸ’Ύ The backup file will be saved to /MIUI/backup/AllBackup/ (usually with.mbk extension).
  • πŸ–₯️ Copy it to your computer and rename it to.zip, then unpack it.
  • πŸ” In the folder, find the file. WifiConfigStore.xml β€” It will have a password line (as in the method with the ADB).

⚠️ Attention: On new versions MIUI 14+ Backups are encrypted, and you'll need a special tool like MiBackup Extractor to unpack them).

MIUI versionDoes the standard backup support Wi-Fi?Do I need encryption?
MIUI 11 and belowYes.No.
MIUI 12 – 13Yes.Sometimes (depending on region)
MIUI 14 / HyperOSYes.Yes (MiBackup Extractor required)

5. Password Viewing Applications (root required)

If your Xiaomi has root rights, the task is simplified: Google Play has dozens of apps that show saved Wi-Fi passwords.

  • πŸ”“ WiFi Password Viewer – Simple interface, shows all networks and passwords.
  • πŸ“‘ WiFi Key Recovery – Works on custom firmware.
  • πŸ› οΈ Root Browser – file manager with access to system folders.

How to use:

  1. Install one of the applications (e.g. WiFi Password Viewer).
  2. Provide root access when requested.
  3. In the list of networks, find the desired one and copy the password.

⚠️ Warning: Be careful about root rights – they can compromise system security. Do not install unknown applications or modify system files without a backup.

πŸ’‘

If you don’t have root, but you have an old smartphone with Android 8 and below, you can temporarily root through Magisk and extract the password and then roll back the changes.

What if none of the methods worked?

If all of the above methods have not worked, the reasons may be as follows:

  • πŸ”’ Your firmware. MIUI heavily modified (e.g. custom PixelExperience or LineageOS).
  • πŸ“± The device runs on Android 13+ safety-enhanced.
  • 🚫 The manufacturer (or device administrator) has blocked access to the system files.

In such cases, two options remain:

  1. Reset the router (press the Reset button for 10 seconds) and set up a new network.
  2. Contact the network administrator (if it is a work or training Wi-Fi).

πŸ”Ή Key Conclusion: Xiaomi with MIUI 12–14 easiest to use QR-code from the Wi-Fi settings or ADB. For older versions, the method with wpa_supplicant.conf. If nothing helps, then you just have to reset the router.

FAQ: Frequent questions about Wi-Fi passwords on Xiaomi

Can I find out the Wi-Fi password without root and computer?
Yes, on MIUI 12+, you can do this through the Share menu in your Wi-Fi settings (see Method 1). If this method doesn't work, try backing up and extracting the password from it (see Method 4).
Why in the file wpa_supplicant.conf I don't have my network?
This could mean that: Your version of Android stores data elsewhere (e.g. /data/vendor/wifi/). The firmware uses encryption (relevant to MIUI 14+). You are not connected to the network at the time of verification. Try using ADB or check alternative paths to the file.
Will a router reset remove all devices from the network?
Yes, resetting the router to the factory settings will delete: All saved devices (you will have to reconnect), port settings, DMZ, UPnP and other functions, Wi-Fi password (you will have to come up with a new one), if the router is not yours (for example, ISP), it is better not to reset it, but to contact support.
Can I find out the password from someone else’s Wi-Fi, which is connected to my Xiaomi?
Not unless you are a network owner or router administrator, extracting a password from someone else's Wi-Fi without permission violates the law on personal data and can qualify as unauthorized access (Article 272 of the Criminal Code of the Russian Federation).
Why did the old ways stop working after the MIUI update?
Xiaomi has been tightening security policies regularly. Starting with MIUI 13: Blocking access to /data/misc/wifi/ even for root users. Backups are encrypted by default. Removing some ADB commands to work with Wi-Fi. If you depend on these features, consider rolling back on an older version of MIUI (but this could disrupt system stability).