Forgot the password from home Wi-Fi, and the router is in an inaccessible place? Or you need to connect a new gadget, but the sticker with the security key is long lost? POCO There are several ways to extract a saved password from the network, and most of them do not require the rights of a superuser (root). MIUI 14/15 Android 13/14, including hidden system functions and workarounds for older models.
It's important to understand that the manufacturer intentionally restricts access to Wi-Fi passwords for security reasons. So some methods may not work on the latest firmware versions or require additional actions. We tested the instructions on the Xiaomi 13 Pro, Redmi Note 12 and POCO X5 - the results are summarized in the comparison table below. If your model is older than 2020, check the section on alternative methods: it describes solutions for devices on MIUI 11-12.
1. Standard method: via MIUI settings (without root)
The easiest way is to use the built-in password viewing feature that came out in MIUI 12.5 and later, which unfortunately doesn't work on all devices: Xiaomi is gradually removing this option from newer firmware versions, but if your smartphone supports it, you're in luck.
To check:
- Open the Settings. β Wi-Fi.
- Tap the name of the connected network (not the switch!).
- Scroll down and find Show Password or Share Password.
- Confirm the fingerprint action, PIN-code-key.
If you don't have a point, move on to the next way. On some models (e.g. Redmi). 10C) Instead of a password, it is only displayed. QR-In this case, you can scan it with another device or use a decoding application (more on this below).
2.Use of QR-network code (alternative to MIUI 14+)
Starting with MIUI 14, Xiaomi has replaced the display of text password to generation QR-This is done to make it easier to connect new devices, but it makes it harder if you want a security key:
- π± Open the Settings. β Wi-Fi and tap on the current network.
- π Find the share button or QR-code (usually at the bottom of the screen).
- πΌοΈ Take a screenshot. QR-code (squeeze power supply) + Turning down the volume).
- π Use any crawling app (e.g. Google Lens or Google Lens) QR & Barcode Scanner to decrypt the code.
As a result, you will get a line of the form:
WIFI:T:WPA;S:MyWiFi;P:your_password_here;;Where P: is your password. If the scanner doesn't recognize the format, try online services like ZXing Decoder.
π‘
In some models (for example, POCO F4) QR-The code can be scanned by the second phone immediately - the password will be pulled automatically without manual input.
3. View through the configuration file (file manager required)
All saved networks and their passwords are stored in a system file. wpa_supplicant.conf. It can be accessed through the built-in file manager or third-party applications like FX File Explorer or Solid Explorer. Important: this method only works on devices without encryption or with unlocked bootloader.
Instructions:
- Install FX File Explorer from Google Play.
- Launch the application and give access to internal memory.
- Go to /data/misc/wifi/WifiConfigStore/ Or (for older Android versions): /data/misc/wifi/
- Find the file. wpa_supplicant.conf Open it with any text editor.
- Look for blocks of the type: network={ ssid="Name network" psk="password" key_mgmt=WPA-PSK }
On MIUI 13+, this file may be encrypted or unavailable without root permissions. If /data/ does not open, try the ADB method (Section 5).
Enable USB debugging in developer settings |Install FX File Explorer or Root Explorer |Give the application access to the root folder |Get a backup of the file before editing-->
4. applications for viewing passwords (with and without root)
If the standard methods didn't work, you can use third-party utilities. We tested 5 popular apps -- the results are in the table below. Note: most of them require root rights or only work on older versions of Android.
| Annex | Root | MIUI 14/15 | Android 13/14 | Reference |
|---|---|---|---|---|
| WiFi Password Viewer | β No. | β οΈ Partially. | β Yes. | Play Market |
| WiFi Key Recovery | β Yes. | β Yes. | β Yes. | Play Market |
| Root Browser | β Yes. | β Yes. | β Yes. | Play Market |
| WiFi Password (No Root) | β No. | β No. | β No, Android only. 9-11) | Play Market |
| ES Conductor (old version) | β No. | β οΈ Only MIUI 12 | β No. | APKCombo |
WiFi Password Viewer is the only application that sometimes runs without root on newer versions of MIUI. It reads the system cache where password traces may remain. The method is ~30% successful, so don't count on it as the main one.
β οΈ Note: Applications like WiFi Key Recovery require full root access, and installing such utilities on devices with banking applications (Sberbank, Tinkoff) can lead to the blocking of payment services due to a violation of security policies.
5. Method through ADB (for advanced users)
If you have USB debugging enabled, you can extract passwords through Android Debug Bridge (ADB), which doesn't require root, but requires minimal command line skills, suitable for MIUI 12-15 and Android 10-14.
Step-by-step:
- Download ADB Tools and unpack it into a folder on your PC.
- Put it on your phone: π§ Settings β The phone. β Version. MIUI (Tap 7 times to activate the developer mode). π§ Back to Settings β Additionally. β For developers and enable debugging by USB.
File transfer
Command line.
Terminal
adb devices(Your device should be displayed)
adb shell
su
cat /data/misc/wifi/WifiConfigStore/SoftAp/wpa_supplicant.confIf the command returns a Permission denied error, try an alternative path:
adb pull /data/misc/wifi/WifiConfigStore/SoftAp/wpa_supplicant.conf C:\temp\The file will be saved to disk. C:\temp\ β open it up.
β οΈ Note: On some firmware Xiaomi blocks access to /data/ even ADB. In this case, only unlocking the bootloader and obtaining root rights will help.
What if the ADB canβt see the device?
6. Alternative methods for older models (MIUI 11 and below)
On devices up to MIUI 12 (e.g., Redmi Note 8 Pro, Mi 9T), you can exploit old firmware vulnerabilities, one of the working methods is exporting settings through TiBackup (requires root) or reading system logs.
Instructions for MIUI 11:
- Install Terminal Emulator from Play Market.
- Launch the terminal and type in: su cat /data/misc/wifi/*.conf
- Look for the line psk="..." - this is the password.
For devices without root, a workaround will be suitable through backup:
- π² Go to Settings. β System system β Backup.
- π Create a local copy (select Wi-Fi settings in the data list).
- π Find the backup file in the folder MIUI/backup/AllBackup.
- π Open it with an archiver (such as ZArchiver) and find it. wifiConfig.xml.
Important: Newer versions of MIUI encrypt backups, so the method only works on firmware older than 2020.
7.If nothing worked: Router reset and other options
When all the software methods are exhausted, there are radical solutions, and the downside is that you need to reconfigure the router, but sometimes that's the only way out.
- π Router reset: Press the Reset button on the back of the router (hold on) 10-15 Password will be reset to factory (indicated on the sticker).
- π Call provider: If the router issued an Internet provider (Rostelecom, MTS, Beeline), call in support - they can provide a password by the contract number.
- π₯οΈ Connection to PC: If the router supports WPS, connect to it from your laptop and look at the password in the Control Panel β Network connections.
- π οΈ Disassembly of router: On some models (for example, Xiaomi Mi Router) the password is indicated on the internal sticker under the cover.
β οΈ Warning: Resetting the router to factory settings will remove all user settings, including tethered devices, ports and firewall rules. IP or VPN, Write down the parameters in advance.
π‘
On Xiaomi Mi Wi-Fi routers, the factory password often matches the same as the SSID (network name or consists of the last 8 characters MAC-address indicated on the sticker.