How to view saved Wi-Fi password on Xiaomi smartphone: official and hidden methods

Forgot the password from your home Wi-Fi, and the connected smartphone Xiaomi refuses to show it? This situation is familiar to many: the router is set up years ago, the password is written on a piece of paper that has long been lost, and guests or a new device need to connect to the network. Fortunately, owners of Redmi, POCO or Mi phones can restore access in several ways, from official MIUI functions to hidden Android features.

In this article, we will discuss 5 working methods for finding a Wi-Fi password that your Xiaomi already has, without hacking, root rights, or security threats. Importantly, all of these methods only work for networks that your phone is already connected to (stored in your device memory). If you're trying to get a password from someone else's network, it's illegal and technically impossible without physically accessing the router.

Method 1: Viewing passwords through MIUI settings (official method)

The easiest and most secure way to do this is to use the built-in MIUI feature, which allows you to view passwords on saved networks, but it doesn't work on all firmware versions and models. Here's how to do this:

  1. Open β€œSettings” on your Xiaomi (the gear icon on your desktop).
  2. Go to the Wi-Fi section.
  3. Find the network in the list, the password from which you need to know, and tap on its name.
  4. In the window that opens, select Share or Share (in English firmware).
  5. The system will request confirmation by fingerprint, PIN-code-key.
  6. After the authorization will be displayed QR-code and text password underneath.

⚠️ Note: On some models (for example, Redmi Note 10 Pro with the MIUI (13) the password may be replaced by a display only QR-In this case, use the second method.

β˜‘οΈ What to do if the β€œShare” button is inactive

Done: 0 / 3

This method works on most modern Xiaomi devices, but may not be available on older models (such as the Redmi 4X) or custom firmware. If you can’t, move on to the next method.

Method 2: Use of the QR-password-extract

If in the settings MIUI display QR-And the code, and there's no text password, don't despair. QR-And this is how you do it with any scanner:

  1. Generate. QR-Code for the network through Settings β†’ Wi-Fi β†’ [name] β†’ Share.
  2. Take a screenshot. QR-code (press the power buttons) + Turning down the volume).
  3. Open any scanner. QR-codes (e.g. Google Lens or app) QR & Barcode Scanner).
  4. Scan the saved screenshot.

As a result, you will get the text of the form:

WIFI:T:WPA;S:MyWiFi;P:my_password_123;;

Where P:my_password_123 β€” That's your Wi-Fi password.

πŸ’‘

If you don’t have a scanner, you can download it. QR-code to a decryptor site (e.g. ZXing Decoder), but don’t use questionable services – they can store your data.

Method 3: Viewing passwords through configuration file (for power users)

Android Stores All Saved Wi-Fi Passwords in an Encrypted File wpa_supplicant.conf. To read it, you will need root access or ADB-Let's look at both options.

Method A: Through ADB (without root)

This method works on most Xiaomi devices with MIUI 12+, but requires a computer connection:

  1. Turn on USB Debugging in Settings β†’ About Phone β†’ MIUI version (tap 7 times, then go back to Additional β†’ For Developers).
  2. Connect the phone to the PC and confirm the debugging permission.
  3. Open the Command Prompt (Windows) or Terminal (macOS/Linux) and type:
adb pull /data/misc/wifi/WifiConfigStore.xml

The WifiConfigStore.xml file will be copied to your computer, open it with any text editor (e.g. Notepad++) and find the line:

<string name="PreSharedKey">&#x31;&#x32;&#x33;&#x34;&#x35;&#x36;&#x37;&#x38;</string>

Here, 123 are Unicode characters corresponding to 123. Use the Unicode converter to decrypt the password.

Method B: Through root conductor

If your Xiaomi has root access, use a root Explorer (such as Root Explorer or Solid Explorer):

  1. Open the explorer and follow the path /data/misc/wifi/.
  2. Find the file. wpa_supplicant.conf Open it with a text editor.
  3. Look for blocks of the view:
network={


ssid="MyWiFi"




psk="my_password_123"




key_mgmt=WPA-PSK




}

The password is given in the line psk="

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

⚠️ Note: Modifying files in /data/misc/wifi/ without root access can cause you to lose all your saved networks!

Method 4: Use of third-party applications (without root)

If the previous methods didn't work, you can use specialized applications, and it's important that many programs on Google Play require root access, but there are also some that work through ADB or backup settings.

One of the apps we tested is WiFi Password Viewer (from Simone Dev), which doesn't require root, but you have to do a few steps:

  1. Install the app from Google Play.
  2. Connect your phone to your PC and execute the command:
adb backup -f wifi_backup.ab com.android.providers.settings
  1. In the application, select Restore and specify the path to the file. wifi_backup.ab.
  2. The passwords of the saved networks will appear in the list.

⚠️ Note: Some antiviruses (e.g. Avast) may block applications that are β€œpotentially dangerous.” This is a false positive – the application does not steal data, but only reads local settings.

AnnexNeed root?Works for MIUI?Reference
WiFi Password ViewerNo (ADB needed)Yes (MIUI 12+)Google Play
WiFi Key RecoveryYes.Yes (all versions)XDA Developers
WIFI WPS WPA TESTERNo.No (only for testing vulnerabilities)Google Play

Method 5: Reset router settings (extreme case)

If none of these methods worked, and Wi-Fi access is critical, you just have to reset your router to the factory settings, which will delete all user settings, including your password, but allow you to reconfigure your network.

Here's how to do it:

  1. Find the Reset button on the router (usually it is recessed in the case and requires a paper clip).
  2. Press the button for 10-15 seconds before the lights flash.
  3. Connect to the router network by default (the name is usually indicated on the sticker, for example, TP-Link_1234).
  4. Open your browser and enter the address 192.168.0.1 or 192.168.1.1.
  5. Sign in with the default login/password (usually admin/admin).
  6. Go to Wireless β†’ Wireless Security and set a new password.

⚠️ Warning: Resetting the router will disconnect all users from the network, including smart devices (cameras, light bulbs, TVs), and after resetting them will have to reconfigure them!

What if the router does not open 192.168.0.1 after resetting?
If the page is not loading, check: 1. Are you connected to the router via cable or Wi-Fi (network name is usually on the sticker). 2. Is the address entered correctly (try 192.168.1.1 or tplinklogin.net for TP-Link). 3. Does not block access to antivirus or VPN. 4. Try another browser (for example, Firefox instead of Chrome).

Security: Why you can't hack someone else's Wi-Fi

The Internet is full of instructions on how to "learn the password from any Wi-Fi" with applications like WIFI WPS WPA TESTER or Aircrack-ng. It's illegal and technically almost impossible on modern routers.

  • πŸ”’ WPA3 (New encryption standard, resistant to brute force attacks, can take thousands of years to break even on a supercomputer.
  • 🚫 WPS (Vulnerable protocol) disabled by default on most routers after 2018.
  • βš–οΈ In Russia and most countries, unauthorized access to the network is punishable under article 272 of the criminal code (β€œIllegal access to computer informationΒ»).
  • πŸ›‘οΈ Modern routers (for example, Xiaomi Mi Router) 4A) Automatically block suspicious connections.

If you need the Internet urgently, you should use the mobile hotspot on your phone or ask for a password from the network owner. Hacking someone else's Wi-Fi is not only illegal, but can lead to a leak of your data (if the hacker software turns out to be a virus).

πŸ’‘

The only legal way to get a password from someone else's network is to ask the owner for it, and all other methods violate the law and can damage your device.

Frequent Mistakes and How to Avoid Them

When trying to find out the Wi-Fi password on Xiaomi, users often face typical problems, and here are the most common ones and ways to solve them:

  • πŸ”„ The β€œShare” button is inactive β†’ Update. MIUI before the latest version or use it QR-code.
  • πŸ“± ADB can't see the device β†’ Install Mi drivers PC Suite and check the included debugging USB.
  • πŸ” The app asks for root β†’ Try WiFi Password Viewer with WiFi Password Viewer ADB-backup (method 4).
  • πŸ“‘ Router doesn't reset β†’ Hold the Reset button for longer (up to 30 seconds) or turn off power for 10 seconds before resetting.

If you use Xiaomi with custom firmware (like LineageOS or Pixel Experience), standard methods may not work.

  1. Install official MIUI via Fastboot.
  2. Use it. TWRP file-extract wpa_supplicant.conf.
Can I find out the Wi-Fi password on Xiaomi without root and ADB?
Yes, on MIUI 12 and later, this can be done via Wi-Fi settings (method 1) or QR-Code (method 2) If these methods do not work, no ADB or root extracting the password is impossible.
Why in the file wpa_supplicant.conf password encrypted?
Since Android 10, Google has tightened security requirements, and passwords in this file are stored in encrypted form. ADB-backup (method 4).
Does the way with QR-code on all Xiaomi models?
Yes, but only if the network settings display a share button, POCO M3) Instead of a text password, it is only shown QR-code that can be decrypted (see method 2).
Can I recover my Wi-Fi password after resetting my phone?
No. When you reset to factory settings (Settings β†’ Reset), all the saved networks are deleted, and the only way is to restore a backup of MIUI (if it was created before the reset).
How to protect your Wi-Fi from hacking?
To prevent unauthorized access: Use WPA3 instead WPA2 (Turn off the router settings. WPS (Set a complex password (for example, a vulnerable protocol, k7#pL9!qR2$vN4). Hide. SSID (network name) in router settings. Enable filtering by MAC-Addresses (allow connection only to your devices).