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.
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:
- Open the Phone app (the tube icon on the home screen).
- Go to the Journal tab and find the unwanted number.
- Click on the number, then select ⋮ → Lock down.
- Confirm the action by selecting Block this number.
To manage the entire blacklist:
- In the app Phone go to the ⋮ → Settings → Number locking.
- Here you'll see all the blocked contacts. You can add the number manually by pressing +.
- 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:
- Open Settings → Applications → Security.
- Go to the section “Number Blocking” (or “Spam Protection” in newer versions).
- Activate the Spam Filter Switch.
- 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?
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 activate | Cost | Features |
|---|---|---|---|
| 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:
- Dial it. USSD-command for your operator (see table above).
- Follow the voice instructions or SMS-menu.
- Add an unwanted number to the lock list.
- Hiya: 🔹 Minimalist interface. 🔹 Blocking by category (fraudsters, collectors, marketing).
How to install and configure:
- Download the app from Google Play (avoid APK from third-party sources!).
- Provide access to call logs and SMS.
- 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:
- Install a file manager with access to root folders (such as Root Explorer or FX File Explorer).
- Go to /data/data/com.android.providers.contacts/databases/contacts2.db
- Open the file in the SQLite editor (e.g., SQLite Editor).
- 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:
- Connect your smartphone to your PC and activate USB Debugging in Settings → About Phone → MIUI version (click 7 times on the build number).
- 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).
- 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 cause | Decision |
|---|---|---|
| Calls pass despite blocking | Number masked (spoofing) | Use a camera filter or Truecaller with fake recognition |
| Notices of blocking do not work | System alerts disabled | Check Settings → Notifications → Phone → Locking numbers |
| All blocked numbers have disappeared after the update | Resetting settings when upgrading MIUI | Restore 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:
- Open the Settings. → SIM-maps and mobile networks.
- Choose. SIM-The card you want to set up the lock for.
- Go to Call Settings → Lock numbers.
- 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.
FAQ: Answers to popular questions
Can I block all numbers except the phone book?
Why does it still appear in the call log after the number is blocked?
How to unlock a number if I accidentally add it to the blacklist?
Does the lock on Xiaomi work with custom firmware (like LineageOS)?
Can I block numbers with a specific country code (e.g. +375)?
1. Built-in spam filter in MIUI.
2. Operator blacklist (USSD-commands).
3. a third-party app like Truecaller for masked number recognition.-->