How to view Wi-Fi password on Xiaomi: all ways to MIUI 12-14

Forgot your home Wi-Fi password and need to connect from a new device? Xiaomi smartphones with MIUI shell have several ways to find out the saved password, from standard settings to advanced root access methods. In this article, we will discuss all the current options for Redmi, POCO and Mi models (including the latest versions of MIUI 14 and HyperOS).

Importantly, not all methods are universal. For example, in older versions of MIUI (up to 12th) the password was displayed directly in the network settings, and now it is often hidden by default. We will show workarounds, from simple to technically complex, so that you can accurately find a working version for your model.

If you're not sure about your skills, start with the first ones -- they don't require special knowledge. Advanced users can immediately jump to the ADB or Recovery sections, which reveal the nuances for unlocked bootloaders.

1. Standard method: Password in Wi-Fi settings (MIUI 12-14)

In the latest versions MIUI Xiaomi developers have removed the direct viewing of the password from the interface, but it can be copied through the QR-code or system menu. Here's how to do it:

  1. Open the Settings. β†’ Wi-Fi.
  2. Click on the name of your network (connected now).
  3. Slap the icon. QR-code (to the right of the network name).
  4. Under the code, a Show Password button will appear - press it and confirm it with a fingerprint or pattern lock.

If there is no password, try an alternative path:

  • πŸ“± Go to Settings. β†’ Passwords and security β†’ Password applications.
  • πŸ” Type "Wi-Fi" in search - sometimes the password is saved here.
  • πŸ”„ Reboot your phone and repeat the steps – sometimes the interface glitch hides the button.

πŸ’‘

If you have MIUI 14 on HyperOS, try holding your finger on the network name in the Wi-Fi list – sometimes a context menu with the option β€œShare password” appears.

This method works on most modern Xiaomi smartphones, but may not work on custom firmware or devices with modified MIUI (e.g. global versions for Europe).

2. Viewing password through Mi Account (if the network is saved in the account)

If your Xiaomi is linked to Mi Account, chances are that the password is synced in the cloud, which is a good way to do it if you’ve previously logged in on another device with the same network.

  1. Open your browser on a PC or other phone and go to account.xiaomi.com.
  2. Sign in with the same account as your Xiaomi account.
  3. Go to the Devices section β†’ Device management.
  4. Select your smartphone and find the Save Wi-Fi Networks tab (could be called Wireless Networks).

Unfortunately, Xiaomi doesn’t always show passwords in the web version of your account, but sometimes they are displayed here. QR-Connection codes that can be scanned by another device.

⚠️ Note: If you have two-factor authentication enabled, a code from the SMS or Mi Security apps. Make sure you have access to the phone number tied.

3. Use of ADB (without root but with a computer)

If the standard methods didn’t work, you can extract the password through Android Debug Bridge (ADB), which doesn’t require root rights, but you need a computer and enabled USB debugging.

Step-by-step:

  1. Turn on Developer Mode on Xiaomi: Go to Settings β†’ About Phone. Tap 7 times on MIUI Version. Go back to Settings β†’ Additional β†’ For Developers. Activate Debugging on USB.

Connect the phone to the PC and confirm the trusted device.

Download ADB Tools and unpack the archive.

Open the command line (Windows) or the terminal (Mac/Linux) in the adb folder.

Enter the commands in turn:

adb shell


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

Or an alternative command for new versions of Android:

adb shell


su -c "cat /data/misc/wifi/WifiConfigStore.xml | grep 'PreSharedKey'"

In the conclusion, find the line with PreSharedKey="your password." The password will be encrypted in HEX format - it must be decoded using online services (for example, Hex to ASCII).

Developer mode enabled | Xiaomi drivers installed on PC|Skachan ADB (version at least 1.0.41)|Debugging by USB is allowed on the phone | USB cable supports data transfer (not only charging)

-->

⚠️ Note: Some Xiaomi models (e.g. Redmi Note) 10 Pro MIUI 13) file WifiConfigStore.xml It can be protected, and then you need root or alternative methods.

4. Viewing passwords through TWRP or root conductor

If your Xiaomi has customized TWRP recaps installed or root access, the password can be extracted directly from system files, which is suitable for advanced users.

Instructions for TWRP:

  1. Load the phone into Recovery mode (usually by clamping Power + Volume up).
  2. Select Advanced β†’ File Manager.
  3. Go to /data/misc/wifi/.
  4. Find the WifiConfigStore.xml file and open it.
  5. Copy the contents on SD-map USB-accumulator.

On Android 12+ and MIUI 13+ devices, the file may be called WifiConfigStorePb.pb – it needs to be converted using a protobuf utility or online decoder.

What to do if the WifiConfigStore.xml file is empty?
On some firmware (e.g. Xiaomi.eu), Wi-Fi data is stored encrypted in a WifiConfigStorePb.pb file. To read it: 1. Copy the file on a PC. 2. Use the WifiPasswordViewer utility to decode. 3. Alternatively, install the WiFi Password Viewer application from the store (requires root).

5. Alternative methods: router and third-party applications

If none of the previous methods worked, try to get a password bypassing your smartphone:

MethodHow to useLimitations
Router web interfaceConnect to the router via cable or Wi-Fi. Open in the browser 192.168.1.1 or 192.168.0.1. Enter the login/password (usually admin/admin). Go to Wireless β†’ Security.Access to the router and login data is required.
Appendix from router manufacturerInstall official software (for example, Mi Wi-Fi for Xiaomi routers).It only works with compatible routers.
WiFi Password Recovery (root)Install from Google Play (e.g. WiFi Password Viewer).Requires root or MIUI version below 12.
Router resetPress the Reset button for 10 seconds - reset settings to factory.The password will be reset to the standard (specified on the router sticker).

For Xiaomi routers (such as Mi Router) 4A or AX3600) The default password often matches the SSID or listed on the bottom of the device in admin format + last 8 characters MAC-address.

Standard settings MIUI|ADB rootless|Root/TWRP|Router web interface|Dropped the router.|Nothing helped.-->

6. Frequent problems and solutions

If you encounter mistakes, here are the typical situations and their solutions:

  • πŸ”Œ ADB Does not see the device: Install Xiaomi drivers. Try another USB-cable (original from Xiaomi). Enable debugging by USB (security).
  • πŸ“± File. WifiConfigStore.xml Missing: On Android 10+ changed course /data/misc/apexdata/com.android.wifi/. Try to find the WifiConfigStorePb.pb file.
  • πŸ”’ Password in HEX-Format: Use the Cryptii online converter. or the command in the terminal: echo "HEX_HERE" | xxd -r -p.

On some firmware (e.g. Xiaomi.eu or PixelExperience), system files can be moved or encrypted, in which case only resetting the router or contacting the provider for a new password will help.

πŸ’‘

On devices with HyperOS (2026+), standard methods may not work due to enhanced security, in which case use the router web interface or ADB with HEX decoding.

Can I get a Wi-Fi password on Xiaomi without rooting?
Yeah, most of the time: QR-code (MIUI 12-14). ADB-commands (no root, but you need a PC) Web interface of the router (192.168.1.1). Root is only required for direct methods such as reading system files.
Why is there no β€œShow Password” button in Xiaomi settings?
It depends on: MIUI version (in the 14th button can be hidden); Regional firmware (in Chinese versions often missing); Security policy (on some corporate devices); Solution: upgrade MIUI to the latest version or use ADB.
How to find out the password from Wi-Fi on Xiaomi if the phone is locked?
If the screen is locked and the debugging is USB It was turned on earlier: Connect your phone to your PC. Use it. ADB-Command: Adb shell su -c "cat /data/misc/wifi/WifiConfigStore.xml" If debugging was not enabled, it remains only to reset the router or contact the provider.
Does the way with QR-code on all Xiaomi models?
The function of displaying the password through QR appeared MIUI 12 and works: πŸ“± Redmi Note 10/11/12 series. πŸ“± POCO F3/F4/F5. πŸ“± Mi 11/12/13 On older models (e.g. Redmi) 5 or Mi 9) It may not work, use it. ADB.
Can I recover my Wi-Fi password after resetting my phone?
Not if: You reset the entire WifiConfigStore.xml file manually, so you can reset your router settings (with the Reset button) or ask for a password from your ISP.