Blocking numbers not from the contact list on Xiaomi: the full guide 2026

Every day, Xiaomi smartphone owners face intrusive calls from scammers, spammers and unwanted subscribers. Especially annoying when the phone twitches from incoming numbers from unknown numbers that are not stored in your phone book. Fortunately, MIUI firmware offers several effective tools to solve this problem, from standard locking features to hidden settings that few people know about.

In this article, we’ll look at all the available ways to block numbers that aren’t in your contacts, including setting up a blacklist, activating a spam filter, and even using third-party apps for advanced protection. We’ll focus on the nuances of how features work on different versions of MIUI (12 to 14) and smartphone models – from budget Redmi Notes to flagship Xiaomi 13 Ultra. You’ll learn how to set up automatic lock, what exceptions can be added, and what to do if standard methods don’t work.

Why Xiaomi’s standard lock doesn’t always work

Many users complain that even after adding a number to the blacklist, calls continue to arrive, the reason lies in the peculiarities of the MIUI and telecom operators:

  • 📞 Number masking: Spammers often use Caller swapping ID, It's showing random numbers instead of real numbers, and it's blocking a specific number, but it doesn't recognize its clones".
  • 🔄 Updates MIUI: After major updates (for example, with the MIUI 13 on MIUI 14) some security settings, including filtering rules, are reset.
  • 📡 Operator services: Some mobile operators (for example, MTS or Beeline) offer their own blocking services that may conflict with system systems.

Another common problem is blocking delay: in MIUI 12 and older, a number is added to the blacklist not instantly, but after 1-2 missed calls, this is done to protect against random blocking, but creates a loophole for spammers, the solution is to use a combination of system tools and third-party applications, which we will discuss below.

📊 How often do you get calls from unknown numbers?
Every day.
Several times a week
Nearby
Very rarely.

Method 1: Blacklist in the standard "Phone" app

The easiest method is to use the built-in lock function in the Phone app, which works on all Xiaomi smartphones, including the Redmi 9A, POCO X3 and Xiaomi 12T, regardless of the version of MIUI.

Instructions:

  1. Open the Phone app (the tube icon on the home screen).
  2. Go to the Journal tab and find the unwanted number.
  3. Click on the number, then select ⋮ → Lock down.
  4. Confirm the action by selecting Block this number.

To manage the entire blacklist:

  1. In the app Phone go to the ⋮ → Settings → Number locking.
  2. Here you'll see all the blocked contacts. You can add the number manually by pressing +.
  3. Enable the option to Block Unknown Numbers (if available in your version of MIUI).

Added all spam numbers from the magazine

The option “Block Unknown” (if any) is enabled

Exemptions for important contacts

Sync with Google account disabled (to avoid duplicates)-->

Important nuance: MIUI 14 has a Fraud Recognition feature that automatically tags suspicious numbers. To activate it, go to Settings → Apps → Phone → Fraud Recognition and turn on the slider. The system will use the Xiaomi database to identify spammers.

Method 2: Spam filter in security settings

MIUI firmware includes a built-in Security module that can filter not only calls, but also SMS. This method is more effective than the standard blacklist, as it uses a cloud database of spam numbers.

How to set up:

  1. Open Settings → Applications → Security.
  2. Go to the section “Number Blocking” (or “Spam Protection” in newer versions).
  3. Activate the Spam Filter Switch.
  4. Turn on the options: 📵 Blocking calls from spammers 💬 Lock down SMS spammer 🔍 Display a warning about possible spam (optional)

The advantage of this method is that it automatically updates the spam database, and Xiaomi works with carriers and services like Truecaller to quickly add new fraudulent schemes. However, there is a limitation to the feature: it does not block numbers that are not listed in the cloud database. For 100% protection, you will have to combine this method with manual locking.

What to do if the spam filter doesn’t work?
If calls continue to arrive after activating the filter, check: 1. MIUI Updates: An outdated firmware version may contain bugs. Update via Settings → Phone → System Update. 2. Regional settings: Spam filter optimized for the Chinese market. If your smartphone is purchased in China (China ROM version), install Global ROM or use a VPN in your country. 3. Application conflict: Remove third-party call blockers (such as CallApp or Hiya) that may interfere with the system filter.

Method 3: Blocking through settings SIM-map

Few people know, but telecom operators provide their own tools to block unwanted calls, which are network-level, so they are effective even against masked numbers.

Operator.Command to activateCostFeatures
MTS*111*765#Free of charge.Blocks up to 100 numbers, works with MIUI without conflict
Beeline*110*789#30 rubles/month.Integration with the service "Antispam", blocks SMS
MegaFon*105*700#Free of charge.Supports regular expressions to block number ranges
Tele2.*220*1#Free of charge.Automatically blocks numbers with the code +375 (Belarus)

To add a number to the operator's blacklist:

  1. Dial it. USSD-command for your operator (see table above).
  2. Follow the voice instructions or SMS-menu.
  3. Add an unwanted number to the lock list.
  4. Hiya: 🔹 Minimalist interface. 🔹 Blocking by category (fraudsters, collectors, marketing).

How to install and configure:

  1. Download the app from Google Play (avoid APK from third-party sources!).
  2. Provide access to call logs and SMS.
  3. In the application settings, activate: 🔘 Blocking Unknown Numbers 🔘 Use the cloud base 🔘 Display notifications about blocking (optional)

⚠️ Note: Apps like Truecaller require access to your phone book to work. If you keep confidential contacts, back up before installing, or use the Private Mode feature in your app settings.

Method 5: Hidden MIUI settings for power users

For those who are willing to dive into the deep MIUI settings, there are a few little-known tricks: They require caution, but give maximum control over locking.

Method 1: Editing the blacklist.db file

The blacklist is stored in the system database to add numbers directly:

  1. Install a file manager with access to root folders (such as Root Explorer or FX File Explorer).
  2. Go to /data/data/com.android.providers.contacts/databases/contacts2.db
  3. Open the file in the SQLite editor (e.g., SQLite Editor).
  4. Find the blacklist table and add numbers manually.

This method allows you to add to 5000 The number is at the same time, as opposed to the standard limit in 100-200 However, it requires root rights and can cause crashes if the database is not edited correctly.

Method 2: ADB-clampdown

If you have many numbers to lock, use ADB:

  1. Connect your smartphone to your PC and activate USB Debugging in Settings → About Phone → MIUI version (click 7 times on the build number).
  2. Open the command line and type in: adb shell content insert --uri content://call_log/calls --bind number:s:Number --bind type:i:5 Replace the number with a real number (for example, +79123456789).
  3. For mass blocking, create a script with a list of numbers.

⚠️ Attention: Misuse of the right ADB This can cause your phone to reset. Before experimenting, back up through Settings. → Additionally. → Backup and reset.

Frequent problems and their solutions

Even after setting up the lock, Xiaomi users face unexpected difficulties, and let’s analyze typical scenarios and ways to solve them:

Problem.Probable causeDecision
Calls pass despite blockingNumber masked (spoofing)Use a camera filter or Truecaller with fake recognition
Notices of blocking do not workSystem alerts disabledCheck Settings → Notifications → Phone → Locking numbers
All blocked numbers have disappeared after the updateResetting settings when upgrading MIUIRestore backup via Settings → Google → Restore Contacts
You can't add a number to the blacklist.Record limit (usually 200)Delete old records or use them ADB-method

Special case: Blocking on Xiaomi with two SIM-map

If you use two numbers (e.g., work and personal), set the rules separately for each SIM:

  1. Open the Settings. → SIM-maps and mobile networks.
  2. Choose. SIM-The card you want to set up the lock for.
  3. Go to Call Settings → Lock numbers.
  4. Repeat the steps for the second SIM if necessary.

On some models (e.g. Xiaomi) 11T Pro) has the option Separate lock, which allows you to create different blacklists for each SIM-map.

Can I block all numbers except the phone book?
Yes, but not through the standard MIUI settings. You'll need the Call Blocker app (available on Google Play), which has an option to block everything except contacts, and the alternative is to use Do Not Disturb modes with exceptions for selected contacts.
Why does it still appear in the call log after the number is blocked?
This is a feature of MIUI: blocked calls are not allowed on the screen, but are recorded in a log marked "Blocked". To hide them completely, install the Call Logs Backup & Restore app and manually clean the log once a week.
How to unlock a number if I accidentally add it to the blacklist?
Open the phone. → ⋮ → Settings → Lock numbers. Find the number in the list, swipe left and click Delete. If the number doesn't show, check the archive of those blocked in the Security app.
Does the lock on Xiaomi work with custom firmware (like LineageOS)?
No, MIUI features (including spam filter) only work on stock firmware. On custom ROMs like LineageOS or Pixel Experience, use third-party applications like Simple Call Blocker.
Can I block numbers with a specific country code (e.g. +375)?
Standard MIUI tools don’t know how to do this, but CallApp supports prefix locking. In its settings, select Lock Rules → Block by country code and add the desired prefixes (for example, +375 for Belarus).

1. Built-in spam filter in MIUI.

2. Operator blacklist (USSD-commands).

3. a third-party app like Truecaller for masked number recognition.-->