You forgot your password from a social network, email or banking app, but remember exactly what you entered it on your Xiaomi? MIUI system automatically saves many credentials β but where exactly to look for them? In this article, we will analyze all possible password storage locations: from the built-in Google Smart Lock manager to hidden system files, and also tell you how to safely export and restore access.
Itβs important to understand that search methods depend on the version of MIUI (12, 13 or 14), the smartphone model (Redmi Note 11, POCO X5, Xiaomi 13, etc.) and even whether you used third-party applications to store passwords. We have compiled current ways for 2026, including workarounds for devices with a locked bootloader or after resetting.
If youβre looking for Wi-Fi passwords, this is a separate topic (you can find them in Settings β Wi-Fi β Save Networks) and itβs just about passwords from apps, sites, and accounts that the system could save automatically or at your request.
1. Built-in password manager MIUI (Google Smart Lock)
The main password repository in Xiaomi is Google Smart Lock, integrated into MIUI since version 12, which automatically stores data from apps and sites if you allowed autocomplete the first time you log in, to find the saved passwords:
- Open Settings β Google β Manage your Google account.
- Go to the Security tab.
- Click on Password Manager (or Passwords in newer versions).
- Sign in if necessary (entry will be required). PIN-fingerprint).
Here you will see a list of sites and applications with saved logins/passwords. To see the password, click on the desired service and confirm access through biometrics or a pattern lock.
π‘
If the password manager is empty, check if autocomplete is enabled in Settings β Additional β Language & Entering β Autocomplete. There must be activated Google Smart Lock or another manager (such as Bitwarden).
Limitations of the method:
- πΉ It only works for passwords saved after you first set up your Google account on your device.
- πΉ Does not show passwords from Xiaomi system applications (such as Mi Account or Mi Home).
- πΉ After resetting the data is deleted if there is no sync with Google.
2. MIUI system files: where passwords are stored manually
If Google Smart Lock didnβt help, passwords can be stored in encrypted MIUI system files, which can only be accessed with root rights or through ADB (for advanced users).
| Type of data | The path to the file | Need root? | Notes |
|---|---|---|---|
| Wi-Fi passwords | /data/misc/wifi/WifiConfigStore.xml | Yes. | Only for manually connected networks |
| Application passwords (Google) | /data/data/com.google.android.gms/shared_prefs/phenotype*.xml | Yes. | Encrypted, need decryption. |
| MIUI local passwords | /data/system/users/0/accounts.db | Yes. | It contains account tokens, but not the passwords themselves. |
| Cash of the Mi Browser browser | /data/data/com.android.browser/app_webview/Cache | Yes. | Session cookies may be stored |
Warning: Trying to modify or copy these files without root permissions will cause a system failure, and even with root, accessing passwords often requires additional tools like SQLite Editor or Root Explorer.
To view files via ADB (without root, but with debugging over USB):
adb shell
su
ls /data/data/com.google.android.gms/shared_prefs/How to get root on Xiaomi in 2026?
3. Third-party password managers: Bitwarden, KeePass, 1Password
If you use third-party password storage apps, the data doesn't get into the MIUI system storage. Popular managers and where to look for passwords:
- π Bitwarden: data synced to the cloud, accessible via the web version (vault.bitwarden.com) or application. /data/data/com.x8bit.bitwarden/databases (root).
- π KeePass: Passwords are stored in an encrypted.kdbx file that you specified when you set up. /storage/emulated/0/Download or Documents.
- π 1Password: synchronizes with their servers, but the local cache can be found in the /data/data/com.onepassword.android (root-only).
- π LastPass: After the data leak in the 2022 In the year, it is not recommended to store sensitive information. Data is stored in the cloud, locally - only cache in the cloud. /data/data/com.lastpass.lpandroid.
How to restore access if you forget the master password:
- For Bitwarden and 1Password, use the recovery function via email (if configured).
- For KeePass, check backups of the.kdbx file in the cloud (Google Drive, Mi Cloud).
- If nothing works, try tools like KeePassDX (for Android) with brute-force (for simple passwords only!).
4. passwords from Xiaomi system applications (Mi Account, Mi Home, Mi Fit)
Xiaomi system applications (Mi Account, Mi Home, Mi Fit) store passwords separately from Google Smart Lock. Here's how to find or reset them:
- π± Mi Account: You can reset your password from your Xiaomi account via account.xiaomi.com (you need a linked email or phone). /data/data/com.xiaomi.account (root-only).
- π Mi Home: Passwords from smart devices (Yeelight, Aqara) are stored in the Mi Home cloud. Use the Forgot Password feature in the app to restore access. Local tokens can be found in the Mi Home cloud. /data/data/com.xiaomi.smarthome, But they're useless without server authorization.
- π Mi Fit/Zepp: Account data is synchronized with Huami servers, and password can be restored via account.huami.com. /data/data/com.xiaomi.hm.health Only cached data is stored (root required).
β οΈ Note: If you sell or transfer a smartphone, be sure to log out of Mi Account in Settings β Accounts. β Mi Account β Otherwise, the new owner will be able to access your smart devices via Mi Home!
5. Recover passwords after resetting settings (Hard Reset)
If you reset to factory settings (Settings β About Phone β Settings Reset), the chances of recovering passwords depend on whether sync was enabled:
- β Google sync enabled: Google Smart Lock passwords will be automatically restored after logging in to your account.
- β Synced: Local passwords (including Mi Account data) will be lost irretrievably.
- π Backup copy MIUI: If you create a backup through Settings β Additionally. β Backup, passwords can be recovered from the archive (but only on the same device!).
How to check if the synchronization has been done:
- Go to passwords.google.com from your computer.
- Sign in with the same account as Xiaomi.
- If the password list is not empty, the data is synchronized.
To recover from local MIUI backup:
- Connect your smartphone to your PC and copy the backup file (usually in /MIUI/backup/AllBackup).
- Restore it through Settings β Additional β Backup β Restore.
- Note: This will only work if the backup is made before the reset.
Create a backup copy in MIUI
Check the synchronization of Google Smart Lock
Copy.kdbx (KeePass) files into the cloud
Sign out of Mi Account and other accounts
Write down important passwords on paper (just in case)-->
6. Alternative methods: debugging by USB and specialized utilities
If standard methods don't work, you can try advanced tools that require technical skills and don't always guarantee results, but sometimes help you recover lost data.
Method 1: Extract through ADB (without root)
Some passwords (e.g., from Wi-Fi) can be extracted through ADB, even without root permissions.
- Enable USB Debugging in Settings β About Phone β MIUI version (click 7 times, then go back to Additional β For Developers).
- Connect your phone to your PC and execute the command: adb pull /data/misc/wifi/WifiConfigStore.xml The file will be saved on your computer β it can be opened by any text editor (passwords will be encrypted, but they can be decrypted with online tools).
Method 2: Using utilities to extract data
Programs like Dr.Fone, iMobie PhoneRescue, and Tenorshare 4uKey promise to recover passwords from Android devices.
- π° Most of the functions are paid (from 30)$).
- π Requires an unlocked bootloader or root.
- β οΈ Risk of installing malware (download only from official sites!).
Method 3: Memory dump analysis (for experts)
If you have physical access to the device and Hex editor skills, try:
- Make a memory dump through ADB or TWRP.
- Scan it with utilities like BulletPassView (for Windows) for passwords.
This method is extremely time-consuming and only suitable for critical data (for example, passwords from cryptocurrency wallets).
π‘
Most of the magic password recovery software is fraud, and the only reliable ways are sync with Google, backups, or manual search in system files (from root).
7.How to Protect Your Passwords on Xiaomi in the Future
To avoid losing access to your accounts, follow these rules:
- π Enable Google Smart Lock Sync: Go to Settings β Google β Managing a Google Account β Security β Password Manager: Activate Automatic Login and Save Passwords.
Use a third-party manager:
Bitwarden
KeePass
MIUI
Regularly create backup copies:
- For KeePass: export the.kdbx file to Google Drive or Mi Cloud.
- For MIUI: Use built-in backup (Settings β Additional β Backup).
Keep a paper journal:
Mi Account
What not to do:
- β Store passwords in Notes or Notepad without encryption.
- β Use the same password for all services.
- β Disable two-factor authentication (2FA) high-profile.
On Xiaomi itself, the rootless Wi-Fi password can only be extracted through ADB (see Section 6).