Antispam on Xiaomi: how to turn on and configure protection against intrusive messages and calls

Spam messages and fraudulent calls have become a real problem for smartphone owners, and Xiaomi devices are no exception. According to Kaspersky Lab, in 2023, one in three Android users encountered phishing devices. SMS At least once a month. MIUI Offers built-in tools to fight this scourge - you just need to set them up correctly.

In this article you will find step-by-step instructions for activating anti-spam on different models Xiaomi, Redmi and other devices. POCO, including the functions of the function MIUI 14 and MIUI 15. We're not just going to break down basic filtration. SMS, Advanced settings to block fraudulent calls, and how to avoid false positives when the system mistakenly sends important notifications to spam.

We will pay special attention to the hidden function of the "Black List 2.0", which appeared in the latest versions. MIUI It allows you to block not only numbers, but also entire ranges (for example, all numbers with a prefix). +375 for Belarusian spammers This option is not available in the standard menu and requires special manipulations to activate.

Why Xiaomi Antispam is Ineffective: 5 Reasons

Many users complain that even after the protection is turned on, spam messages continue to arrive, most often due to one of the following reasons:

  • πŸ“± An outdated version MIUI. In the firmware older MIUI 12.5 filtering algorithms are much weaker, for example, they can not recognize spam from keywords in the text of a message.
  • πŸ”„ Disabled cloud databases. Xiaomi uses collective intelligence: if 1,000 users flagged a number as spam, it is automatically blocked from everyone.
  • πŸ› οΈ Manual tampering with settings. Some SEOs suggest turning off com.miui.antispam to save battery life, which completely breaks the antispam.
  • πŸ“‘ Geolocation problems. For accurate filtering, the system identifies your country by SIM-map GPS. If you use a virtual operator or travel frequently, the algorithms may crash.
  • πŸ”“ No rights to the Phone app after resetting or updating MIUI Manual access to the contact is required and SMS.

Before you start setting up, check the relevance of your firmware. To do this, go to Settings. β†’ The phone. β†’ Version. MIUI. If you have a version older than 12.5.4.0, we recommend updating - in newer assemblies, support for neural network analysis of text messages is added.

πŸ“Š What kind of Xiaomi model do you have?
Redmi Note 12/13
POCO X5/F5
Mi 11/12/13
Redmi 10/9
Another model

Basic setting of anti-spam in MIUI: step-by-step

Let's start by including the standard filtering features that are available on all Xiaomi devices regardless of model. 2 They reduce the amount of spam by 40-60%.

Open the Messages app (the envelope icon) and follow the following steps:

  1. Slip on the three dots in the upper right corner and select Settings.
  2. Go to Spam and Block (some models may call it Spam Filter).
  3. Activate the Spam Filtering Switch.
  4. Enable the option to Block messages from unknowns (this will block) SMS Numbers not stored in contacts).
  5. In the Cloud Protection section, enable Fraudulent Message Detection.

To filter calls, do the same in the "Phone" app:

  1. Open the app and go to Settings β†’ Lockdown and protection.
  2. Enable Number Identifier and Spam Protection.
  3. Activate the blocking of fraudulent calls.

Once these options are activated, the system will automatically flag suspicious messages and calls. 2-3 Filtering can be unstable, as algorithms take time to learn from your contacts.

Spam filtering in β€œMessages” is enabled

Cloud protection activated

Blocking of unknown numbers is enabled

The number ID is working on the phone.

Access to contacts is allowed and SMS for the appendix"-->

Advanced Settings: How to Configure Blacklist 2.0

The hidden function "Blacklist 2.0" appeared in the MIUI 14, and allows you to block not only individual numbers, but also entire ranges, and use regular expressions for filtering. This option is not available through the standard menu, but it can be activated using engineering code.

Warning: Before performing these steps, make sure you have the latest firmware installed. MIUI 14.0.4.0 and later, older versions may crash.

⚠️ Attention: Incorrect use of engineering codes can cause malfunctions in the phone. If after entering the code the device begins to slow down or restart, reset the settings of the Phone application to Settings β†’ Annexes β†’ Application management β†’ Phone. β†’ Warehouse β†’ Clear the data.

To activate the extended blacklist:

  1. Open the phone app.
  2. Enter the code ##4636##
  3. In the menu that appears, select Phone Information.
  4. Slide down and tap. 5 Once in the blacklist settings (it will appear after 3-4 press).
  5. Enter the password: 123456 (standard for MIUI).
  6. Now you will have access to the advanced lock settings.

On the new menu, you can:

  • πŸ“ž Add numbers using masks (e.g, +7999*** will block all numbers with the prefix 999).
  • 🌍 Blocking entire countries (good for tourists) SIM-map).
  • πŸ” Use keywords to filter out SMS (For example, the word "winning" or "credit").
  • πŸ“Š View statistics of blocked calls and messages.

To block the range of numbers:

  1. In the Add rule section, select the Number Range.
  2. Specify a mask, for example: +7495*** (blocks all Moscow numbers).
  3. Select the type of lock: Calls, SMS or both.
  4. Keep the rule.
What if the #4636## code doesn't work?
If the engineering code doesn’t open the menu, try the following alternative methods: 1. Install Activity Launcher from Google Play, search for activity com.android.settings.Settings.$BlacklistSettingsActivity and Launch It. 2. Connect your phone to your PC and use it. ADB-Team: Adb shell am start -n com.android.settings/.Settings$BlacklistSettingsActivity 3. Update the firmware to the latest version - in MIUI 15 This section is included in the main settings.

How to Add a Number to a Blacklist by Manual

Sometimes, automated algorithms miss out on obvious spam, or you need to block a particular subscriber (such as an intrusive collector or former colleague). MIUI There are a number of ways to do this.

Method 1. Through the call log:

  1. Open the phone app.
  2. Go to the magazine tab.
  3. Find the right number and make a long press on it.
  4. In the menu that appears, select Block the number.
  5. Confirm the action by clicking Block.

Method 2. Through message settings:

  1. Open up. SMS rogue.
  2. Slip on the three dots in the top right corner.
  3. Select Add to the blacklist.
  4. Confirm the lockdown.

Method 3: Through contacts:

  1. Open the Contacts app.
  2. Find the right contact and open your card.
  3. Slap three points in the top right corner.
  4. Choose to Lock Contact.

To view the list of blocked numbers and, if necessary, unlock them:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Select "Phone" (or "Messages" if blocked through the SMS).
  3. Slip the number lock.
  4. Here you will see a complete list of blocked contacts.

⚠️ Attention: B MIUI There is a restriction that you can't lock more than 500 numbers manually, and if you exceed the limit, the system will automatically delete the oldest entries from the blacklist. To get around this restriction, use the advanced lock rules (described in the previous section).

Set up filtering by keywords

One of the most powerful anti-spam functions in MIUI β€” It's a keyword filter, and you can create your own vocabulary of spam words, and any word you want. SMS, The words containing these words will automatically be sent to the Spam folder".

To set up filtering for keywords:

  1. Open the Messages app.
  2. Go to Settings. β†’ Spam and blocking β†’ Filter setting.
  3. Choose the Keywords.
  4. Tap Add the keyword.
  5. Enter a word or phrase (e.g., β€œwinning”, β€œcredit”, β€œfree”).
  6. Save the changes.

The system supports the following types of rules:

Type of ruleExampleAction.
A perfect match.you won.Blocks only messages with the exact phrase
Partial coincidencecreditBlocks messages containing words in any form
Regular expression\d{3}-\d{3}-\d{4}Blocks messages with numbers in format XXX-XXX-XXXX
ExceptionBank!Do not block messages containing the word "bank"

For more flexible customization, you can combine several keywords through logical operators:

  • πŸ”Ή credit OR Blocks messages containing at least one word
  • πŸ”Ή win AND Prize – Blocks only if you have both words
  • πŸ”Ή free-for-free NOT from the bank – blocks messages with the word β€œfree”, except for those where there is β€œfrom the bank"

After adding keywords, check the filter by sending yourself a test. SMS If that doesn't happen, reboot your phone -- sometimes the anti-spam service needs to restart to apply the new rules.

πŸ’‘

To speed up the training of filtering algorithms, the first 2-3 manually mark spam messages as β€œSpam” (long press on the message) β†’ "Labeling as spam.β€œ This will help the system to better identify unwanted items SMS future.

How to Avoid False Anti-Spam Positives

One of the most common problems with anti-spam on Xiaomi is false positives when important messages (such as from a bank or delivery service) are spammy.

1. Add important numbers to the whitelist

Open the Messages app, go to Settings β†’ Spam and blocking β†’ A whitelist, and add bank, courier, and other important contacts, and you can add entire domains (e.g., domain names, @sms-bank.ru).

2. Set up exceptions for transactional SMS

Many banks and services send one-time passwords and notifications from short numbers (such as 1234 or 900) to prevent these messages from being blocked:

  1. Go to Settings. β†’ Spam and blocking β†’ Exceptions.
  2. Add a range of short numbers: 1, 9.

3. Check the spam folder once in a while. 2-3 day-day

Even with perfect settings, sometimes important messages can get into spam. Train yourself to check this folder regularly. To simplify the process, you can turn on notifications of new messages in spam:

  1. Open "Messages" β†’ Settings β†’ Notifications.
  2. Turn on Spam Notices.
  3. Choose sound and vibration for alerts.

4. Turn off aggressive filtering

If you notice that too many legitimate messages are getting into spam, reduce the sensitivity of the filter:

  1. Go to Settings. β†’ Spam and blocking β†’ Filter settings.
  2. Move the filtering level slider to the Low or Medium position.
  3. Turn off the option to Block Linked Messages (if enabled).

If after all the manipulations the problem persists, try resetting the anti-spam settings to factory:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Select "Messages".

πŸ’‘

Regularly update your anti-spam databases through Settings β†’ Spam and blocking β†’ Xiaomi adds new fraudulent numbers to the blacklist every week.

Additional applications to combat spam

Built-in tools MIUI cope 70-80% spam, but you can use third-party apps for maximum protection.-3 solutions compatible with Xiaomi:

  • πŸ›‘οΈ Truecaller detects more than 90% of fraudulent numbers, has a database of 300 million users. SMS.
  • πŸ” Hiya – specializes in blocking robbrae and spam-SMS. Supports Russian-speaking operators.
  • πŸ“± SMS Shield – lightweight application without advertising, can analyze the content of messages for phishing.

To install one of these applications:

  1. Download it from Google Play.
  2. At the first start, provide all the requested permissions (contacts, SMS, callbook).
  3. In the application settings, enable the options of Spam Blocking and Number Identification.
  4. Set the application default for calls and SMS (upon request).

Important: When using third-party anti-spam applications, disable the built-in filtering in the MIUI, It's about avoiding conflict:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Select "Messages".
  3. Turn off permissions Send and view SMS built-in antispam.

Comparative table of application capabilities:

FunctionTruecallerHiyaSMS Shield
Blocking spam-SMSβœ…βœ…βœ…
Definition of fraudulent callsβœ…βœ…βŒ
Analysis of references in communicationsβœ…βŒβœ…
Russian-language supportβœ…βœ…βŒ
No advertising.❌ (free-of-charge)βœ…βœ…

If you choose to use Truecaller, pay attention to the privacy settings:

  1. Open the app and go to Settings β†’ Confidentiality.
  2. Turn off showing my profile in search results.
  3. Turn off the Recommend Friends.
  4. Enable Hidden Number Lock.

What to do if anti-spam doesn’t work

If after all the settings, spam continues to arrive, use this instruction for diagnosing the problem:

1. Check permissions for applications

Make sure that the Phone and Messages apps have all the necessary rights:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Choose "Phone."
  3. Tap Permits and turn on: πŸ“ž Phone. πŸ“± Contacts πŸ’¬ SMS πŸ“ Location (for geo-dependent filtration)

"Messages"

2. Update the anti-spam databases

Sometimes the problem lies in the outdated databases of fraudulent numbers.

  1. Open "Messages" β†’ Settings β†’ Spam and blocking.
  2. Put the base updates on.
  3. Wait for the download to complete (internet connection required).

3. Check the performance of Google services

MIUI Google uses services to identify spam calls, and if they are disabled, filtering will work worse:

  1. Go to Settings. β†’ Google β†’ Google services.
  2. Make sure it's on: πŸ” Call and spam ID πŸ“± Device control

If the options are disabled, turn them on and restart the phone.

4. perform resetting of anti-spam settings

If nothing helps, reset your filtering settings to factory:

  1. Open "Messages" β†’ Settings β†’ Spam and blocking.
  2. Tap Reset (usually this option is hidden behind a triple tap on the version) MIUI bottom-screen).
  3. Confirm the reset.
  4. Reset your anti-spam as described at the beginning of the article.

5. Check the phone for viruses

Some malware can block anti-spam work or even swap numbers in the call log.Scan your device using Malwarebytes or the built-in Xiaomi Defender:

  1. Go to Settings. β†’ Memory. β†’ Viral scanning.
  2. Run a deep check.
  3. If threats are found, remove them and restart the phone.

If after all the manipulations, the anti-spam still doesn't work, there may be a problem at the firmware level, in which case only flashing the device to the latest version will help. MIUI via Fastboot or Recovery.

πŸ’‘

Before flashing backup data through Settings β†’ Additionally. β†’ Backup and reset. This will save your contacts, SMS and application settings.

FAQ: Frequently Asked Questions About Xiaomi Antispam

Can I block it? SMS from a particular bank, but leave notice of payments?
Yes, you need to: Add the main bank number to the blacklist. In the anti-spam settings, create an exception for the short number from which transactional numbers come. SMS (usually 4-5 signs, for example, 12345). Enable the option to Allow Transactional SMS In Settings β†’ Spam and blocking β†’ Exceptions: Thus, advertising messages will be blocked and payment notifications will pass.
How to block spam calls from unknown numbers, but leave the ability to take important calls?
Use a combination of settings: Enable Unknown Numbers Lock in Settings β†’ Lock and protect. Add important numbers (such as taxi or delivery services) to the White List. Activate the Allow Repeat Call option, so if the same number calls you twice within 15 minutes, the second call will pass. This will allow you to block one-time spam calls, but take important calls.
Why After Updating MIUI Stopped anti-spam?
This is a typical problem when you upgrade to a new firmware version. To restore work: Go to Settings β†’ Annexes β†’ App management, find the phone and the messages, tap the storage. β†’ Clear the cache. Then open each application and manually turn on all permissions (contacts, SMS, Reset the device. If that doesn't work, reset the anti-spam settings via Settings. β†’ Spam and blocking β†’ Reset.
Can I transfer the blacklist when changing Xiaomi phone?
Yes, there are two ways: through the accoutrement