How to permanently remove spam from the lock screen on Xiaomi: from advertising to viral notifications

The lock screen on Xiaomi, Redmi and POCO smartphones often becomes a battleground with intrusive advertising, spam notifications and suspicious banners. Even after buying a new device, users face push messages from MIUI, third-party apps or even viral services. The reasons for spam can be different: from aggressive monetization of the brand shell to malware infection through pirated APKs.

In this article, we’ll look at 7 proven ways to clean your lock screen, from basic MIUI settings to radical measures like reset to factory settings. You’ll learn how to turn off system ads, block spam notifications, remove viral apps, and even change the firmware region to reduce unnecessary push messages. All instructions are relevant for MIUI 12-14 devices (including HyperOS) and models from Xiaomi Mi 10 to Redmi Note 12.

We warn you beforehand that some methods require superuser rights or custom firmware installations -- these are risky operations that can take away warranties. But most solutions work without breaking into the system. Let's start with the simplest one!

1. Disabling Advertising in MIUI Settings

The first step is to deactivate the built-in ads in Xiaomi’s branded services, with the manufacturer integrating the ad units into Weather, Browser, Themes and even Settings, some of which can seep into the lock screen via widgets or notifications.

To turn them off:

  • πŸ“± Go to Settings. β†’ About the phone and tap 7 times on the line Version MIUI, activate the developer mode.
  • πŸ”§ Back to Settings β†’ Additionally. β†’ Special facilities β†’ Advertising (the path may differ depending on the version) MIUI).
  • 🚫 Turn off the sliders opposite: Recommendations MIUI Personalized Ads Show ads in system applications

If there is no Advertising item on the menu, try an alternative way:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Click on the three dots in the top right corner and select Show All Apps.
  3. Find Msa (Mobile Services Ads) and force it to be disabled, then clear the cache.

πŸ’‘

If after the shutdown, the ads continue to appear, check for MIUI updates – in new versions, the paths to settings may change.

2. Blocking Spam Notifications

Most spam on the lock screen is notifications from applications or system services, which can be filtered through the notification menu:

Open Settings β†’ Notifications and Status bar β†’ Notification management. Here you will see a list of all apps that are authorized to display notifications.

  • πŸ“’ Unknown applications with Chinese characters in the title (e.g., Chinese characters, com.miui.weather2 or com.xiaomi.mipicks).
  • πŸ” Services like Mi Video, Mi Browser or Cleaner – they often send out ads.
  • 🚨 Applications you did not install (possible viruses).

For each suspicious item:

  1. Slip the name of the app.
  2. Turn off the display notification slider.
  3. In the Notification Types section, disable all categories (especially Ads and Updates).
  4. If the application is not needed, delete it (Delete or Disable button).
How to recognize a virus notification?
Viral notifications often include: - Calls to click on a link (for example, "You won the iPhone!"). - Text errors or incorrect characters. - Logos of well-known brands (Amazon, Netflix), but with suspicious domains in the link. - Threats like "Your account is blocked!" with the requirement to enter data.

If notifications continue to appear, check the rights of special features:

  1. Go to Settings β†’ Additional β†’ Special features β†’ Special features services.
  2. Disable access for unknown applications (especially those with titles like Notification Access or Device Test).
πŸ“Š How often do you see spam on the lock screen?
Constantly.
Once a day.
Rarely.
Never.

3. Deletion of viral and suspicious applications

If spam appeared after installing third-party APKs (especially from unverified sources), your device could have been infected with an adver (advertising virus), which masquerades as useful utilities, but actually displays ads and collects data.

To find and remove them:

  • πŸ”Ž Open the Settings. β†’ Annexes β†’ Application management.
  • πŸ“Š Sort the list by installation date (click on three dots) β†’ Sort by β†’ Installation date).
  • πŸ—‘οΈ Remove all unknown applications, especially those that are:

Some viruses protect against removal by giving the error "Removal is impossible."

  1. Disable the application (button Disable instead of Remove).
  2. Clear his cache and data.
  3. If that doesn't help, use Safe Mode: Press the Power button β†’ Long tap on Turn off β†’ Safe Mode. In Safe Mode, try uninstalling the app again.

Check the list of installed applications

Sort by installation date

Remove Unknown APKs

Clear cache and suspicious program data

Restart your phone in safe mode

-->

If the virus blocks access to settings, try antivirus utilities:

  • Malwarebytes (the free version scans the systems for the advers).
  • Kaspersky Mobile Antivirus (detects Trojans and spyware)
  • Bitdefender (good for detecting hidden threats)

πŸ’‘

Most Google Play cleaners are spam sources themselves. Use only proven, high-rated antiviruses.

4. Resetting advertising settings and identifiers

Xiaomi (and other manufacturers) assigns each device unique identifiers for targeted advertising. their reset can reduce the amount of spam:

For this:

  1. Go to Settings β†’ Google β†’ Advertising (or Settings β†’ Accounts and Sync β†’ Google β†’ Advertising).
  2. Click Reset Advertising ID.
  3. Turn off the option of personalized advertising.

Also, clear the data of Google Play services:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Find Google Play Services.
  3. Click Warehouse β†’ Clear the data and Clear the cache.

For the complete reset of MIUI advertising identifiers:

  1. Go to Settings β†’ About the phone β†’ All the parameters.
  2. Find Reset Advertising Settings (may be called Reset MIUI ID).
  3. Confirm the action.
ServiceThe way to dumpThe effect
Google Advertising IDSettings β†’ Google β†’ AdvertisingResets Targeted Ads from Google
MIUI Ad IDSettings β†’ About the phone β†’ Resetting advertising settingsReduces the amount of advertising in system applications
Google Play ServicesSettings β†’ Applications β†’ Google Play ServicesClears the cache of advertising modules
Msa (Mobile Services Ads)Settings β†’ Applications β†’ MsaDisables the main advertising module Xiaomi

5. Change of the firmware region (for advanced)

Xiaomi firmware for different regions contains different amounts of advertising, for example, Chinese and Indian versions of MIUI are the most aggressive in terms of monetization, while European (EEA) or global (Global) have less spam.

To change the region:

  1. Install the Mi Flash Tool app on your PC and download the firmware for your model from en.miui.com (select EEA or Global).
  2. Connect your phone to your PC in Fastboot mode (clip Volume Down + Power when the device is off).
  3. In the Mi Flash Tool, select the downloaded firmware and press Flash.

Warning: a change in region will result in a complete data reset! Also, some features (such as NFC or 5G) may not work properly if the firmware is not designed for your device.

Alternative method (without complete resetting):

  • 🌍 Use the Mi Region Changer app (requires root).
  • πŸ”„ Change the region to Europe (EEA) or Global.
  • πŸ”„ Reset the device.

πŸ’‘

Before changing your firmware, check compatibility on the XDA Developers or 4PDA forums. Some models (like the Redmi Note 10 Pro) have a bootloader lock that you need to unlock first.

6. Radical measures: reset to factory settings

If nothing works, the last chance is a complete reset, which will delete all data, but also clear the system of viruses and reset the ad settings.

How to reset:

  1. Save important data (photos, contacts, messages) to your PC or cloud.
  2. Go to Settings β†’ About the phone β†’ Reset settings.
  3. Select Reset all settings and confirm the action.

After discharge:

  • πŸ”’ Do not restore data from a backup copy – it may contain viruses.
  • πŸ“₯ Install apps only from Google Play.
  • 🚫 Turn off automatic update installation for system applications (Settings) β†’ Annexes β†’ Auto-update).

πŸ’‘

Factory reset deletes all data, including accounts, photos, and installed apps, and only use this method if other methods have failed.

7. Use of custom firmware (for experienced users)

If you are willing to take drastic measures, installing custom firmware (like LineageOS or Pixel Experience) will completely remove all built-in MIUI ad modules.

  • πŸ”“ Unlock the bootloader (possible loss of warranty).
  • πŸ› οΈ Installations of custom recaveri (TWRP).
  • πŸ“¦ Manually stitching the system image.

Instructions (brief):

  1. Unlock the bootloader through Mi Unlock Tool (requires a Xiaomi account binding and a wait of 7-15 days).
  2. Install TWRP Recovery via fastboot: fastboot flash recovery twrp.img fastboot boot twrp.img
  3. In TWRP, make a backup of the current system (Backup).
  4. Sweep through custom firmware (like LineageOS) and GApps (Google services).

Advantages of custom firmware:

  • βœ… No built-in advertising.
  • βœ… Cleaner and faster interface.
  • βœ… Regular security updates.

Disadvantages:

  • ❌ Loss of guarantee.
  • ❌ Risk of "bricking" the device in case of error.
  • ❌ Certain functions (e.g, IR Blaster may not work.
Which firmware is better for Xiaomi?
The most stable options are: LineageOS (as close as possible to Android stock). - Pixel Experience (interface as on Google Pixel). - ArrowOS (good balance between performance and functionality). - MIUI EU (advertising-cleaned version of MIUI from European developers).

FAQ: Frequent questions

❓ Why Spam Continues to Appleas After Deleting?
It's probably hidden in system files or using superuser rights. Try: Scan your device through Malwarebytes in safe mode. Check the root app list (via Root Checker); install the Magisk patch to block ads (root required).
❓ Can I turn off spam without root rights?
Yes, most of the methods in this article (disabling notifications, resetting ad ID, deleting virus applications) work without root, but superuser rights may be required to completely remove system ads in MIUI.
❓ Why After Updating MIUI spam is back?
Xiaomi sometimes returns ad modules after updates. To avoid this: Turn off automatic updates to system applications (Settings β†’ Applications β†’ Auto Update). After each update, check the ad settings (Settings β†’ Special Features β†’ Advertising). Use ADB to disable unnecessary system applications: adb shell pm uninstall -k --user 0 com.miui.weather2
❓ How to block spam notifications from a particular application?
Go to Settings β†’ Notifications β†’ Notifications β†’ Notifications Management, find the app and: Turn off the Show Notifications slider. In Notification Categories, turn off all types (especially Ads and Updates). If the option is not available, uninstall or disable the app.
❓ Is it safe to use apps to block ads?
Most Google Play ad blockers collect data or display their ads themselves. Safe alternatives: Blokada (blocks DNS ads, doesn't require root); AdGuard (works through a VPN, but doesn't collect logs); DNS66 (host-file-based blocker); Don't use apps like Clean Master or DU Speed Booster, which are spam sources themselves.

If none of the methods worked, it is possible that your device is infected with a system virus that masquerades as an update or MIUI service. In this case, we recommend contacting the Xiaomi service center or reflashing your phone through the Mi Flash Tool with a complete cleanup of data (clean all).