Forgot your home Wi-Fi password, and you still have it on your Xiaomi phone? Don't rush to reset your router or call your ISP. In MIUI devices (including Redmi, POCO, and Black Shark), there are several ways to extract your password, both through standard settings and hidden Android features. In this article, we'll look at 5 proven methods relevant to MIUI 14/15 and Android 13/14, including bypassing restrictions without superuser rights.
Important: Not all methods work on newer firmware versions due to Xiaomi's tightening security policies. We tested the instructions on the Redmi Note 12 Pro+, POCO X5 Pro and Xiaomi 13T models - the results are summarized in the compatibility table below. If your phone does not support standard methods, look for alternative solutions using ADB or backups.
1. Standard method via MIUI settings (no root)
The easiest method is to use the built-in Wi-Fi password sharing feature that appeared in the MIUI 12 and saved in new versions. It allows you to see the password as QR-code or text, but with limitations:
- πΉ It works only for connected networks (not for saved, but inactive).
- πΉ Requires fingerprint confirmation, PIN-code-key.
- πΉ In some models (for example, POCO F5) It may be hidden in the depths of the menu.
Instructions:
- Open the Settings. β Wi-Fi.
- Tap the name of the active network (not the switch!).
- Select Share Password (or Share in English firmware).
- Confirm the screen unlock.
- The password will be displayed under QR-textually.
βοΈ Preparation for password review
Limitation: If the access point is hidden (there is an icon in the network name) π), This method won't work. In that case, move on to the following ways.
2. View password through configuration file (file manager required)
In Android, Wi-Fi passwords are stored in an encrypted file. wpa_supplicant.conf, but MIUI However, there is a workaround: use a backup of settings that can be created and read through a third-party file manager (for example, a third-party file manager, FX File Explorer or Solid Explorer).
Algorithm of action:
- Install a file manager with support for root folder access (not to be confused with root rights!).
- Go to /data/misc/wifi/ or /data/misc/wifi/WifiConfigStore/.
- Find the file. WifiConfigStore.xml (newer MIUI) or wpa_supplicant.conf (old).
- Copy the file to a secure location (e.g., on the SD-map).
- Open it with any text editor and find the psk="your password".
What if there is no file?
Warning: Not all file managers show a /data/ folder without root. If you have Xiaomi on Android 13+, this may not work due to Scoped Storage limitations.
β οΈ Note: Do not edit the file wpa_supplicant.conf manually, this can result in the loss of all stored networks or the failure of the Wi-Fi module!
3.Use of QR-network code (alternative to MIUI 13+)
If the standard method does not show the password in text form, you can extract it from the QR-The code that the system generates:
- Create. QR-Network code (as in Section 1).
- Take a picture of it or save it as an image.
- Use an online service to decode QR (e.g., ZXing Decoder).
- In the decoding results, find the line P: your password or WPA: your password.
Example of decoded QR-code:
WIFI:S:MyWiFi;T:WPA;P:12345678;;Where P:12345678 is the password.
π‘
If QR-The code is not scanned, try to brighten the screen or use another reading app (e.g. Google Lens).
This method works even on Xiaomi with a locked bootloader, as it does not require access to system files.
4. Retrieving passwords via ADB (for advanced users)
If the previous methods didnβt work, you can use Android Debug Bridge (ADB), a debugging tool that allows you to execute system-level commands.
- π₯οΈ Computer with installed ADB-driver.
- π± Included debugging by USB on the phone (Settings) β The phone. β Version. MIUI β Tap 7 times, then return to the additional β For developers).
- π USB-Type C Cable (preferably original).
Step-by-step:
- Connect the phone to the PC and confirm the trusted device.
- Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell
su -c "cat /data/misc/wifi/WifiConfigStore.xml | grep psk"If the team doesnβt work, try an alternative route:
adb shell
su -c "cat /data/misc/wifi/wpa_supplicant.conf"Important: MIUI 14+ You may need an additional command to bypass the restrictions: adb shell settings put global hidden_api_policy 1 before the main request.
β οΈ Attention: Use ADB on other devices without the consent of the owner can be regarded as unauthorized access (Article 272 of the Criminal Code of the Russian Federation!
5. Recovery of password from MIUI backup
If you've ever backed up through Settings β Additional β Backup, your Wi-Fi passwords could be saved in an archive to retrieve them:
- Find the backup file in the MIUI/backup/AllBackup folder (usually with the.mbk extension).
- Copy it on your PC and rename it.zip.
- Unclose the file and find the wifi folder β it will have files with the.conf extension.
- Open them with a text editor and find the line psk=.
Example of file content:
network={
ssid="MyWiFi"
psk="password123"
key_mgmt=WPA-PSK
}This method works even if the phone is reset to factory settings, but you still have an old backup.
Comparison of methods: which one to choose?
Not all methods are equally effective β they work depending on the version of MIUI, phone model and security settings.
| Method | Redmi Note 11/12 | POCO X4/X5 | Xiaomi 12/13 | Need root? |
|---|---|---|---|---|
| Password exchange | β Yes. | β Yes. | β Yes. | β No. |
| File. wpa_supplicant | β οΈ Partially. | β No. | β No. | β No. |
| QR-code | β Yes. | β Yes. | β Yes. | β No. |
| ADB | β Yes. | β Yes. | β οΈ With extra teams. | β No. |
| Backup copy | β Yes. | β Yes. | β Yes. | β No. |
If neither method works, there are two options:
- π§ Reset the router (reset button on the back panel).
- π Contact the provider for a duplicate password (usually specified in the contract or SMS plug-in).
π‘
On phones with MIUI 15 (Android 14), standard password viewing through settings is more stable than alternative methods. Start with it!