Have you forgotten your home Wi-Fi password, and Xiaomi's phone is successfully connected to the network? The situation is familiar to many: the router set up the provider a year ago, the password is written on a piece of paper that was long lost, and now you need to connect a new device. Fortunately, there are several ways on smartphones with MIUI firmware to extract the saved password β and most of them do not require superuser rights (root) or the installation of dubious applications.
In this article, we will discuss all the current methods for Redmi, POCO, Black Shark and classic Xiaomi models (including the flagship series 12/13/14), describe the nuances for different versions of MIUI (12 to 14) and Android (10-14), and warn about pitfalls that can make some ways unavailable, such as why on some devices, viewing passwords through Settings is blocked by the manufacturer, and what to do about it.
Spoiler: If you have Xiaomi running Android 10+, the odds of seeing the password in plain sight without further manipulation are 50/50, but even then there are workarounds that youβll learn more about.
1. Standard method: viewing password in Wi-Fi settings (MIUI 12β14)
The most obvious method is to look at the connection settings, but there is a caveat: starting with MIUI 12.5 and Android 11, Xiaomi has hidden the ability to view the password in plain view out of the box. However, on some devices (especially older versions of firmware), this method still works.
Instructions:
- π± Open the Settings app (cog icon on the desktop).
- π Go to the Wi-Fi section (or Connections) β Wi-Fi on new versions).
- π Find the network to which the phone is connected in the list and tap it by its name.
- ποΈ If the password field is active, click on the eyewitness (Show password) and confirm the action with a fingerprint / pattern lock.
βοΈ What to do if the password field is inactive?
If you see stars () instead of a password, or if the field is completely missing, don't despair. This means that Xiaomi has blocked direct access to the password for "security" purposes.
β οΈ Attention: On devices with MIUI Global (European/Global firmware) password field is more often blocked than on Chinese versions (MIUI This is due to Xiaomiβs privacy policy for different regions.
2.Export of password through QR-Code (works on 90% of devices)
Few people know, but MIUI It allows you to export network data in the form of QR-code which contains SSID This method works even on newer versions of firmware and does not require root rights.
Step-by-step:
- Open the Settings. β Wi-Fi.
- Tap the name of the current network.
- Click on the icon. QR-code (usually in the upper right corner).
- The system will request confirmation by fingerprint / password - unlock.
- It'll appear on screen. QR-And underneath it, there's a line of view: WIFI:T:WPA;S:MyWiFi;P:my_password_123;; where P:my_password_123 β That's your password.
If QR-The code doesn't show up, or the password string is cropped -- try taking a screenshot and zooming in. Alternatively, you can scan this. QR other phone: Many scanning apps (like Google Lens) will show a password when you recognize it.
π‘
If QR-code is not read, try to disable the "Improving" option in the camera settings QR" β Sometimes it distorts the data.
3. Use of a Wi-Fi configuration file (requires a file manager)
All passwords from saved networks on Android are stored in the system file wpa_supplicant.conf. It can be accessed through a root file manager (such as Root Explorer) or by using a root file manager. ADB (But on most Xiaomi without root, this file is protected.
If you have root access, do this:
- π Open the file manager (e.g., MiXplorer with superuser mode enabled).
- π Cross the path: /data/misc/wifi/WifiConfigStore/ Or (on 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="sk="password" key_mgmt=WPA-PSK }
β οΈ Note: Editing or deleting this file may result in the loss of all stored networks on the device!
If you donβt have root, but you have a computer, try using the root method. ADB (4) It does not require superuser rights, but it does require a debugging bridge and USB-cable.
4. Retrieving password through ADB (without root, but with PC)
Android Debug Bridge (ADB) is a debugging tool that lets you execute commands on your smartphone from your computer, and it can pull out your Wi-Fi password even if it's hidden in the settings. It works on any Xiaomi, but requires pre-setting.
What you need:
- π» Computer with Windows/macOS/Linux.
- π USB-cable (preferably original).
- π± Included Debugging by USB phone-on.
- π οΈ Utility. ADB (You can download from the official Android website).
Instructions:
- Activate Developer Mode on your phone: Go to Settings β About Phone. Tap 7 times on MIUI Version. Go back to Settings β Additional β Developer. Turn on USB Debugging.
Connect your phone to your PC and confirm your trust in the device.
cmd
adb shell
su -c "cat /data/misc/wifi/WifiConfigStore/SoftAp/wpa_supplicant.conf"If the first command doesnβt work, try:
adb shell
cat /data/misc/wifi/WifiConfigStore/Files/*psk="your password"
On newer versions of MIUI 14, the path to the file may be different. If the commands above fail, try:
adb shell
dumpsys wifi | grep "NetworkList"What if the ADB issues a βpermission deniedβ error?
Applications for viewing passwords (with reservations)
There are dozens of apps on Google Play that promise to show saved Wi-Fi passwords, but most of them either don't run MIUI or require root, and we tested the top-end solutions and identified those that do something about it on Xiaomi:
| Annex | Needs root? | Works on MIUI 14? | Features |
|---|---|---|---|
| WiFi Password Viewer | β No. | β οΈ Partially. | Shows only manually connected networks (not automatically saved) |
| WiFi Key Recovery | β Yes. | β Yes. | Requires Magisk or SuperSU, but securely extracts all passwords |
| Network Info II | β No. | β No. | Shows only technical information about the network (without password) |
| MiXplorer (with module) | β Yes. | β Yes. | Can be opened manually. wpa_supplicant.conf via built-in editor |
Important: Do not install applications with questionable permissions (such as accessing SMS or contacts). Many "Wi-Fi hackers" are actually spyware. Before installing, check reviews and ratings in the Play Market.
β οΈ Attention: Apps like WiFi Map or Instabridge don't show passwords from your stored networks, they share other people's access points from their database.
6. Alternative methods (if nothing has worked)
If all of the above methods fail, radical or indirect solutions remain:
- π Reset router. Press the Reset button on the back of the router (hold 10-15 seconds). After reset, the password will be reset to the factory one (usually indicated on the device sticker.
- π‘ Connect to the router via cable. If you have access to the router's web interface (usually at the address) 192.168.1.1 or 192.168.0.1), You can see the password in the wireless settings. Login/password for login is often standard (admin/admin).
- π± If you have a laptop, tablet or a second phone (not Xiaomi) connected to the same Wi-Fi, try extracting the password from it. For example, on Windows, this is done through Network Control Center. β Change of adapter parameters β Properties of wireless network β Security.
Last tip: if you often forget passwords, create a secure note in Google Keep or Mi Notes with data from the router. MIUI has a built-in Private Notes feature that encrypts information - this is more reliable than storing passwords in plain sight.
π‘
On the new Xiaomi (MIUI 14 + Android 13/14) Password viewing is blocked through settings β QR-code 2) and ADB (section 4).