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:
- Install a file manager with support for system folders (e.g., MiXplorer from 4PDA).
- Open the manager and go on the path: /data/misc/wifi/WifiConfigStore/ or (for older versions of MIUI): /data/misc/wifi/
- Find the file. wpa_supplicant.conf Open it with any text editor.
- Look for blocks of the type: network={ ssid="Name network" psk="wifi password" key_mgmt=WPA-PSK } where psk is your password.
| MIUI version | The path to the file | Need 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?
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:
- Download and install the app from Google Play.
- Launch it and provide access to Wi-Fi settings (when a request appears).
- In the list of networks, find the desired one and tap it - the password will appear in the Password field.
- 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:
- Download ADB Tools and unpack the archive in any folder on your PC.
- 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.confsu
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:
- 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 cause | Decision |
|---|---|---|
| No point"QR-code in the Wi-Fi settings | Outdated version of MIUI or custom firmware | Update MIUI to the latest version or use ADB |
| File. wpa_supplicant.conf hollow | MIUI 14+ Stores Passwords in Encrypted Form | Try the method with ADB or root |
| The app doesn't show the password | No rights to read system files | Turn on USB debugging or use root |
| ADB issues an error of permission denied | No 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 access | Reset 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).