Have you ever encountered a situation where an important call doesn't reach you and there's no trace of it in the call log? Or, conversely, would you like to check if a family member has blocked your number on their Xiaomi? Unlike iPhone, where a blacklist is easy to find in iCloud settings, MIUI-based smartphones hide this information deeper, and even after resetting or updating the firmware, many users lose access to the blocked contacts list, without even knowing that it is stored in the system files.
In this article, we will not only show you where locked numbers are physically stored in your device’s memory (including hidden folder paths), but also look at all the ways you view them, from standard settings to using ADB and root-access file manager. We will focus on the nuances of different versions of MIUI (12 to 15), as file layouts and menu interfaces may differ. If you are looking for a way to restore a lost blacklist or just want to make sure that your number is not locked on someone else’s phone, read on.
Standard way: where to see locked numbers in the settings Xiaomi
To start with, the most obvious is the built-in MIUI functionality, which in most cases, users don't even know that the system keeps a lock log separate from the main contact list, to find it:
- Open the phone application (pipe icon).
- Slip on three dots in the upper right corner and select Call Settings.
- Scroll down to the section Lock numbers (in) MIUI 14/15 It could be called the Black List).
- Here you will see all the numbers that have ever been locked on the device, including the date of the addition.
Important: If you don't see this section, you're running a lightweight firmware version on your device (e.g., for European or Indian markets), and then the path is different:
Settings → Applications → Application Management → Phone → Permissions → Number LockingIt is also worth noting that in MIUI 12 and older, the lock can be duplicated in the "Security":
- 🔒 Settings → Passwords & security → Number locking
- 📱 Settings → System and device → Additionally. → Call blocking (for some Redmi Note models)
⚠️ Note: If you use Google Messages or Truecaller as an app for your website SMS By default, the blacklist can be stored in the settings of these programs, rather than in the Xiaomi system menu!
Hidden folders: where the locked numbers are physically stored in Xiaomi memory
System system MIUI stores data on locks in two places: in the database of the application “Phone” and in a separate XML-They can only be accessed via Root Explorer or ADB. Here are the exact paths:
| Type of data | The path to the file | Format | Need root? |
|---|---|---|---|
| Blacklist (MIUI 12-14) | /data/data/com.android.providers.contacts/databases/contacts2.db | SQLite | Yes. |
| Log of locks (MIUI 15) | /data/user_de/0/com.miui.voiceassist/shared_prefs/blocked_numbers.xml | XML | Yes. |
| Backup (when synchronized with Mi Account) | /miui/backup/AllBackup/Contacts/blocked_contacts.bak | Binary | No (but you need access to hidden folders) |
| Cash Truecaller | /data/data/com.truecaller/shared_prefs/blocked_numbers_prefs.xml | XML | Yes. |
To view these files without root rights, you can use ADB with the command:
adb pull /data/data/com.android.providers.contacts/databases/contacts2.dbThen open the downloaded file through the program. DB Browser for SQLite and find a table blocked_numbers.
For owners of devices with an unlocked bootloader, there is a simpler way:
Install TWRP Recovery| Mount /data| Connect your phone to PC| Copy the contacts2.db| Open it via SQLite browser
-->
⚠️ Note: Modifying files in the folder /data/data/ rootless can cause the Phone app to crash. Always back up before editing!
How to Recover a Lost Blacklist After Resetting Settings
If you have done a factory reset, but you have synchronized your contacts with Mi Account before, you have a chance to return the locked numbers.
- Log in to the same Mi Account that was used before the reset.
- Go to Settings → Accounts → Mi Account → Synchronization.
- Turn on synchronization for Contacts and Call Magazine.
- Wait 5-10 minutes and check the section Lock numbers in the app “Phone”.
If synchronization doesn’t help, try restoring data from a backup:
- 📁 Go to Settings. → System system → Backup and reset.
- 🔄 Select the last backup (before resetting).
- ✅ Check “Contacts” and “Call Settings».
- 📥 Press Restore.
For users who regularly make backups through the Mi PC Suite, there is an alternative method:
Recovery with Mi PC Suite
Critical information: If you have used third-party blocking apps (such as Call Blocker or Blacklist), their data is NOT restored through Mi Account.
Checking the lock of your number on someone else’s Xiaomi
If you think your number is locked on a friend's or colleague's phone (e.g., calls don't reach and SMSs come), you can check this indirectly. Unfortunately, MIUI doesn't send a lock notification, but there are a few signs:
- 📞 The call is reset after 1-2 horns (without forwarding to voice mail).
- 💬 SMS They come, but without notice (checked through #4636## → «Phone information» → «Statistics SMS»).
- 🔕 The call log on your phone shows the status "Discarded" instead of "Not answered».
For accurate checks (if you have physical access to the phone):
- Open the phone app.
- Go to the Call log.
- Switch to three points → Settings → Lock numbers.
- Check if your number is on the list.
If you don’t have access to the phone, you can try calling from another number:
💡
Call from an unfamiliar number and ask if the calls are coming in. If so, your number is locked. If not, the problem may be in the operator or network settings.
Managing a blacklist through ADB (for advanced users)
If standard methods don’t work (for example, after updating the firmware), you can manage locks via Android Debug Bridge. USB-debugging.
First, connect your phone to your PC and execute the commands:
adb shell
content query --uri content://call_log/calls --where "type=3"This command will display all blocked calls. To see the blacklist itself, use:
content query --uri content://com.android.contacts/data --where "mimetype_id=(SELECT _id FROM mimetypes WHERE mimetype='vnd.android.cursor.item/blocked_number')"To add a number to the blacklist through ADB:
content insert --uri content://com.android.contacts/data --bind name:s:"Blocked" --bind mimetype:s:"vnd.android.cursor.item/blocked_number" --bind data1:s:"+79123456789"To delete the number:
content delete --uri content://com.android.contacts/data --where "data1='+79123456789' AND mimetype_id=(SELECT _id FROM mimetypes WHERE mimetype='vnd.android.cursor.item/blocked_number')"⚠️ Attention: Misuse of the right ADB It can cause data loss or system failure. Always check the commands on the test device!
Frequent problems and their solutions
Even with a simple feature like number locking, Xiaomi users are plagued with bugs, and here are the most common ones and fixes:
| Problem. | Reason. | Decision |
|---|---|---|
| Blacklist is empty, but calls don't go through | Conflict with Truecaller or Google Phone | Turn off the lock in the settings of these applications |
| After the MIUI update, the blocked numbers were lost | Resetting the settings of the “Phone” application | Restore from backup or add numbers again |
| You can't add a number to the blacklist. | Operator restrictions (e.g. for corporate SIM) | Try using ADB or third-party software |
| Blocking only works for calls, not SMS | Separate settings for messages in MIUI | Block the number separately in the “Messages” app |
If none of the methods worked, try resetting the phone app settings:
Settings → Applications → Application Management → Phone → Storage → Clear dataAfter that, the blacklist will be empty, but system locks (for example, through Mi Account) will remain.
Using the standard settings Xiaomi|Use Truecaller|I'm putting third-party applications |Please the operator to block |I'm not blocking at all
-->