Forgot your home Wi-Fi password and the router is in an awkward place to flip it over and read the sticker? Or do you need to plug in a new device but the network code is not written anywhere? On Xiaomi smartphones (including Redmi, POCO and Mi) there are several ways to extract the saved password from the Wi-Fi β both through standard MIUI settings and using hidden Android features. In this article, we will discuss all the current methods for devices on MIUI 12-15 and 10-14, including bypassing restrictions without superuser rights.
Important: password viewing options depend on the firmware version and the phone model. For example, on Xiaomi 13 Pro with MIUI 14, one way can work, and on Redmi Note 10 with MIUI 12.5, another. We tested the instructions on current devices, but if your phone is released before 2020, some points may differ. Also remember: extracting the password from someone else's phone without the owner's consent violates the data privacy law (Article 137 of the Criminal Code).
Method 1: Through MIUI settings (works on 70% of devices)
The easiest way is to use the built-in function. MIUI, password-form QR-Unfortunately, it is not available on all models (for example, not available on the Internet). POCO F5 Xiaomi 12T), But it's worth checking first.
Instructions:
- Open the Settings. β Wi-Fi.
- Tap the name of the connected network (not the switch!).
- In the window that opens, select Share a password or QR-code.
- Confirm the action with a fingerprint, pattern lock or PIN-code.
If the password is only displayed QR-the code, scan it with any scanner (e.g., Google Lens or Mi Scanner). WPA: password.
β οΈ Note: On some firmware (for example, MIUI Global for European market) The share password function can be disabled by security policy.
Method 2: Via a Wi-Fi configuration file (file manager required)
All saved networks and their passwords are stored in a system file. wpa_supplicant.conf. It can be accessed through any file manager with read rights to system folders (for example, Mi File Explorer or Solid Explorer).
Step-by-step:
- Install Solid Explorer (free version is fine).
- Open the application and give access to the storage.
- Go to /data/misc/wifi/WifiConfigStore/ or (on older versions of Android): /data/misc/wifi/
- Find the file. wpa_supplicant.conf Open it with a text editor.
- Look for blocks of the type: network={ ssid="Name network" psk="password" key_mgmt=WPA-PSK }
If /data/ does not open, your file manager does not have permission to read system partitions, in which case root or ADB will help (see method 4).
Install Solid Explorer or Mi File Explorer|Enable the display of hidden files in the manager settings|Check for a folder. /data/misc/wifi/|Download a text editor (e.g. QuickEdit)-->
Method 3: Using the WiFi Password Viewer (without root)
If system methods donβt work, you can use third-party utilities, one of the most reliable is SimoneDevβs WiFi Password Viewer. The app doesnβt require root rights, but only works on Android 9 and lower devices (on newer versions, Google has blocked access to passwords via APIs).
How to use:
- π± Install WiFi Password Viewer from Google Play.
- π Launch the application and provide access to Wi-Fi.
- π Find your network in the list β the password will appear in the Password column.
- π Click on the network string to copy the password to the clipboard.
On Android 10+, this app won't show passwords, but there's an alternative, WiFi Password Recovery. If you don't have superuser rights, go to the ADB method.
Why are the new Android passwords hidden?
Method 4: Through ADB-Teams (for advanced users)
If previous methods have failed, the most reliable way to do this is to use Android Debug Bridge (ADB), which runs on all versions of MIUI and does not require root, but requires connecting the phone to a computer.
Instructions:
- Download ADB Tools and unpack the archive.
- On the phone, turn on Developer Mode (7 times tap the MIUI version in Settings β About phone).
- In Settings β Additional β For developers, activate debugging over USB.
- Connect the phone to the PC and in the command line (in the folder with the ADB) Do it with adb shell su -c "cat /data/misc/wifi/WifiConfigStore/SoftApWpaSupplicant/softap_wpa_supplicant.conf" Or (for older versions): Adb pull /data/misc/wifi/WifiConfigStore/Files/WifiConfigStore.xml
- In the conclusion, find the line preSharedKey="your password".
If the su command is not working, then the phone has no superuser rights, in which case try the alternative command:
adb shell "cmd wifi list_networks"It will show you a list of saved networks, but no passwords. To extract the password, you will need an additional script (see spoiler below).
Script for password extraction via ADB (advanced level)
Method 5: Through MIUI backup (for older models)
On Xiaomi phones until 2020 (e.g. Redmi Note 7, Mi 9), you can extract the password from the system backup. This method works if you previously created a backup through Settings β Additional β Backup.
How to do this:
- π Connect your phone to your PC and copy the folder MIUI/backup/AllBackup storage.
- π Inside, find a file with the.ab extension (for example, backup_20260515.ab).
- π οΈ Rename it to.zip and unpack it with an archiver (e.g., file file file, 7-Zip).
- π In the unpacked data, find the file wifi_config.xml β will SSID and passwords in plain form.
On newer models (Xiaomi 12/13/14, Redmi Note 11/12), this method does not work, as backups are encrypted. Instead, use ADB or specialized utilities like Mi Unlock Tool (requires an unlocked bootloader).
π‘
If the backup is encrypted, try restoring it to another Xiaomi phone with the same version of MIUI. Sometimes passwords are displayed during the recovery process.
Table of methods compatibility with Xiaomi models
Not all methods work on all devices, and below is the compatibility table for popular models (relevant as of May 2026):
| Model phone | MIUI 12.5β13 | MIUI 14β15 | Android 10 | Android 11β14 |
|---|---|---|---|---|
| Redmi Note 10/11/12 | β Methods 1, 2, 4 | β Methods 1, 4 | β All right. | β Method 3 |
| POCO F3/F4/F5 | β Methods 1, 4 | β Method 2 | β Methods 3, 5 | β Method 3 |
| Xiaomi 11T/12/13 | β Method 1 | β Methods 1, 4 | β β | β Method 4 |
| Redmi 9/9A/9C | β All right. | β Methods 1, 2, 5 | β All right. | β Method 3 |
If your model is not in the table, focus on the version MIUI And Android, for example, on the Xiaomi Civi 3 with MIUI Android 13 and 14 will work as Way 1 (QR-code) or method 4 (ADB).
What to do if none of the methods work?
If you have tried all the methods, but the password was not able to extract, there are radical measures:
- π Reset the router to factory settings (reset button on the back.
- π‘ Connect to the router via cable and access the web interface (usually at 192.168.1.1 or 192.168.0.1). β Security.
- π§ Use utilities like Wifi Password Key (requires root).
- π± Restore password through the providerβs application (for example, My Beeline, MTS Connect).
β οΈ Note: Some routers (e.g. Xiaomi Mi Router) 4A) The default password is the same as SSID Or it's on a sticker underneath the device. If you haven't changed it, try connecting with the factory code.
π‘
On Xiaomi phones with MIUI 14+ Android 12+ The only reliable way is to QR-code in Wi-Fi settings (method 1) or ADB (The other methods are blocked by Google's security policies.