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

Forgot the password from your home Wi-Fi, and the box from the router has long been erased? Or you need to connect a new device, but laziness to look for code pieces? On Xiaomi smartphones (including Redmi, POCO and Black Shark) there are several ways to extract the saved password from the network β€” both through standard MIUI settings and with the help of additional tools.

In this article, we will discuss 5 current methods for different firmware versions (from MIUI 12 to MIUI 14), including options without superuser rights (root) and with them. Also, we will tell you how to find out the password through the router settings in case the phone is not connected to the network. All instructions are tested on Xiaomi 13 Pro, Redmi Note 12 and POCO F5 models, but they will also be suitable for other devices of the brand.

1. Standard method via MIUI settings (no root)

The easiest method is to use the built-in MIUI tools. It works on most modern Xiaomi smartphones (starting with MIUI 12.5), but requires the phone to be connected to the target Wi-Fi network. If the network is saved but disabled, connect to it first.

Instructions:

  • πŸ“± Open the Settings app (cog icon).
  • 🌐 Go to Wi-Fi (or Connections and Sharing) β†’ Wi-Fi on some models).
  • πŸ” Find the network you want in the list and tap it by its name (not by switch!).
  • πŸ‘οΈ In the window that opens, click on the icon. QR-Code (or share passwords in older versions).
  • πŸ” The system will request confirmation by fingerprint, PIN-A code or a pattern lock, and after authorization, it will be displayed. QR-code with network data, including password in text form.

Check the connection to the Wi-Fi network|Update. MIUI last-minute|Reboot the phone.|Try another method from the article-->

⚠️ Note: On some firmware (for example, MIUI 13 for global version, paragraph QR-In this case, use alternative methods from the following sections.

πŸ’‘

If QR-The code is displayed, but the password is hidden by stars, take a screenshot of the screen and zoom in on the image – sometimes the characters are visible when zooming in.

2. View password through configuration file (file manager required)

This method is suitable for users who have a file manager with access to system folders (such as MiXplorer or Solid Explorer). wpa_supplicant.conf, But you can read it without root rights if you know the way.

Step-by-step:

  1. Install a file manager with support for system folders (e.g., MiXplorer from 4PDA).
  2. Open the manager and go on the path: /data/misc/wifi/WifiConfigStore/ or (for older versions of MIUI): /data/misc/wifi/
  3. Find the file. wpa_supplicant.conf Open it with any text editor.
  4. Look for blocks of the type: network={ ssid="Name network" psk="wifi password" key_mgmt=WPA-PSK } where psk is your password.
MIUI versionThe path to the fileNeed root?
MIUI 12.5 and newer/data/misc/wifi/WifiConfigStore/No.
MIUI 11–12/data/misc/wifi/No.
MIUI 10 and older/data/misc/wifi/WifiConfigStore/Yes.
Brush firmware (LineageOS, Pixel Experience)/data/misc/wifi/Yes.

⚠️ Note: If the file manager can't see the folder /data/, So you don't have permission to read system partitions. ADB (section 4) or you'll get root access.

What to do if the file is empty or missing?
If the file wpa_supplicant.conf empty or not, that means that: 1. The phone has never connected to Wi-Fi (unlikely). 2. Network settings reset (for example, after resetting to factory settings). 3. MIUI Uses a different method of storing passwords (relevant to the MIUI 14 Android 13+). In this case, try the method with ADB or through router settings.

3. Use of applications to view passwords (without root)

If previous methods didn’t work, you can use third-party applications. Importantly, most of these programs require root rights, but there are exceptions. For example, WiFi Password Viewer (from Simone Dev) can extract passwords on some Xiaomi firmware without additional permissions.

Top.-3 Wi-Fi password-viewing applications:

  • πŸ”“ WiFi Password Viewer – This is a WiFi Password Viewer. MIUI 12-14 without root (sometimes you need to enable debugging by USB). Link to Google Play.
  • πŸ›‘οΈ WiFi Key Recovery – Suitable for older versions MIUI (up to 12.5), but may not show passwords from networks with WPA3.
  • πŸ“± Root Browser – If you have root, it’s the best option for manually searching for passwords in system files.

Instructions for WiFi Password Viewer:

  1. Download and install the app from Google Play.
  2. Launch it and provide access to Wi-Fi settings (when a request appears).
  3. In the list of networks, find the desired one and tap it - the password will appear in the Password field.
  4. If the password is hidden, click on the eye icon (πŸ‘οΈ) display.

QR-phonecode|I'm telling you the password verbally.|I'm writing on paper.|Use it. WPS router|Another way.-->

⚠️ Note: Some antiviruses (e.g. Avast or Dr.Web) may block such applications, considering them potentially dangerous. This is a false positive - WiFi Password Viewer does not steal data, but simply reads saved settings. If necessary, add it to the exceptions.

4. Method through ADB (for advanced users)

If you have USB debugging enabled, you can extract the Wi-Fi password using ADB (Android Debug Bridge) commands, which works on all versions of MIUI, but requires a computer with Xiaomi drivers installed and the ADB utility.

Step-by-step:

  1. Download ADB Tools and unpack the archive in any folder on your PC.
  2. Turn it on on the phone: πŸ”§ Settings β†’ The phone. β†’ Version. MIUI (Use 7 times to become a developer). πŸ”Œ Settings β†’ Additionally. β†’ For developers β†’ Debugging by USB.

File transfer

ADB

adb shell


su




cat /data/misc/wifi/WifiConfigStore/wpa_supplicant.conf

su

adb pull /data/misc/wifi/WifiConfigStore/wpa_supplicant.conf C:\wifi_password.txt

(The file will be saved to disk C:\).

πŸ’‘

ADB-The only way to get a password without rooting MIUI 14+, If the file manager does not see the system folders.

⚠️ Note: Some Xiaomi firmware (especially global) has access to /data/ through ADB It can be blocked, and in this case, only getting root rights or resetting router settings will help.

5. Viewing the password through the router settings

If none of the previous methods worked, or the phone is not connected to the network, you can find out the password through the router's web interface, this requires access to the router (physical or over the network) and login data (usually indicated on the sticker on the case).

Universal instruction:

  1. Find out. IP-Router address: On Xiaomi: Settings β†’ Wi-Fi β†’ Current network β†’ Additional (Gateway field) Typical addresses: 192.168.0.1, 192.168.1.1 or 192.168.31.1 (for Xiaomi Mi Router routers).

Open your browser on any device connected to this Wi-Fi and enter IP-address.

Xiaomi Router

admin

admin

Wi-Fi

Wireless network

Password.

Wireless Password

PSK

πŸ”Ή For routers Xiaomi Mi Router:

  • 🌍 Go to Settings. β†’ Wi-Fi.
  • πŸ”’ Wi-Fi password is displayed in plain form (without stars).
  • πŸ“‹ If the password is hidden, click on the eye icon (πŸ‘οΈ) near-field.

⚠️ Note: If you have not changed the standard password from the router, after logging into the web interface, be sure to change it in the System section. β†’ User management: Using default data (admin/admin) Makes your network vulnerable to hacking.

Frequent problems and their solutions

Not all methods work equally well across firmware, but here are the typical bugs and ways to fix them:

Problem.Possible causeDecision
No point"QR-code in the Wi-Fi settingsOutdated version of MIUI or custom firmwareUpdate MIUI to the latest version or use ADB
File. wpa_supplicant.conf hollowMIUI 14+ Stores Passwords in Encrypted FormTry the method with ADB or root
The app doesn't show the passwordNo rights to read system filesTurn on USB debugging or use root
ADB issues an error of permission deniedNo root rights or access blocking /data/Get root or use the method with a router
I can't go into the router settings.IP-Router address changed or blocked accessReset the router with the Reset button (hold 10 seconds)

πŸ’‘ Tip: If you often forget passwords, save them to Google Password Manager or Bitwarden. To do this, when connecting to a new network, click Save to Google account (the option appears when you first connect).

❓ Can I find out the password from Wi-Fi, which the phone is not connected to?
No, if the phone has never connected to this network, you can't extract the password, and all that remains is: View the password on another device that's connected to the network, go to the router settings (if you know the login details), reset the router to factory settings (the password will be reset to the default one on the sticker).
❓ Why in the world MIUI 14 no file wpa_supplicant.conf?
Starting with MIUI 14 (based on Android 13), Xiaomi changed the way Wi-Fi passwords are stored, and now they are encrypted and stored in a database settings.db, which can only be accessed with root rights or through ADB with increased privileges.
❓ Does the way with QR-code-wise POCO and Black Shark?
Yes, all MIUI-based smartphones (including POCO and Black Shark) support this feature unless the firmware is heavily modified, except for custom firmware devices (like LineageOS), where this item may not be available.
❓ Can you find out the password from Wi-Fi on Xiaomi without a phone (for example, from a computer)?
Yes, if: Your computer is connected to this network via Wi-Fi (see the password in Network Management Center on Windows or Keychain Access on macOS). You have access to the router (via a web interface or a manufacturer's application, such as Mi WiFi). If your computer is connected via cable but not Wi-Fi, the network password can only be found through the router's settings.
❓ What to do if you forget the password from the Xiaomi router?
If you haven't changed your default password, try it. If you've changed it and you've forgotten, Find the Reset button on the back of the router (usually in the recess). Press and hold it for 10 to 15 seconds (until the indicators start flashing). The login data and Wi-Fi password will be reset to standard (specified on the sticker). ⚠️ Warning: Resetting the router will disconnect all users from the network and remove all settings (including guest Wi-Fi, parental controls, etc.).