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

Forgot your home Wi-Fi password and your router is out of reach, or has the code sticker been erased? There are several ways to extract your password on Xiaomi smartphones (including Redmi and POCO) β€” even if you’re not a network administrator. In this article, we’ll look at all the current methods for different versions of MIUI (12 to 14) and Android (10 to 14), including hidden system features and circumvention of restrictions.

Importantly, not all methods work on new firmware due to the tightening of security policies of Google and Xiaomi. For example, in Android 10+, direct viewing of passwords through settings is blocked, but there are workarounds. We tested each method on Redmi Note 11, POCO X5 Pro and Xiaomi 13T devices, the results are summarized in the table below.

If you need a password, start with the first method (the fastest one). For advanced users, there is a section on access through ADB, which will work even on blocked MIUIs. And if nothing helps, check the alternatives at the end of the article.

Method 1: Viewing your password through Xiaomi settings (MIUI 12–14)

This is the official method that works on most Xiaomi devices with MIUI 12-14 and Android 10-13. However, in recent updates Xiaomi has started to hide this option – it may not be on fresh firmware (for example, on Xiaomi 14 with MIUI 15).

  1. Open the β€œSettings” (the gear icon on the desktop).
  2. Go to Wi-Fi β†’ tap on the current network (connected).
  3. Click on Share Password (or Share in English firmware).
  4. Confirm the action through PIN-code, fingerprint or pattern lock.

If you don't have a Share Password, Xiaomi has removed it in your firmware version.

β˜‘οΈ What to do if there is no option to share a password"

Done: 0 / 4

⚠️ Note: On some models (e.g, POCO F5 s MIUI 14.0.4) after clicking on Share password appears QR-It's a code, not a text password. To see the code, take a screenshot. QR and scan it with any scanner (e.g., Google Lens).

Method 2: Use a Wi-Fi configuration file (without root)

This method works on all versions. MIUI, But it requires access to the file system. Wi-Fi passwords are stored in a file. wpa_supplicant.conf, But starting with Android. 10 Google has banned direct access to it, but there is a circumvention:

  1. Install any file manager with access to root folders (such as Solid Explorer or FX File Explorer).
  2. Turn on Developer Mode: Go to Settings β†’ About Phone. Tap 7 times on the MIUI version (you will be notified β€œYou’ve become a developer”). Return to Settings β†’ Additional β†’ For Developers and activate Debugging via USB.
/data/misc/wifi/WifiConfigStore/

Look for the file. WifiConfigStore.xml (older β€” wpa_supplicant.conf).

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

The password will be between the tags &#x22; (encoded in Unicode).

If /data/misc/wifi/ is not available, then your device has system file protection enabled, and only the ADB method will help.

How to decode a Unicode password?
Encrypted password of the type &#x22;P&#x41;ss&#x77;0rd&#x22; You can convert it with online services like RapidTables. <string> Replace &#x with % and then decode it from URL-format.
Xiaomi modelMIUI versionMethod 1 (Settings)Method 2 (File)Method 3 (ADB)
Redmi Note 10 ProMIUI 12.5 (Android 11)βœ… It's working.βœ… It's working.βœ… It's working.
POCO X4 ProMIUI 13.0 (Android 12)❌ No option.βœ… It's working.βœ… It's working.
Xiaomi 12TMIUI 14.0 (Android 13)❌ No option.❌ Folder's locked.βœ… It's working.
Redmi A2MIUI 14 (Android 13 Go)βœ… It's working.❌ No file.βœ… It's working.

Method 3: Retrieving passwords through ADB (for advanced)

If the first two methods didn’t work, the Android Debug Bridge (ADB) is a debugging tool that allows you to pull out a password even on locked firmware. It’s the only one-stop-shop that works on all versions of MIUI and Android, but requires a computer.

Instructions:

  1. Download and install ADB Tools on PC.
  2. Connect your phone to your computer via USB (enable USB debugging in the developer settings as in method 2).
  3. Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.
  4. Enter the commands in order: adb devices (your device should appear) adb shell su cat /data/misc/wifi/WifiConfigStore/SoftApConfigStore.xml | grep psk
  5. If root access is requested, allow it on your phone (you need an unlocked bootloader).
πŸ“Š What kind of way did you work?
Through MIUI settings
Through file. wpa_supplicant.conf
Through ADB
Alternative method
Nothing helped.

Security: What to do if your password is stolen?

If you suspect someone has accessed your Wi-Fi (for example, through your Xiaomi phone), immediately:

  1. Change your router password: Go to the router's administrator panel (usually 192.168.1.1 or 192.168.0.1). Login/password is listed on the router's sticker (usually admin/admin). Go to the Wireless β†’ Security section and set a new password (WPA3-PSK is recommended).

DHCP Clients List

WPS

On the Xiaomi phone, it also stands:

  • πŸ”’ Disable Autoconnection to Open Networks in Settings β†’ Wi-Fi β†’ Additionally.
  • πŸ›‘οΈ Install VPN (for example, Xiaomi VPN or ProtonVPN for encrypting traffic.
  • πŸ“± Block access to Wi-Fi settings through Settings β†’ Security β†’ Application lockdown.

πŸ’‘

If your Xiaomi phone is stolen or lost, change your Wi-Fi password immediately and turn off auto-connection on all other devices.

Frequent questions

Can I get a Wi-Fi password without rooting?
Yes, on most Xiaomi devices, this is possible through settings or a configuration file, but new firmware (MIUI 14+) may require ADB or bootloader unlocking.
Why is there no option in the settings to β€œshare password”?
Xiaomi is gradually removing this feature due to Google's security policy. If you have MIUI 14 or newer, try updating your firmware to the latest version - sometimes the option returns. Also check if it's hidden in Settings β†’ Special Features β†’ Settings menu.
Can I find out someone else’s Wi-Fi password through Xiaomi?
Not unless the phone has previously connected to this network. Xiaomi (like any other Android) only stores passwords from the networks you've connected to. Attempts to hack into other people's networks are illegal and can result in the device being locked.
What if the ADB can’t see the device?
Check: Are drivers installed? ADB (Download from Xiaomi for your model. Is debugging mode enabled? USB And if you're allowed access to that computer, are you using the original computer? USB-cable (some cheap cables don't transmit data) If the problem persists, try restarting your phone and PC.
How to protect your Wi-Fi from hacking through Xiaomi?
Use these settings on the router: πŸ” Type of security: WPA3-PSK (or WPA2-PSK, if the devices do not support WPA3). πŸ”„ Change your password regularly (every 3-6 months). πŸ“΅ Turn it off. WPS Wi-Fi management (so that the router cannot be connected remotely). πŸ“‘ Hide. SSID (Network name) or use the guest network for temporary devices.