Have you forgotten your home Wi-Fi password and the router doesn't have a sticker with the data to connect to? Or do you share a network with a guest but don't remember the combination of characters? On Xiaomi smartphones (including Redmi and POCO) there are several ways to extract the saved password, both standard and hidden. In this article, we will discuss all the current methods for devices with MIUI 12-15 and Android 10-14, including bypassing the system limitations.
Importantly, not all methods work on newer firmware versions due to the tightening of Google and Xiaomi security policies.We tested the instructions on the Redmi Note 12 Pro+, POCO X5 Pro and Xiaomi 13 Lite models - the results are summarized in the comparison table below. If your phone is not rooted, start with the simplest options (sections 2 and 3).
Warning: Some methods require technical knowledge or may cause resets. On devices with MIUI 14+ and Android 13+, the only reliable way to do so without root is to use ADB (Section 5), as the system blocks access to password files through Explorer.
1. Viewing the password through the router settings (the most reliable way)
If you have access to the routerβs web interface, this method will work 100% β regardless of the phone model and the version of MIUI. The password is stored in the routerβs settings, and it can be viewed even from another device (PC, tablet).
Instructions:
- π Connect Xiaomi phone to Wi-Fi network, password from which you need to know.
- π± Open the browser and enter in the address bar 192.168.0.1 or 192.168.1.1 (standard). IP If the page doesn't open, check it out. IP in connection settings (Settings) β Wi-Fi β Current network β Management β Additionally).
- π Enter your login and password (usually) admin/admin or listed on the router's sticker).
- π Go to the Wireless Network (Wireless) section) β Wireless Security (Wireless Security) field password PSK or Key contains the desired combination.
β οΈ Note: Some routers (e.g. Keenetic or ASUS RT-AX88U) The password can be displayed as dots. To see it, click on the icon of the eye (ποΈ) near the field or copy the characters into a notebook.
2.Use of the Share Password function (MIUI 12β15)
In the firmware MIUI 12 and later appeared built-in function generation QR-It doesn't show the password explicitly, but it lets you connect another device without typing characters. If you need to know the password itself, rather than just share the network, this method isn't going to work, but it's useful for fast access transfer.
How it works:
- Open the Settings. β Wi-Fi.
- Tap the current network name (not the switch!).
- Select Share (or Share in the English version of MIUI).
- The system generates QR-It can be scanned by another phone, and it'll automatically connect to the network.
πΉ Limitation: On some models (e.g, POCO F5) This is the default feature. To activate it, go to Settings. β Additionally. β Lab (or Special Features) and enable the option QR-wifi.
π‘
If QR-code is not scanned, try to increase the brightness of the screen or turn on the "For the visually impaired" mode in the camera settings of the scanning device.
View password through configuration file (for MIUI up to 13 only)
On the old versions. MIUI (before MIUI 13 including) Wi-Fi passwords were stored in plain form in a system file wpa_supplicant.conf. Now, this method only works on devices without security updates or with data protection turned off.
Step-by-step:
- Install any file manager with access to root folders (such as FX File Explorer or Solid Explorer).
- Enable the display of hidden files in the Explorer settings.
- Go to /data/misc/wifi/WifiConfigStore/ Or (for older versions of Android): /data/misc/wifi/
- Find the file. wpa_supplicant.conf Open it with a text editor.
- Look for blocks of the type: network={ ssid="Name network" psk="wifi password" key_mgmt=WPA-PSK }
β οΈ Attention: Starting with Android 10 and MIUI 14, access to this file is blocked even for root users. /data/misc/wifi/ empty or no file, go to the next method.
What to do if the file wpa_supplicant.conf coded?
4.Use ADB (for Android 10β14 without root)
This is the most reliable way for modern Xiaomi smartphones, but it requires connecting the phone to a computer and installing Android Debug Bridge (ADB).The method works on MIUI 14/15 and does not require superuser rights.
What you need:
- π₯οΈ Computer with Windows/macOS/Linux.
- π± Cable USB (preferably original).
- π οΈ Utility. ADB Tools (download from the official website).
- βοΈ Included debugging by USB on the phone (Settings) β The phone. β Version. MIUI β 7 times tap the version number β return to Settings β Additionally. β For developers β Debugging by USB).
Instructions:
- Connect the phone to the PC and confirm the debugging permission on the smartphone screen.
- Open the command prompt (or Terminal on macOS/Linux) in the adb.exe folder.
- Execute the command to obtain a list of saved networks: adb shell "cmd" -l wifi list_networks" Remember the network number (first column) and its name (SSID).
- Find out the password by the command (replace X with the network number): adb shell "cmd" -l wifi get_password X"
π Example of inference:
Network: 0 SSID: "MyWiFi_2.4G" BSSID: -- Flags: [CURRENT]
Password: "qwerty12345"Install Xiaomi drivers on PC| Enable debugging over USB on your phone | Download ADB Tools from the official website | Connect your phone with the original cable | Run the command line on behalf of the administrator-->
5. Password viewing applications (require root)
If your Xiaomi has root access, it's a simplification, and there are dozens of apps on Google Play that read Wi-Fi passwords from system files, and we tested three of the most reliable ones:
| Annex | Root is required. | It works at MIUI 14+. | Reference |
|---|---|---|---|
| WiFi Password Viewer | β Yes. | β Yes. | Google Play |
| WiFi Password Recovery | β Yes. | β No, only until MIUI 13) | Google Play |
| Root Browser | β Yes. | β Yes (manual search) | Google Play |
β οΈ Note: Installing root on Xiaomi voids warranty and can lead to update issues. On new models (e.g. Xiaomi 14), unlocking the bootloader requires waiting 7-15 days after applying for the Mi Unlock Tool.
πΉ Alternative: If you don't want to root, but you need access to system files, try temporarily obtaining permissions through Magisk (WiFi Password Viewer for Magisk.
6. Router reset (extreme case)
If none of the methods worked and the router is physically accessible, you can reset it to factory settings, which will delete all user settings, including the Wi-Fi password, but allow you to set a new one.
How to reset your router:
- Find the Reset button on the back of the router (usually recessed in the case).
- Press and hold it for 10-15 seconds (until the lights start flashing).
- Connect to the router network via cable or Wi-Fi with a factory name (indicated on the sticker).
- Go to the web interface (192.168.0.1 or 192.168.1.1) and set up a new network.
β οΈ Note: After resetting, you will have to reconfigure:
- π Type of Internet Connection (PPPoE, DHCP etc.).
- π‘ Wi-Fi name and password (2.4 GHz and 5 GHz separately).
- π Password of router administrator.
- π± Linked devices (if access control was enabled).
π‘
Resetting the router is the last option when other methods have failed, after which all devices on the network will be disabled, and the settings of the provider (for example, for IPTV) will have to be re-entered.