How to see the password from Wi-Fi on the phone Xiaomi: all working methods

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:

  1. Install a file manager with root support (such as Root Explorer or Solid Explorer).
  2. Go to /data/misc/wifi/.
  3. Find the WifiConfigStore.xml file (or.db) and open it in the text editor.
  4. 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+?
Starting with Android 10, password WifiConfigStore.xml They're stored in encrypted form using the device key: 1. Copy the file on a PC. 2. Use WiFi Key Recovery (available on GitHub) with indication device_id your Xiaomi. 3. Introduce the team: java -jar wifi-key-recovery.jar WifiConfigStore.xml output.txt The result will be in output.txt file.

โš ๏ธ 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:

  1. Download and install ADB Tools on your PC (e.g. Googleโ€™s Platform Tools).
  2. On your phone, turn on Developer Mode (7 times tap the MIUI version in Settings โ†’ About Phone) and activate Debugging over USB.
  3. Connect Xiaomi to your PC via cable and confirm your trust in your computer.
  4. 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 manufacturerLogin.Password.IP-address
TP-Linkadminadmin192.168.0.1
Xiaomi Mi Routeradminmarked192.168.31.1
ASUSadminadmin192.168.1.1
Keeneticadmin1234192.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:

  1. Go to Settings โ†’ Accounts โ†’ Mi Cloud โ†’ Backup.
  2. Find the latest copy and restore the data only for the Wi-Fi section.
  3. 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 causeDecision
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 deniedNo rights to a superuserGet root or try the method with a router
WifiConfigStore.xml file is emptyPasswords are stored in encrypted formUse the decoding utility (see spoiler above)
Can't get into the router.Changed login/passwordReset 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.

Can I find out the Wi-Fi password on Xiaomi without root?
Yes, on MIUI 12 and later, this can be done through Wi-Fi settings (Section 1). The method also works with ADB (Section 3) and the router web interface (Section 4). Root is only required to access system files (Section 2).
Why is there no โ€œShow Passwordโ€ button in Xiaomi settings?
This may be due to: an outdated version of MIUI (update firmware), corporate security policy (if the phone is linked to a work account), manufacturer restrictions (on some models for the Chinese market), in which case try alternative methods from sections 3-5.
Is it safe to use ADB to extract a password?
ADB โ€” Googleโ€™s official tool, but itโ€™s a risk: ๐Ÿ”“ If the phone is locked on OEM Unlock, teams. ADB may not be fulfilled. ๐Ÿ›ก๏ธ Incorrect commands can disrupt the system (e.g., rm) -rf delete). ๐Ÿ” Attackers can use the ADB For data theft, if the phone is connected to someone else's PC. ADB Only on trusted devices and disable debugging after work is completed.
How to find out the password from Wi-Fi on Xiaomi if the phone is locked?
If the phone screen is locked and the debugging is USB Connect your phone to your PC and type in the command: adb shell input text 1234 & & & adb shell input keyevent 66 (where 1234 is yours) PIN-Once unlocked, use the methods in sections 1-3. If debugging is not enabled, you only have to reset the router or contact the provider.
Does this work for POCO and Redmi?
Yes, all of the methods described are applicable to POCO and Redmi phones, as they run on the same MIUI firmware. Exceptions: On POCO F1/F2 (with POCO Launcher), the path to Wi-Fi files may be different. On Redmi Note 8/9 with Android 10, the passwords in WifiConfigStore.xml are encrypted.