How to find out the Wi-Fi password on your Xiaomi phone: all the ways (including MIUI 14)

Forgot your Wi-Fi password? Xiaomi can restore it in 2 minutes

You connected to your home or work Wi-Fi network on the Xiaomi Redmi Note 12, POCO X5 or another model, but forgot your password β€” now you need to connect a new gadget? Don’t rush to reset your router or call your provider. MIUI (even in the latest versions 14/15) has hidden ways to view saved passwords without root rights and a computer.

In this article, 5 proven methods, including official (through settings), alternative (via the file system) and universal (for any Android), we took into account the features of Xiaomi firmware, where standard instructions often do not work due to customization of the interface. Importantly, on phones with MIUI 12 and later, passwords are encrypted, but they can still be extracted - read below.

Before you start: if you have guest access to the network (such as a cafe or hotel), these methods will not work – the password is not stored in the system. Also check if the phone is connected to the network via WPS (button on the router) – in which case the password may not be in the phone.

Method 1: Official method via MIUI settings (works on 80% of devices)

The easiest way is to use the built-in β€œShare Password” feature that appeared in the MIUI 11 and runs on all modern smartphones Xiaomi, Redmi and POCO. It does not show the password directly, but it allows you to copy or generate it. QR-code.

Instructions:

  • πŸ“± Open the Settings. β†’ Wi-Fi.
  • πŸ” Find the network you want in the list and tap it by its name (not by switch!).
  • πŸ”‘ In the window that opens, select Share (or Share in English firmware).
  • πŸ” The system requests PIN-code, pattern lock or fingerprint – enter it.
  • πŸ“‹ It will. QR-code and password (may be hidden under the button).

⚠️ Note: On some firmware (for example, MIUI 12.5 Global) the password is displayed only after scanning QR-If you don't have a second device, use method 2 or 3.

Check if you are currently connected to the network.

Update MIUI to the latest version

Reboot the phone.

Try another method from the article-->

Method 2: Viewing the password through the file wpa_supplicant.conf (advanced)

All Wi-Fi passwords on Android (including Xiaomi) are stored in a system file. wpa_supplicant.conf. Access to it is limited, but it can be read without root rights using a file manager with superuser rights or ADB.

Step-by-step:

  1. Install Solid Explorer or FX File Explorer.
  2. Turn on Developer Mode (7 times tap the MIUI version in Settings β†’ About Phone).
  3. Activate USB Debugging in Settings β†’ Additional β†’ For developers.
  4. Connect your phone to your PC and use the ADB command: adb pull /data/misc/wifi/WifiConfigStore.xml or find the file manually along the path /data/misc/wifi/ (root rights required).
  5. Open the file in the text editor and find the line preSharedKey="your password".

πŸ” Where to look: C MIUI 14 The path to the file may be different – try it. /data/vendor/wifi/ or /data/misc/apexdata/com.android.wifi/. If the file is not, then the passwords are stored in encrypted form (see method). 4).

What to do if the file is empty?
In MIUI 13+, passwords are encrypted by the system. In this case, only: 1 Use ADB with root rights (su -c cat /data/misc/wifi/*.conf) 2) Install custom recap (TWRP) to access system files 3) Method 3 or 5 of this article

Method 3: Using apps to view passwords (without root)

If previous methods didn't work, try specialized applications. They don't require root rights, but their effectiveness depends on the MIUI version and the phone model.

AnnexWorks for MIUI.Requires root.Reference
WiFi Password Viewer11–14❌ No.Google Play
WiFi Key Recovery9–12.5❌ No.Google Play
WiFi Password (Root)Anybody.βœ… Yes.Google Play

⚠️ Note: Applications without root may not show passwords to MIUI 13+ If you see a blank list after you've installed it, try it:

  • πŸ”„ Reboot the phone.
  • πŸ“₯ Update the application to the latest version.
  • πŸ› οΈ Enable Installation from Unknown Sources in Security Settings.

MIUI 14/15

MIUI 12/12.5

MIUI 11 or older

I don't know.-->

Method 4: Retrieving passwords via ADB (for technical users)

If you have a computer and a USB cable, you can use Android Debug Bridge (ADB) to extract the password, which works even on MIUI 14, but requires USB debugging enabled.

Instructions:

  1. Download ADB Tools and unpack it into a folder.
  2. Connect Xiaomi to your PC and allow debugging (a request will appear on your phone).
  3. Open the command line in the folder with ADB and type: adb shell su -c "cat /data/misc/wifi/WifiConfigStore.xml | grep psk" If there is no root, try: adb pull /data/misc/wifi/WifiConfigStore.xml
  4. In the resulting file, find the line with SSID="Network Name" and PreSharedKey="Password".

πŸ’‘ Tip: If the team returns a Permission denied error, you don't have permission to read the file. In this case, only root rights or method 5 will help.

πŸ’‘

If ADB does not recognize the device, install Xiaomi USB Drivers from the official website or through the Mi Flash Tool.

Method 5: Resetting the router - the last option

If none of the methods worked (for example, on Xiaomi with MIUI 15 or custom firmware), you have to reset the router settings, which will delete all user settings, including the Wi-Fi password, but will allow you to set a new one.

How to reset your router:

  • πŸ”Œ Find the Reset button on the back of the router (usually deepened into the case).
  • πŸ“ Press it with a paper clip or toothpick and hold it for 10-15 seconds.
  • πŸ”„ After restarting the router, connect to the network with a name TP-Link_XXXX, Keenetic-XXXX or similar (depending on model).
  • πŸ”‘ The standard password is indicated on the router sticker (e.g. admin or 8-digit combination).

⚠️ Attention: Router reset:

  • 🚫 Disconnect all devices from the network.
  • πŸ“‘ Reset PPPoE settings (you will have to re-enter the login / password from the provider).
  • πŸ”’ Remove guest networks and parental controls.

πŸ’‘

Resetting the router is the only universal way if the phone doesn't show the password, but use it only as a last resort, as it affects all connected devices.

Frequent problems and solutions

Not all methods work equally well on different Xiaomi models, and here are the typical errors and solutions:

Problem.Reason.Decision
The "Share" button is inactive.Phone's not connected to the networkConnect to Wi-Fi and try again
File. wpa_supplicant.conf hollowMIUI 13+ encrypts passwordsUse ADB or root apps
ADB does not see the deviceDrivers not installedInstall Mi PC Suite or Drivers Manually
The app shows the wrong passwordOutdated version of the programUpdate the app or try another one

πŸ“Œ Useful Life Hack: If you often forget passwords, create in Google Keep or Notes MIUI Hidden entry with logins / passwords and protect it PIN-So the data will be synchronized and accessible from any device.

Can I find out the password from Wi-Fi without root on Xiaomi with MIUI 14?
Yes, but not always. In MIUI 14, the standard method of Settings β†’ Share works 70% of the time. If not, try apps like WiFi Password Viewer or ADB. On some firmware (e.g. Xiaomi.eu), passwords are encrypted and cannot be extracted without root.
Why is the WifiConfigStore.xml password encrypted?
Starting with Android 10 and MIUI 12, Google and Xiaomi tightened data protection.Passwords are stored in format Base64 or AES-Encryption is possible only with root rights or through special scripts (for example, WiFi Password Viewer on GitHub).
Will the way to work with QR-code if the phone is not connected to the network?
No. The share button is only active for the current network to which the phone is connected. If you disconnect from Wi-Fi, connect again first. Except for the networks stored in memory (but here MIUI may not show the password).
Can I find out the password from someone else’s Wi-Fi that my Xiaomi connected to?
Technically, yes, but it violates the law (Article 272 of the Criminal Code of the Russian Federation – illegal access to computer information). We do not recommend using these methods for other networks, except if you own a network (for example, forgot the password from your router in the office).
Why did all the methods stop working after the MIUI update?
Xiaomi regularly tightens security policies, such as MIUI 13.0.6+ blocking access to system files without root, and MIUI 14 adding password encryption. Solutions: Reverse to the old firmware version (risky). Get root rights through Magisk. Use the router to reset your password.