Forgot your home Wi-Fi password, and the router is in an awkward location where you can't reach the sticker with the code? Or do you need to share your network with a guest, but you're too lazy to look for the login slip? On phones Xiaomi (including Redmi And POCO) There are several ways to retrieve a saved password - and most of them do not require superuser rights (root) or complex manipulations. In this article, we will analyze all current methods for different versions MIUI (from 12 to 15) and Android (10–14), and we will also explain why some old instructions from the Internet no longer work.
Important: The ability to view the password depends on the firmware version and smartphone model. For example, on Xiaomi 13 Pro With MIUI 15 the algorithm differs from Redmi Note 8 on MIUI 12.5We tested these methods on current devices (data as of the time of publication), but the interface may change after updates. If your phone doesn't support any of the methods, check the alternative solutions section.
A word of warning: if you've never connected to this network from your phone, you won't be able to retrieve the password. Your smartphone only stores data about saved networks, to which you've connected at least once. It's also impossible to find out the password for someone else's network (for example, a neighbor's)—that requires special tools that go beyond legal methods.
1. The standard method via Settings (MIUI 14–15)
The easiest method is to use the built-in password viewer feature in the latest versions MIUI. It works on most modern models (Xiaomi 12/13/14, Redmi Note 11/12, POCO F4/F5 and newer) with firmware MIUI 14 or 15.
Instructions:
- 📱 Open the app
Settings(gear icon). - 🌐 Go to the section
Wi-Fi(orConnections → Wi-Fion some models). - 🔍 Find the desired network in the list and tap on its name (not by switch!).
- 👁️ In the window that opens, click on the icon
Eye(orShow password). - 🔐 Confirm the action with fingerprint, PIN code or graphic key.
If there is no eye icon, then your version MIUI does not support this method. Proceed to the next method.
☑️ Preparing to view your password
⚠️ Attention: On some devices (eg. POCO X3 Pro) after updating to MIUI 14 The feature temporarily disappeared. If this happens to you, check for firmware updates or use alternative methods.
2. Via "Settings" for older versions of MIUI (12-13)
On phones with MIUI 12 or 13 (For example, Redmi Note 9, Xiaomi Mi 10) the path to the password is different. There is no direct "Show" button here, but you can bypass the restriction via export configuration.
Step-by-step instructions:
- 📱 Log in
Settings → Wi-Fi. - 🔧 Tap the three dots in the upper right corner and select
Additionally(orAdvanced settings). - 📤 Find the item
Network exportorNetwork backup. - 🔐 Enter your PIN or pattern to confirm.
- 📄 The system will create a file
WifiConfigBackup.xml- open it through any text editor (For example, QuickEdit or Notepad++). - 🔍 In the file, find the line with the name of your network (
<string name="SSID">...) - there will be a field nearbyPSKwith a password.
If the "Export Network" option isn't available, the manufacturer has disabled this feature in your firmware version. Try the following method.
| Phone model | MIUI version | Does it support export? | Alternative method |
|---|---|---|---|
| Xiaomi 11T | 13.0.5 | Yes | — |
| Redmi Note 10 Pro | 12.5.7 | No | ADB or File Manager |
| POCO F3 | 14.0.2 | Yes (with update) | — |
| Xiaomi Mi A3 | Android One | No | Only via ADB |
3. Using File Manager (viewing system files)
This method is suitable for rooted devices or phones with with developer mode enabledIf you don't have root-You're right, skip this section - it won't work.
Instructions for experienced users:
- 📁 Install Explorer with root access (For example, Solid Explorer or FX File Explorer).
- 🔍 Follow the path:
/data/misc/wifi/WifiConfigStore.xmlor (for newer versions of Android):
/data/misc/wifi/WifiConfigStoreSoftAp.xml - 📜 Open the file in a text editor and find the block with the name of your network (
SSID). The password will be specified in the fieldPreSharedKey.
⚠️ Attention: Modifying or deleting files in a folder /data/misc/wifi/ may lead to loss of all saved networks or a Wi-Fi module failure. Do not edit the file unless you are confident in what you are doing!
What to do if the file is encrypted?
Starting with Android 10, some manufacturers (including Xiaomi) encrypt Wi-Fi configuration files. In this case, only the ADB method (Section 4) or specialized utilities like WiFi Password Viewer (requires root) will help.
If you don't have root-right, but included developer mode, you can try an alternative route through ADB (see next section).
4. ADB Commands to Extract Password (Without Root)
Method through Android Debug Bridge (ADB) works on most phones Xiaomi, but requires a connection to a computer. This is the only reliable method for devices without root, where the standard settings do not work.
What you will need:
- 💻 Computer with Windows/macOS/Linux.
- 🔌 USB cable (preferably original).
- 🛠️ Utility ADB (download from official Android website).
- 🔧 Enabled developer mode And USB debugging on the phone.
Step-by-step instructions:
- Connect your phone to your computer and allow debugging (a prompt will appear on your phone screen).
- Open Command Prompt (or Terminal on macOS/Linux) and enter:
adb shellsu -c "cat /data/misc/wifi/WifiConfigStore.xml | grep -A 5 'SSID_NAME'"Replace
SSID_NAMEthe name of your network (in quotation marks). - If the first command didn't work, try:
adb pull /data/misc/wifi/WifiConfigStore.xmlThen open the downloaded file on your computer.
On some models (for example, Xiaomi 12S Ultra), the file may have a different name: WifiConfigStoreSoftAp.xml or be located in /data/vendor/wifi/.
5. Third-party applications (with caution!)
IN Google Play There are dozens of apps that promise to reveal Wi-Fi passwords. However, most of them either don't work or require root, or contain malicious code. We tested several utilities and identified two relatively safe options:
- 🔓 WiFi Password Viewer (requires
root) - displays all saved passwords in a convenient list. Works on MIUI, but may not display networks added via WPS. - 📋 WiFi Password Recovery (without
root, but with limitations) - tries to extract passwords through system logs. Xiaomi works in 30% of cases (depending on the version) Android).
⚠️ Attention: Applications without root They often exploit Android vulnerabilities that Xiaomi patches in new firmware. After exploiting them, you may see a warning about "suspicious activity"—this is normal, but it's best to uninstall the app after use.
If you decide to use third-party utilities, follow these safety rules:
- 🛡️ Download only from Google Play (not from third party sites).
- 📱 Before installing, check reviews and the last update date.
- 🔍 After use, uninstall the app and clear the cache.
6. Alternative solutions if nothing helps
If none of the methods worked, there are radical (but working) methods:
- 🔄 Reset the password on the router - To do this, you need to physically approach the device and press the button
Reset(usually recessed into the case). After reset, the network will be named by default (for example,TP-Link_1234), and the password is indicated on the sticker. - 📡 Connect to the router via cable - if you have access to the admin panel (usually at
192.168.0.1or192.168.1.1), you can see the password in the sectionWireless → Security. - 📞 Call the provider - if the router was issued by a company (for example, Rostelecom or MTS), they can provide the password using the contract number.
If you often forget your passwords, we recommend:
- 📝 Save them in password manager (For example, Google Password Manager or Keepass).
- 🔖 Attach a sticker with the password to the back of the router (if it is in a safe place).
- 🔗 Use QR code for guest access (many modern routers can generate it in the admin panel).
FAQ: Frequently asked questions about Wi-Fi passwords on Xiaomi
❓ Is it possible to find out the password for a Wi-Fi network my phone connected to a long time ago but is currently not connected to?
Yes, but only if the network is saved in the phone's memory. Go to Settings → Wi-Fi, find the network in the "Saved Networks" list (you may need to swipe down) and tap it. If the network isn't listed, the password can't be retrieved.
❓ Why did the "Show Password" button disappear after updating MIUI?
Xiaomi periodically changes the arrangement of functions in the firmware. For example, in MIUI 13.0.4 the button was in the network settings, and in MIUI 14.0.1 It's been moved to the "Additional" section. Try updating your firmware to the latest version or use the method with ADB.
❓ Does the WifiConfigStore.xml file method work on Android 13?
Starting from Android 12 Xiaomi has tightened access to system files. root read WifiConfigStore.xml impossible - you need either superuser rights or ADB with debugging enabled.
❓ Is it possible to extract the password from a Xiaomi phone to an iPhone?
No, it's technically impossible. Wi-Fi passwords are stored encrypted and tied to a specific device. If you need to move the network to iPhone, it’s easier to connect to the router and look at the password in its settings (via a browser at the address 192.168.0.1).
❓ Is it safe to use password viewer apps?
Most of the applications in Google Play either don't work or require rootThose that promise to reveal passwords without root access often exploit Android vulnerabilities that Xiaomi patches in new firmware. We recommend avoiding such utilities and using official methods (settings or ADB).