You forgot your Wi-Fi, social network, or banking password, but remember that you saved it on a Xiaomi smartphone? Don't rush to reset your settings or look for complex solutions - MIUI has several built-in ways to extract saved data. However, not all of them are obvious: the manufacturer hides some of the functions in the depth of the menu, and some passwords do not display at all without additional manipulation.
In this article, we will discuss 5 official methods of accessing saved passwords on Xiaomi, Redmi and POCO (including models on MIUI 12-15 and HyperOS), you will learn where the logins from Wi-Fi, Google Account, applications and browsers are stored, how to export them and why you should never use applications like Password Manager from unknown sources - this is a direct route to data leakage.
1. Wi-Fi passwords: where are stored and how to view
Xiaomi users' most frequent request is how to find out the password from Wi-Fi, which is already connected to the phone. Unlike the iPhone, which requires a MacBook or jailbreak, MIUI has a built-in tool, but it does not work on all versions of the firmware and requires knowledge of nuances.
On smartphones with MIUI 12.5+ and HyperOS, the path is as follows:
- Open the Settings. โ Wi-Fi.
- Click on the current network name (not the switch!).
- Slip on the Share icon (badge) QR-code).
- Enter. PIN-code or scan your fingerprint.
- Under QR-The code will appear text password.
โ ๏ธ Note: On some models (e.g, POCO X3 Pro or Redmi Note 10) can only be displayed instead of a password QR-code:
- ๐ฑ Take a picture. QR-code.
- ๐ Use any crawling app (e.g. Google Lens).
- ๐ The scan results will have a line. WPA: password.
If you have an older version of MIUI (up to 12.5), the path is different:
Settings โ Wi-Fi โ Additional โ Network Management โ [select network] โ Show password๐ด Important: On some firmware for Redmi 4X, Mi A1/A2 And other older models, it doesn't work -- the password just doesn't show up.
2. passwords from Google Account and synchronized services
If you have saved passwords in Google Chrome or other Google services, you can extract them through Google's password manager, which works on any smartphone, not just Xiaomi, but requires:
- ๐ Enable password synchronization in Google Account.
- ๐ฑ Access the device where you logged in to this account.
- ๐ Password knowledge from Google Account itself (if two-factor authentication is enabled, you will need a code).
Instructions:
- Open Google Chrome or go to passwords.google.com.
- Log in to your Google Account.
- In the "Passwords" section, you will see a list of saved logins.
- Click on the desired site โ the icon โeyeโ โ enter the password from Google Account.
โ ๏ธ Note: If you haven't synced your passwords to Google, this method won't work:
- ๐ View passwords in the browser itself (Chrome) โ โฎ โ Settings โ Passwords).
- ๐ฑ Check your Mi Browser settings (if you have used it).
๐ก
If you often forget passwords, turn on backup in MIUI: Settings โ Xiaomi Account โ Cloud โ Backup โ Passwords and data. This will save some of the logins in encrypted form.
3. Application passwords: can they be extracted without root rights?
The bad news is that most of the passwords from apps (banking, social media, instant messengers) are not stored in plain sight on Xiaomi smartphones, they are encrypted at the Android Keystore or Secure Enclave level, and it is impossible to extract them without root or special vulnerabilities.
Exceptions:
- ๐ Some applications (such as Telegram or VK) They save session tokens, not passwords. They can be reset via Settings. โ Annexes โ [name] โ Clear the data.
- ๐ Passwords from Mi Account can be reset via the official website (you need a linked email or phone number).
๐ด Warning: The Internet is often advised to use apps like Password Fox or Root Browser to extract passwords:
- ๐ต๏ธโโ๏ธ They may contain spyware (especially if they are not downloaded from Google Play).
- ๐ Require root access, which deprives you of guarantees and opens up vulnerabilities.
- ๐ต They often donโt work on new versions. MIUI/HyperOS because of the increased protection.
What is Android Keystore?
4. Where passwords are stored in the Xiaomi file system (for advanced ones)
If you have root access, or if you're willing to get it, you can try to find passwords manually, and they can be stored in the following places:
| Type of data | The path in the file system | Do you need root rights? | Notes |
|---|---|---|---|
| Wi-Fi passwords | /data/misc/wifi/WifiConfigStore.xml | โ Yes. | The file is encrypted and you need a key from /data/misc/wifi/WifiConfigStoreKey. |
| Google Chrome Passwords | /data/data/com.android.chrome/app_chrome/Default/Login Data | โ Yes. | Decryption is required using SQLite. |
| Mi Account passwords | /data/system/users/0/accounts.db | โ Yes. | It's a hash, not a password. |
| Application passwords (if saved) | /data/data/[package_name]/shared_prefs/ | โ Yes. | The file name depends on the application (e.g. auth.xml). |
โ ๏ธ Note: Even with root, password extraction is:
- ๐ ๏ธ A complex process that requires knowledge ADB, SQLite and terminal work.
- ๐จ Risk of damaging the system if you edit files incorrectly /data.
- ๐ Security breach: Open root makes your device vulnerable to attacks.
If you do, here is the basic command to view the file via ADB:
adb pull /data/misc/wifi/WifiConfigStore.xml
adb shell "sqlite3 /data/data/com.android.chrome/app_chrome/Default/Login\ Data 'SELECT * FROM logins;'"๐ก
Without root rights, it's impossible to extract passwords from Xiaomi's file system, and even if you find files, they'll be encrypted.
5. How to export passwords from Xiaomi to another phone
If you want to transfer saved passwords to a new device, you have 3 official ways:
- Synchronization through Google Account: ๐ Enable password synchronization in Settings โ Google โ Managing a Google Account โ Security โ Passwords. ๐ฑ On the new phone, log in to the same account โ passwords will be automatically pulled up.
- Export via Mi Cloud (for some passwords only): โ๏ธ Make a backup copy in Settings โ Xiaomi account โ Mi Cloud โ Backup. ๐ Select "Passwords and Data" (not available on all models). ๐ฒ On the new phone, restore the backup copy.
Manual transfer through QR-code (for Wi-Fi)
- ๐ก On an old phone, generate QR-network code (Settings) โ Wi-Fi โ [network] โ Share).
- ๐ท Scan it with a new device.
โ That won't work:
- ๐ Copying files from /data rootless.
- ๐ Transfer via Bluetooth or NFC (Passwords are not transmitted in this way).
- ๐ง Sending yourself to email screenshots with passwords (unsafe!).
Make sure that both devices are synced to Google
Check that the old phone has a backup in the Mi Cloud
Write down Wi-Fi passwords manually (in case of a crash)
Disable two-factor authentication for transfer time (if it interferes)
-->
6. Getting root permissions to access passwords: is the game worth the candle?
If you're willing to go to extreme lengths, root access will open up all the passwords on the device, but before you do that, weigh the pros and cons:
| Advantages | Risks. |
|---|---|
| โ Full access to the file system | โ Loss of warranty (on most models) |
| โ Ability to edit system files | โ Risk of "bricking" of the device |
| โ Removing passwords from any application | โ Vulnerability to viruses and hacker attacks |
| โ Installation of custom firmware | โ Some features (like Google Pay) will stop working. |
If you do decide to get root, follow this instruction (as exemplified by Magisk):
Step-by-step instructions for obtaining root on Xiaomi
๐ด Warning: On new models (Xiaomi) 13/14, Redmi Note 12) Unlocking the loader can lead to:
- ๐ Mi Account block (it takes 30 days to unlock).
- ๐ต Widevine's loss L1 (No Netflix in the world HD, Some banking applications are not working).
- ๐ Automatic resets during the update MIUI.