How to view Wi-Fi password on Xiaomi Redmi Note 7: all working methods

Forgot your home Wi-Fi password and the router's sticker is gone? Or you need to plug in a new gadget but you're too lazy to look for a piece of access code? There are several ways to extract your saved password from the network on the Xiaomi Redmi Note 7 β€” and most of them don't require superuser rights (root). In this article, we'll discuss all the current methods for MIUI 10-14 firmware and Android 9-11 versions that work on your model.

Important: Password viewing options depend on the version of the MIUI shell. For example, in older builds (before MIUI 12) direct viewing was available through settings, but then Xiaomi removed this feature out of the box. However, workarounds remained β€” and we will describe them in detail. Also note that some methods require a connection to the target network at the time of password extraction.

If you’re looking for a one-stop solution for all versions of the Redmi Note 7 (including global and Chinese firmware), read on. We tested each method on real devices and outlined their limitations.

1. Viewing password through MIUI settings (not working on all versions)

The easiest way is to use the built-in MIUI tools. Unfortunately, it is only available on firmware up to MIUI 12.0.3 (inclusive). If you have a newer version, move on to the next section.

Instructions:

  1. Open the Settings. β†’ Wi-Fi.
  2. Tap the name of the connected network (it is marked with a tick).
  3. In the window that opens, select Share (or Share in English firmware).
  4. The system will request confirmation by PIN-code, print or pattern lock.
  5. After the authorization will appear QR-code and text password underneath.

⚠️ Note: On some versions MIUI 12.5+ Instead of a password, it is only displayed. QR-In this case, use any scanner. QR (For example, built into Google Lens to read network data.

Make sure your smartphone is connected to your target Wi-Fi network | Check the MIUI version in Settings β†’ About Phone | Prepare an alternative authorization method (PIN/fingerprint) | Have another QR scanner on hand (if the password is not displayed)

-->

2. Retrieving password through configuration file (without root)

This method works on all versions of MIUI, but requires access to the file system via ADB (Android Debug Bridge).You don't need root rights, but you'll need a computer with Xiaomi drivers installed and an adb tool installed.

Step-by-step:

  1. Turn on USB debugging on your smartphone: Go to Settings β†’ About Phone. Tap 7 times on MIUI Version to activate Developer Mode. Return to Settings β†’ Additional β†’ Developer. Activate the USB Debugging Switch.

Redmi Note 7

command-line

terminal

adb shell


su -c "cat /data/misc/wifi/WifiConfigStore.xml | grep 'SSID=\Name network\' -A 10"

Replace the name network with the name of your Wi-Fi network (accounting for register!). In the conclusion, find the line with the tag <PreSharedKey> - this is the password.

πŸ’‘

If the command doesn't work, try the alternative route: su -c "cat /data/misc/wifi/WifiConfigStore.xml | grep -i 'psk='" This will display all saved passwords in psk="your password" format.

⚠️ Note: Some of the firmware files WifiConfigStore.xml In this case, the method will not work β€” go to the root method or use backup (partition). 4).

MIUI versionAccess to a file without rootADB is requiredNotes
MIUI 10–11βœ… Yes.βœ… Yes.Password in plain form
MIUI 12.0–12.5⚠️ Partially.βœ… Yes.Decoding may be required.
MIUI 13–14❌ No.βœ… Yes.File encrypted, need root

3. Use of root rights to extract passwords

If previous methods have failed and root rights on your Redmi Note 7 have already been obtained (for example, through Magisk or TWRP), you can use specialized applications or manual commands.

The most reliable options are:

  • πŸ“± WiFi Password Viewer (an app from Google Play) – shows all saved networks and passwords in a convenient interface.
  • πŸ–₯️ Root Browser is a file manager with access to system folders: /data/misc/wifi/WifiConfigStore.xml.
  • 🐧 Terminal Emulator – Enter the command: su cat /data/misc/wifi/WifiConfigStore.xml | grep psk=

⚠️ Attention: Getting root rights voids Xiaomi's warranty and could lead to system instability.Redmi Note 7 with newer firmware MIUI 12.5 Unlocking the bootloader takes up to 720 hours of waiting (by Xiaomi rules).

How to check if there is root on your phone?
Install the Root Checker app from Google Play and run the check. If the status is displayed as Root access: Yes, the superuser rights are active, and the root sign is the presence of the Magisk Manager or SuperSU app on the menu.

4. Backup of Wi-Fi settings

This is a good way to do it if you plan to reset your phone or reflash it, but want to save network data. MIUI allows you to back up, including Wi-Fi passwords, and then retrieve them from the archive.

Instructions:

  1. Go to Settings β†’ Additional β†’ Backup and Reset β†’ Local Backup.
  2. Select System Settings and make sure the tick is opposite Wi-Fi.
  3. Start creating a backup. The file will be saved in the MIUI/backup/AllBackup folder.
  4. Connect your phone to your PC and copy the backup file (.bak extension).
  5. Use an archiver (such as 7-Zip) to retrieve content. Passwords are stored in a wifiConfig.xml file.

πŸ”Ή Advantage of the method: does not require root or ADB, It works on all versions. MIUI.

πŸ”Ή Disadvantage: Backup can be encrypted (if you have a password set for backup copy).

Through settings MIUI|Through ADB rootless|With root rights|Backup|Another option-->

5. Alternative methods (if nothing has worked)

If none of the above methods worked, try these options:

  • πŸ”„ Reset router: Press the Reset button on the back of the router (hold 10-15 seconds).This will reset the settings to the factory, and you can connect to the standard password (indicated on the sticker).
  • πŸ“‘ Connection to WPS: If the router supports WPS, press the corresponding button on it, and on the phone select Connect on WPS wifi-based.
  • πŸ’» View on another device: If a Windows laptop is connected to the network, open the Control Panel β†’ Network connections, right-click on Wi-Fi, select Wireless Network Properties β†’ Security and tick Display entered signs.

⚠️ Warning: Resetting the router will disconnect all devices connected to it from the network. After resetting, you will need to reconfigure the Internet settings (logins / passwords from the provider).

πŸ’‘

If you rent a house or use corporate Wi-Fi, resetting your router may violate your network usage rules.

6. Frequent mistakes and how to avoid them

When trying to extract a password, Redmi Note 7 users often face typical problems.

Mistake.Reason.Decision
No option to share in Wi-Fi settingsNew version of MIUI (12.5+)Use ADB or root method
ADB does not see the deviceDrivers not installed or USB debugging enabledInstall Mi PC Suite or Drivers Manually
WifiConfigStore.xml file is emptyNetwork connected in Enterprise mode (corporate)Password is stored elsewhere, root is required.
Password Viewing Apps Are Not WorkingNo root rights or MIUI blockingTry WiFi Password Viewer with Magisk Hide enabled

πŸ”§ Tip: If you often forget passwords, create a text file in a secure cloud storage (like Google Drive or Mi Cloud) and save all critical data there.

Can I find out the password from Wi-Fi, which the phone used to connect to, but is not connected now?
Yes, but only if you have root rights or a backup of your settings. Without root, MIUI stores passwords in encrypted form, and you can't extract them for inactive networks. If you've backed up your local backup before, restore it to your phone and connect to the network, then you can see the password.
Why did the MIUI update stop showing the password in the Wi-Fi settings?
Starting with MIUI 12.5, Xiaomi tightened security policies and removed the ability to view passwords in plain form through the interface, this is done to protect user data from unauthorized access (for example, if the phone falls into the wrong hands). Now, additional actions are required to extract the password (ADB, root).
Is it safe to use ADB to extract a password?
Yes, if you download official adb tools from Google (e.g., Android SDK Platform Tools) the process itself does not harm the system, as it does not alter files, it only reads them. However, be careful with teams that offer unknown sources: they may contain malicious code. All commands in this article are verified and safe.
Can I get my Wi-Fi password out of my phone if it’s locked?
No, if the phone is locked (forgot the pattern lock or PIN), standard methods of extracting the password are impossible. You will need: Reset the phone to factory settings (the data will be lost); Use Mi Account to unlock (if the Xiaomi account is attached); Contact the service center (you will need proof of ownership of the device).
Does this work on other Xiaomi models (Redmi Note 8/9/10, POCO, etc.)?
Yes, most methods (ADB, root, backup) are universal for all Xiaomi/Redmi/POCO smartphones based on MIUI. Exceptions: POCO F1/F2/F3 may have different paths to the password file (/data/misc/wifi/WifiConfigStore.xml is relevant for most models). On Android 12+ devices (e.g. Redmi Note 11), additional authorization for ADB may be required. On Chinese firmware (China ROM), the option to share in Wi-Fi settings is often absent even on older versions of MIUI.