You are connected to Wi-Fi on your Xiaomi, but forgot your password—does this sound familiar? This happens when guests ask to connect to your network, and the password sticker on the router has long since worn off. Luckily, on smartphones with firmware MIUI There are several ways to extract a saved password, both using standard tools and additional ones.
In this article we will look at 5 proven methods, including hidden functions MIUI, working with configuration files, and specialized applications. Important: not all methods are universal—their availability depends on the firmware version (MIUI 12/13/14), phone models (Redmi Note 10, POCO X3 etc.) and availability root rightsBut even without them, the chances of successfully recovering the password are high.
Before you begin, please note: some methods require USB debugging or installing third-party software. If the phone isn't yours, obtain the owner's permission to avoid privacy issues.
1. The standard method through MIUI settings (without root)
The easiest method is to use the built-in function password exchange V MIUIIt works on most modern devices. Xiaomi (starting from MIUI 12), but requires the phone to already be connected to the target network.
Instructions:
- 📱 Open
Settings → Wi-Fi. - 🔍 Find the network whose password you need to know in the list and tap on its name.
- 🔑 In the window that opens, select
Share password(orShare(in the English version). - 🔐 The system will ask for confirmation fingerprint, PIN code or graphic key.
- 📋 After authorization, the following will appear on the screen QR code and a text password underneath it.
⚠️ Attention: If option Share password absent, then:
- 🔄 You have an outdated version MIUI (update firmware in
Settings → About phone → System update). - 📵 The network is saved, but is currently disconnected (please reconnect to it).
- 🔒 It is installed on the phone corporate profile or security policies (relevant for work devices).
If this method doesn't work, move on to the next one. And for those who want to dig deeper, it's useful to know that Wi-Fi passwords in Android stored in an encrypted file wpa_supplicant.confAccess to it without root rights limited, but there are workarounds.
2. Using a file manager with access to system folders
On some firmware versions MIUI (especially custom or global versions) you can view the password through the system configuration file. To do this, you will need file manager with root access (For example, Root Explorer or FX File Explorer) or ADB.
Step-by-step instructions:
- Install FX File Explorer from Google Play (or another manager with support root).
- Open the manager and grant it superuser rights (if requested).
- Follow the path:
/data/misc/wifi/WifiConfigStoreor (for older versions Android):
/data/misc/wifi/wpa_supplicant.conf - Find the file
wpa_supplicant.confand open it with any text editor. - Inside the file there will be lines like this:
network={ssid="Network_Name"
psk="password_in_cleartext"
key_mgmt=WPA-PSK
}Where
psk- this is the password we are looking for.
🔹 Important: On new versions MIUI 13/14 The file path may differ, and the file itself may be encrypted. If you see a set of characters like psk=1a3b5c7d9e0f..., it means the data is encoded, and without root or ADB they can't be read.
Install a file manager with root access
Enable USB debugging (Settings → About phone → MIUI version → tap 7 times)
Connect your phone to your PC (if using ADB)
Back up important data-->
3. Method using ADB (without root, but from a PC)
If root rights No, but I have access to the computer, you can try to extract the password through Android Debug Bridge (ADB)This method works on most devices. Xiaomi, if enabled USB debugging.
Instructions:
- Download and install ADB Tools on PC.
- Activate on your phone
Developer mode:- Go to
Settings → About phone → MIUI version. - Tap on the item
MIUI version7 times until a notification appearsYou have become a developer!. - Return to
Settings → Advanced → For developersand turn it onUSB debugging.
- Go to
Command line (Windows) or Terminal (macOS/Linux) in the folder with ADB.adb shell su -c "cat /data/misc/wifi/WifiConfigStore/wpa_supplicant.conf"
If the command doesn't work, try:
adb shell "cmd wifi list-networks"
psk.⚠️ Attention: On MIUI 14 and newer Xiaomi can block access to system files even through ADBIn this case, only unlocking the bootloader and receiving root rights.
What to do if ADB doesn't see the device?
If the team adb devices returns an empty list:
1. Make sure the cable is good (try another one).
2. Install the drivers for your Xiaomi model (you can download them from the website MIUI Downloads).
3. Restart your phone and PC.
4. Enable the option in the developer settings USB Debugging (Security Options) And Allow debugging (charging only)
4. Apps for viewing Wi-Fi passwords (requires root)
If you have root access, the task is simplified—just install one of the specialized applications. They automatically read passwords from system files and display them in a convenient format.
Best apps for Xiaomi:
- 🔓 WiFi Password Viewer — shows all saved passwords, supports export to file.
- 📡 WiFi Key Recovery - works even on older versions Android, but requires SuperSU.
- 🔑 Root Browser - file manager with access to
wpa_supplicant.conf. - 🛡️ Magisk Module "WiFi Password" — module for Magisk, adds the password viewing function to the system settings.
🔹 How to use:
- Install one of the applications (for example, WiFi Password Viewer) from Google Play.
- Provide root access upon request.
- A list of all saved networks with passwords will appear in the main application window.
- Tap on the desired network to copy the password or generate one. QR code for quick connection of other devices.
On some firmware versions MIUI (For example, in Chinese versions), system applications can block access to passwords even with root access. In this case, only manual file editing will help. wpa_supplicant.conf through ADB or TWRP.
5. Alternative methods (if nothing helps)
If none of the above methods work, radical measures remain. They require more time, but are guaranteed to produce results.
Options:
- 🔧 Resetting the router: Click the button
Reseton the back of the router (hold for 10-15 seconds). After reset, the password will become default (usuallyadmin(or indicated on the sticker). ⚠️ Minus: All router settings will be reset, and you will have to configure the network again. - 📞 Contact your providerIf your router was provided by your internet provider, call support and ask them to remind you of the password. You'll need to provide it. contract number or personal account.
- 🖥️ View your password on another device: If a laptop is connected to the same network Windows or MacOS, the password can be extracted through the system settings (for example, in
Network and Control Centeron Windows). - 🔄 Reconnect with password display: On some routers (for example, TP-Link or ASUS) when connecting a new device via WPS The password is displayed on the router screen.
📌 Advice: If you often forget your passwords, save them in Google Password Manager or specialized services like BitwardenTo do this, when connecting to a new network in MIUI click Save to Google Account.
Comparison of methods: which one to choose?
To make your decision easier, we've compiled the key features of each method in a table:
| Method | Root required | Need a PC | Complexity | Runs on MIUI 14 |
|---|---|---|---|---|
| Password sharing in settings | ❌ No | ❌ No | ⭐ It's very simple | ✅ Yes |
| File manager | ✅ Yes | ❌ No | ⭐⭐ Average | ⚠️ Partially |
| ADB | ❌ No (but debugging is needed) | ✅ Yes | ⭐⭐⭐ Difficult | ⚠️ Partially |
| Applications (WiFi Password Viewer) | ✅ Yes | ❌ No | ⭐ It's very simple | ✅ Yes |
| Resetting the router | ❌ No | ❌ No | ⭐⭐ Average | ✅ Yes |
🔹 Conclusion: Start with the simplest method (Share password in the settings). If it didn't work, and root rights no - try it ADBFor experienced users, the best option is unlocking bootloader and installation Magisk for full access to the system.
Common mistakes and how to avoid them
When trying to find out the Wi-Fi password on Xiaomi Users often encounter typical problems. Here are the most common ones and how to solve them:
- 🚫 There is no 'Share password' option.:
🔹 Cause: Outdated firmware or modified MIUI (For example, Xiaomi.EU).
🔹 Solution: Update your system to the latest version or install the official global firmware. - 🔒 "ADB doesn't see the device":
🔹 Cause: Drivers are not installed or USB debugging is not enabled.
🔹 Solution: Install Mi PC Suite or drivers manually (see official website). - 📁 "The wpa_supplicant.conf file was not found.":
🔹 Cause: In new versions Android The file path has changed.
🔹 Solution: Try searching in/data/vendor/wifi/or use the commandadb shell find /data -name "*.conf". - 🔄 "The password is displayed in encrypted form.":
🔹 Cause: MIUI Encrypts passwords at the system level.
🔹 Solution: Use root + application WiFi Password Viewer or decrypt manually viaADB.
⚠️ Attention: If you use corporate Wi-Fi (for example, in an office or university), the password can be stored in a secure vault Android EnterpriseIn this case, it is impossible to extract it without the consent of the network administrator.
FAQ: Answers to frequently asked questions
Is it possible to find out the Wi-Fi password on a Xiaomi device without rooting?
Yes, but only if:
- 📱 In your version MIUI there is a function
Share password(works on most devices with MIUI 12+). - 🖥️ You are ready to use
ADB(requires PC and USB debugging). - 🔧 You have access to another device connected to the same network (laptop, tablet).
If none of this is available, your only option is to reset your router or contact your ISP.
❓ Why is the password encrypted in the wpa_supplicant.conf file?
Starting from Android 10, Google has tightened security requirements, and manufacturers (including Xiaomi) began encrypting passwords in system files. This was done to protect against:
- 🕵️♂️ Malicious apps that steal Wi-Fi data.
- 🔓 Unauthorized access to the network if the phone is lost.
- 📱 Data leaks when submitting a phone for repair.
This limitation can only be circumvented by using root rights or specialized modules for Magisk.
❓ Will the ADB method work on MIUI 14?
On MIUI 14 Xiaomi closed many "frets" for accessing system files through ADBHowever, there are workarounds:
- Use the command
adb shell "cmd wifi list-networks"- It can show networks, but it doesn't always display passwords. - Install Magisk and module
WiFi Passwordfor extended access. - Try alternatives
ADB commands:adb shell "settings get global wifi_watchlist"(sometimes passwords are stored in this list).
If nothing helps, the only thing left is unlocking the bootloader and receiving root.
❓ Is it possible to find out the password for someone else's Wi-Fi network that my Xiaomi is connected to?
Technically yes, but:
- 🚨 This is against the law. on unauthorized access to computer information (Article 272 of the Criminal Code of the Russian Federation).
- 🔒 The network owner can track your MAC address and lock the device.
- 📵 Modern routers often use isolation of clients, so even if you know the password, you won't be able to connect other devices.
🔹 Legal alternative: Ask the network owner to share the password or use guest access (if the router supports this function).
❓ How do I save my Wi-Fi password so I don't forget it?
Here are some reliable methods:
- 🔐 Google Password Manager: When connecting to a new network in MIUI click
Save to Google AccountThe password will be available on the page. passwords.google.com. - 📝 Write in notes: Create an encrypted note in Google Keep, Evernote or Standard Notes.
- 🖼️ QR code: Generate a QR code for the network on the website QiFi and print it.
- 🔑 Password Manager: Use Bitwarden, 1Password or KeePass for storage.
- 📋 Photo of the router sticker: Take a photo of the back panel of the router with the password and save the photo in a secure folder (for example, in Xiaomi Gallery under password).