Every Xiaomi owner sooner or later faces intrusive calls from unknown numbers โ from aggressive marketers to scammers masquerading as bank employees. According to Kaspersky Lab, in 2026 the share of spam calls in Russia increased by 37% compared to the previous year, and MIUI It blocks only 42% of suspicious default calls, the rest go through standard filters, and the problem is compounded by the fact that scammers actively use spoofing, which can cause the same spammer to call from dozens of different combinations of numbers.
In this article, we will discuss not only the obvious ways to block through settings. MIUI, But also little-known tricks, from hidden functions in the engineering menu to automation through Tasker. MIUI 12 to HyperOS) and smartphone models โ from the budget Redmi Note to the flagship Xiaomi 14 Ultra.You will learn how to block not only individual numbers, but also entire ranges (for example, all calls from codes). +375 or +380), and set up a whitelist for important contacts.
1. Standard lock through settings MIUI: step-by-step
Letโs start with the basic tools that are available out of the box on all Xiaomi smartphones, regardless of model, which is suitable for those who want to quickly lock a specific number without installing additional applications. MIUI (For example, in HyperOS menu items regrouped).
To add a number to the blacklist:
- Open the Phone app (the phone icon on the home screen).
- Go to the tab "Journal" and find the desired number in the history of calls.
- Slip the number, then select โฎ (three-point) โ Lock down.
- Confirm the action by clicking "Block" in the pop-up window.
To manage the entire blacklist:
- ๐ฑ Go to Settings. โ Annexes โ Phone. โ Number locking.
- ๐ This shows all the blocked contacts. To remove the number from the list, tap it and select "Unblock".
- โ๏ธ Enable the option โBlock Unknown Numbersโ (not available on all firmware) โ this will automatically cut off all calls from hidden identifiers (for example, โUnknown Numberโ or โPrivate Number").
Number added to call log|The "Block Unknown" option is activated|The blacklist is synchronized with the Mi Account (if necessary)|Test call from a blocked number does not pass-->
โ ๏ธ Note: On some models (e.g, POCO F5 s MIUI 14) after blocking the number, the ability to view the history of its calls may disappear. If you need to save a log for evidence (for example, when contacting the police), first take screenshots or export logs through Settings โ The phone. โ Error report.
2. Advanced lock settings: filtering by prefix and region
Standard locking of individual numbers is ineffective against spammers who use hundreds of different combinations, MIUI It allows you to configure filters by prefix (initial digits of a number) and even entire country codes, which is especially useful for blocking international spam (for example, calls from codes). +375, +380, +994 etc.).
How to set up filtering by prefixes:
- Go to Settings. โ Annexes โ Phone. โ Number locking โ Locking settings.
- Select "Prefix Filter" (some firmwares call this "Blocking Rules").
- Add prefixes through a comma, for example: +375, +380, 8495, 8499, 900, 902, 904 Here +375 and +380 will block all calls from Belarus and Ukraine, and 8495 and 8499 โ Moscow bank numbers.
- Save the changes and restart the phone (sometimes the filters are only applied after the reboot).
You can use services like CountryCode.org to block entire regions, which lists the phone codes of all countries. For example, to block calls from India, add a prefix. +91, from Turkey โ +90.
| Country code | Country. | Typical spam | Recommendation |
|---|---|---|---|
| +375 | Belarus | Fraudsters disguised as banks, "you won a prize" | Block completely |
| +380 | Ukraine | Ponzi schemes, fake lotteries | Block completely |
| +994 | Azerbaijan | Calls with the offer of "earnings on the Internet" | Block completely |
| +7495, +7499 | Moscow (Russia) | Fake "bank security services" | Block selectively |
| +1 | United States/Canada | Accidental calls (often mistaken) | Don't block |
๐ก
If you add prefixes, make sure that the blacklist sync with Mi Account is disabled. โ Xiaomi account โ Synchronize and turn on the option "Blacklist".
3. Hidden functions MIUI: engineering menu and USSD-team
Few people know, but in MIUI There are hidden tools for controlling call lock that are not available through the standard interface, one of which is the engineering menu, which allows you to configure low-level modem settings, including filtering incoming calls. Incorrect changes to the engineering menu can cause communication failures, so follow the instructions carefully.
How to open the engineering menu and set the lock:
- Open the Phone app and type in the combination: ##4636## Some models (e.g. Redmi Note 12) may need to type: ##36446337###
- In the menu that opens, select โPhone Informationโ (or Phone Information).
- Scroll down to the Call Blocking section (can be called Block Settings or Incoming Call Filter).
- Activate the option of "Enable Call Blocking" and add numbers or prefixes manually.
Another little-known method is the use of USSD-commands to control the lock at the level SIM-For example, to block all incoming calls except for contacts from the phone book, type in:
**67*[redirection number]#Where [the forwarding number] is your voicemail number (you can check it with the operator), once this command is activated, all unidentified calls will be automatically forwarded to voicemail.
What to do if the engineering menu does not open?
Third-Party Apps: Truecaller, Should I Answer? and Alternatives
If embedded tools MIUI They can't handle spam, they can use specialized applications, and the most popular ones are Truecaller and Should I Answer?, which use databases with millions of spam numbers tagged by users. But each solution has its own nuances:
- ๐ Truecaller: Pros: Largest spammer database (over 300 million numbers), integration with MIUI, lockdown SMS. Cons: requires registration, collects contact data (you can disable in the settings).
- ๐ก๏ธ Should I Answer?: Pros: works offline (base is updated once a week), there is no mandatory registration. Cons: fewer numbers in the database, the interface is less convenient.
- ๐ Hiya: Pros: good integration with Android, minimalist design. Cons: paid premium version for advanced features.
How to configure Truecaller for maximum protection:
- Download the app from Google Play and complete the registration.
- In the settings (โฎ โ Settings โ Lock it on: ๐ต "Block spamโ (automatic filtering by database). ๐ต๏ธ "Block hidden numbers". ๐ "Block by prefix (add the same codes as in the MIUI).
"Integration"
"Use Truecaller as the default phone app"
โ ๏ธ Note: Apps like Truecaller may conflict with built-in locking MIUI. If standard functions (for example, outgoing calls) stop working after installation, reset the settings of the Phone application via Settings โ Annexes โ Phone. โ Warehouse โ Clear the data.
Truecaller|Should I Answer?|Hiya|Embedded facilities MIUI|Other/not using-->
5 Automation of locking via Tasker and MacroDroid
For advanced users who want to fully automate the process of filtering calls, applications for creating custom scripts - Tasker or MacroDroid - can be used to configure, for example:
- Automatically block all calls from numbers not saved in contacts.
- Redirect spam calls to voicemail at certain times of the day.
- Sending. SMS-response to blocked calls (e.g., "This is an answering machine. Your number has been blacklisted").
Example of setting up MacroDroid to block unknown numbers:
- Download MacroDroid and allow all permissions requested.
- Create a new macro with a trigger: โPhoneโ โ Incoming challenge โ Number's not in the contacts".
- Add action: โPhone โ Complete the challenge".
- In the macro settings, enable the option "Execute even if the screen is off".
Tasker will require a more complex setup using the AutoInput plugin (to simulate clicks). Here is a basic profile for blocking calls from certain prefixes:
Profile: Blocking spam
Event: Phone โ Incoming call
Condition: If %CNUM ~ +375|+380|+994
Task:
1. If %CALLERNUM ~R +375|+380|+994
(a) Telephone โ Complete the call
b. Write in the file "spam_log.txt" date/time and number๐ก
Automation via Tasker or MacroDroid requires root rights only for advanced features (e.g. system-level locks). Most scripts work without root access, but may conflict with energy-saving settings. MIUI.
Operator-level locking: USSD-teams and services
If spam calls are coming through your mobile operator, the most reliable way is to block them at the network level. All major operators (MTS, Beeline, MegaFon, Tele2) provide such services, but the terms and commands vary.
| Operator. | Lockdown team | Cost | Notes |
|---|---|---|---|
| MTS | *111*081# (switching)*111*080# (shutdown) | Free of charge. | Blocks all incoming contacts except contacts |
| Beeline | *110*789# (blacklisting) | 30 rubles/month. | Up to 100 numbers on the list |
| MegaFon | *130*1# (activation of "Antispam") | Free of charge. | Filters only obvious spam |
| Tele2. | *220*1# (inclusion of "Spam protections") | Free of charge. | It works only for subscribers of the Russian Federation |
To add a number to the operator's blacklist:
- For MTS, send it. SMS with the text: block [number] to the short number 111 (for example, block) +79123456789).
- For Beeline, use the command: *110*789*[number]#
- For MegaFon and Tele2, the blacklist is available only through a personal account on the website or in the mobile application.
โ ๏ธ Note: Operator-level locking does not work for calls via messengers (WhatsApp, Viber, Telegram) and VoIP services (Skype, Zoom.
7. Features for different Xiaomi models: Redmi, POCO, Black Shark
Although all Xiaomi smartphones work on the basis MIUI or HyperOS, some models have unique nuances in locking settings, which are associated with different processors (Qualcomm vs MediaTek), regional firmware and pre-installed applications:
- ๐ฑ Redmi Note 10/11/12 Series: Qualcomm Snapdragon processors are used, so the engineering menu is opened by the team ##4636##. V MIUI 13+ there is a built-in "Spam filter" function in the "Phone" application (included in the settings).
- ๐ฎ POCO F3/F4/F5: These models have the default blacklist synchronization disabled with Mi Account. Unknown numbers require manual activation in Settings to be blocked. โ Annexes โ Phone. โ Additionally.
- ๐น๏ธ Black Shark 4/5: Gaming smartphones have a separate app "Game Dialer", where the lock settings are duplicated. MIUI Black Shark does not filter by prefixes โ only manual number locking.
- ๐ฒ Xiaomi 13/14 Series (HyperOS): HyperOS lock moved to Settings โ Memory and applications โ Phone. โ Blocking: Added Smart Lock, which analyzes caller behavior (calling frequency, time of day).
For models on a MediaTek processor (e.g. Redmi) 9A or POCO M3) supplementary MTK Call Blocking, which allows you to block numbers at the modem level, to activate it:
- Install. MTK Engineering Mode.
- Go to the "Connectivity" section โ Call Blocking".
- Add numbers or prefixes manually and save the settings.
8 What to do if the lock is not working: diagnosis and alternatives
If after all the settings spam calls continue to arrive, the problem may lie in one of the following factors:
- ๐ Blacklist Synchronization: Make sure the list of blocked numbers is synchronized with Mi Account. โ Xiaomi account โ Synchronization โ Blacklist.
- ๐ก Network problems: Some firmware only works when the Internet connection is active (to check the spammer database.
- ๐ ๏ธ Application conflict: If you have multiple blockers installed (e.g. Truecaller) + lock-in MIUI), They can interfere with each other. Leave only one tool.
- ๐ VoIP calls: Calls via WhatsApp, Viber or Telegram are not blocked by standard means.
If nothing helps, try radical measures:
- Resetting the settings of the Phone application: Go to Settings โ Annexes โ Phone. โ Warehouse โ Clear the data. Attention: it will delete the entire call history!
- Custom firmware installation: Firmware like LineageOS or Pixel Experience have more flexible lock settings, but require unlocking the bootloader.
- Replacement SIM-Cards: In extreme cases (for example, if your number is in the database of spammers) will help to change the number or switch to a virtual operator (Tinkoff Mobile, SberMobile).
adb shell settings delete global call_blocking_whitelist