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).
- Open the βSettingsβ (the gear icon on the desktop).
- Go to Wi-Fi β tap on the current network (connected).
- Click on Share Password (or Share in English firmware).
- 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"
β οΈ 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:
- Install any file manager with access to root folders (such as Solid Explorer or FX File Explorer).
- 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">"your password"</string>The password will be between the tags " (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?
| Xiaomi model | MIUI version | Method 1 (Settings) | Method 2 (File) | Method 3 (ADB) |
|---|---|---|---|---|
| Redmi Note 10 Pro | MIUI 12.5 (Android 11) | β It's working. | β It's working. | β It's working. |
| POCO X4 Pro | MIUI 13.0 (Android 12) | β No option. | β It's working. | β It's working. |
| Xiaomi 12T | MIUI 14.0 (Android 13) | β No option. | β Folder's locked. | β It's working. |
| Redmi A2 | MIUI 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:
- Download and install ADB Tools on PC.
- Connect your phone to your computer via USB (enable USB debugging in the developer settings as in method 2).
- Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.
- Enter the commands in order: adb devices (your device should appear) adb shell su cat /data/misc/wifi/WifiConfigStore/SoftApConfigStore.xml | grep psk
- If root access is requested, allow it on your phone (you need an unlocked bootloader).
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:
- 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.