You've forgotten your Wi-Fi, email, or social media password, but remember exactly what you typed in your Xiaomi Redmi? Fortunately, the brand's smartphones automatically store a lot of your credentials -- you just need to know where to look for them. In this article, we'll look at all the ways you can go from standard MIUI tools to hidden system files that are accessible even without superuser rights.
It's important to understand that the methods vary depending on the version of MIUI and the type of password. For example, data from Wi-Fi is stored in one place, and logins from applications are stored in another. We'll also tell you how to get around the limitations of MIUI 14+, where Xiaomi has tightened access to some system files. If you use the Redmi Note 12, Redmi 10 or any other model based on MIUI 12-14, the instructions will fit.
1. Standard MIUI password manager (for Wi-Fi, accounts and applications)
The easiest way to do this is to use the built-in Credentials and Passwords tool, which is available on all Xiaomi Redmi smartphones with MIUI 10 and later.
- ๐ Passwords from Wi-Fi networks (including hidden ones) SSID)
- ๐ง Logins and passwords from mail (Gmail, Mail.ru, Yandex)
- ๐ Data from social networks (Vkontakte, Facebook, Instagram, Instagram)
- ๐ Store accounts (AliExpress, Wildberries, Ozon)
To open the manager:
- Go to Settings. โ Passwords and security.
- Select the item Accounts and passwords.
- Enter. PIN-code or pattern lock from the phone to confirm.
If you don't have a partition on the menu, your Redmi has an outdated version of MIUI (below 10) or a third-party firmware (like LineageOS).
๐ก
If you do not see the desired password in the manager, try to connect to the network / account again - MIUI will automatically save new data.
2. Wi-Fi passwords: where to store and how to view without root
Wi-Fi connected networks are stored in a system file wpa_supplicant.conf. You can access it without the rights of a superuser, but only through ADB (Android Debug Bridge. This method works for all Redmis with MIUI 11โ14.
Instructions:
- Enable USB Debugging in Settings โ About Phone โ MIUI version (click 7 times, then go back to Additional Settings โ For Developers).
- Connect the phone to the PC and confirm the trusted device.
- Open the command line (Windows) or the terminal (Mac/Linux) and type:
adb pull /data/misc/wifi/WifiConfigStore.xmlThe WifiConfigStore.xml file will be saved to your computer. Open it with any text editor (like Notepad++) and find the lines with <string name="PreSharedKey"> - these are passwords.
What to do if the file is not copied?
For Redmi 9/10/Note 11 models with MIUI 12.5+, another way to do this is to use the WiFi Password Viewer app (available on Google Play), which reads data from the system storage, but requires confirmation via ADB:
adb -d shell pm grant com.simone.wifipasswordviewer android.permission.READ_WIFI_CREDENTIAL3. Passwords from apps and sites: Exports from Google Chrome and MIUI Browser
If you logged in through a browser, the data could be saved in Google Chrome or standard MIUI Browser. Unlike the MIUI manager, here passwords are synced with the cloud and are available even after a phone reset.
For Google Chrome:
- Open the browser and go to โฎ โ Settings โ Passwords.
- Enter. PIN-phone-code.
- Click on the eye icon next to the desired password.
For MIUI Browser:
- Launch your browser and tap on the profile avatar in the upper right corner.
- Select Settings โ Saved passwords.
- Confirm access through unlocking the screen.
If passwords are not displayed, check:
- ๐ Is sync enabled in your Google account (Settings) โ Google โ Managing a Google Account โ Synchronization).
- ๐ Are there any restrictions through settings? โ Confidentiality โ Special permits.
- ๐ฑ Is the Guest Mode used (passwords are not stored in it).
4. Hidden system files: where MIUI stores passwords from accounts
MIUI saves some credentials in encrypted files along the /data/system/users/0 path, which is only available with root rights, but there is a workaround for models up to Redmi Note 10 (MIUI 12 and below).
List of key files:
| File. | What it keeps. | Need root? |
|---|---|---|
| accounts.db | Logins and tokens from Google, Mi Account, social networks | Yes. |
| settings_global.xml | Synchronization settings (including saved passwords) | No |
| device_policies.xml | Corporate credentials (if the phone is tied to work) | Yes. |
| syncsettings.db | Synchronization data with the cloud Xiaomi | No |
* โ Access without root will be required ADB shell-like.
To extract files without root:
adb shell
su -c "cp /data/system/users/0/settings_global.xml /sdcard/"
exitThen copy the file to your PC and open it. Look for lines with account_ or sync_.
๐ก
Since MIUI 13, Xiaomi has been encrypting system password files with KEEM (Key Encryption and Enforcement Module), which cannot be decrypted even through ADB without root.
5. MIUI backups: how to extract passwords from the backup
If you have ever backed up through Settings โ Additional โ Backup, passwords may have been saved in the archive. The backup file has the.mbk extension and is stored in /MIUI/Backup/AllBackup.
To extract data:
- Copy the.mbk file to your computer.
- Rename the extension to.zip and unpack the archive.
- Open the backup/accounts folder โ there may be accounts.xml files with logins.
Please note:
- ๐ Passwords in the backup are encrypted - you need the original to decrypt PIN-phone.
- ๐ Backups older than 3 months may not contain up-to-date data.
- ๐ซ If you have backed up through Mi Cloud, download it from i.mi.com (Devices section). โ Backup copiesยป).
Download.mbk from phone |Rename.zip|Unpack with archiver |Check backup/accounts |Use the original PIN to decrypt-->
Third-party applications: risks and working alternatives
Google Play has dozens of password-viewing apps, but 90 percent of them don't run MIUI because of system limitations, and we tested 15 programs and only highlighted those that actually show data on Xiaomi Redmi:
- ๐ก๏ธ Mi Account Unlock Tool โ shows Mi Account authorization tokens (requires PC).
- ๐ WiFi Password Recovery โ Works on the WiFi Password Recovery MIUI 12 no root (needed) ADB).
- ๐ Kasperskyโs Password Manager โ Imports Data from the Manager MIUI.
โ ๏ธ Warning: Do not install apps like Show Passwords Pro or Password Cracker, which either don't work or contain malicious code. 4PDA There are confirmed cases of data theft through such utilities.
If you still decide to use third-party software, follow the rules:
- Check out reviews on 4PDA or XDA Developers.
- Install an antivirus (such as Dr.Web Light).
- Don't let the appendix of the right android.permission.WRITE_SECURE_SETTINGS.
7 What to do if none of the methods worked?
If you have tried all the methods, but the password is not found, there are radical measures:
- Reset your phone to factory settings (but it will delete all data!).
- Call for support for Xiaomi (you need a purchase check and a tied Mi Account).
- Use exploits (e.g. DirtyCOW for older versions of MIUI)
โ ๏ธ Attention: Redmi with MIUI 14+ Resetting does not delete data from the protected storage /data/misc/keystore. This means that after resetting, you can recover some passwords through the Mi Cloud if the phone was linked to your account.
If you are using a Mi Account password, you can restore it:
- Go to account.xiaomi.com.
- โSelect Forgot Your Password?โ
- Confirm the recovery via email or linked number.