Forgot your home Wi-Fi password, and the router doesn't have a sticker with an access code? Xiaomi Redmi can retrieve your saved password from the network, even if you're not a router administrator. In this article, we'll discuss 5 working methods, including official methods through MIUI settings and alternative solutions for advanced users.
Importantly, not all methods work on the latest versions of MIUI 14/15 due to tightening security policies. We tested the instructions on the Redmi Note 10/11/12, Redmi 9/10 and POCO X3/X4 models, but there are no universal guarantees - much depends on the firmware version and access rights. If the standard methods did not work, look at the workaround section.
Warning: Extracting passwords from system files may violate the terms of use of some public networks (hotels, cafes).
Method 1: Viewing your password through Wi-Fi settings (MIUI 12 and older)
The easiest method is to use the built-in MIUI feature to display the password. It works on most Xiaomi Redmi devices with MIUI 12 firmware and later, but requires the phone to be already connected to the target network.
Instructions:
- π± Open the Settings app (cog icon on the desktop).
- π Go to the Wi-Fi section (or Connections) β Wi-Fi on new versions).
- π Find your network in the list and tap it by its name (not by switch!).
- ποΈ In the window that opens, click on the icon. QR-Share or share (depending on version) MIUI).
- π Confirmed by PIN-a code, print or pattern lock will display a password in the form of text or QR.
Limitations of the method:
- β Not working. MIUI 11 and older (until 2020).
- β Does not show passwords from networks that the phone previously connected to, but is now disabled.
- β You may need additional authentication (e.g., entering a password from your Mi Account).
βοΈ Preparation before reviewing the password
If you only see a password instead of a password QR-code, it can be scanned by any reading application QR (For example, Google Lens or Kaspersky QR Scanner. In some versions MIUI The password is displayed immediately under the code in the form of text.
Method 2: Use of the configuration file wpa_supplicant (rootless)
On Xiaomi Redmi phones, passwords from Wi-Fi networks are stored in a system file wpa_supplicant.conf. You can access it without the rights of a superuser (root), but you will need to USB-debug.
Step-by-step:
- Turn it on. USB-Debugging on the phone: Go to Settings β About the phone, tap 7 times on the version MIUI, To activate Developer Mode. Go back to Settings. β Additionally. β For developers and enable debugging by USB.
Connect your phone to your PC
File transfer
ADB
on the computer:
- Execute the commands to extract the file: adb shell su -c "cat /data/misc/wifi/WifiConfigStore.xml" > wifi_passwords.txt If the command fails, try an alternative path: adb pull. /data/misc/wifi/WifiConfigStore.xml
π‘
If the adb shell command gives an error "permission denied", try adb root first (it does not work on all firmware).
Important nuances:
- π§ Nana MIUI 14+ The path to the file may be different: try it. /data/vendor/wifi/WifiConfigStore.xml.
- π The file is encrypted on some firmware - in this case, the method will not work.
- π± After retrieving the password, it is recommended to disable USB-debugging.
What to do if the file is empty?
Method 3: Export backup with passwords (MIUI Backup)
MIUI allows you to back up your system data, including your Wi-Fi settings. This method doesnβt require root or ADB, but only works if you havenβt previously turned off password reservations in your settings.
How to extract the password:
- Open Settings β About the phone β Backup.
- Click Create Backup and select System Settings (make sure the tick is next to Wi-Fi).
- Wait until the reservation is completed and remember the save path (usually /MIUI/backup/AllBackup).
- Connect your phone to your PC and copy the backup file (.mbk extension).
- Use the MiuiBackupExtractor utility to extract data: java -jar MiuiBackupExtractor.jar decode backup_file.mbk output_folder The password from the archive is yours. PIN-phone-code.
- In the unpacked files, find wifiConfig.xml β there will be passwords in plain form.
Challenges and solutions:
| Problem. | Decision |
|---|---|
| A backup copy is not created. | Check the available space on your phone (you need β₯1 GB). Turn off battery optimization for the Backup app. |
| MiuiBackupExtractor is making an error | Install Java 8+. Try running the utility through the command line with administrator rights. |
| There's no passwords in the backup. | Before you create a copy, connect to the network you want and restart your phone. Re-reserve. |
| .mbk file corrupted | Try to create a copy again by disabling Data Compression in the reservation settings. |
π‘
Backup is the only official way to extract passwords without root, but it only works if you havenβt previously disabled saving Wi-Fi data in your privacy settings.
Method 4: Password Viewing Apps (root required)
If your Xiaomi Redmi has superuser rights (root), you can use specialized applications to view all saved passwords, which is suitable for advanced users, since it requires unlocking the bootloader and installing Magisk or SuperSU.
Top.-3 tested applications:
- π WiFi Password Viewer β shows passwords as a list with copyability.
- π‘ WiFi Password Recovery β Exports passwords to.txt file.
- π Wifi Password Key Recovery (requires Xposed Framework) β for older versions of Android.
How to use:
- Install one of the applications from the list.
- Provide root access when requested.
- In the main window of the application, find your network in the list.
- Slip over the network - the password will be displayed (proof by fingerprint may be required).
β οΈ Attention: Installing root on Xiaomi Redmi will void the warranty and may result in blocking of banking applications (Sberbank, Tinkoff, etc.) Before unlocking the bootloader, create a full backup through the service. TWRP.
On phones with a MediaTek processor (e.g. Redmi 9A/9C), unlocking the bootloader can cause you to lose your IMEI. Before the procedure, save a backup of the nvram partition.
Method 5: Bypasses (if nothing works)
If standard methods don't work, try alternative solutions. They're less reliable, but they sometimes help in desperate situations.
Option 1: Viewing the password on another device
- π» On Windows: Open Command Prompt and execute: netsh wlan show profile name="NAME NETWORK" key=clear password will be in the key contents line.
- π On MacOS: Open the Terminal and enter: security find-generic-password -wa "NAME NETWORK"
- π± On another Android: Use the method with QR-code (Method 1) or WiFi Key Recovery (requires root).
Option 2: Reset router
If you have physical access to the router, you can reset it to factory settings:
- Press and hold the Reset button (usually located on the back) for 10-15 seconds.
- Wait for the router to restart (indicators blink).
- Connect to a network with the router name (for example, TP-Link_1234) β The password will be standard (specified on the sticker).
β οΈ Warning: Resetting the router will remove all settings, including port forwarding, parental controls and static IP. If the router is provided by a provider (for example, Rostelecom or Beeline), after resetting, you may need to reconfigure the Internet connection.
Option 3: Contact the provider
If the network is owned by your Internet Service Provider (for example, MTS Smart WiFi or Beeline_Home), password:
- π Find out by phone hotline (number specified in the contract).
- π Find in the Personal Account on the provider's website (Service section) β Wi-Fi).
- π View the documents issued when connecting (usually the password is indicated on the last page of the contract).
Security: How to Protect Your Passwords from Leakage
If you successfully extract a password, you should consider protecting your network from such actions by third parties.
1.Change the standard router password
- π Use a combination of 12+ symbols with capital letters, numbers and special symbols (for example, K7#pL9!mQ2$v).
- β Avoid obvious sequences: 12345678, qwerty, dates of birth.
2. Set up a guest network
Modern routers (e.g. Xiaomi Mi Router, TP-Link Archer) support Guest Wi-Fi:
- π‘οΈ Guests connect to a separate network with limited access to local devices.
- π Guest network passwords can be changed more often (for example, once a month).
3. disable password saving in MIUI
To prevent password leakage through backups:
- Go to Settings β Google β Backup.
- Turn off the option of backup of application data.
- In Settings β Memory β Backup MIUI uncheck the box from Wi-Fi.
4. Use WPA3 instead of WPA2
WPA3 (available on routers since 2019) protects against most password-bashing attacks.
- π₯οΈ Go to the router control panel (usually 192.168.0.1 or 192.168.1.1).
- π In the Wi-Fi section β Select security WPA3-Personal (or WPA2/WPA3 compatiblely).