Why you might need a Wi-Fi password from your Xiaomi phone
Have you ever faced a situation where you need to connect a new gadget to your home network, but the Wi-Fi password is long forgotten? Or a guest asks for Internet access and a piece of code is lost two years ago? Xiaomi smartphones (including Redmi and POCO models) keep all the connected networks, but do not show passwords in plain form - this is a security measure.
In this article, we will discuss 5 working methods for viewing the Wi-Fi password on a Xiaomi phone, from simple (through settings) to advanced (using ADB). Importantly, none of these methods require root rights unless you use specialized applications.
Before you start, make sure your Xiaomi phone is already connected to the right Wi-Fi network. If the network is saved but not active, some methods may not work. Also remember: extracting passwords from someone else's devices without the owner's permission may violate data privacy law.
Method 1: Viewing your password through Xiaomi settings (MIUI 12β14)
The easiest method is to use the built-in password sharing feature in MIUI, which works on most modern Xiaomi devices (starting with MIUI 12) and does not require additional software.
- Open the Settings. β Wi-Fi.
- Find the network you want in the list and tap it by its name.
- In the window that opens, click Share your password (or Share in English firmware).
- The system will request confirmation by fingerprint, PIN-code-key.
- After authorization on the screen will appear QR-code and text password underneath.
β οΈ Note: If there is no option to share your password, then your version MIUI It doesn't support this function, so move on to the next one.
Device connected to the desired Wi-Fi | MIUI version not lower than 12| The "Share Password" function is available in the network menu | You have access to unlock the screen-->
This method works on models:
- π± Xiaomi 13/13T/14, Redmi Note 12/13, POCO F5/X5
- π± Redmi 10/11, POCO M5/M6 (re-fixed)
- π± All devices with MIUI 12-14 on board
Method 2: Using a file manager (without root)
If the first method didn't work, you can try extracting the password through the system files. MIUI) Wi-Fi passwords are stored in an encrypted file wpa_supplicant.conf. Access to it is possible without root rights, but you will need a file manager with access to system folders (for example, FX Explorer or Solid Explorer).
Instructions:
- Install FX Explorer from Google Play.
- Open the manager and go on the path: /data/misc/wifi/WifiConfigStore/
- Find the file. wpa_supplicant.conf Open it with any text editor.
- The file will list all saved networks in the format: network={ ssid="Name network" psk="password" key_mgmt=WPA-PSK }
β οΈ Attention: On some firmware MIUI file-access /data/misc/wifi/ It can be limited even to a file manager. ADB (method 4) or specialized utilities.
π‘
If the file wpa_supplicant.conf Whether it is empty or not, try to find it by an alternative path: /data/misc/wifi/WifiConfigStore/SoftApConfigStore/. Sometimes passwords are duplicated there.
Method 3: Apps for viewing Wi-Fi passwords
There are several apps on Google Play that can extract stored Wi-Fi passwords without root permissions, and they run through the same system files, but automate the process.
- π WiFi Password Viewer - shows all saved networks and their passwords. MIUI, It may not work on new versions of Android 13.+.
- π WiFi Key Recovery - Recovers passwords from backups. Requires presetting backup.
- π WiFi Password Show is a simple interface, but sometimes it doesnβt show all networks.
How to use:
- Install one of the applications (links below).
- Run it and give access to the Warehouse and Wi-Fi settings.
- In the list, find the desired network β the password will be displayed next to the name.
β οΈ Note: Some antiviruses (e.g. Avast or Dr.Web) may block such applications, considering them potentially dangerous. This is a false positive - programs do not steal data, but just read system files!
| Annex | Reference | Works for MIUI? | Needs root? |
|---|---|---|---|
| WiFi Password Viewer | Download | Yes (partially) | No. |
| WiFi Key Recovery | Download | Yes. | No. |
| WiFi Password Show | Download | Yeah (not always) | No. |
Method 4: Retrieving passwords through ADB (for advanced)
If previous methods didnβt work, you can use Android Debug Bridge (ADB), a debugging tool that lets you execute commands on your phone from a computer, which works on any Xiaomi device, but requires preparation.
What you need:
- π₯οΈ Computer with Windows/macOS/Linux.
- π± USB-cable.
- π οΈ Installed drivers ADB and Fastboot (you can download here).
- π§ Included debugging by USB phone-on.
Step-by-step:
- Turn on the developer mode on Xiaomi: Go to Settings β About Phone β MIUI version and tap it 7 times.
- Return to Settings β Additional β For developers and activate Debugging over USB.
- Connect your phone to your computer and confirm your trust in the device.
- Open the Command Prompt (Windows) or Terminal (macOS/Linux) and enter: adb shell su -c "cat /data/misc/wifi/WifiConfigStore/wpa_supplicant.conf"
- If the team fails, try an alternative path: su -c "cat /data/misc/wifi/WifiConfigStore/SoftApConfigStore/wpa_supplicant.conf"
β οΈ Attention: On some firmware MIUI file-access ADB It can be blocked, and then only unlocking the bootloader and getting root rights will help, which will void the warranty.
What if the ADB canβt see the device?
Method 5: Viewing the Password on the Router (Alternative Method)
If none of the ways on the phone worked, you can get the password directly from the router. This is a universal method that works independently of the Xiaomi model. You'll need access to the router's web interface.
Instructions:
- Find out. IP-The router address is usually 192.168.0.1 or 192.168.1.1. You can check the Wi-Fi settings on your phone (tap the network name). β Network management).
- Open the browser on your phone or computer and enter IP-address.
- Enter the login login and password (usually admin/admin or listed on the router sticker).
- Go to Wi-Fi (or Wireless) β Security.
- Find the Password or PSK field, where the current network key will be displayed.
π‘ If you have never changed your router password, it may match your factory password (indicated on a device sticker called "Wi-Fi Key" or "Password").
| Mark the router | Standard. IP-address | Default login/password |
|---|---|---|
| TP-Link | 192.168.0.1 or 192.168.1.1 | admin/admin |
| Xiaomi Mi Router | 192.168.31.1 | It's on the sticker. |
| ASUS | 192.168.1.1 | admin/admin |
| Keenetic | 192.168.1.1 | admin/1234 |
Frequent Mistakes and How to Avoid Them
When trying to extract a Wi-Fi password on Xiaomi, users often face typical problems, and here are the most common ways to solve them:
- π File. wpa_supplicant.conf empty β Check out alternative paths (/data/misc/wifi/WifiConfigStore/SoftApConfigStore/) or use ADB.
- π No access to system folders β Install a file manager with root support (such as Root Explorer) or use it ADB.
- π΅ The phone is not connected to Wi-Fi β Make sure the network is saved in the settings. If not, connect again.
- π₯οΈ ADB can't see the device β Check the drivers, cable and turn on Debugging by USB developer-setting.
- π The password viewing app is not working β Try another app or update it. MIUI last-minute.
β οΈ Attention: On Android devices 10+ and MIUI 12+ Google has tightened security policies. Some methods (e.g. reading) wpa_supplicant.conf without root) may stop working after the updates. ADB or viewing the router's password.
π‘
If you often forget passwords, save them in a safe place (like Google Password Manager or KeePass) and this will eliminate the need to extract them manually.