How to remove antispam on Xiaomi: setup of the blocker and advertising

Owners of Xiaomi, Redmi and POCO smartphones often encounter an intrusive feature called “Antispam” that is designed to protect users from fraudulent calls and SMS, but its aggressive work often blocks important notifications from banks, courier services and food delivery services.

Disabling this module completely requires understanding the MIUI shell architecture or the new HyperOS. There is no simple switch in the main settings menu, as the manufacturer considers this feature an important part of security. However, there are proven methods to deactivate or configure the filtering operation without obtaining superuser rights (Root).

In this guide, we will discuss all the current ways to solve the problem: from the standard settings of the Security application to deeper manipulation of system components through ADB. You will learn to distinguish between the system call blocker and advertising notifications, which are often confused by users.

What is System Antispam in MIUI and HyperOS?

Antispam on Xiaomi devices is not a separate application, but an integrated module of the system security utility, its main task is to analyze incoming traffic of calls and messages, comparing numbers with cloud databases and local blacklists. The filtering algorithms are constantly updated, but often too rigid, especially in the CIS regions, where the numbering of service services may differ from the standard one.

Users often complain that after a firmware update, the phone ignores calls from unknown numbers or hides SMS with confirmation codes, because databases flag short numbers or numbers with codes from other cities as potentially dangerous. It is important to understand the difference between blocking calls and advertising push notifications, although the mechanisms for disabling them often overlap.

The system component is responsible for several key functions:

  • 📞 Blocking incoming calls from numbers blacklisted or labeled as spam.
  • 📩 Filtration SMS-Messages containing keywords or coming from service numbers.
  • 📢 Restriction of pop-up advertising in system applications (conductor, music, themes).

⚠️ Warning: Complete removal of the system anti-spam component may result in unstable operation of the Security app and inability to use other features such as Do Not Disturb or alarm clock.

The anti-spam module is closely linked to Mi Cloud services, which uploads the current lists of fraudulent numbers, and if you are roaming or do not have access to the Internet, the local database may be irrelevant, which increases the risk of missing real spam or blocking important calls.

📊 How often do you worry about spam on Xiaomi?
Every day, it's a big hindrance.
Once a week, tolerable.
Rarely, hardly ever notice.
I have a third-party blocker.

Disabling the blocker through the Security app

The easiest and safest way to remove aggressive filtering is to set up an embedded application, which doesn't require a computer connection or complex commands, but you need to access the hidden settings of the protection module, and open the Security app on the home screen or in the Tools folder.

In the application interface, look for the Antispam (or “Block”) section. This is where the main switches are located. First, click on the gear icon in the upper right corner to enter the advanced settings, and this is where the parameters that govern the behavior of the system when incoming calls are hidden.

You need to do the following to completely deactivate the filtration:

  • 🔘 Go to the Settings menu → Antispam → Blacklist.
  • 🔘 Select Lock Unknown Numbers and make sure the switch is off.
  • 🔘 In the “Blocking Rules” section, set the “Do Not Block” mode for all categories if you want to remove the protection completely.

It is also worth checking the settings. SMS-In the same menu, find the filter. SMS. If it is active, the system will automatically hide messages from service numbers, labeling them as spam.Disabling this feature will return all messages to inboxes, but will increase the amount of advertising debris.

☑️ Checking the lock settings

Done: 0 / 1

After making changes, it is recommended to restart the device. MIUI We've applied the new parameters correctly and updated the state of the background processes. If the problem persists after the reboot, maybe the settings were applied only to the current one. SIM-card, and the procedure must be repeated for the second slot.

Managing blacklist and filtering rules

Often the problem is not global anti-spam inclusion, but specific rules that a user may have activated accidentally. In the HyperOS shell and newer versions of MIUI, the logic of blacklisting has become more flexible, but also more confusing.

Go to the call log and find a number that can't reach you. Click on the information icon (i) or the arrow next to the number. If you see "Blacklisted" or the corresponding icon, just delete the number from the exception. This will instantly unblock.

There is also the possibility of setting up a smart lock, and the system can suggest blocking numbers that are not saved in the contacts.

  • 📱 Open the phone application (caller).
  • 📱 Click on three dots in the corner and select Settings.
  • 📱 Go to the Lock section → Blacklist.

⚠️ Note: Do not add short service numbers (such as banks) to the whitelist manually unless you are sure of their security.

In some regions, firmware has a separate tab called Keywords, and if it has words like code, confirmation, bank, all SMS with that content will be automatically deleted or hidden, and clear this list to restore normal message reception.

Hidden codes for checking locks
Some versions of MIUI have ##4636## in the dialer, and you can see the status of the current network and sometimes access advanced call settings, but this interface is hidden on most global firmware versions.

Comparison of methods of disabling antispam

The choice of method depends on your technical background and the version of the operating system, and below is a table that helps you determine the best way to solve the problem for your case.

MethodDifficultyEfficiencyRisks.
Application settingsLow.MediumMinimum
Disconnection through ADBTall.Tall.Average (command error)
Third-party annexesMediumTall.Conflicts PO
Change of regionLow.Low.Changing services

Using ADB (Android Debug Bridge) allows you to completely freeze the system component of anti-spam, a radical method that makes the function physically inaccessible to the system, but it requires a computer, a driver installed, and a basic command line understanding.

Changing your phone’s location (e.g. India or the U.S.) sometimes changes the provider of anti-spam databases, which in some cases helps avoid the false positives that are common in your current local databases, but it can also change the way other system applications, such as browsers or themes, work.

💡

The safest way is to fine-tune the rules in the Security app, rather than completely remove the component.

Disabling MSA Advertising and Push Notifications

Often, the term “anti-spam” is used to refer to pop-up ads that appear when you open folders or system utilities, and MSA (MIUI System Ads) is responsible for this, and although it is not a direct analogue of a call blocker, disabling this service significantly cleans the interface.

First, you need to turn off ad personalization. Go to Settings → Passwords and Security → Access to personal data. Go to msa and turn off the switch. The system will insist on asking you to wait 10 seconds before you turn off, which is a security mechanism that you just have to wait.

Next, you should remove advertising in specific applications:

  • 🧹 Cleaning: Open the Security app» → three-point → Settings → Turn off "Receive recommendations».
  • 🎵 Music: Open Mi Music → three-point → Settings → Turn off "Show ads».
  • 📁 Explore the conductor: Open the conductor → three-point → Settings → Turn off "Receive recommendations».

If the automatic shutdown of msa fails (the slider returns to its original position), you can try to turn off the Internet for this application. Go to Settings → Apps → All applications → find msa → Network connections and deny access to Wi-Fi and mobile network. Without the Internet, the service will not be able to download banner ads.

💡

If the MSA slider is constantly turning back on, try first to turn off the internet on your phone, turn off the MSA, and then turn the internet back on.

Deep Cleaning: Removal through ADB (for Advanced)

If standard methods have not helped to remove intrusive antispam, you can use debugging over USB. This method allows you to remove (or rather hide for the current user) system packets responsible for filtering. Attention: removing critical system components can lead to a cyclic reboot!

To start, activate Developer Mode. Tap 7 times in a row on the MIUI Version (or HyperOS) in About Phone. Then, in the advanced settings, enable USB Debugging. Connect the phone to your computer.

On your computer, use the command to remove the anti-spam packet, usually called com.miui.personalassistant or antispam.

adb shell pm uninstall -k --user 0 com.miui.antispam

Once the command is complete, the component will disappear from the system. To get it back to normal, you will need to completely reset the phone to factory settings, since there is no standard command to restore a remote system package without flashing it back, so we strongly advise you to weigh the pros and cons before executing the pm uninstall command.

⚠️ Note: pm uninstall does not physically delete a file from a memory partition, but makes it invisible to the system).

An alternative to complete removal is the use of graphical shells for ADBs, such as Universal Android Debloater, which allow you to safely (as far as possible) remove system debris by labeling dangerous packets as protected, reducing the risk of accidental removal of a critical component.

How to return a remote via ADB?
The only guaranteed way to return a remote system packet is to reset the entire system packet via the Recovery menu, and backing up through Mi Cloud will not help restore the deleted system file.

Frequently Asked Questions (FAQ)

Why does the phone keep blocking calls after disabling anti-spam?
Perhaps the lock is not the system module, and the operator or third-party application (for example, Truecaller, Yandex with a determinant). Check the settings of calls in the application "Phone" and the list of installed applications with access rights to calls.
Is it safe to remove the MSA component completely?
Removing the MSA is safe for the phone’s basic functions (calls, internet, camera) but it can disrupt the Mi Glance widgets (if used) and some system recommendations, and the ads will disappear, but the system’s functionality will not suffer.
How to distinguish system antispam from virus?
Systemic anti-spam is a legitimate part of the system. MIUI, Viruses are often disguised as system processes but require installation. APK-If the blocker appeared on its own after installing an app from the Play Market, it's likely a virus.
Will the anti-spam setting reset after the firmware update?
Yes, when you upgrade to Android or MIUI/HyperOS, the system settings often return to factory settings, and after a major update, it is recommended to recheck the Antispam section in the Security app.
Can I install a third-party blocker instead of a system blocker?
Yes, apps like Call Blocker or third-party number detectors can run in parallel, but Android only allows one application to handle incoming calls. When you install a new blocker, the system will ask you to choose it as the main handler, which will automatically disable the Xiaomi system filter.