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

Why you can’t just copy your password from Android settings

Xiaomi smartphones (including the Redmi, POCO and Mi lines) by default hide stored Wi-Fi passwords for security purposes. Unlike Windows or macOS, where the password can be seen in a single click, Android does not provide direct access to this information through the GUI, which is due to Google's policy of protecting user data: even the owner of the device can not view the password without additional manipulation.

However, there are workarounds, from simple (for root users) to complex (through ADB or system files). It is important to understand that some methods require technical skills and can lead to resetting or loss of warranty if performed incorrectly. In this article, we will discuss all the current methods, from the most secure to extreme, taking into account MIUI versions (12 to 14) and smartphone models.

Before proceeding, make sure that:

  • πŸ”Ή You have physical access to your smartphone (the methods don’t work remotely).
  • πŸ”Ή The phone is connected to the target Wi-Fi network (or was previously connected).
  • πŸ”Ή You are ready for possible data loss when using methods with bootloader unlocking.

πŸ“Š What kind of smartphone you Xiaomi?
Redmi Note 10/11/12
POCO X3/X4/X5
Mi 11/12/13
Another Xiaomi
Not Xiaomi.

Method 1: Viewing password through router settings (the most secure)

If you have access to a router’s web interface, this is the most reliable and legal way, it requires no changes to your smartphone and works on any device, including Xiaomi, Samsung or iPhone.

Instructions:

  1. Connect your smartphone to a Wi-Fi network, the password from which you need to know.
  2. Find it. IP-router address: usually 192.168.0.1 or 192.168.1.1 (indicated on the device sticker).
  3. Open your browser and enter the address in the address bar. Sign in (username and password specified on the router).
  4. Go to Wi-Fi (or Wireless Network) β†’ Security settings.
  5. The password will be displayed in the Network Key or Password field.

Mark the routerThe path to the password in the web interfaceDefault login/password
Xiaomi Mi RouterSettings β†’ Wi-Fi β†’ Wi-Fi passwordadmin/password from the sticker
TP-LinkWireless β†’ Wireless Security β†’ Passwordadmin/admin
ASUSWireless Networks β†’ Authentication settingsadmin/admin
KeeneticWi-Fi β†’ Access point β†’ Key to the networkIt's on the sticker.

⚠️ Note: If you haven’t changed your router’s login/password, you can find it on the sticker on the back of the device. If the data is lost, you’ll have to reset the router with the Reset button (hold 10 seconds), but this will disconnect all users from the network.

Method 2: Use of the file wpa_supplicant.conf (rootless)

On Xiaomi smartphones (as well as on other Android devices), Wi-Fi passwords are stored in a system file. wpa_supplicant.conf. Access is possible without root rights, but requires a connection to the PC and use. ADB (Android Debug Bridge. The method works MIUI 12–14, It may not work on new versions due to increased protection.

Step-by-step:

Install ADB PC (download from [the official Android site](https://developer.android.com/studio/releases/platform-tools))|

Enable USB debugging on Xiaomi (Settings β†’ About Phone β†’ MIUI version β†’ 7 times tap on version)| Connect your phone to your PC and confirm trust in your computer |

Open the command line (Windows) or terminal (macOS/Linux) file ADB-->

adb shell


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

If the command doesn’t work, try an alternative path (for older versions of MIUI):

adb pull /data/misc/wifi/wpa_supplicant.conf

In the resulting file, find the block with the name of your network (ssid).="NAZVANIE_SETI") β€” psk="..." will have a password.

⚠️ Attention: Starting with MIUI 13, Xiaomi encrypts content wpa_supplicant.conf. If you see encrypted characters instead of a password, this method won’t work – go to the root-access method.

πŸ’‘

If ADB issues a β€œpermission denied” error, try running adb root first (only works on unlocked devices).

Method 3: Viewing the root password (for power users)

If your Xiaomi has a bootloader unlocked and Magisk (or another root manager installed), you can use a root-enabled file manager, such as Root Explorer or FX File Explorer.

Instructions:

  • πŸ“ Open the file manager and go on the way. /data/misc/wifi/.
  • πŸ” Find the file. WifiConfigStore.xml (or wpa_supplicant.conf old-form).
  • πŸ“‹ Open the file with a text editor and find a line with psk="password".
  • πŸ” Copy the password (it can be encrypted – use online decoders) Base64, if necessary).

Alternatively, you can use the WiFi Password Viewer (requires root), which automatically retrieves all saved passwords.

Xiaomi modelSupport for unlocking bootloaderRisk of loss of guarantee
Redmi Note 10/11/12Yes (via Mi Unlock Tool)High-pitched
POCO X3/X4/X5Yes, 7-day timeout.Medium.
Mi 11/12/13Yes (Mie account required)High-pitched
Xiaomi 13T/14Restricted (new rules 2023)Very tall.

⚠️ Attention: Unlocking bootloader on Xiaomi resets all data on the device!In addition, the company can block the ability to unlock if the device is tied to the Mi Account with the Find Device feature enabled.

What happens if you break the bootloader?
Interrupting the unlocking process (for example, turning off a cable or turning off a PC) can lead to a β€œbrick” of the device – the smartphone will stop turning on and will require flashing through the mode. EDL. Recovery in this case is possible only in the service center (cost from 3 000). β‚½).

Method 4: Retrieving passwords through backup (for MIUI 12 and older)

Xiaomi allows you to backup your settings, including Wi-Fi data. This method does not require root, but only works if you have previously done backup through Settings β†’ Additional β†’ Backup.

How to extract the password:

  1. Create a new backup (select only the Wi-Fi Settings option).
  2. Connect your phone to your PC and copy the backup file from the /MIUI/backup/AllBackup/ folder.
  3. Rename the file to.tar and unpack it (e.g., 7-Zip).
  4. In the folder apps/com.android.providers.settings/, find settings.db.
  5. Open it through SQLite Browser and complete the request: SELECT * FROM wifi WHERE ssid='NAZVANIE_VASHIEI_SETI'; In the field pre_shared_key will have a password.

If you don’t have any experience with databases, use the MiBackup Extractor utility (available on GitHub), which automates the process.

πŸ’‘

Backup MIUI is encrypted by binding to your Xiaomi account. If you reset your phone to factory settings, it will be impossible to restore your backup password without logging in to the same account.

Method 5: Reset the router (extreme case)

If none of these methods worked, and you have physical access to the router, then the radical solution is to reset the router to the factory settings, which will delete all user settings, including the Wi-Fi password, but allow you to set a new one.

How to reset your router:

  • πŸ”Œ Find the Reset button on the back of the router (usually recessed in the case).
  • πŸ•’ Hold it for 10-15 seconds (until the lights flash).
  • πŸ”„ After the reboot, the router will create a network with a factory name (indicated on the sticker).
  • πŸ”‘ Connect to it and set a new password through the web interface (192.168.0.1).

⚠️ Warning: Resetting your router will disconnect all devices (including smart appliances, cameras, and IoT gadgets) from the network.If you have Xiaomi Home set up or other ecosystems, they will have to be reconnected.

Frequent Mistakes and How to Avoid Them

When trying to extract a Wi-Fi password, users often face typical problems, and here are the most common ways to solve them:

Mistake.Reason.Decision
ADB does not see the deviceNot installed drivers or not included debuggingInstall Mi PC Suite or Google USB Drivers
File. wpa_supplicant.conf hollowNew version of MIUI encrypts dataUse the method with root or backup
Cannot unlock the bootloaderThe device is tied to the Mi AccountUntie your account in Settings β†’ Xiaomi account
Password in file encryptedMIUI uses Base64 or AESUse online decoders or WiFi Password Viewer

If you get an adb: device unauthorized error, check that a PC trust request window appears on your phone when you connect, sometimes hidden behind other notifications.

πŸ’‘

Before using ADB, disable antivirus on your PC – some programs (such as Avast or Kaspersky) block adb shell commands as suspicious activity.

Can I find out the Wi-Fi password without root and ADB?
Yes, but only if you have access to the router's web interface (method 1) or a MIUI backup (method 4) without these conditions, it is impossible to extract the password without technical manipulation.
Why in the file wpa_supplicant.conf password-in-character *?
This means that MIUI encrypted the password, and since version 13, Xiaomi has been using additional encryption to protect the data, in which case root rights will help.
Will the ADB work on the POCO X5 Pro?
Yes, but with reservations: the POCO X5 Pro (as well as other new models) may require unlocking the bootloader to access system files.
Can I recover my password after resetting my phone?
Not unless you back up MIUI before reset, Wi-Fi passwords are stored encrypted and linked to the user's current session, and are deleted after reset without recovery.
Are there any apps to view Wi-Fi passwords without root?
There are no legitimate apps that can show a password without root or ADB. All programs in the Play Market that promise this are either fraudulent or require payment for useless functionality.