Forgot the password from Mi Account, Wi-Fi network or application on Xiaomi smartphone? Donβt rush to reset the device to factory settings β in most cases, passwords can be extracted directly from the system menu. In this article, we will discuss the legitimate ways to view saved passwords on Redmi, POCO and Mi phones running MIUI 12-15 (including HyperOS).
It's important to understand that Android doesn't show passwords in plain form for security reasons, but there are workarounds from built-in tools. MIUI beforehand ADB We'll look at methods without root rights (for regular users) and with root (for advanced users), and we'll also explain which passwords can't be extracted without resetting data, such as a pattern lock or a computer key. PIN-lock-code.
1. How to view Wi-Fi password on Xiaomi
Wi-Fi is the simplest case, and MIUI has a built-in tool to view stored networks, but it's hidden from the user's eyes. Here's how to find it:
1. Open Settings β Wi-Fi.
2. tap on the connected network (or select any saved from the list).
3.In the window with information about the network, click Share (arrow icon).
4.The system will request confirmation by fingerprint, PIN-code-key.
5. Upon authorization, it will appear QR-code and text password underneath.
Check that the phone is connected to this network.
Update MIUI to the latest version
Reboot your smartphone
Try another method (see below)-->
If the Share button is missing (relevant to older versions of MIUI), use an alternative method:
- Install a WiFi Password Viewer app from Google Play (such as WiFi Password Recovery).
- Launch the utility and provide access to the Wi-Fi settings.
- In the list of saved networks, select the desired one - the password will appear in the Password field.
β οΈ Note: Wi-Fi password viewing apps require superuser (root) rights to MIUI 14+. Without them, they will only show networks, not passwords.
2. View passwords from apps and sites
Xiaomi smartphones save passwords from apps and websites in Google Password Manager or Mi Cloud to see them:
Method 1. Through Google Password Manager
- Open Settings β Google β Manage your Google account.
- Go to the Security tab.
- Press Password Manager.
- Log in (if necessary) and select the desired site or application.
- Put it on the eye icon (ποΈ) next to the password field and enter PIN-code.
Method 2. via Mi Cloud (if synchronization is enabled)
- π Go to i.mi.com and log in.
- π± In the menu, select Devices β [Your phone] β Backup copies.
- π Find the Passwords and Login Data section (not available on all firmware).
In Google's password manager|In Mi Cloud|In third-party applications (1Password, KeePass)|I'm writing it down.|I remember.-->
If passwords are not displayed, check:
- π Is synchronization enabled in the settings β Accounts. β Mi Account β Synchronization.
- π Does the antivirus block access to the password manager (for example, Mi Security).
- π± Is the firmware up to date MIUI 13+ (In older versions, the function may not be available).
3. How to find out the password from Mi Account (Xiaomi account)
The Mi Account password is the most secure element in the Xiaomi ecosystem, and you can't see it in your phone's settings, but you can:
| Method | Required. | Limitations |
|---|---|---|
| Reset via email | Access to mail linked to the account | If the mail is lost, it won't work. |
| SMS reset | Phone number linked to the account | It doesn't work if the number's changed. |
| Appeal for Xiaomi support | Documents confirming possession of the device | The process takes 3-7 days. |
| Deleting your account via Fastboot | Computer, USB cable, unlocked bootloader | Drops all the data on the phone. |
Step-by-step instructions for reset via email:
- Go to the recovery page: account.xiaomi.com/pass/reset.
- Enter the email or phone number associated with the account.
- Select Send the code to email.
- Enter the received code and set a new password.
β οΈ Attention: If you don't remember email/The only way to unlock the number associated with the Mi Account is to contact the Xiaomi service center with documents on the phone. EDL) They can permanently block the device.
4. View passwords with ADB (no root)
If you have access to USB debugging, you can extract some passwords through ADB (Android Debug Bridge), which works for Wi-Fi and some applications.
Preparation:
- Turn on Developer Mode: Go to Settings β About Phone β MIUI version and tap 7 times.
- Activate USB Debugging in Settings β Additional β For developers.
- Connect your phone to your PC and confirm your trust in your computer.
Password extraction commands:
adb shell
su (if there is root)
cd /data/misc/wifi/
cat WifiConfigStore.xml | grep pswTo view app passwords (if saved in Android Keystore):
adb shell dumpsys activity service com.android.credentials /credentialsπ‘
If the adb shell command doesnβt work, update Xiaomi drivers on your PC via the official website or Mi PC Suite.
Limitations of the method:
- π No root rights. ADB It will only show encrypted data.
- π΅ Nana MIUI 14+ Some teams may be blocked by security policies.
- π§ Additional utilities will be required to decrypt passwords (for example, WiFi Password Keygen).
5.Methods for users with root rights
If your Xiaomi has Magisk or another root manager installed, advanced methods are available:
1. View all passwords through Root Explorer
- π Open Root Explorer (such as Solid Explorer) FX File Explorer).
- π Move to the /data/misc/wifi/ β Here are stored files with Wi-Fi passwords.
- π Open the file. WifiConfigStore.xml in the text editor and find the lines with <string name="PreSharedKey">.
2.Using the SQLite Editor utility
Many passwords (including application data) are stored in credentials.db:
- Install SQLite Editor from Google Play.
- Open the database at /data/data/com.android.providers.settings/databases/settings.db.
- Go to the secure table and find records from wifi_password.
3.Exporting passwords via Titanium Backup
The application allows you to backup applications, including saved logins and passwords:
- π Make a backup of Google Chrome or Mi Browser.
- π₯ Remove data from the backup with Titanium Backup Extractor on PC.
β οΈ Note: Using root rights may disrupt Mi Pay, Google Pay banking applications and services. Turn off Magisk Hide before extracting passwords or temporarily remove root.
6 Passwords that cannot be extracted
Not all passwords can be viewed even with root rights.
- π pattern lock or PIN-Screen lock code β stored in a protected area TEE (Trusted Execution Environment).
- π± Password from SIM-map (PUK-code - issued only by the operator.
- π Encryption keys (for example, for BitLocker or VeraCrypt) β if they are not saved in the password manager.
- π¦ Passwords from banking applications (Sberbank, Tinkoff, etc.) β stored in isolated containers.
For these cases, you only need to reset to factory settings (with loss of data) or contact a service center, for example, to unlock a pattern lock on Xiaomi you will need:
- Turn off the phone.
- Press the Power button + Volume up to enter Recovery.
- Select Wipe Data β Factory Reset.
π‘
If File-Based Encryption is enabled on the phone, resetting through Recovery will not remove the screen lock password, in which case only firmware via Fastboot or EDL (requires an unlocked bootloader).
7.Security: How to Protect Passwords on Xiaomi
To avoid password leakage in the future:
- π Use password managers (such as Bitwarden or KeePassDX) instead of saving in your browser.
- π Update regularly MIUI β New versions eliminate vulnerabilities that allow passwords to be extracted.
- π΅ Turn off the debugging. USB after use, so that attackers cannot access the data through ADB.
- π‘οΈ Set up two-factor authentication for Mi Account in Settings β Mi Account β Security.
Also check if passwords are stored in unnecessary places:
- Open Settings β Applications β Application Management.
- Select a browser (Chrome, Mi Browser) or an app (e.g. Facebook).
- Click Warehouse β Clear the data to delete saved logins.