Forgot the password from your home Wi-Fi, but your Xiaomi or Redmi successfully connected to the network? The situation is familiar to many: the router was set up years earlier, the password was written on a piece of paper that was long lost, and now you need to connect a new device. Fortunately, on Xiaomi smartphones there are several ways to extract the saved password β both through standard MIUI settings and using hidden Android features.
In this article, weβll look at 5 proven methods that work on most models, from the Redmi Note 10 to the flagship Xiaomi 14. Importantly, not all methods are universal β some require root rights, others only work on certain versions of MIUI (12, 13 or 14). Weβve noted the limitations for each option so you donβt waste time.
We warn you right away that if you try to hack someone else's network, it is illegal (Article 272 of the Criminal Code), all the methods in this article are designed solely to extract passwords from networks that your phone is already legally connected to.
1. Standard method via MIUI settings (not working on all versions)
The easiest way is to look at the password in the Wi-Fi menu. Unfortunately, in the latest versions of MIUI 13/14 (based on Android 12/13/14), Xiaomi removed this option from the interface.
- Open the Settings. β Wi-Fi.
- Tap the current network name (not the switch!).
- If you see a window with a password field, you're in luck (ποΈ), symbolize.
If you only see a password instead of a Forget Network or Share button, you can move on to the next one, but for POCO F3, Redmi Note 11 and newer MIUI 14 models, this is probably not the right method.
β οΈ Note: Some firmware (e.g. Xiaomi.eu) may display a password field, but when you click on the glazik, you get a "failed to show password" error. This is a custom build bug β try updating the software.
2.Use of the "Share Wi-Fi" function" (QR-code)
If there is no direct viewing of the password, you can go a workaround - generate QR-This method works for all modern Xiaomi (including modern Xiaomi) POCO X5, Redmi 12 et al.) and does not require root:
- Go to Settings. β Wi-Fi.
- You tap on your network name.
- Choose Share (or Share in English firmware).
- The system will request confirmation by PIN-code, fingerprint or person β log in.
- It will. QR-And underneath it, there's a password button -- click on it to see the text.
If there is no password button, scan the QR with any crawler (e.g., Google Lens) and the search results will show a line of the type:
WIFI:T:WPA;S:MyWiFi;P:your_password_here;;Where P:your_password_here β That's your password.
Take a photo of the code and zoom in on the image.|Try another scanner (such as an app"QR & Barcode Scanner")|Check the brightness of the screen β the code should be clear|Update the firmware if the function is not working properly-->
3. View password through configuration file (file manager required)
In Android, all saved Wi-Fi passwords are stored in a system file. wpa_supplicant.conf. Access to it is limited, but on some firmware it can be read through standard Explorer or third-party managers (e.g. Solid Explorer:
- Install Solid Explorer (or any other manager with access to root folders).
- Enable the display of hidden files in the manager settings.
- Cross the path: /data/misc/wifi/WifiConfigStore Or (on older versions of Android): /data/misc/wifi/wpa_supplicant.conf
- Open the file. wpa_supplicant.conf text editor.
- Find the block with the name of your network (ssid=..) β next to the line psk=...β with the password.
If /data/ is not available, you don't have permission to read system files, and then root or the next method will help.
What if the file is empty or not?
| Android version | The path to the password file | Do you need root rights? |
|---|---|---|
| Android 9 and older | /data/misc/wifi/WifiConfigStore/wpa_supplicant.conf | Yes (on most firmware) |
| Android 8.0β8.1 | /data/misc/wifi/wpa_supplicant.conf | Sometimes not (depends on the manufacturer) |
| Android 7.0 and below | /data/misc/wifi/WPA_SUPPLICANT | No (on many devices) |
| MIUI 12/13/14 (Castom assemblies) | Different (maybe in /vendor/...) | Yes. |
4. Removing password through ADB (no root, but debugging is needed)
If you have USB debugging enabled, you can get a password through the ADB command line. This method works on all Xiaomi, including the POCO M5, Redmi A2 and other models on the latest versions of MIUI.
- π₯οΈ Computer with installed ADB Tools.
- π± Included debugging by USB on the phone (Settings) β The phone. β Version. MIUI β Tap 7 times, then return to the additional β For developers β Debugging by USB).
- π USB-cable (preferably original).
Follow the instructions:
- Connect the phone to the PC and confirm the debugging permission on the smartphone screen.
- Open the command line (or Terminal) Mac/Linux) and enter: adb shell su -c"cat /data/misc/wifi/WifiConfigStore/wpa_supplicant.conf"
- If the command doesnβt work, try an alternative way: adb shell su -cβ²ls /data/vendor/wifi/Look for files with the.conf extension.
On some Xiaomi firmware, access to the file is blocked even through ADB. In this case, only root or specialized utilities will help (about them in the next section).
π‘
If ADB If you have a "permission denied" error, try rooting first through a temporary exploit (e.g., Magisk). XDA Developers have instructions for specific Xiaomi models.
5. Special applications for viewing Wi-Fi passwords
Google Play has utilities that make it easier to extract passwords. They don't require root, but they don't work on all devices.
- π WiFi Password Viewer β Shows saved networks and passwords (requires Android 10)+).
- π± WiFi Key Recovery β Works on some firmware MIUI rootless.
- π οΈ Root Browser β If you have root, itβs the most reliable way to do it.
Examples of WiFi Password Viewer:
- Download and install the app.
- Run it and give access to your Wi-Fi settings (if requested).
- In the list of networks, find your own and tap it - the password will appear in a separate window.
Note that many of these apps contain ads or require premium access to work properly, and may not work on the latest versions of MIUI 14 due to tighter security policies.
β οΈ Note: Do not install applications from unknown sources (APK-Forum files. They often have viruses or spyware embedded in them, masquerading as Wi-Fi hackers. Use only proven utilities from Google Play.
6. Alternative methods (if nothing has worked)
If all of these methods fail, radical options remain:
- π Reset router. Press the Reset button on the back of the router (hold on) 10β15 After that, the network will be called by default (e.g, TP-Link_1234), And the password is on the sticker of the device.
- π‘ Connection to WPS. If your router supports WPS, press the corresponding button on the case, and on the phone select Connect via WPS You donβt need a password, but the method doesnβt work on all Xiaomi models.
- π» View on another device. If you have a Windows laptop on the same network, you can see the password through Network Control. β Wireless network β Properties β Security (Ticks Display entered signs).
Last tip: If you often forget passwords, save them to Google Password Manager or specialized managers (such as Bitwarden).
π‘
On new Xiaomi smartphones (2023-2026), the manufacturer actively blocks access to Wi-Fi passwords through system files. 13T Redmi Note 13, the most reliable methods are QR-code ADB.