Forgot the password from your home Wi-Fi, and connected smartphone Xiaomi Redmi refuses to show it? This situation is familiar to many: the router set up years earlier, the password was written on a piece of paper that was long lost, and now you need to connect a new gadget. Fortunately, on Xiaomi devices (including the models of Redmi Note 12, Redmi 10, POCO X5 and others) there are several ways to extract the saved password β both through standard settings and using hidden Android features.
In this article, weβll look at all the current methods, from simple (available even to beginners) to advanced (require root rights or a computer). Importantly, some methods may not work on the latest versions of MIUI 14/15 due to tightening security policies. Weβve highlighted these cases separately and suggested alternatives. Youβll also learn how to circumvent the limitations of MIUI if the system blocks password viewing, and what to do if none of them work.
1. Standard method: viewing the password in Wi-Fi settings (MIUI 12 and older)
Starting with MIUI 12, Xiaomi has added the ability to view saved network passwords directly from the Wi-Fi menu β but with reservations. This method only works for the networks you are currently connected to, and requires confirmation of the data. PIN-fingerprint.
Instructions:
- π± Open the Settings. β Wi-Fi.
- π Find your network (marked as βConnectedβ) and tap it by its name.
- π In the window that opens, select βShare Passwordβ (or βShareβ in English firmware).
- π Confirm the action with a fingerprint, PIN-code-key.
After that, it will appear on the screen. QR-code to quickly connect other devices, and below it is a text password (may be hidden under the "Show Password" button). MIUI It does not support it (see the next section).
π‘
If the share password button is inactive, try temporarily disabling VPNs or power saving modes β they sometimes block access to system functions.
β οΈ Note: Some firmware (e.g. Redmi Note 11 with S) MIUI 13.0.6) This method only shows the password for networks saved after the last reset. If the network was added a long time ago, try alternative methods.
2. Alternative method: use of a Wi-Fi configuration file (without root)
Android Stores All Stored Networks (including Passwords) in a File wpa_supplicant.conf. On Xiaomi, without root rights, this file can't be read directly, but there's a workaround: back up your Wi-Fi settings and extract data from it. Redmi/POCO s MIUI 10β14.
Step-by-step:
- Open Settings β Google β Backup (or Settings β Additional β Backup and Reset on Older Versions).
- Enable backup to Google Drive (if disabled) and wait for sync to complete.
- On your computer, go to Google Takeout, select βWi-Fi Networksβ and create an archive.
- In the downloaded archive, find the WifiConfigurations.json file, which will contain network names (SSID) and passwords (passphrase).
This method is safe, but has limitations:
- β³ Backup copy can be created with a delay of up to 24 hours.
- π Not all networks are saved in backup (depending on version) MIUI).
- π± On some devices (e.g. Redmi) 9A) Wi-Fi backup turned off by default.
Make sure your phone is backed up in Google | Check that your phone is connected to Wi-Fi for sync |Use your browser on your computer, not the Google Drive |Arcade app.The archive can weigh up to 2GB β make sure there is enough disk space-->
3. Viewing password through ADB (for power users)
If standard methods donβt work, you can extract your password using Android Debug Bridge (ADB) β Android debugging tool, which doesn't require root rights, but it does. USB-debugging and computer installed ADB.
Instructions:
- Turn it on. USB-Debugging on the phone: Settings β The phone. β Version. MIUI (Tap 7 times to unlock "Developer Mode" Settings β Additionally. β For developers β USB-debugging (turn on)
- Connect the phone to your computer and confirm your trust in the device.
- Open the command line (Windows) or terminal (macOS/Linux) and type: adb shell su -c "cat /data/misc/wifi/WifiConfigStore.xml | grep 'string name=\"PreSharedKey\"" If the command returns an error, try an alternative route: adb shell su -c "cat /data/misc/wifi/WifiConfigStore.xml | grep -A 2 'SSID'"
In the output commands, you will see a list of networks (SSID) and their corresponding passwords (PreSharedKey). If the commands return "Permission denied", then your device is blocked access to system files without root.
β οΈ Note: Xiaomi Redmi with MIUI 14+ The path to the configuration file may be different (e.g, /data/vendor/wifi/WifiConfigStore.xml). If standard commands donβt work, check the current paths for your model in the forums. 4PDA or XDA Developers.
Through phone settings | Through Google | Backup Using ADB|Another method-->
4. Use of third-party applications (with and without root)
There are dozens of apps on Google Play that promise to show Wi-Fi passwords, but most of them either don't work on Xiaomi or require root rights. We tested the top utilities and highlighted the ones that actually help:
| Annex | Root rights | Works for MIUI. | Features |
|---|---|---|---|
| WiFi Password Viewer | β No. | β οΈ Partially (only for the current network) | It shows you the password for active connection only. MIUI 14 may not work. |
| WiFi Key Recovery | β Yes. | β Yes. | Shows all the saved networks and passwords. Requires Magisk or SuperSU. |
| Root Browser | β Yes. | β Yes. | Allows you to manually open the file wpa_supplicant.conf way /data/misc/wifi/. |
| MiXplorer | β οΈ Optionally. | β Yes. | Can read system files without rooting on some firmware, you need to turn on Superuser mode. |
Warnings:
- π‘οΈ Applications without root often show incorrect passwords or empty fields β this is due to restrictions. MIUI.
- π² On Redmi with MIUI 13/14 Even root apps may not see passwords because of system file encryption.
- π If you are not ready to root, it is better to use it. ADB or backup (Section 2).
How to cheat apps that ask for root?
5. Password extraction via TWRP (for stitched devices)
If your Xiaomi Redmi has custom recovery TWRP installed, you can view Wi-Fi passwords directly from it β without full root access. This method is suitable for devices with an unlocked bootloader (for example, after the LineageOS firmware or Pixel Experience).
Instructions:
- Turn off your phone and press Volume Up + Power to enter TWRP.
- Select Advanced β File Manager.
- Cross the path. /data/misc/wifi/ and find the file. WifiConfigStore.xml (or wpa_supplicant.conf on older versions of Android).
- Slip the file and select "View as Text".
- Find the lines with SSID="Network Name" and PreSharedKey="Password".
If the file is encrypted or missing, try an alternative path:
/data/vendor/wifi/WifiConfigStore.xmlβ οΈ Note: On some Xiaomi devices (e.g. Redmi) K50 s MIUI 14) Wi-Fi files are stored in encrypted form even in TWRP. In this case, only a full root or reset router settings will help.
π‘
If you often forget passwords, save them in a password manager (such as Bitwarden or KeePassDX) immediately after you set up a new network, eliminating the need to extract them from the system.
6. What to do if none of the methods worked?
If all of these methods have not worked, you have a few options:
- Reset router settings: Press the Reset button on the back of the router (hold on) 10β15 After reset, the network will be called by default (e.g, TP-Link_1234), a the password is indicated on the device sticker.
- Connect to your router via cable: If you have access to your router physically, connect to it via an Ethernet cable and access the web interface (usually at 192.168.0.1 or 192.168.1.1). β Security.
- Use another connected gadget: If you have a laptop, tablet or other phone (not Xiaomi) connected to the network, extract the password from it. For example, on Windows, this is done via the command line: netsh wlan show profile name="network name" key=clear
Critical information: On Xiaomi devices with MIUI 14+ and enabled data encryption (the option to βEncrypt phoneβ in the security settings), it is almost impossible to extract the Wi-Fi password without resetting the settings, in which case the only reliable way is to reset the router or contact the provider for the original password.