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

You connected your Xiaomi Redmi to a Wi-Fi network, but you forgot your password β€” and now you need it for another device? The situation is familiar to many: the router is configured long ago, the password sticker is lost, and you need to manually enter it urgently. Fortunately, on smartphones running MIUI (even without superuser rights) there are several ways to extract the saved password. In this article, we will analyze all the current methods, from standard Android features to hidden capabilities of Xiaomi firmware.

It's important to understand that not all versions of MIUI allow you to view passwords directly, for example, in MIUI 12 and later, the manufacturer removed this option from the security interface. However, workarounds remain β€” and we tested them on Redmi Note 10/11/12, POCO X3/X4 and other popular devices. If your phone is rooted, the task is simplified significantly, but there are no root permissions.

1. Standard method through settings (MIUI 11 and older)

The simplest method works on firmware up to MIUI 12 inclusive. If you have a newer version, skip this section, it won't work.

  1. Open the Settings. β†’ Wi-Fi.
  2. Click on the name of the current network (to which the phone is connected).
  3. In the window that opens, select Share Password (or Share in English).
  4. Confirm the action with a fingerprint, pattern lock or PIN-code.

After that, it will appear on the screen. QR-The code and the text password below, which can be copied or scanned by another device. 9A) Instead of a password, it can only be displayed. QR-code – in this case, use a scanner to recognize it.

πŸ“Š What version? MIUI It is installed on your Xiaomi Redmi?
MIUI 12
MIUI 13
MIUI 14
HyperOS
I don't know.

⚠️ Attention: Starting with MIUI 12.5 and MIUI 13 share password option may not be available. It's not a mistake -- Xiaomi has purposefully deleted it for security reasons.

2. Viewing password through configuration file (without root)

Android Stores All Saved Wi-Fi Passwords in a System File wpa_supplicant.conf. Access is limited, but on some versions MIUI It can be read through a conductor with access rights or ADB. Here's how to do it:

First, install any file manager that supports root access (such as FX Explorer or Solid Explorer).

  1. Open the manager and turn on Root access (if any).
  2. Go to /data/misc/wifi/WifiConfigStore/
  3. Find the WifiConfigStore.xml file and open it with a text editor.
  4. Look for lines with <string name="ConfigKey"> tags - next to the password in encrypted form.

Unfortunately, in the latest versions of MIUI, this file is encrypted and cannot be read without additional tools, but on older firmware (before MIUI 10), passwords can be stored in plain form. If you see the psk="your password" string, that's the value you want.

How to decrypt WifiConfigStore.xml?
Decrypting a file requires WiFi Password Decryptor (available on GitHub) which works only on a PC and requires connecting your phone over ADB. The process is complex and only suitable for power users.

3. Use of ADB (for advanced users)

If you have a computer and have it installed ADB-You can extract the password through the command line, and this method works on most versions. MIUI, but requires pre-configuration:

First, turn on USB Debugging on your phone: Settings β†’ About Phone β†’ MIUI version (click 7 times to activate Developer Mode), then go back to Settings β†’ Additional β†’ For Developers and enable debugging.

Next, connect Redmi to your PC and do the following in the terminal:

adb pull /data/misc/wifi/WifiConfigStore.xml C:\wifi_password.txt


adb shell "su -c 'cat /data/misc/wifi/WifiConfigStore.xml'"

If the team returns the Permission denied error, you don’t have superuser rights, in which case only rooting the phone will help (see section 5).

MethodRoot is required.It's working on MIUI 14.Difficulty
Settings β†’ ShareNo.No.⭐
Reading WifiConfigStore.xmlPartially.No (encryption)⭐⭐⭐
ADB-teamNo (but you need rights)Yes (with limitations)⭐⭐⭐⭐
Hijacking applicationsNo.Yeah (not always)⭐⭐
Rooting + Root ExplorerYes.Yes.⭐⭐⭐⭐⭐

4. Wi-Fi password viewing applications

There are utilities on Google Play that promise to show saved passwords without root, and in practice, most of them either don't work on MIUI or require payment, and we tested some popular options:

  • πŸ”Ή WiFi Password Viewer β€” shows networks, but hides passwords behind a paid subscription. MIUI 13+ doesn't work.
  • πŸ”Ή WiFi Key Recovery – sometimes works on older versions of Android (7.0 and below). MIUI 12+ useless.
  • πŸ”Ή Network Info II β€” It displays network technical data, but not passwords, and it's useful for diagnostics, but not for our purpose.

The only app that actually works on some Xiaomi models is WiFi Password (ROOT), but it requires superuser rights. Without root, these utilities will at best show a list of the networks you've connected to, but not the passwords themselves.

πŸ’‘

If you need a password urgently and none of the methods worked, try connecting to the router via a browser (usually at 192.168.1.1 or 192.168.0.1) and view it in the wireless network settings.

5. Obtaining root rights and viewing password

If you're willing to take drastic measures, rooting your phone will give you full access to system files. On Xiaomi Redmi, it's done by unlocking the bootloader and installing Magisk. It's a risky process (you can lose your warranty or brick your device), but it's 100% effective.

After receiving root:

  1. Install Root Explorer or FX File Manager.
  2. Go to /data/misc/wifi/.
  3. Open the file. wpa_supplicant.conf.
  4. Find the block with the name of your network – the string psk="password" contains the desired value.

Warning: Rooting voids Xiaomi’s warranty and can lead to update issues. On some models (e.g. Redmi Note 12 Pro+), unlocking the bootloader requires waiting 7-15 days after submitting an application to the Mi Unlock Tool.

Unlock the bootloader through Mi Unlock Tool|

Download the TWRP firmware for your model |

Install Magisk Manager|

Make a backup of data |

Charge your phone at least 70 times%-->

6. Alternative methods (if nothing has worked)

If all of the above methods fail, there are workarounds:

  • πŸ“± Connect another device to this Wi-Fi via QR-code (if the phone generates it) MIUI 14 This works even without displaying a text password.
  • πŸ–₯️ Check the router: often the password is on the back sticker or in the web interface (192.168.1.1).
  • πŸ“ž Reset the router to factory settings (reset button for 10 seconds) – but then you will have to reconfigure the network.
  • πŸ”§ Contact your ISP: If the router was issued by an Internet company, they may know the standard password.

On some Xiaomi models (e.g. Redmi A1+), the password can be seen in Settings β†’ Google β†’ Devices & Sharing β†’ Save Networks. This method works if the phone is linked to a Google account and sync is enabled.

πŸ’‘

Since Android 10 (and MIUI 12+), Google has banned apps from reading Wi-Fi passwords without root, so most hacks have stopped working, leaving only system methods or rooting.

Frequent Mistakes and How to Avoid Them

When trying to extract a password, users often face typical problems:

  1. The WifiConfigStore.xml file doesn't open, so it's encrypted. On MIUI 13+, that's the standard situation.
  2. ADB doesn’t see the phone – check if USB debugging is enabled and if drivers are installed (download Mi PC Suite).
  3. The apps show a blank list of networks – they are not compatible with your version of MIUI.
  4. After rooting, Wi-Fi stopped working – file may have been corrupted wpa_supplicant.conf. Restore it from the backup.

If you use Redmi with dual firmware (Chinese/global), some system files may be in other folders, such as in Chinese versions, the path to passwords sometimes looks like /data/vendor/wifi/.

❓ Can I find out the Wi-Fi password on Xiaomi without root?
Yeah, but only on the old versions. MIUI (up to 12.5) through settings or ADB. On new firmware without root, this is impossible - you will have to use workarounds (QR-code, router or rooting the phone.
❓ Why in the file WifiConfigStore.xml password encrypted?
Since MIUI 12, Xiaomi has been encrypting passwords in accordance with Google’s security policy, and can only be decrypted using specialized utilities (such as WiFi Password Decryptor) and access to system keys.
❓ Does the way with QR-code on all Redmi models?
Yes, but with reservations. MIUI 14 and HyperOS QR-The code is always generated, but the text password may not be there, so scan the code with another device, it recognizes the network and connects automatically.
❓ Can I recover a password if the phone is reset to factory settings?
No. When you reset, all the stored networks (including passwords) are deleted, and the only way out is to get the password from the router or from the ISP.
❓ Are there viruses that steal Wi-Fi passwords with Xiaomi?
Yes, some malicious applications can read wpa_supplicant.conf If you have root rights, install the software only from Google Play and check the permissions.