Forgot your home Wi-Fi password and the router's sticker is gone? There are hidden ways to extract the stored security key on Xiaomi Redmi's MIUI-enclosed smartphones, without superuser rights or additional software. In this article, we'll look at all the available methods, including little-known firmware chips that work even on new models like the Redmi Note 12 Pro+ or Redmi 13R.
Importantly, not all versions of MIUI are equally user friendly. For example, in MIUI 14 (Android 13), developers removed direct access to passwords through the standard menu, but left loopholes. We tested the instructions on the Redmi 9A, Redmi Note 11 Pro, POCO X5 Pro and other devices β all of which are valid for 2026.
If you've previously connected to the network and the Save Password tick is active, the data is stored in system files, and can be retrieved through the settings menu, the file manager, or even the system's file manager. QR-The main thing is not to reset the network settings before reading the article, otherwise the password will be lost irretrievably.
So let's get to the point. Let's start with the simplest method, which works 80 percent of the time.
Method 1: Viewing a password through Shared Wi-Fi (MIUI 12β14)
The fastest way is to use the built-in function MIUI generational QR-The paradox is that the same menu displays the password itself, but it needs to be fished out in a clever way.
Instructions:
- Open the Settings. β Wi-Fi.
- Tap the current network name (not the switch!).
- Select Sharing (or Share Password in new versions).
- The system requests PIN-code, pattern lock or fingerprint β confirm.
- It will. QR-And underneath it, there's a password button -- click on it.
What if there is no password button? In some firmware (e.g. Redmi A2+), this item is hidden. Then try an alternative path:
- In the menu of the general network tap on QR-code and hold 2-3 seconds.
- A context menu will pop up with the option to copy your password.
If that doesn't work, then go to the next one, and in the meantime, check if you know about other hidden Xiaomi features:
Method 2: Extracting password through file wpa_supplicant.conf
This method requires a file manager with access to system folders (such as Mi File Explorer or Solid Explorer) suitable for devices without root, but with unlocked access to hidden directories.
Step-by-step:
- Install Mi File Explorer (if not installed).
- Open the manager and move along the way: /data/misc/wifi/WifiConfigStore/ β οΈ Note: If the WifiConfigStore folder is missing, try an alternative path: /data/misc/wifi/ or (for older versions of Android) /data/misc/apexdata/com.android.wifi/
- Find the file. wpa_supplicant.conf Open it with any text editor.
- Look for blocks of the type: network={ ssid="Name of your network" psk="password" key_mgmt=WPA-PSK } where psk is the password.
If the file doesn't open or the folder isn't available, then you have system partition protection on your device, and then root or the next method will help.
Enable the display of hidden folders in the file manager settings |
Make sure there is enough charge on the phone (minimum 30%)|
Download a text editor (e.g. QuickEdit)|
Disable Wi-Fi before editing files (avoid conflicts)-->
Method 3: Use ADB (for advanced users)
If the first two methods fail and root rights fail, you can connect to your phone via ADB (Android Debug Bridge), an official tool from Google that allows you to execute commands at the system level.
What you need:
- π₯οΈ Computer with Windows/macOS/Linux
- π± USB-cable (preferably original)
- π§ Installed drivers Xiaomi and ADB Tools
- βοΈ Included debugging by USB (Settings β The phone. β Version. MIUI β 7 times to tap according to the version β return to β For developers β Debugging by USB)
Instructions:
- Connect the phone to your PC and confirm the trusted device on your smartphone screen.
- Open the command line (or Terminal) and type in: adb shell su cat /data/misc/wifi/WifiConfigStore/wpa_supplicant.conf
- If the team returns the Permission denied error, it requires root rights. Alternative command (no root, but not all firmware): adb shell cmd wifi list-networks It will show a list of saved networks, but not passwords.
Critical detail: on some Redmi models (e.g. Redmi) K50i) The path to the password file has been changed to /data/vendor/wifi/wpa/wpa_supplicant.conf. If the standard command doesnβt work, check this directory.
π‘
If ADB issues a βdevice unauthorizedβ error, reconnect the cable and click βalways allowβ on the phone in the βUSB debuggingβ notification.
Method 4: Viewing the Password on the Router through the Mi Home app
If your Wi-Fi is shared by the Xiaomi Mi Router (or Redmi Router), you can find your password through the official Mi Home app, which works even if your phone is not connected to the network right now.
How to do this:
- Install Mi Home and log in to your Xiaomi account.
- Make sure the router is linked to your profile (if not, click + β Add Device β Router).
- Open the router card β Wi-Fi settings.
- The password will be displayed in the Network Password field (confirmation by SMS or email may be required).
This method is suitable for routers:
- Xiaomi Mi Router 4A/4C/4Q
- Redmi Router AC2100
- Mi AIoT Router AX3600
β οΈ Note: If the router is not yours (for example, public Wi-Fi), this method will not work.
Compatibility table with Redmi models
Not all methods work on all devices, and here is a proof-of-concept summary table (based on user tests and official Xiaomi documentation):
| Model phone | MIUI | Method 1 (General access) | Method 2(wpa_supplicant) | Method 3(ADB) | Method 4 (Mi Home) |
|---|---|---|---|---|---|
| Redmi Note 12 Pro+ | 14 (Android 13) | β | β (root) | β οΈ (root-only) | β |
| Redmi 10C | 13 (Android 11) | β | β | β | β |
| POCO X5 Pro | 14 (Android 13) | β | β | β οΈ (partly) | β |
| Redmi 9A | 12.5 (Android 10) | β | β | β | β |
| Redmi K60 | 14 (Android 13) | β | β | β οΈ (root-only) | β |
The table shows that on the new flagships (Redmi Note 12, K60) Xiaomi has tightened protection. If your model is not on the list, try all methods in order - one of them will work.
What if none of the methods worked?
If all of these methods fail, you have three options:
- Reset your router. There's a Reset button on the back of your router -- hold it for 10 to 15 seconds until the indicators blink. Once you reset, the password will be standard (specified on the router's sticker).
- Get root rights. For Xiaomi, this is done through unlocking the bootloader and installing Magisk. Instructions: How to get root on Xiaomi Redmi Unlock the bootloader through Mi Unlock Tool (requires a wait of 7-15 days). Install custom recaveri (TWRP) Run Magisk through the recavers. After you restart, install Root Explorer and repeat Method 2. β οΈ Warning: Unlocking the bootloader will reset all data on the phone!
- If you have an Internet service provider (such as Beeline or TTK) to provide Wi-Fi, call support and ask for a password reminder. You need to name the contract details.
Last tip: If you often forget passwords, use managers like Google Password Manager or Bitwarden, which automatically save the network keys when you first connect.
π‘
On devices with MIUI 14 and the newest is the easiest way to use Method 1 (QR-Method 4 (Mi Home) - Methods with files and ADB They are not working properly due to increased security.