Forgot your home Wi-Fi password, and the router is in the attic, and the sticker with the code has long since worn off? If you have a smartphone handy Xiaomi Redmi (or POCO, Black Shark), which is already connected to this network, you can restore access in a couple of minutes—without a computer or complex manipulations. In this article, we'll look at 5 working methods, including official methods through settings MIUI and alternative options for advanced users.
Important: The ability to view the password depends on the firmware version and phone model. On newer phones Redmi Note 13 Pro+ or Xiaomi 14 With MIUI 15 Some menu items may differ, but the general logic remains the same. If your phone isn't rooted, some methods will be unavailable—we'll warn you about this in advance.
Before you begin, make sure that:
- 📶 The phone is connected to the target Wi-Fi network (otherwise the password is not saved in the system).
- 🔒 The device is not locked by an administrator (corporate phones may restrict access to settings).
- 📱 Version MIUI not lower than 12 (on older firmware versions some functions are missing).
1. Standard method: via Wi-Fi settings (MIUI 12 and later)
The easiest method is to use the built-in password display feature in the connections menu. It works on most modern smartphones. Xiaomi And Redmi without additional programs.
Instructions:
- Open
Settings→Wi-Fi. - Tap on the name of the current network (under the inscription
Connected). - In the window that opens, click
Share password(orShare(on English firmware). - Confirm the action with a fingerprint, pattern or PIN code.
- The password will be displayed as a QR code and a text string below it.
⚠️ Attention: On some models (eg, Redmi 9A With MIUI 11) paragraph Share password may be missing. In this case, proceed to the next method.
Check your Wi-Fi connection|Update MIUI to the latest version|Try an alternative method via "Router Settings"-->
2. Alternative method: via router settings (if you have access to the web interface)
If your phone doesn't display the password, but you have access to the router's control panel (for example, through a browser), you can find the network code directly. This method is universal and works regardless of the smartphone model.
Step-by-step instructions:
- Find out your router's IP address:
- Open
Settings→Wi-Fi→ tap on the current network →Additionally(orAdvanced). - Remember the line
Gateway(usually192.168.0.1or192.168.1.1).
- Open
Chrome or Mi Browser).admin/admin or admin/password).Wireless (or Wi-Fi → Security).Password, Key or PSK password — the current network key is displayed here.| Router brand | Path to the password in the web interface | Default login/password |
|---|---|---|
| Xiaomi Mi Router | Settings → Wi-Fi → Wi-Fi Password |
admin/password from sticker |
| TP-Link | Wireless → Wireless Security → Password |
admin/admin |
| ASUS | Wireless Network → Authentication Settings |
admin/admin |
| Keenetic | Wi-Fi → Access Point → Network Key |
admin/1234 |
⚠️ Attention: If the router returns an authorization error, it means the login/password has been changed. In this case, reset the router settings using the button Reset (hold for 10 seconds), but note that this will disconnect all users from the network.
3. For advanced users: viewing the password via the configuration file (root required)
If on yours Redmi There is root rights, you can extract the password directly from the system file, where Android stores data about connected networks. This method works on all versions. MIUI, but requires special applications.
Instructions:
- Install a file manager with root support (e.g.
Root ExplorerorFX File Explorer). - Follow the path:
/data/misc/wifi/WifiConfigStore.xmlor (on newer versions of Android):
/data/misc/apexdata/com.android.wifi/WifiConfigStore.xml - Open the file in a text editor and find the line:
<string name="PreSharedKey">"YOUR_PASSWORD"</string>The password will be specified between the tags in encrypted form (for example,
"12345678"- this is the password12345678). - 🔓 WiFi Password Viewer — shows saved passwords on rooted devices. Download in Google Play.
- 📱 MIUI Hidden Settings - reveals hidden settings MIUI, including a section with Wi-Fi passwords (not available on all models).
- 🔍 Wifi Password Recovery — an alternative for phones without root (tries to extract data from the system cache).
⚠️ Attention: Editing system files without root may cause crashes. MIUIIf you don't have any experience with ADB or Magisk, it is better to use other methods.
What to do if the WifiConfigStore.xml file is missing?
On some firmware (for example, MIUI 14 For Redmi Note 12 Pro) Wi-Fi data is stored in binary format. In this case, try using the app WiFi Password Viewer from Google Play (requires root).
4. Using password viewer apps (without root)
If the previous methods don't work, you can use third-party utilities. Most of them require root, but there are exceptions for some versions MIUI.
Top 3 applications:
Important: apps without root often show outdated data or only work on older versions of Android (up to 10). Redmi With MIUI 13/14 the chances of success are minimal.
5. Resetting the password via the router (if nothing helps)
If none of these methods work, the only other option is to reset the router password and set a new one. This will disconnect all devices from the network, but you'll gain access.
How to reset:
- Find the button on your router
Reset(usually recessed into the body). - Take a paper clip or toothpick and hold the button for 10-15 seconds until the lights start flashing.
- Connect to the router's network (it will be called
Xiaomi_XXXXor similarly, without a password). - Open in browser
192.168.31.1(For Xiaomi Router) or192.168.0.1(for other brands). - Set a new password in the section
Wi-Fi→Security.
⚠️ Attention: After resetting, all personal settings of the router (including IPTV, Port forwarding, Parental control) will return to factory settings. Write down important settings in advance or make a backup copy of the configuration (if your router supports this feature).
Comparison of methods: which one to choose?
To save time, use the table below. We've rated each method based on three criteria: ease of use, reliability, and phone requirements.
| Way | Simplicity | Reliability | Requirements |
|---|---|---|---|
| Via MIUI settings | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ | MIUI 12+, phone connected to Wi-Fi |
| Router web interface | ⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | Access to the router, login/password |
| WifiConfigStore.xml file | ⭐⭐ | ⭐⭐⭐ | Root rights, file manager |
| Third-party applications | ⭐⭐⭐ | ⭐⭐ | Root (usually), Android up to 11 |
| Resetting the router | ⭐⭐⭐ | ⭐⭐⭐⭐⭐ | Physical access to the router |
FAQ: Frequently Asked Questions
Is it possible to find out the password for a Wi-Fi network that my phone was previously connected to but is not currently connected to?
No, Android Stores passwords only for current connections. If the network is saved but inactive, try connecting to it again (even without internet access) and use the methods in this article.
Why is there no "Share password" option in MIUI settings?
This feature was introduced in MIUI 12If you have an older version, update the firmware via Settings → About phone → System updateThis option may also be missing on corporate devices with security policies.
Does the WifiConfigStore.xml file method work on Xiaomi devices with HyperOS?
HyperOS (new firmware for Xiaomi 14, Redmi K70) uses a different data storage structure. The file path may be different, and access without root is blocked. Try alternative applications, for example WiFi Password from Simone Dev.
Is it possible to find out the password from a friend’s phone (without their knowledge)?
Technically yes, if you have physical access to their device with root or you know their pattern key. However, this violates data privacy law (Article 137 of the Criminal Code of the Russian Federation). We do not recommend using such methods.
How to protect your Wi-Fi from being hacked via your phone?
To prevent password leakage:
- Use WPA3 instead of WPA2 in the router settings.
- Turn it off
WPS(vulnerable protocol). - Change your password regularly (every 3-6 months).
- Don't save passwords on other people's devices.