Forgot your home Wi-Fi password, and the router is in an awkward place where you can't disassemble the code sticker? Or you need to connect a new gadget, but the password is not written anywhere? On Xiaomi Redmi smartphones with a MIUI shell, there are several ways to extract the saved password from the network - and most of them do not require superuser rights (root) or complex manipulations with ADB.
In this article, weβll break down all the current methods for viewing your Wi-Fi password directly in your phoneβs settings, from standard MIUI features to hidden Android features. Note: some methods may differ depending on the firmware version (MIUI 12/13/14) and smartphone model (Redmi Note 10/11/12, Redmi 9/10/11, etc.). If your phone isnβt rooted, start with the first two methods β theyβll work 90% of the time.
1. Standard method: viewing the password in Wi-Fi settings (MIUI 13/14)
Starting with MIUI 13 (and in newer versions), Xiaomi has added a built-in feature to view passwords on saved networks, a method that is the simplest and doesnβt require any additional applications.
- Open the Settings app (the gear icon on the home screen).
- Go to the Wi-Fi section.
- Click on the name of your network (the one you are connected to or have previously been connected to).
- In the window that opens, tap the icon. QR-Code (or share in some versions).
- Under QR-the code will appear text password - it can be copied or shown in full by clicking on the glazik (ποΈ).
β οΈ Attention: If you have MIUI 12 or older version, this method may not work β in such cases, use alternative methods from the following sections.
If QR-No code, try another way:
- π± Put your finger on the network name in the Wi-Fi list. β Choose Change the Network.
- π In some firmware, the password is displayed in the Password field (can be hidden by dots - click on the glazik).
- π If the field is inactive, then the network is saved without the ability to view the password - go to the method. β2.
2. View password through "SIM-card and mobile network settings" (hidden method)
Little-known life hack: some versions of MIUI have Wi-Fi passwords duplicated in the mobile network settings. This method works on the Redmi Note 8/9/10/11 and other models with MIUI 12.5+.
Open "Settings"|Go to the "SIM-maps and mobile networks"|Select "Access Point and modem"|Click "Setting up the access point"|View the Password field"-->
If the password field shows stars, click on the icon of the eye (ποΈ) or copy them β sometimes this is the password from your Wi-Fi (the system substitutes it automatically for the distribution of the Internet).
β οΈ Note: This method only works if you have previously configured a modem on your phone. If the field is empty, move to the next method.
On Redmi with Android 11+, the path may be slightly different:
Settings β Connections and Sharing β Wi-Fi Access Point β Adjustment of the Access Point3. Use of a Wi-Fi configuration file (without root but with a file manager)
Android Stores All Saved Wi-Fi Passwords in a System File wpa_supplicant.conf. You can access it without root rights, but you will need a file manager with the rights to read system folders (for example, MiXplorer or the same file manager). FX File Explorer).
Step-by-step:
- Install MiXplorer from Google Play.
- Open the manager and go on the path: /data/misc/wifi/WifiConfigStore/
- Find the WifiConfigStore.xml file and open it with any text editor.
- Look for lines with <string name="PreSharedKey"> tags - after them, the password will be indicated in encrypted or open form.
π How do you decrypt a password? If instead of text, you see a set of characters like 5a6b1f2e3d4c, Use an online decoder Base64 (In 80% of cases, the password is stored in plain form.
What to do if there is no WifiConfigStore.xml file?
4.Export passwords via ADB (for advanced users)
If previous methods didn't work, you can extract passwords using Android Debug Bridge (ADB), which requires you to connect your phone to your computer, but doesn't need root.
- π₯οΈ Computer with Windows/Linux/macOS.
- π± USB-cable (preferably original).
- π οΈ Installed drivers ADB (You can download it on Android. SDK).
Instructions:
- Turn on the phone Developer Mode (7 times tap the MIUI version in the About phone settings).
- Activate Debugging by USB in the developer menu.
- Connect your phone to your PC and type in the command line: adb pull /data/misc/wifi/WifiConfigStore.xml
- Open the downloaded file and find the line from PreSharedKey.
β οΈ Attention: On Android 10+ Access to system files through ADB If the team is not working, try the alternative path: adb shell su. -c "cat /data/misc/wifi/WifiConfigStore.xml" (requires a temporary root through Magisk or TWRP).
Applications for viewing passwords (with reservations)
There are dozens of apps on Google Play that promise to show Wi-Fi passwords (e.g. WiFi Password Viewer, WiFi Key Recovery).
- π« Require root rights (on unrooted phones are useless).
- π΅οΈββοΈ Collecting user data (risk of personal information leakage).
- π° Paid features (free versions only show part of the characters).
The only exception is Simone Devβs WiFi Password (NO ROOT) app, which runs on some Xiaomi firmware through system cache analysis, but its efficiency is less than 30%, so we recommend trying out the methods from the previous sections first.
π‘
If you often forget passwords, create a note in Google Keep or a notebook called "Wi-Fi passwords" and save all access codes there. This will save time in the future.
Comparison of methods: which one to choose?
To make it easier for you to determine, we have collected the key pros and cons of each method in the table:
| Method | Root is required. | Difficulty | Works for MIUI. | Risks. |
|---|---|---|---|---|
| QR-code | β No. | β (simple) | 13/14 | It doesn't work on older versions. |
| Access point settings | β No. | ββ | 12.5+ | Password may not be displayed |
| Reading WifiConfigStore.xml | β No. | βββ | All versions. | You need rights to system files |
| ADB-team | β No* | ββββ | All versions. | Requires PC and debugging over USB |
| Third-party annexes | β Often. | ββ | Depends on the firmware. | Virus risk, data collection |
* Without root, ADB may not allow access to the file on new versions of Android.
π‘
Start with the first two methods β theyβre the safest and work on most Xiaomi Redmi phones without any additional tools.
Frequent problems and solutions
If none of the methods worked, check the following points:
- π Network not saved: Make sure the phone has actually connected to this Wi-Fi before.If the network is "forgotten," the password will not be saved.
- π Enterprise Encryption: For Networks with WPA2-Enterprise (For example, in offices, passwords are stored differently β they cannot be extracted without root.
- π± Resetting: If the phone has recently been dropped to factory, all stored networks are erased.
- π‘οΈ MIUI Unlicensed: On some firmware (e.g. Global) ROM) Password access blocked by Xiaomi politicians.
If you encounter a βNo Reading Rightsβ error when trying to open WifiConfigStore.xml, try:
- Use another file manager (e.g., Solid Explorer with root mode enabled).
- Temporarily obtain root rights through Magisk (for power users only!).
- Connect to your phone via ADB and pull the file with the adb pull command.