Where and how to find passwords on the Xiaomi phone: from MIUI backup

Forgot your Wi-Fi, social media, or email password, but remember that you used to type it on a Xiaomi smartphone? Probably still stored on the system, you just need to know where to look. Unlike iPhone, where passwords are synced through iCloud, devices on the device on the device. MIUI Distribute them to several storages: from the built-in account manager to hidden backup files.

The problem is that Xiaomi doesn’t offer a universal password manager like Google Password Manager, but instead the data is scattered across different sections: some is available through settings. MIUI, Some of them are root-rights, and some passwords can only be extracted from a PC. In this article, we'll look at all the working methods, from the simplest to the most technically sophisticated, that can help you find your passwords without losing data.

Important: If you’re looking for a Mi Account password (to unlock your phone after a reset), this case requires a separate guide, and this will be about passwords from Wi-Fi, apps, sites, and services you’ve ever entered on your device.

1. Search passwords through the built-in manager MIUI

The most obvious way is to check the standard storage MIUI. The manufacturer has integrated several tools for managing accounts into the firmware, but not all of them are intuitive.

Let's start with the password manager. MIUI, It automatically stores data from certain apps and sites:

  1. Go to Settings. β†’ Passwords and security.
  2. Select the application password (on some versions – Password Management).
  3. Enter. PIN-phone code or pattern lock to confirm.

Here you will see a list of applications (e.g. Facebook, Twitter, banking programs) for which the system has saved a login and password β€” MIUI not always automatically save data, especially if you have manually disabled this feature or used third-party browsers.

πŸ’‘

If the password manager is empty, try updating it. MIUI In firmware older than 2021, the function was unstable.

Another place where passwords can be stored is the Accounts section:

  • πŸ”‘ Settings β†’ Accounts. β†’ Google β†’ Here you can sync your passwords from Google Password Manager (if sync is enabled).
  • 🌐 Settings β†’ Accounts. β†’ Mi Account β†’ Sometimes, data from Xiaomi services (e.g. Mi Cloud) is displayed here).
  • πŸ“± Settings β†’ Annexes β†’ Application management β†’ Select an application (for example, VKontakte) and check the Password section (not available for all programs).
πŸ“Š Have you ever used a built-in password manager on Xiaomi?
Yeah, often.
Yeah, but it's empty.
No, I didn't know about him.
I prefer third-party applications.

2. Removing passwords from backup copies MIUI

If you have ever created a local backup through Settings β†’ The phone. β†’ Backup, passwords could be saved in the archive, and this method works even without root rights, but requires access to a PC.

Here's how to extract the data:

  1. Connect your phone to your computer via USB (in File Transfer mode).
  2. Go to the MIUI/backup/AllBackup folder on the internal drive.
  3. Find a file with the.mbk extension (for example, backup_20260515.mbk).
  4. Download the utility. MIUI Backup Extractor (for Windows) and open the file through it.

There's a file in the archive. system_app β€” This is where data from applications, including passwords, can be stored:

  • ⚠️ Passwords are often encrypted – without technical skills they cannot be decrypted.
  • πŸ” Look for files with.db or.xml extensions (e.g. accounts.db).
  • πŸ“ Wifi folder in the archive can contain passwords from Wi-Fi networks in plain form.
What does the Wi-Fi password look like in a backup?
In the file wifi/WifiConfigStore.xml look for lines of form: <string name="NetworkList"> <Network> <SSID>Your Wi-Fi</SSID> <PreSharedKey>password</PreSharedKey> </Network> </string>

If the backup is encrypted (a file with the.mbk.enc extension), it can only be decrypted by knowing the original password from the archive. PIN-code that unlocks the phone.

3. Wi-Fi passwords: how to watch without root

Wireless passwords are some of the most popular ones, and fortunately, you can extract them without special permissions on Xiaomi if the phone is already connected to the network.

Method 1: Through QR-code MIUI 12 and newer):

  1. Open the Settings. β†’ Wi-Fi.
  2. Click on the name of your network.
  3. Slap the icon. QR-code (near the button Remove).
  4. The code will display the password in text form.

Method 2: Through a configuration file (requires a file manager with access to system folders, for example, FX File Explorer):

  • πŸ“‚ Cross the path. /data/misc/wifi/WifiConfigStore.xml.
  • πŸ” Open the file with a text editor and find the tag <PreSharedKey>.
  • ⚠️ On the new versions MIUI This method may not work due to security limitations.

Method 3: Through ADB (No root, but you need a PC):

adb shell


su -c "cat /data/misc/wifi/WifiConfigStore.xml | grep PreSharedKey"

If the team returns a Permission denied error, root rights are required.

Make sure your phone is connected to the right network

Try the method with QR-code (MIUI 12+)

Check for a file manager with access to system folders

Prepare the PC with ADB (if complex methods are needed)

-->

4. Search for passwords in browsers and applications

If you saved passwords when you logged in to a site through a browser, you can extract them directly from Chrome, Mi Browser, or other programs, and let's look at two options: through browser settings and through data export.

In Chrome:

  1. Open Chrome and tap on three points β†’ Settings.
  2. Go to Passwords (Section Main Settings).
  3. Enter. PIN-phone code.
  4. Click on the eye icon next to the password to see it.

In the Mi Browser browser:

  • πŸ”— Open Mi Browser. β†’ Menus. β†’ Settings β†’ Confidentiality β†’ Passwords.
  • πŸ” Here you will see saved logins and passwords (if the function is enabled).
  • ⚠️ In the latest versions of Mi Browser, this section may not be available – the manufacturer has removed it in favor of Google Password Manager.

For exporting Chrome passwords to PC:

  1. On your computer, open passwords.google.com (authenticate under the same account as your phone).
  2. Press three points. β†’ Password exports.
  3. Enter the password from your Google account and download the.csv file.

The file will have all the passwords saved in plain view. Never give this file to third parties, because it contains sensitive data from all your accounts.

5. Complex methods: root access and specialized utilities

If the previous methods did not work, radical measures remain – obtaining root rights or using tools like this. TWRP. These methods are suitable for power users and are fraught with the risk of data loss or phone locking.

Way 1: Root. + Password Viewer application

  • πŸ“± Install Magisk to get root (instructions depend on the Xiaomi model).
  • πŸ”“ Download the Password Viewer app from Play Market (e.g. Passwords Viewer from Simone Dev).
  • πŸ” Run the scan - the program will show all saved passwords, including system.

Method 2: Extracting through TWRP

If the phone has custom recovery installed (TWRP), You can manually copy files with passwords:

  1. Boot to TWRP (clip Power + Volume up when turned on).
  2. Go to Advanced β†’ File Manager.
  3. Find the folders: /data/data/com.android.providers.settings/databases (password) /data/data/com.google.android.gms/databases (Google passwords)

.db

SQLite Browser

πŸ’‘

Getting root rights voids the warranty and may result in some features being blocked (e.g. Google Pay or banking apps).

Method 3: ADB root

If you already have root, you can extract passwords through commands:

adb shell


su




cd /data/data/com.android.providers.settings/databases




sqlite3 settings.db "SELECT * FROM secure WHERE name LIKE '%password%';"

This command will display all the records associated with passwords, but decrypting them can be difficult – often the data is stored in encrypted form.

6.Alternative ways: cloud services and third-party managers

If you have third-party password managers installed on your phone (for example, 1Password, KeePass, LastPass, check them first. These apps store data in encrypted storage, but with a master password, you can easily access all the stored records.

Cloud services where passwords can be stored:

ServiceWhere to findHow to extract
Google Password Managerpasswords.google.comSign in with the same account as on your phone.
Mi CloudSettings β†’ Mi Account β†’ Cloud. β†’ Backup copiesRestore backup to your new phone
Samsung Pass (if previously Samsung Pass)account.samsung.comExport data to.csv
Yandex.KeyApplication Yandex or passport.yandex.ruSecurity section β†’ Saved passwords

If you’ve been syncing through your Xiaomi account, try restoring data to another device:

  1. Sign in to the same Mi Account on another Xiaomi smartphone.
  2. Go to Settings β†’ About Phone β†’ Backup.
  3. Select the last backup and restore it.
  4. Check the password manager and Wi-Fi settings – the data should appear.

πŸ’‘

If you often forget passwords, set up automatic sync with Google Password Manager. β†’ Google β†’ Managing a Google Account β†’ Security β†’ Passwords and enable the option Save passwords.

7. What should I do if nothing has worked?

If none of the methods worked, the last options remain:

  • πŸ”„ Resetting your phone to factory settings (will delete all data, but sometimes it’s the only way to eliminate locks).
  • πŸ“ž Call for Xiaomi support (if you are talking about a password from Mi Account – link your account to a new device).
  • πŸ› οΈ Contacting a service center (to extract data from a physical drive is expensive and not always effective).

If you forget the password from the Mi Account, which is linked to the phone, you can restore it through:

  1. The official website is account.xiaomi.com (Forgot the password?).
  2. A linked phone number or email (if not changed).
  3. Appeal in support of Xiaomi with confirmation of purchase (checks, box).

⚠️ Note: If your phone is locked due to multiple misentry of your Mi Account password, don’t try to unlock it yourself – this can result in a complete lock. IMEI. In such cases, official intervention is required.

FAQ: Frequent questions about finding passwords on Xiaomi

Can I find passwords without root rights?
Yes, some passwords (e.g., from Wi-Fi via Wi-Fi) QR-code or from Google Password Manager is available without root, but application system passwords and some backup data require extended rights.
Where are the passwords from banking applications stored?
Banking applications (e.g., SberBank Online, Tinkoff) typically don't store passwords in plain form; data can be stored in encrypted application containers or in Android Keystore. It's almost impossible to extract it without root.
How to find a password from an old Wi-Fi network that your phone is not connected to?
If the network is not saved in the current settings, try: View backups in MIUI/backup. Check Google Password Manager (if the network was added via Chrome) and use specialized utilities like WiFi Password Viewer (requires root).
Can passwords be restored after resetting the phone to factory settings?
If you have backed up your passwords (locally or in Mi Cloud) before the reset, you can restore them, otherwise the data is deleted permanently, except for passwords synchronized with Google.
Is it safe to use third-party apps to search for passwords?
Most apps from the Play Market that promise to show all passwords require root rights or are fraudulent, and we recommend using only proven utilities (such as Password Viewer from well-known developers) and avoid programs that request unnecessary permissions.

If you regularly experience forgotten passwords, consider using specialist managers like Bitwarden or KeePass, which not only store data in encrypted form, but also make it easy to sync it between devices.