Forgot the password from your home Wi-Fi, which your Xiaomi is connected to, but do not want to flip the router to look for a sticker? Or you need to share the network with a guest, and the password has long since been erased from memory? In this article, we will discuss all the current ways to view the saved password from Wi-Fi directly on your Xiaomi phone (including Redmi models, POCO, Black Shark) without using a computer or root rights.
Itβs important to understand that Android smartphone makers (including Xiaomi) deliberately hide passwords from users for security reasons. However, there are loopholes in the MIUI shell that allow you to extract this information from embedded tools to third-party applications. We tested each method on devices with MIUI 12-15 and Android 10-14 to ensure that it works in 2026.
We warn you right away that some of these methods require super-user rights, but we'll focus on the non-root solutions that the average user can use. If you're ready to experiment, let's get started!
1. Standard way through Xiaomi settings (MIUI 14+)
Starting with MIUI 14 (and partly in) MIUI 13 on some models, there's a built-in Wi-Fi password viewing feature -- but with caveats. It only works for networks connected manually (not through a network). WPS or QR-code) and requires fingerprint/password confirmation.
Instructions:
- Open the Settings. β Wi-Fi.
- Tap the current network name (not the switch!).
- Select Share Password (or Share in English firmware).
- Confirm your identity with the help of PIN-code, fingerprint or facial recognition.
- The password will appear as QR-code and text.
β οΈ Limitations of method:
- π It does not work for networks connected through WPS router.
- π In some models (POCO F5, Redmi Note 12 Pro+) Additional confirmation is required through Mi Account.
- π± Not available on custom firmware devices (e.g. LineageOS).
2.Use of Wi-Fi configuration file (without root)
All Wi-Fi passwords on Android are stored in an encrypted file wpa_supplicant.conf. There is no root access to Xiaomi, but there is a workaround through it. ADB (Android Debug Bridge. This method works on all versions MIUI, It requires a computer with drivers installed. ADB.
Step-by-step:
- Turn on Developer Mode on your phone: Go to Settings β About Phone. Tap 7 times on MIUI Version. Go back to Settings β Additional β Developer. Activate USB Debugging.
File transfer
Command line.
Terminal
adb shell
su -c "cat /data/misc/wifi/WifiConfigStore.xml | grep 'SSID=' -A 10"If the team doesnβt work, try an alternative:
adb pull /data/misc/wifi/WifiConfigStore.xml
notepad WifiConfigStore.xmlIn the file that opens, find the string with your SSID (network name) β next to the PreSharedKey field with a password.
Install drivers ADB PC-only|Enable debugging on USB Xiaomi|Connect the phone in file transfer mode|Download platform-tools from Google-->
β οΈ Attention: MIUI 15 Android 14 The path to the configuration file has changed to /data/vendor/wifi/wpa/wpa_supplicant.conf. If the first method didnβt work, use the new path in the adb pull command.
3. applications for viewing passwords (without root)
There are apps on Google Play that promise to show Wi-Fi passwords without root, but 90 percent of them are scams. We tested real-world utilities that extract data from system files through legitimate Android APIs.
Top.-3 tested applications:
| Annex | Works for MIUI? | Needs root? | Reference |
|---|---|---|---|
| WiFi Password Viewer | Yes (MIUI 12-14) | No. | Google Play |
| WiFi Password Recovery | Partially (MIUI 13+) | No. | Google Play |
| WiFi Key Recovery | Yes (all versions) | Backup only. | Google Play |
How to use:
- Install one of the applications at the link.
- Launch and provide access to the Warehouse and Wi-Fi settings.
- In the list of networks, find the desired one and tap it - the password will appear in the form of stars with the Show button.
β οΈ Note: Applications like WiFi Password Hack or Show Password with thousands of downloads often contain viruses or show ads instead of the result.
π‘
If the application does not show a password, try backing up your Wi-Fi settings through Settings β System β Backup and restore it to WiFi Key Recovery.
4. Viewing the password through a backup (MIUI Backup)
This method works on all versions of MIUI and does not require root or ADB. The point is to create a local backup of your Wi-Fi settings and then extract the password from it through a text editor.
Instructions:
- Open Settings β About the phone β Backup.
- Select Local Backup β Settings.
- Check only Wi-Fi and click Reserve.
- After you complete the copy, go to File Manager β MIUI β backup β AllBackup.
- Find a file with the.ab extension (for example, 20260515_123456.ab) and rename it.zip.
- Unclick the file and open the folder apps/com.android.providers.settings.
- Find the settings.db file and open it through a SQLite editor (e.g., DB Browser for SQLite).
- Go to the Data Review tab β The passwords will be in the column. pre_shared_key.
πΉ Alternative: If you donβt want to mess with the database, upload settings.db to the SQLite Viewer website and complete the request:
SELECT * FROM wifi WHERE ssid='NAZVANIE_VASHIEI_SETI';What to do if a backup copy is not created?
5. Methods for rooted devices
If your Xiaomi has Magisk or another root manager installed, the process is simplified to a few clicks. We recommend two proven methods:
Method 1: Root Explorer
- Install Root Explorer or FX File Explorer from Google Play.
- Provide root access when requested.
- Go to /data/misc/wifi/ (MIUI 12-13) or /data/vendor/wifi/wpa/ (MIUI 14+).
- Open the file. wpa_supplicant.conf text-editor.
- Find the block with your SSID β the string psk="your password" contains the desired.
Method 2: Through Terminal Emulator
- Install Termux or Terminal Emulator.
- Enter the command:
su
cat /data/misc/wifi/WifiConfigStore.xml | grep -A 5 'SSID="VASHA_SET"'πΉ For MIUI 15: Use the team:
su
sqlitedb /data/data/com.android.providers.settings/databases/settings.db "SELECT * FROM wifi;"β οΈ Note: Some firmware (e.g. Xiaomi.EU) may have different paths to Wi-Fi files. If standard commands fail, check for files in the file. /data/misc_ce//wifi/ or /data/misc_de//wifi/.
6. Alternative methods (if nothing has worked)
If none of the above methods worked, try these options:
- π± Connecting to a router via Mi Home: If your router is supported by the Xiaomi ecosystem (e.g. Mi Router) 4A), Open the Mi Home app, find the device and see the password in its settings.
- π₯οΈ PC View: If your phone has ever connected to this Windows Wi-Fi, open the Control Panel β Network control centre β Change the adapter settings, right-click on the network β Properties of wireless network β Security β Note the signs that are entered.
- π Router reset: The last method is to press the Reset button on the back of the router (hold on). 10 After that, the network will be called by default (e.g, TP-Link_1234), a the password is indicated on the device sticker.
π‘ Xiaomi Ownersβ Tip: If You Often Forget Passwords, Enable Automatic Connection to Known Networks in Settings β Wi-Fi β The phone will automatically connect to the saved networks without asking for a password.
π‘
On devices with MIUI 15 and Android 14, standard methods may not work due to tighter security policies, in which case, use ADB or backup.