How to view locked numbers on Xiaomi: all ways from MIUI 12 to HyperOS

Locked numbers on Xiaomi smartphones are not just a spam protection feature, but also a potential black hole for important contacts that you might have accidentally blocked. Unlike iPhones or smartphones on pure Android, the MIUI shell (and its successor HyperOS) hides this list in an unobvious way, and in some versions of the firmware it requires additional manipulation to access. If you are trying to find a number that stopped calling you, or want to clear the list of accumulated spam, this guide will help you understand all the nuances.

Complicating the problem is that Xiaomi regularly changes the settings in new versions of the shell. For example, in MIUI 14 the path to the blacklist is different from HyperOS, and on some models (for example, Redmi Note 12 Pro+) the lock function is duplicated in the Security app and the standard Phone. We tested all the current methods on devices from POCO X5 to Xiaomi 14 Ultra and collected working methods from basic to hidden.

Important: If you use third-party applications to block calls (like Truecaller or GetContact), their blacklists are kept separate from the system, in which case you will have to check each service separately, as we will also discuss below.

1. Standard method: through the application "Phone"

The most obvious method is to use the built-in Phone app (the handset icon) which works on all versions of MIUI and HyperOS, but the interface may vary slightly depending on the model.

  1. Open the phone app (not to be confused with Contacts!).
  2. Press three points (โ‹ฎ) in the upper right corner and select Settings.
  3. Scroll down to the Blocking Numbers section (or Blacklist in older versions).
  4. The system can request a screen lock password or a fingerprint to confirm.

In the list that opens, you'll see all the locked numbers with the lock date.

  • ๐Ÿ” Search by number โ€“ use the search bar at the top if the list is large.
  • โž• Add a number โ€“ the button is usually located in the lower right corner.
  • โŒ Delete the number - swipe left on the record or click on the basket.
  • ๐Ÿ“ค Export list โ€“ not available on all models (more on this in the section about backup).

โš ๏ธ Note: On certain devices (e.g, POCO F5) The section Blocking numbers can be hidden behind the additional menu Additional or Advanced settings. If you do not find the item, check all tabs in the phone settings.

๐Ÿ“Š What version? MIUI/HyperOS You're using it?
MIUI 12/13
MIUI 14
HyperOS
I don't know.
other

2. Alternative path: through the "Settings" of the system

If the Phone app doesnโ€™t display locked numbers (this happens after resetting or updating your firmware), try finding the list through system settings. This method works on Xiaomi with MIUI 11 and newer, including HyperOS:

  1. Open the settings (cog icon).
  2. Go to the Appendix section โ†’ Application management.
  3. Press three points (โ‹ฎ) in the upper right corner and select Special Access.
  4. Select the number lock (or blacklist).

Here you will see the same numbers as in the Phone app, but with additional options:

  • ๐Ÿ›ก๏ธ Blocking Unknown Numbers โ€“ Enabled by a Separate Switch.
  • ๐Ÿ“ฑ Sync with your Mi Account โ€“ if the feature is active, the list will be available on all devices under your account.
  • ๐Ÿ”„ Reset list โ€“ button for complete cleaning (requires confirmation).

On HyperOS, the path may look different:

โ†’ Communication and SIM- Card settings โ†’ Number locking

โš ๏ธ Note: If you see a blank list in this section but are sure you have blocked numbers, check the Security app settings (see next section). 13T) locking in.

Check the MIUI/HyperOS version in the settings

Make sure you have access to the screen lock password

Open the "Phone" or "Settings" app (both options)

If you use Truecaller, check its blacklist separately.-->

3.The blacklist in the Security appendix

Xiaomiโ€™s Security app not only scans viruses, but also controls call blocking on some models, a technique that is relevant for devices with MIUI 12-14, where locking can be integrated into the protection module.

  1. Open the Security app.
  2. Go to the Block or Antispam tab (name depends on version).
  3. Select the Blacklist or Blocked Numbers.

In this section you can:

  • ๐Ÿ“ž View the history of blocked calls โ€“ some versions show how many times the blocked number has called.
  • ๐Ÿ”— Link to the system blacklist โ€“ if the option is active, the lock will work in the Phone application.
  • ๐Ÿšซ Add numbers from Xiaomi spam database โ€“ automatically blocks known spam numbers (the feature is not available in all regions).

On the POCO M6 Pro and some other models, the Security app can be called Security or Mi Security. If it's not on the menu, check the Additional folder or install it through GetApps.

Xiaomi modelWhere to look for a blacklistPassword required
Xiaomi 14 / 14 Pro (HyperOS)Settings โ†’ Communication and SIM โ†’ BlockingYeah (PIN/print)
Redmi Note 12 Pro+ (MIUI 14)Phone. โ†’ Settings โ†’ LockdownNo (unless established)
POCO X5 Pro (MIUI 13)Security โ†’ Antispam โ†’ Blacklist.Yes (pattern lock)
Xiaomi 11T Pro (MIUI 12.5)Settings โ†’ Applications โ†’ Special. access โ†’ BlockingYes (password)

4. How to export and import a blacklist

If you plan to reset your phone to factory settings or upgrade to a new Xiaomi device, itโ€™s helpful to keep a list of locked numbers. Unfortunately, thereโ€™s no direct export option in standard MIUI/HyperOS settings, but there are workarounds:

Method 1: Backup with Mi Account

The most reliable method is synchronization with the Mi Account:

  1. Open Settings โ†’ Xiaomi account.
  2. Select Mi Cloud โ†’ Synchronization.
  3. Make sure that the synchronization of Contacts and Phone Settings is enabled.
  4. After a reset or on a new device, log in to the same account and wait for the data to be restored.

Method 2: Manual export through files

For advanced users, there is a way to extract the list of blocked numbers from system files (root rights are required):

1. Install a file manager with root access (e.g., Root Explorer).


2.Cross the path:




/data/data/com.android.providers.contacts/databases/contacts2.db




3 Open the database and find the table blocked_numbers.




4. Export the data to the CSV file.

โš ๏ธ Warning: Changing system files without root rights can cause the Contacts app to crash. If you are not sure about your actions, use the first method with Mi Cloud.

๐Ÿ’ก

Before resetting your settings, take screenshots of the screen with locked numbers โ€“ this will help you quickly restore the list manually on a new device.

5. Viewing blocked numbers through ADB (for experienced)

If standard methods donโ€™t work (for example, after a failed firmware update), you can try to extract a list of blocked numbers through the help of the Internet. ADB (Android Debug Bridge is a suitable solution for Xiaomi on any version MIUI/HyperOS, It requires a computer and basic command line skills.

You'll need:

  • ๐Ÿ–ฅ๏ธ Computer with installed ADB Tools.
  • ๐Ÿ“ฑ Included debugging by USB on a smartphone (in Settings) โ†’ The phone. โ†’ Version. MIUI Press 7 times, then return to Additional โ†’ For developers).
  • ๐Ÿ”Œ Cable USB (preferably original).

Instructions:

  1. Connect the phone to your computer and allow debugging over USB.
  2. Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell content query --uri content://call_log/calls --where "type=5"

This command will display a list of all blocked calls. To export only numbers, use:

adb shell content query --uri content://call_log/calls --where "type=5" --projection "number:number"

To view the current blacklist (numbers only):

adb shell content query --uri content://com.android.contacts/blocked

โš ๏ธ Attention: Teams ADB They may not work on some custom firmware or if the manufacturer has blocked access to system databases.

What if the ADB canโ€™t see the device?
1. Check if the drivers are installed for your Xiaomi model (download from the official website). 2. Try another one. USB-cable (not all cables support data transfer). 3. Restart your phone and computer. 4. In the developer settings on your phone, select the connection mode "File transfer" (MTP) instead of "Only charging".

6 Recovery of the deleted blacklist

If you accidentally cleared the list of blocked numbers, you can restore it in several ways โ€“ depending on whether synchronization or backup was enabled.

Method 1: Recovery with Mi Cloud

If the sync with the Mi Account was active:

  1. Open your Settings โ†’ Xiaomi Account โ†’ Mi Cloud.
  2. Select Restore and specify the date when the blacklist was still up to date.
  3. Confirm the recovery of Contacts and Phone Settings data.

Method 2: Using a Google backup

If you have used backup through your Google Account:

  1. Go to Settings โ†’ Google โ†’ Backup.
  2. Click Recover Data and select the latest backup.
  3. Make sure that the Contact and Application Settings points are marked.

Method 3: Manual recovery from files

If you have a backup of your phone files (e.g., via Mi PC Suite or TWRP), try extracting the contacts2.db database file from the /data/data/com.android.providers.contacts/databases/ folder and recovering it with SQLite.

On HyperOS devices, blacklist backups can be stored encrypted, and their recovery requires the original password from the Mi Account associated with the phone.

๐Ÿ’ก

If sync with Mi Cloud has been disabled, it is almost impossible to restore the blacklist after resetting.

7. Frequent problems and their solutions

When working with locked numbers on Xiaomi, users encounter typical errors, and we have collected the most common ways to fix them:

Problem.Possible causeDecision
Blacklist is empty, but numbers are blocked.Synchronization with Mi Cloud overwrites dataCheck the list in the Security app or turn off sync
You can't add a number to a blacklist.Operator restrictions or regional settingsTry using the Truecaller app or update the firmware
After the MIUI update, the blacklist disappearedResetting the settings of the phone applicationRestore data from backup or add numbers again
Locked numbers still ring.Conflict with duplicate applications (e.g. Dual Apps)Check the lock settings in each profile separately

If none of these methods worked, try:

  • ๐Ÿ”„ Reboot your phone โ€“ sometimes it resets the phone app cache.
  • ๐Ÿ“ฒ Clear the cache of the Phone and Contacts application in the settings.
  • ๐Ÿ”ง Reset network settings (in some cases helps with synchronization failures).

FAQ: Answers to Frequent Questions

Can you see who called from the blocked numbers?
Yes, but not all versions of MIUI/HyperOS. Security (Antispam section) sometimes displays a history of blocked calls with date and time, and you can also use a call log with a filtered number on the locked numbers (if the function is supported by your model).
How to block a number if it is not displayed in the contact list?
Open the Phone app, go to the Call Log, find the number you want, click on it and select Lock. If the number is not in the log, enter it manually in the lock settings (Add number section).
Why do blocked numbers keep coming in SMS?
Blocking calls and SMS Xiaomi is set up separately. To block and messages, open the Messages app, click on three dots (โ‹ฎ) โ†’ Settings โ†’ Blocking and spam โ†’ Blocked numbers. Add numbers manually or enable the Block option. SMS block-off.
How to unlock a number if you forget the password from the blacklist?
If you set a password to access locked numbers and forgot it, the only way to reset your phone is to factory-fabricated, but this will delete all data, including contacts and apps. The alternative is to try to restore access through your Mi Account (if sync is enabled). On some models (e.g. Xiaomi 13), the blacklist password matches the screen lock password.
Can I block numbers from a specific prefix (e.g. +375)?
There is no such feature in standard MIUI/HyperOS settings, but you can use workarounds: Install the Truecaller app and adjust the filtering by region. Use Tasker or Automate to create an automatic lock rule. Some firmware (e.g. xiaomi.eu) have advanced mask lock settings.