Forgot your home Wi-Fi password and your router is in an awkward place where you can't get up to the sticker? Or you need to plug in a new gadget, but you're too lazy to look for a piece of code? There are several ways Xiaomi phones (including Redmi and POCO) can extract your saved Wi-Fi password, both standard and hidden. The main thing is to know where to look and what tools to use.
In this article, we will discuss all the current methods for viewing a Wi-Fi password on Xiaomi, including:
- π Standard method through settings MIUI (It doesnβt work on all versions)
- π± Using a file manager with access to system folders
- π» Methods for users with root rights (including: ADB)
- π Bypasses if the phone is not connected to the network
- β οΈ Risks and limitations of each method
Importantly, not all methods are universal. For example, on MIUI 14+ with Android 13/14, some system files can be protected with additional security mechanisms. If one method fails, try the next one.
1. Standard method via MIUI settings (no root)
The easiest method is to use the built-in password viewing feature in network settings. Unfortunately, it doesn't work on all versions of MIUI and depends on the phone model. For example, on Xiaomi 12T or Redmi Note 11 with MIUI 13, this method may not be available, and on POCO X3 Pro it may not work.
Instructions:
- Open the Settings. β Wi-Fi.
- Find your network in the list and tap it by its name.
- In the window that opens, click on the Share button (or Share in English firmware).
- The system will request confirmation by fingerprint, PIN-code-key.
- After confirmation, it will appear QR-code and text password underneath.
β Challenges and constraints:
- π« There is no sharing button on some firmware.
- π If the network is saved but the phone is not connected to it, the method will not work.
- π΅ On corporate or guest networks, passwords may be hidden by security policies.
2. Viewing password through file manager (no root)
If the standard method didn't work, you can try to find the password in the system files, and you'll need any file manager with access to the root folders (e.g. MiXplorer, FX File Explorer or Solid Explorer).
Step-by-step:
Install a file manager with root access|Enable the display of hidden files|Go to the file. /data/misc/wifi|Find the file. WifiConfigStore.xml|Open the file through a text editor-->
In the WifiConfigStore.xml file, look for blocks of the form:
<string name="NetworkList">
<SSID> "Your name network"</SSID>
<Passphrase> "Your password"</Passphrase>
</string>π Where to look if there is no file?
- π Check the folder. /data/misc/wifi/WifiConfigStore.xml (relevant 9-11).
- π Android. 12+ path may be different: /data/vendor/wifi/WifiConfigStore.xml.
- π If there is no file, try searching through the manager on request. wpa_supplicant.conf.
β οΈ Attention: MIUI 14 and later system files can be encrypted. If you open up text that is not readable, this method won't work without root.
3. Use of ADB (for power users)
If you have an ADB (Android Debug Bridge) debugging bridge, you can extract the password through the command line. This method works without root, but requires connecting the phone to your computer and enabling debugging over USB.
Instructions:
- Turn on Developer Mode (7 times tap the MIUI version in your phone settings).
- Activate USB Debugging in Settings β Additional β For developers.
- Connect your phone to your PC and confirm your trust in your computer.
- Open the command line (Windows) or the terminal (Mac/Linux) and type:
adb shell
su -c "cat /data/misc/wifi/WifiConfigStore.xml | grep -A 10 'SSID'"π What to do if the team is not working?
- π Make sure that ADB Drivers installed (download Platform Tools from Google).
- π Try the alternative command: adb pull /data/misc/wifi/WifiConfigStore.xml C:\temp\ (copy the file to disk C).
- π οΈ Nana MIUI 13+ Adb root may be required before executing the command.
π‘
If ADB gives you a "permission denied" error, try running the adb root command first, then repeat the request, and on some firmware, this works even without full root access.
4.Methods for users with root rights
If your Xiaomi has Magisk or another root rights manager installed, Wi-Fi passwords are fully accessible. Here are 3 working methods:
Method 1: Using the Root Explorer app
- π Open Root Explorer and go to the /data/misc/wifi.
- π Find the file. wpa_supplicant.conf (or WifiConfigStore.xml).
- π Open the file with a text editor and look for lines of the form: network={ ssid="Your network" psk="Your password" }
Method 2: Through Terminal Emulator
Install Termux or another terminal and do:
su
cat /data/misc/wifi/wpa_supplicant.confMethod 3: Specialized applications
Google Play has utilities like WiFi Password Viewer (require root), which show all saved passwords in a user-friendly interface.
| Method | Need root? | Works on MIUI 14? | Difficulty |
|---|---|---|---|
| Settings β Share | β No. | β οΈ Partially. | β |
| File manager | β No. | β No (encryption) | ββ |
| ADB | β No. | β οΈ Depends on the firmware. | βββ |
| Root + wpa_supplicant.conf | β Yes. | β Yes. | ββ |
| Applications (WiFi Password Viewer) | β Yes. | β Yes. | β |
β οΈ Attention: On phones with MIUI Global Stable after Android Update 13/14 System files can be protected by DM-Verity, and if you try to modify them without disabling the check, you will have a bootloop).
5. Alternative methods (if the phone is not connected to the network)
What do you do if you want to find out the password for a network that your phone is not connected to right now?
Method 1: Reconnect and use the standard method
- π Temporarily connect to the network you want (for example, ask someone to enter a password once).
- π± Then use the method from the first section (Settings). β Share).
Method 2: Recover password from another device
- π» If you have a Windows laptop connected to the network, open Command Prompt and type in: netsh wlan show profile name="Name network" key=clear password will be in the key contents line.
- π On Mac: Open the Terminal and execute: security find-generic-password -wa "Name network"
Method 3: Reset the router (extreme case)
- β οΈ Press the Reset button on the router (hold on) 10-15 seconds).
- π After reset, the password will become standard (usually indicated on the router sticker).
- β οΈ Cons: all connected devices will break the connection, and the settings of the router will reset.
How to find out the password from Wi-Fi on Xiaomi without connecting to the network?
6. Frequent mistakes and how to avoid them
When trying to find out the password from Wi-Fi on Xiaomi, users often face typical problems.
Error 1: WifiConfigStore.xml file does not open
- π Reason: File encrypted or corrupted.
- π οΈ Solution: Try to find wpa_supplicant.conf or use ADB.
Error 2: ADB gives no permissions
- π Reason: Not included debugging by USB or no drivers are available.
- π§ Solution: Reinstall drivers, check developer settings.
Error 3: The Share button is not in the Wi-Fi settings
- π± Reason: Limitation of firmware (especially on the MIUI China).
- π Solution: Use a file manager or ADB.
Error 4: After the MIUI update, all methods stopped working
- π Xiaomi tightens protection of system files.
- π οΈ Solution: Try to roll back to the old firmware version or use root.
π‘
On Xiaomi phones with MIUI 14+ and Android 13/14, standard password viewing methods are often blocked, with the most reliable option being root or extracting the password from another device connected to the same network.