Forgot your Wi-Fi, social network, or app password on your Xiaomi smartphone? Don't rush to reset or reinstall programs. There are several legal ways to extract saved passwords in the MIUI operating system, both using standard features and through hidden capabilities for power users. In this article, we'll discuss 5 working methods, including options for root-free devices and with an unlocked bootloader.
Itโs important to understand that passwords are restricted by Xiaomiโs security policies. Some data (such as from your Mi Account) is encrypted hardware and cannot be retrieved without special tools. However, Wi-Fi passwords stored in your Mi Browser browser or third-party apps can often be restored. Weโll also show you how to protect your data from unauthorized access after you view passwords.
Note: instructions are relevant to Xiaomi, Redmi and POCO base MIUI 12-15 (including global and Chinese firmware versions) for older versions (MIUI 11 and below: some methods may not work.
1. How to view your Wi-Fi password on Xiaomi without root
The easiest way is to use the built-in Wi-Fi password sharing feature through QR-This method works on all modern Xiaomi smartphones and does not require superuser rights:
- Connect to the desired Wi-Fi network (password must be stored in the system).
- Open Settings โ Wi-Fi and tap the current network name.
- Press the Share button (icon) QR-code).
- The system will request confirmation by fingerprint, PIN-code-key.
- After authentication, it will be displayed QR-code and text password underneath.
If the share button is missing, it means:
- ๐ Your version. MIUI outdated (update the firmware through Settings) โ The phone. โ Updating the system).
- ๐ Corporate profile is installed on the phone (MDM), lock-in.
- ๐ฑ Device with Chinese firmware (requires flashing to the global version).
๐ก
If QR-The code is not scanned by another device, try to brighten the screen or use the Google Lens app to recognize the code.
Alternatively, MIUI 14+ is to use the voice assistant Xiao AI. Say, "Show the Wi-Fi password [network name]." The system will give you the password if you confirm access by biometrics.
2. View passwords in Mi Browser and Google Chrome
Mi Browser and Google Chrome browsers save passwords from sites, and they can be extracted without root permissions.
Method 1: Through browser settings (Mi Browser)
- Open the Mi Browser and go to the menu (โฎ) โ Settings โ Confidentiality โ Passwords.
- Sign in on your fingerprint or PIN-code.
- Slip on the right site, the password will appear as dots. Click on the icon. ๐๏ธ, see him.
Method 2: Exporting passwords from Chrome
In Google Chrome, you can upload all saved passwords to a file:
- Open Chrome, go to Chrome. โฎ โ Settings โ Passwords.
- Press. โฎ โ Password exports.
- Confirm the biometrics action and select the save location (e.g., Downloads).
- The passwords.csv file will contain logins and passwords in plain form.
What to do if the export of passwords is blocked?
Warning: Password file is not encrypted! delete it after use to avoid data leakage.
3.Use ADB to extract passwords (without root)
If standard methods donโt work, you can use Android Debug Bridge (ADB), a debugging tool that allows you to access some system data, which is suitable for Wi-Fi passwords and partly for application passwords.
You'll need:
- ๐ฅ๏ธ Computer with installed ADB-driver.
- ๐ฑ Included debugging by USB on the phone (Settings) โ The phone. โ Version. MIUI โ Tap 7 times, then return to the additional โ For developers โ Debugging by USB).
- ๐ USB-cable (preferably original).
Instructions:
- Connect the phone to the PC and confirm the trusted device.
- Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.
- Run the command to view Wi-Fi passwords: adb pull /data/misc/wifi/WifiConfigStore.xml The WifiConfigStore.xml file will be saved to your PC. Open it with any text editor and find the <string name="PreSharedKey">PASSWORD</string> string where PASSWORD is the password you want.
USB debugging enabled
Installed ADB drivers on PC
The phone is connected in file transfer mode (MTP).
Downloaded file WifiConfigStore.xml (for Wi-Fi passwords)
-->
โ ๏ธ Attention: Starting with MIUI 14, file WifiConfigStore.xml It can be encrypted, and it requires unlocking the bootloader and modifying the firmware.
4. Viewing passwords with root rights
If your Xiaomi has unlocked the bootloader and installed root rights (via Magisk), you get full access to the system files where passwords are stored.
Root Browser appendix
With it, you can manually find files with passwords:
- Wi-Fi passwords: /data/misc/wifi/WifiConfigStore.xml
- Application passwords: /data/system/users/0/accounts.db (required SQL-editor)
- Mi Account passwords: /data/data/com.xiaomi.account/... (encrypted, additional tools needed)
Magisk: App Systemizer Module
It allows you to move apps to the system partition to access their data, for example, you can extract passwords from Facebook or Instagram, if they are stored in the application.
Standard settings of MIUI
ADB-team
Root access
Third-party applications (such as Password Manager)
I don't know, I haven't tried it yet.-->
Critical: Using root rights voids Xiaomiโs warranty and may result in some features being blocked (e.g., banking apps or Google Pay).
5. Third-party applications for password management
If you don't like the built-in MIUI tools, you can use third-party password managers.
| Annex | Password type | Need root? | Reference |
|---|---|---|---|
| Bitwarden | Sites, applications | No. | Google Play |
| 1Password | Websites, bank cards | No. | Google Play |
| WiFi Password Viewer | Only Wi-Fi. | Yes. | Google Play |
| Password Manager (from Xiaomi) | Sites, applications | No. | Pre-installed at MIUI |
When you first launch, Bitwarden or 1Password will offer to import passwords from Mi Browser or Chrome.
- Open the application and go to Settings โ Import.
- Choose the source (Mi Browser or Chrome).
- Confirm access to the data.
โ ๏ธ Note: Some password managers (e.g. LastPass) may conflict with the MIUI Optimization is Xiaomiโs energy-saving system service. Add the app to the exceptions in Settings โ Battery โ Optimizing the battery.
6.How to Protect Passwords After Viewing
Once passwords are extracted, it is important to keep them safe. Here are 5 steps to help avoid leaks:
- ๐ Remove Unnecessary Copies: If you exported passwords to a file (such as passwords.csv), delete it after use and clear the cart.
- ๐ก๏ธ Enable two-factor authentication (2FA) Critical accounts (e.g. Mi Account, Google, banks).
- ๐ Change your passwords if you suspect someone else has accessed them.
- ๐ฑ Turn off the debugging. USB, If you don't plan to use it anymore ADB (Settings โ Additionally. โ For developers).
- ๐ Use an encrypted password manager (like Bitwarden) instead of storing passwords in your browser.
For additional protection:
- Set application lock through Settings โ Privacy โ Blocking apps.
- Activate the protection against resetting in Mi Account (prevents data theft when resetting your phone).
๐ก
Even if you extract passwords legally, storing them in plaintext (such as in notes or screenshots) increases the risk of leakage. Always use encrypted containers or password managers.