Disabling anti-spam on Xiaomi Redmi 4X: a complete guide with risks and alternatives

Xiaomi Redmi 4X is still a popular budget smartphone, but its built-in spam protection system often blocks not only advertising messages, but also important notifications. Users face problems when receiving SMS from banks, confirmation codes from messengers or even regular calls from unknown numbers. In this article, we will discuss how to completely or selectively disable antispam on Redmi 4X, what risks this entails, and what to do if standard methods do not work.

It is important to understand that antispam in MIUI is integrated at the system level and is closely related to Xiaomi Cloud services. Simply turning off the settings may not work due to automatic activation after rebooting or updating. We tested all the current methods on the firmware MIUI 8 Global Stable 8.5.1.0 (Android 6.0) and MIUI 9/10 (Android 7.1) to offer working solutions.

If you are using Redmi 4X with custom firmware (for example, LineageOS or Pixel Experience), the methods below may not be suitable - in such cases, antispam is controlled through the settings of the firmware itself or Magisk modules. MIUI read on.

Why does anti-spam on Redmi 4X block messages?

Xiaomi’s spam filtering system works on several criteria, and is often wrong.

  • πŸ“± Spam Numbers database: Xiaomi uses a cloud database that is automatically updated. If your bank or service is blacklisted (for example, due to mass mailings), all of them are not listed. SMS These numbers will be blocked.
  • πŸ” Text Analysis Algorithm: Keyword messages ("code", "confirmation", "password") can be spammed if sent from an uncertified number.
  • 🌍 Regional restrictions: Some firmware (especially Global Stable) has more aggressive antispam filtering of numbers from other countries.
  • πŸ”„ Conflict with other applications: If third-party antiviruses (Avast, Kaspersky) or managers are installed SMS (Truecaller, they can duplicate filtering.

Interesting fact: on the Redmi 4X with China Stable firmware, antispam works differently, with less SMS blocking, but more call filtering, due to local telemarketing laws.

πŸ“Š You have been blocked by important people. SMS Xiaomi?
Yeah, often.
Yeah, but rarely.
No, but I heard about the problem.
I don't know how to check that.

Method 1: Disable antispam via standard MIUI settings

The safest method is to use embedded tools, which is suitable for most users and does not require super-user rights.

  1. Open the Messages app (an envelope icon).
  2. Slip on three dots in the upper right corner β†’ select Settings.
  3. Go to Block and Spam filter (or Antispam depending on the MIUI version).
  4. Turn off the sliders: 🚫 Spam filter-SMS 🚫 Blocking spam calls 🚫 Checking numbers in the cloud (if any)

Blacklist.

After that, restart your phone, and if the anti-spam is back on, you have Xiaomi system policies on your firmware that force the protection to be activated, and then move on to the next one.

β˜‘οΈ Checking the anti-spam shutdown

Done: 0 / 4

⚠️ Note: On some versions MIUI 10 for Redmi 4X When antispam is disabled, push notifications from system applications (such as Mi Cloud or Mi Video) stop coming, because Xiaomi services use the same channels to send notifications. SMS (For example, Google Messages).

Method 2: Use the engineering menu (code ##4636##)

If the standard shutdown didn’t work, you can try deactivating antispam through an engineering menu.This method works on Redmi 4X with Android 6.0/7.1 firmware, but you need to be careful – wrong actions can disrupt the network.

Instructions:

  1. Open the Phone app and enter the combination: ##4636##.
  2. In the menu that appears, select Phone Information (or Phone Information).
  3. Scroll down to the SMSC (SMS Service Center) unit.
  4. Click Update – this will reset the settings. SMS-centre.
  5. Return to the main menu of the engineering mode and select Battery Settings β†’ Use History.
  6. Find the process com.android.mms.service and click Stop.

Step-by-step:

  1. Download Google’s Platform Tools and unpack the archive.
  2. Connect Redmi 4X to your computer and select File Transfer (MTP) mode.
  3. Open the command prompt (cmd) in the ADB folder and type: adb devices Make sure the device is identified (its serial number should appear).
  4. Use the command to disable anti-spam: adb shell settings put global spam_mode 0
  5. Reboot your phone: adb reboot

After this command, the anti-spam will be disabled at the system level, but cloud-based number verification (via Xiaomi servers) can remain active.

adb shell pm disable-user --user 0 com.miui.antispam

⚠️ Attention: Teams ADB Temporarily disabling system security checks, which could lead to Xiaomi Redmi 4X will no longer receive updates by air (OTA) Or it will start to give out errors when syncing with Mi Account. If it is critical, return the settings with the command: adb shell settings put global. spam_mode 1 adb shell pm enable com.miui.antispam

πŸ’‘

If ADB can’t see the device, try switching USB mode to PTP (Camera) or installing drivers manually through the Mi PC Suite.

Method 4: Edit system files (root only)

If you have root rights (e.g., via Magisk or SuperSU), you can completely remove the anti-spam components by editing your system files, which is 100% effective, but it can be a risk to system stability.

What needs to be done:

  1. Install a file manager with root support (such as Root Explorer or Solid Explorer).
  2. Go to /system/priv-app/MiuiAntispam
  3. Remove or rename the folder MiuiAntispam (for example, in the MiuiAntispam_bak).
  4. Also delete files: /system/app/SpamProtection/system/priv-app/SpamFilter

Reboot the phone.

After that, the anti-spam will be permanently disabled, but there may be problems with:

  • πŸ“ž Calls: Some numbers may be defined as "unknownΒ».
  • πŸ“§ Email: built-in Mi Mail client will stop filtering spam.
  • πŸ”„ Updates: Xiaomi may require system files to be restored before installation OTA.

πŸ’‘

Editing system files is a last resort, and if you're not sure what you're doing, use ADB or standard settings.

Alternative solutions: if the anti-spam does not turn off

If none of these methods worked, consider alternatives:

  • πŸ“² Set up a third-party. SMS-Messages: Google Messages, Textra SMS or QKSMS They have their own spam filters that you can turn off completely. They'll replace the standard messaging app.
  • πŸ”„ Reset network settings: Go to Settings β†’ SIM-maps and mobile networks β†’ Resetting network settings. This sometimes helps with blocking. SMS.
  • πŸ“± Sneak the custom Recovery: Installation TWRP and cache cleaning /data and /system It can reset the anti-spam settings!
  • πŸ”§ Use Magisk modules: The Magisk repository has modules to disable Xiaomi system services, such as Disable MIUI Optimizations.

If the problem is only with bank SMS, contact your bank’s support and ask to add their number to Xiaomi’s whitelist.

FAQ: Frequent questions about anti-spam on Redmi 4X

Can I turn off anti-spam only for a specific number?
Yes, the standard Messages app has a whitelist function. Go to Settings β†’ Block and Spam filter β†’ Whitelist and add the desired number. However, this does not guarantee 100% delivery - Xiaomi's cloud filter can still block messages.
After the anti-spam was turned off, notifications from Mi Cloud stopped coming.
It's a known problem. MIUI. Solutions: Install an alternative client for the cloud (e.g. Mi Cloud Web via browser). Enable notifications manually: Settings β†’ Notifications β†’ Annexes β†’ Mi Cloud. Use it. ADB, Unlocking notification channels: adb shell cmd notification allow_listener com.miui.cloudservice
Will these methods work on the Redmi 4A or Redmi Note 4X?
Yes, the Redmi 4A and Redmi Note 4X use the same MIUI (hardware-adjusted) version, but on the Note 4X with a Snapdragon processor, the engineering menu opens with a different command: ##225## instead of ##4636###.
Can I turn off antispam forever without root?
No, without root or custom firmware, Xiaomi can return to factory settings after the upgrade, and the only reliable way to do so is to use ADB to disable system services (as in Method 3) and repeat the procedure after each update.
Why did the phone slow down after the anti-spam switch?
This is because Xiaomi system services are optimized for anti-spam. If you delete or disable com.miui.antispam, there may be delays in processing SMS. Solution: Clear the Messages app cache. Turn off animation in Developer Settings. Set up a light launcher (like Nova Launcher).