Forgot the password from your home Wi-Fi that your Xiaomi, Redmi or POCO is connected to? The situation is familiar to many: the router is set up years ago, the password sticker is long lost, and guests or a new device need to connect to the network. Fortunately, on smartphones running MIUI, there are several ways to extract the saved password - both by standard means and with additional tools.
In this article, we will discuss 5 Proven methods, including official settings MIUI, file manager, ADB-teams and third-party applications. We'll focus on the nuances for different firmware versions (MIUI 12/13/14) You will also learn why some methods may not work on new Xiaomi models with Android. 13/14 How to get around restrictions.
Method 1: Viewing passwords through MIUI settings (official method)
The easiest and safest way is to use the built-in MIUI tools. It works on most Xiaomi, Redmi and POCO devices with the MIUI 12 firmware version and later, but there are important limitations:
- πΉ It only works if the phone is already connected to the target Wi-Fi network.
- πΉ Password from Mi Account is required (if sync is enabled).
- πΉ On some models (such as Xiaomi 13 Pro or Redmi Note 12) the option may be hidden.
Instructions:
- Open the Settings. β Wi-Fi.
- Tap the name of the current network (under the word "Connected").
- In the window that opens, select "Share" (or "Share" in English firmware).
- The system requests PIN-code, pattern lock or password from your Mi Account.
- After authentication will appear QR-code and text password underneath.
β οΈ Note: If the Share option is not available, the manufacturer has disabled it for your model or region.
Method 2: Using a file manager (without root)
On Xiaomi devices with Android 10 and below, Wi-Fi passwords are stored unencrypted in a system file wpa_supplicant.conf. It can be accessed through a standard file manager (e.g. Mi File Explorer), but with reservations:
- π The file is on its way: /data/misc/wifi/WifiConfigStore/.
- π Permission to access system folders (not to be confused with root) is required!).
- β‘ Nana MIUI 13/14 Android 11+ file can be encrypted.
Step-by-step:
- Open Mi File Explorer (or any other manager with support for system folders).
- Go to Device β data β misc β wifi β WifiConfigStore.
- Find the file. wpa_supplicant.conf Open it with a text editor.
- Look for blocks of the type: network={ ssid="Name network" psk="wifi password" key_mgmt=WPA-PSK }
If the file is missing or empty, it means:
- π On your firmware, the data is stored in encrypted form (see Method 4c). ADB).
- π οΈ You have custom firmware (like LineageOS) where the path to the file is different.
π‘
If the file wpa_supplicant.conf It does not open, copy it to your computer and use the Notepad editor.++ or VS Code to view.
Method 3: Password Viewing Apps (root required)
If your Xiaomi has root rights, the task is simplified. There are several reliable applications that automatically extract all saved Wi-Fi passwords:
| Annex | Reference | Features | Support for MIUI |
|---|---|---|---|
| WiFi Password Viewer | Google Play | Shows SSID and passwords, export to file | β MIUI 12-14 |
| Root Browser | Google Play | Manual search by system folders | β All versions. |
| Wifi Password Recovery | Google Play | Support for encrypted files | β οΈ Only MIUI <13 |
How to use (for example, WiFi Password Viewer):
- Install the application and provide root access.
- In the main window, a list of all saved networks will appear.
- Slip on the desired network - the password will appear in the PSK field.
- If necessary, export your data to.txt or.csv.
β οΈ Note: Root-access apps may violate Xiaomi's security policies. on some models (e.g. Xiaomi) 12T or Redmi K50) After using such programs, the bootloader lock can work.
Make sure root rights | Make a backup of data |Disable antivirus |Check compatibility with MIUI-->
Method 4: Retrieving passwords through ADB (for advanced ones)
If the standard methods didnβt work and root rights didnβt, you can try extracting the password through Android Debug Bridge (ADB), a method that works on most Xiaomi devices, but requires a PC connection and USB Debugging mode enabled.
What you need:
- π₯οΈ Computer with installed ADB Tools.
- π± Included Debugging by USB in the developer settings (Settings) β The phone. β Version. MIUI β tap 7 times).
- π USB-cable (preferably original).
Instructions:
- Connect the phone to the PC and confirm the debugging permission.
- Open the command line (Windows) or terminal (macOS/Linux) in the adb folder.
- Execute the command to obtain a list of networks: adb shell su -c "cat /data/misc/wifi/WifiConfigStore/SoftAp_WifiConfigStore.xml"
- Search for <string name="PreSharedKey">Password</string>.
If the team returned the error "Permission denied", try the alternative way:
adb shell su -c "cat /data/misc/wifi/WifiConfigStore/wpa_supplicant.conf"On devices with MIUI 13/14 and Android 12+, files can be encrypted with the user key, in which case, without root, it is impossible to extract the password through ADB.
What if the ADB canβt see the device?
Method 5: Alternatives (if nothing works)
If all of the above methods fail, radical or circumventive solutions remain:
- π Router reset: Press the Reset button on the back of the router (hold 10 seconds). Password reset to factory (specified on the sticker).
- π‘ Connection to WPS: On some routers (TP-Link, Xiaomi Mi Router) you can connect without a password through the WPS (corpus).
- π± Another phone: If you have a second smartphone that is connected to this network, try extracting the password from it.
- π οΈ Flashing: On custom firmware (e.g. Pixel Experience), passwords are stored in plain form.
For owners of routers Xiaomi Mi Router has an additional way:
- Connect to the router via the Mi WiFi app.
- Go to Settings β Wi-Fi β Password.
- Press the eye icon (ποΈ) near-password.
β οΈ Warning: Resetting your router will result in loss of all settings, including attached devices, guest network, and parental controls.
π‘
On Xiaomi routers, the factory password often matches the last 8 characters. MAC-address (indicated on the sticker).
Why are some methods not working on the new Xiaomi?
Starting with MIUI 13 and Android 12, Xiaomi has tightened its security policy.
- π File. wpa_supplicant.conf Now encrypted with a unique user key.
- π« Access to system folders through ADB limited even for debugging teams.
- π The βShareβ option in Wi-Fi settings may be hidden for some regions (e.g. firmware for China).
Bypasses:
- π² Use the old versions MIUI (Downgrade via Mi Flash Tool).
- π Get a temporary root through Magisk (without unlocking the bootloader).
- π₯οΈ Connect to the router through Telnet/SSH (if remote access is enabled).
For example, on Xiaomi 11T Pro with MIUI 13.0.10, the password file is encrypted with the AES-256 algorithm, and it is almost impossible to decrypt it without root, in which case only a router reset or a call to the provider remains.