How to see the password from Wi-Fi on the phone Xiaomi Redmi: all working methods

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

Done: 0 / 4

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:

  1. 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?
Alternative search paths: - /data/misc/wifi/WifiConfigStoreSoftAp.xml (for access points) - /data/misc/apexdata/com.android.wifi/WifiConfigStore.xml (on Android 10+) If files are missing, try the root-rights or backup method (see next section).

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:

  1. Open Settings β†’ About the phone β†’ Backup.
  2. Click Create Backup and select System Settings (make sure the tick is next to Wi-Fi).
  3. Wait until the reservation is completed and remember the save path (usually /MIUI/backup/AllBackup).
  4. Connect your phone to your PC and copy the backup file (.mbk extension).
  5. 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.
  6. 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 errorInstall 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 corruptedTry 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:

  1. Install one of the applications from the list.
  2. Provide root access when requested.
  3. In the main window of the application, find your network in the list.
  4. 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:

  1. Press and hold the Reset button (usually located on the back) for 10-15 seconds.
  2. Wait for the router to restart (indicators blink).
  3. 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).
πŸ“Š What way did you help?
Through Wi-Fi settings (Method 1)
File. wpa_supplicant (Method 2)
Backup copy (Method 3)
Appendix with root (Method 4)
Nothing helped.

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:

  1. Go to Settings β†’ Google β†’ Backup.
  2. Turn off the option of backup of application data.
  3. 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).

FAQ: Frequent questions about Wi-Fi passwords on Xiaomi Redmi

❓ Can I find out the password from the Wi-Fi that my phone connected to a year ago?
Yes, but only if: πŸ“± The phone did not reset to factory settings. πŸ”„ In the settings MIUI Wi-Fi data backup is not disabled. πŸ“ File. WifiConfigStore.xml has not been cleaned (e.g. by a cleaner application like Clean Master). 2 (ADB) or 3 (If the network has not been used for a long time, the data may have been deleted by the system.
❓ Why in the file wpa_supplicant.conf The password is displayed in encrypted form?
Starting with Android 10 and MIUI 12, passwords in system files can be encrypted using keys tied to the device: πŸ”‘ Try to extract the password through the root application (Method 4). πŸ“± On some firmware helps roll back to an older version MIUI (for example, 14 to 12). πŸ’» Use a PC: If the phone ever connected to this Wi-Fi, the password could have been saved to Windows or MacOS (see Method 5).
❓ Does the way with QR-code on Redmi with custom firmware (for example, LineageOS)?
No, the generation function. QR-code with a password - a corporate feature MIUI. On custom firmware (e.g. LineageOS, Pixel Experience), this method doesn't work: πŸ“Œ Use it. ADB (Method 2) β€” The path to the file may be different (/data/misc/wifi/WifiConfigStore.xml β†’ /data/misc/apexdata/com.android.wifi/WifiConfigStore.xml). πŸ”§ Install the Magisk Wifi Password Viewer.
❓ Can I find out the password from the Wi-Fi neighbor through Xiaomi Redmi?
No, it's impossible without physical access to his router or devices that have previously connected to this network. All the methods in this article only work for networks that your phone has already connected to: 🚫 Violate article 13.11 of the administrative code of the Russian Federation ("Violation of the rules of operation of communication networks"). πŸ”’ Could lead to a blockage. MAC-Your phone address on the provider’s network. πŸ“΅ Modern routers (for example, Keenetic, ASUS RT-AX) If you need the Internet urgently, you should use a mobile hotspot or ask for a password from the network owner.
❓ After updating MIUI All the ways stopped working?
Xiaomi regularly tightens security policies in new versions MIUI. If, after the update (for example, with the MIUI 13 on MIUI 14) stopped working: πŸ”„ Method 1 (QR-code: try resetting network settings (Settings) β†’ Wi-Fi β†’ Additionally. β†’ Reset your network settings) and connect again. πŸ“± Method 2 (ADB): Check the new path to the file. MIUI 14+ it could be /data/vendor/wifi/WifiConfigStore.xml. πŸ”§ Method 4 (root: Update Magisk to the latest version and reinstall Wi-Fi modules. If nothing works, it stays: πŸ“‘ Reset the router (see Method) 5). πŸ“ž Contact the provider for a new password.