Xiaomi Redmi 9 owners often face a problem when important SMS or calls are blocked by the built-in anti-spam system MIUI. The default filter aggressively labels messages from banks, services and even personal contacts as βspamβ, which causes users to miss critical information. In this article, we will analyze all possible ways to disable anti-spam from basic settings to hidden developer settings.
The peculiarity of Redmi 9 (codenamed lancelot) is that anti-spam is integrated not only into the Phone and Messages app, but also into the MIUI Security system service. This means that simply turning off the filter in the SMS settings does not always solve the problem. We tested all methods on the current versions of MIUI 14 and HyperOS (for the embroidered devices) - the results are shown in the comparative table below.
Why Redmi 9 Antispam Blocks Messages
Xiaomiβs spam filtering algorithm works on three components:
- π Cloud databases are a list of known spammer numbers that are updated by Xiaomi servers, and sometimes they get bank or government numbers.
- π€ Local analysis β the algorithm scans the text of the message for keywords ("winning", "gift", "urgent"). Often works falsely on service notifications.
- π± Behavioral analysis β if you often ignore messages from a particular number, the system can automatically send it to spam.
On Redmi 9 with MIUI 12-14, antispam is activated by default for:
- π Incoming calls (appendix "Phone")
- π¬ SMS and MMS (annex βMessages")
- π Notifications from certain applications (if the function "Spam Protection in Notifications" is enabled")
It is important to understand that completely disabling anti-spam can increase the risk of receiving fraudulent messages. However, if you use alternative methods of protection (for example, banking applications with their own filters), Xiaomi system anti-spam becomes redundant.
Method 1: Disabling antispam in message settings
The easiest method is to deactivate the filter directly in the Messages app, which works on 90% of devices with MIUI 12-14, but does not affect call blocking.
- Open the Messages app (the envelope icon).
- Slip on three dots in the upper right corner β select Settings.
- Go to the Spam filter section (or Block and Spam in newer versions).
- Turn off the spam filter slider.
- In the Blocked Numbers section, check the list and delete the wrongly blocked contacts.
If the Spam filter item is not on the menu, then your device is using an outdated version of the application. Update Messages via Google Play or MIUI App Store.
Annex βMessagesβ is open"|The Spam Filter item is found and disabled|List of blocked numbers cleared|The app is updated to the latest version-->
β οΈ Note: Some firmware may need to restart the phone after the filter is turned off to make the changes effective.If messages continue to be labeled as spam, proceed to the next method.
Method 2: Deactivating antispam for calls
Call blocking is set separately from SMS to disable filtering:
- Open the phone application (green handset).
- Click on three points β Settings β Lock numbers.
- Turn off the options: π΅ Blocking of unknown numbers π« Spam Call Filter π Checking numbers (if any)
Remove all numbers from the blocked list.
On Redmi 9 with HyperOS, the path may be different: Settings β Apps β Phone β Permissions β Call Lock.
| MIUI version | The Way to Anti-Spam Settings | Need a reboot? |
|---|---|---|
| MIUI 12 | Messages β Settings β Spam filter | No. |
| MIUI 13β14 | Messages β Settings β Blocking and spam | Sometimes. |
| HyperOS | Settings β Applications β Messages β Permissions | Yes. |
Method 3: Disable MIUI Cleaner (Hidden Antispam)
Few people know, but the MIUI Cleaner system application (or "Optimization" in newer versions) is also involved in spam filtering, and it works in the background and can block messages even if the main filter is turned off.
To deactivate this component:
- Go to Settings β Applications β Application Management.
- Find MIUI Cleaner (or βOptimizationβ) and tap on it.
- Select Battery and Background Activity β Limit Background Activity.
- Go back and click Disable (if the button is active).
- Reboot the phone.
π‘
If you have lags after you turn off MIUI Cleaner, turn it back on and use Method 4 or 5. This service is also responsible for cleaning the cache and optimizing memory.
β οΈ Note: Some of the Firmware Disconnects MIUI Cleaner may result in the loss of automatic garbage cleaning function, in which case it is recommended to install an alternative optimizer (for example, an alternative optimizer, SD Maid).
Method 4: Reset the settings of the Messages and Phone applications
If previous methods failed, the system application settings may have failed, and resetting:
- Go to Settings β Applications β Application Management.
- Find the Messages app and select it.
- Slip the Warehouse β Clear the data and Clear the cache.
- Repeat steps 2-3 for the Phone application.
- Reset the device.
Once reset, all application settings will return to factory settings, including lock lists, which is guaranteed to remove all user filtering rules, but also erases message and call history (if there was no backup).
What if the messages are not recovered after resetting?
Method 5: Using ADB for deep shutdown (for advanced)
If all the standard methods fail, the most radical way is to disable anti-spam via ADB (Android Debug Bridge), which requires connecting the phone to a computer and basic command line knowledge.
Instructions:
- Turn on Developer Mode on Redmi 9: Go to Settings β About Phone. Tap 7 times on MIUI Version. Go back to Settings β Additional β Developer. Activate USB Debugging.
ADB Tools
adb devicesMake sure the device is identified.
adb shell pm disable-user --user 0 com.android.mms.service
adb shell pm disable-user --user 0 com.miui.antispamReboot the phone.
Once these commands are executed, the system anti-spam services will be completely deactivated. To return everything back, use:
adb shell pm enable com.android.mms.service
adb shell pm enable com.miui.antispamπ‘
Disabling through ADB is the only way to remove antispam completely from the system, but it requires developer rights and can disrupt some MIUI features.
What to do if the anti-spam still works
If after all the manipulations, the messages continue to be blocked, the problem may lie in:
- π± Firmware from a third-party developer (for example, LineageOS or custom Recovery), in which case antispam can be sewn into the kernel level.
- π Updates MIUI, which returned the default settings. Check the update history in Settings β The phone. β Updating the system.
- π‘οΈ Third-party antiviruses (such as Avast or Kaspersky) that duplicate the filtering function.
In such cases:
- Check for firmware updates β sometimes Xiaomi fixes anti-spam bugs in newer versions.
- Install an alternative SMS application (like Google Messages or Textra) that doesnβt use a system filter.
- Make a full reset (last option if nothing helps).