Forgot the password from your home or work Wi-Fi that your Xiaomi, Redmi or POCO is connected to?The situation is familiar to many: the network is saved in the phone, but when you need to connect a new gadget or share access with a guest, the password suddenly โevaporatesโ from memory. Fortunately, there are several ways to extract it directly from your phone โ without resetting the router or calling the provider.
In this article, we will discuss all the current methods for viewing the Wi-Fi password on Xiaomi, including official (via Android settings) and alternative (using ADB, file manager or web interface of the router).
We warn you that not all of these are universal, for example, on phones with MIUI 14+ and Android 13/14, some of the features may be limited by Google's security policies, but don't worry, we've prepared workarounds for even these cases.
1.Official method: viewing the password in Wi-Fi settings (MIUI 12 and later)
The easiest and most secure method is to use the built-in MIUI feature to display the password.It works on most modern Xiaomi, Redmi and POCO smartphones with the MIUI firmware version 12 and higher (including MIUI 13/14).
Instructions:
- ๐ฑ Open the Settings app on your phone.
- ๐ Go to the Wi-Fi section (or Connections) โ Wi-Fi on some models).
- ๐ Find in the list the network, the password from which you need to know, and tap on its name.
- ๐๏ธ In the window that opens, click on the โShow Passwordโ icon** (or Share the password on the screen). MIUI 14).
- ๐ The system will request confirmation by fingerprint, PIN-code or pattern lock - enter it.
The password will then be displayed on the screen as text, and can be copied or shown to the guest through the feature. QR-code (available in MIUI 13+).
๐ก
If the Show Password button is inactive, check if guest mode is enabled (Settings โ Special Features โ Guest Mode).
โ ๏ธ Note: On phones with corporate profiles (such as Microsoft Exchange work accounts), this feature may be blocked by the administrator, and it is not available if the network is added via the network. WPS or Wi-Fi Direct.
2. Use of file manager (root access required)
If your Xiaomi has root rights, you can extract the password directly from the Android system files.This method is suitable for all versions of MIUI, but requires caution - wrong actions can disrupt the system.
Wi-Fi passwords are stored in /data/misc/wifi/WifiConfigStore.xml (on Android 10+) or in the /data/misc/wifi/WifiConfigStore.db database (on Android 9 and below) to read:
- Install a file manager with root support (such as Root Explorer or Solid Explorer).
- Go to /data/misc/wifi/.
- Find the WifiConfigStore.xml file (or.db) and open it in the text editor.
- Look for lines with <string name="PreSharedKey"> tags - after them, the password will be indicated in encrypted or open form.
On Android 10+, passwords can be encrypted, which would require additional decoding software (e.g., WiFi Password Viewer from the Play Market).
How to decrypt your password on Android 10+?
โ ๏ธ Note: Modifying or deleting files in /data/misc/wifi/ It can cause the loss of all saved networks or failure of the Wi-Fi module.
3. ADB commands: password extraction without root (for advanced)
If root access is not available, but USB debugging is enabled on your phone, you can try extracting the password via ADB (Android Debug Bridge), which works on MIUI 11-14, but requires a connection to a computer.
Step-by-step:
- Download and install ADB Tools on your PC (e.g. Googleโs Platform Tools).
- On your phone, turn on Developer Mode (7 times tap the MIUI version in Settings โ About Phone) and activate Debugging over USB.
- Connect Xiaomi to your PC via cable and confirm your trust in your computer.
- Open the command line in the ADB folder and type: adb shell su -c "cat /data/misc/wifi/WifiConfigStore.xml | grep -A 5 'string name=\"PreSharedKey\""
If the team returns the empty result, try an alternative path for Android 9 and below:
adb shell
su -c "sqlite3 /data/misc/wifi/WifiConfigStore.db 'SELECT * FROM networks;' "In the conclusion, look for a line with the name of your network (SSID) โ near-field pre_shared_key password-wise.
Install Platform Tools on PC| Enable developer mode on Xiaomi| Activate debugging over USB| Connect phone with original cable | Allow access to ADB on phone-->
โ ๏ธ Attention: MIUI 14 Android 13/14 access WifiConfigStore.xml through ADB In this case, only root or alternative methods will help (see section). 5).
4. Viewing the password through the router's web interface
If none of the previous methods worked, you can find out the password directly from the router. This method is universal and does not depend on the Xiaomi model, but requires access to the router settings.
Instructions:
- ๐ Find out. IP-The router address is usually 192.168.0.1 or 192.168.1.1 (see Settings). โ Wi-Fi โ Additional on the phone).
- ๐ Enter. IP to the address bar of the browser on the phone or PC. The system will request a login and password (by default often admin/admin or admin/1234).
- ๐ก Go to the Wi-Fi (or Wireless Network) section and find the Password (or Pre-Shared Key) field).
If you havenโt changed the data to log in to the router, use the standard combinations for your model:
| Router manufacturer | Login. | Password. | IP-address |
|---|---|---|---|
| TP-Link | admin | admin | 192.168.0.1 |
| Xiaomi Mi Router | admin | marked | 192.168.31.1 |
| ASUS | admin | admin | 192.168.1.1 |
| Keenetic | admin | 1234 | 192.168.1.1 |
If you donโt remember the login data, the only way to reset it to factory settings (reset button on the back). After resetting, the Wi-Fi password will also reset to the default value (indicated on the router sticker).
5. Alternative methods: applications and backups
If the standard methods didn't work, you can use third-party utilities or backups of the system.
Method 1: Applications for viewing passwords
There are apps on Google Play that show saved Wi-Fi passwords, such as:
- ๐ WiFi Password Show (requires root).
- ๐ฑ WiFi Password Viewer (Works on Android 9 and below without root).
- ๐ Network Info II (Shows technical information about the network, but not the password).
Note that most of these applications do not work on MIUI 13/14 due to security limitations, and they may contain advertising or collect data โ use it at your own risk.
Method 2: Restore from backup
If you have previously created a backup through Mi Cloud or Google Drive, you can try extracting the password from it:
- Go to Settings โ Accounts โ Mi Cloud โ Backup.
- Find the latest copy and restore the data only for the Wi-Fi section.
- After recovery, the password can be displayed in the network settings (see Section 1).
The official method through settings|File Manager with root|Teams. ADB|Router web interface|Third-party annexes|Nothing helped.-->
6. Frequent problems and solutions
Not all methods work equally well on different Xiaomi models, and here are the typical challenges and ways to get around them:
| Problem. | Possible cause | Decision |
|---|---|---|
| The โShow Passwordโ button is missing. | Outdated version of MIUI (up to 12) | Update your firmware or use ADB |
| ADB issues an error of permission denied | No rights to a superuser | Get root or try the method with a router |
| WifiConfigStore.xml file is empty | Passwords are stored in encrypted form | Use the decoding utility (see spoiler above) |
| Can't get into the router. | Changed login/password | Reset the router with the Reset button |
If none of the methods worked, the last option is to reset the router settings (reset button for 10 seconds), after which the password will be reset to the factory (indicated on the device sticker), but all connected devices will be disabled.
๐ก
On Xiaomi phones with MIUI 14+ and Android 13/14, most methods without root access are blocked, in which case the easiest way is to use the routerโs web interface or reset its settings.