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

Why Xiaomi’s lock screen is spam and how to fix it

The lock screen on Xiaomi, Redmi and POCO smartphones should only show the time, date and important notifications - but instead, users often encounter intrusive advertising, suspicious banners or spam notifications. The reasons for such debris can vary from MIUI's aggressive monetization policy to virus infections or incorrect app settings.

In this article, we will look at all possible sources of spam on the lock screen, from system advertising to malware, and show you how to eliminate them. It is important to understand that some methods require superuser rights (root), while others are available even without them.

If you see the lock screen:

  • πŸ“’ Advertising for games or applications (e.g., β€œInstall Free Fire and get a bonus!")
  • πŸ”— Suspicious links to websites with gifts or surveys
  • πŸ“± Notifications from unknown applications (e.g., "Your phone is infected! Download antivirus")
  • πŸ’° Banners with offers of loans or rates

So your smartphone needs cleaning, and then you'll find step-by-step instructions for each of these problems.

πŸ“Š How often do you see spam on the lock screen Xiaomi?
It's always annoying!
Sometimes, but rarely.
Only after installing new applications
Never seen it.
I don't know what that is.

1. disabling MIUI system advertising (without root)

The most common reason for spam on the lock screen is built-in advertising in MIUI. Xiaomi mounts its firmware by displaying banners in system applications, including the lock screen, which, fortunately, can be disabled without superuser rights.

Follow the instructions:

  1. Open Settings β†’ Password and Security β†’ Autoboot.
  2. Find the Msa app (or MIUI System Ads in newer versions) in the list and turn off auto-start.
  3. Go to Settings β†’ Applications β†’ Application Management.
  4. In the search, type msa (or ad) and disable permissions to display notifications from the found applications.
  5. Return to Settings β†’ Lock screen and turn off the β€œRecommendations” option (or β€œShow Ads” in older versions of MIUI).

If after these actions the advertising remained, check the settings of the thematic design:

  • 🎨 Open Topics β†’ Settings β†’ Advertising and disable all switches.
  • πŸ”„ Restart your phone – sometimes changes only apply after a reboot.

β˜‘οΈ Checking the disabling of system advertising

Done: 0 / 5

⚠️ Note: In some regions (e.g. India), Xiaomi blocks the ad switching off through standard settings. If the instructions are missing, use the methods in the following sections.

2. Delete virus notifications and suspicious applications

If notifications from unknown sources appear on the lock screen (for example, β€œYour phone is infected with a virus!” or β€œYou won an iPhone!”), malware is likely installed on the device, and these applications are often disguised as useful utilities or games.

To find and remove them:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Sort the list by installation date (the last ones installed are often the culprits of spam).
  3. Check for apps with suspicious names, for example: 🚨 Clean Master, DU Speed Booster (known for displaying false notifications) 🎰 Lucky Draw, Spin & Win (Slots with Advertising) πŸ’° Easy Credit, Fast Loan (Financial Fraudsters)

Delete

Device administrator

If you can’t remove the application, try to revoke its permissions:

  • πŸ“± Go to the app settings β†’ Permits β†’ Turn off notification display and auto-start.
  • πŸ”’ If the application requests administrator rights, uninstall them in Settings β†’ Password and security β†’ Device administrators.

πŸ’‘

Before removing the suspicious app, check it in VirusTotal – download it. APK-File (can be retrieved through Settings) β†’ Annexes β†’ Exports APK) Make sure that the antivirus detects it.

3. Reset the lock screen settings to factory

If spam appears even after removing all suspicious apps, the problem may lie in the damaged lock screen settings, in which case, resetting only this component (without completely cleaning the phone) will help.

Instructions:

  1. Go to Settings. β†’ The phone.
  2. Find Reset (or Restore and Reset in older versions of MIUI).
  3. Select Reset the lock screen settings (not to be confused with a full reset!).
  4. Confirm the action and wait for the reboot.

After discharge:

  • πŸ”„ Configure the lock screen again (select wallpaper, notification type).
  • 🚫 Do not restore settings from backup – this can return spam.
  • πŸ” Check if the notifications are back in 10-15 minutes.

⚠️ Note: This method will not delete your data (photos, contacts, messages), but will reset your fingerprint, pattern lock and other settings. PIN-Make sure you remember the password from your Mi Account beforehand – it may be required to unlock it.

4.Use ADB for deep cleaning (no root)

If standard methods don't work, you can use Android Debug Bridge (ADB), a debugging tool that allows you to disable system components without superuser rights, which is suitable for power users.

What you need:

  • πŸ–₯️ Computer with installed Xiaomi and ADB-tools drivers.
  • πŸ“± Included debugging by USB on the phone (Settings) β†’ The phone. β†’ Version. MIUI β†’ 7 times press to unlock the developer mode, then Settings β†’ Additionally. β†’ For developers β†’ Debugging by USB).

Teams to clean up spam:

adb shell pm uninstall --user 0 com.miui.systemAdSolution # Removes the system ad application


adb shell pm disable-user --user 0 com.android.browser # Disables MIUI browser (often shows ads)




adb shell pm disable-user --user 0 com.miui.weather2 # Disables weather on the lock screen (may contain banners)




adb shell dumpsys deviceidle force-idle # Forced stops background processes

After the commands are executed:

  • πŸ”„ Reboot the phone.
  • πŸ“΅ Check if spam appears after 30 to 60 minutes (some processes are delayed).
What if the ADB does not recognize the device?
1. Make sure that the debugging is enabled by USB and access is allowed from this computer (a request will appear on the phone). 2. Install drivers for your Xiaomi model (download from the official website or via Mi). PC Suite). 3. Try another one. USB-cable (preferably original). 4. Restart your phone and computer. 5. If you're using Windows, run it. ADB on behalf of the administrator.

5. Installation of custom firmware (for advanced)

If none of these methods worked, the radical solution is to install custom firmware without ads, which requires unlocking the bootloader and the superuser rights, but is guaranteed to remove all system spam.

Popular firmware without advertising for Xiaomi:

FirmwareFeaturesSupport for modelsComplexity of installation
Xiaomi.euOfficial MIUI without ads, with weekly updatesMost of the Xiaomi/Redmi/POCO modelsMedium (needs an unlocked bootloader)
LineageOSClean Android without unnecessary appsLimited list (check out the official website)High (requires root and TWRP)
Pixel ExperienceFirmware with Google Pixel interfacePopular models (Redmi Note 10, POCO X3, etc.)Tall.
MIUI MixModified MIUI with additional featuresXiaomi/Redmi/POCO (check for 4PDA)Medium

Step-by-step installation instructions Xiaomi.eu (the easiest option):

  1. Unlock the bootloader via the Mi Unlock Tool (can take up to 72 hours to wait).
  2. Download the firmware for your model from Xiaomi.eu.
  3. Install TWRP Recovery via fastboot: fastboot flash recovery twrp.img fastboot boot twrp.img
  4. In TWRP, make a backup of the current system (required!).
  5. Select the downloaded firmware through Install β†’ Select ZIP.
  6. Clear the cache (Wipe) β†’ Dalvik/ART Cache and reboot.

⚠️ Note: Installing custom firmware will void the warranty and may result in data loss. If you are not sure about your actions, contact an experienced user or a thematic forum (for example, if you are not sure about your actions, contact an experienced user or a topical forum, 4PDA).

6.Alternative launchers and ad blockers

If you don’t want to risk firmware, but spam on the lock screen continues to bother you, you can use third-party apps to block ads and change the interface.

Best solutions:

  • 🚫 Blokada – Blocker of Advertising at the Level DNS (It does not require root, but may conflict with some applications).
  • πŸ”’ AdGuard filters ads in all applications, including system notifications.
  • πŸ“± Nova Launcher + Sesame Shortcuts – allows you to replace the standard lock screen with a custom screen (with notifications disabled).
  • πŸ›‘οΈ Malwarebytes – scans the system for viruses and removes malicious applications that show spam.

How to configure AdGuard to block spam on the lock screen:

  1. Install AdGuard from the official site (not from Google Play – there is a stripped-down version).
  2. Enable Notification Protection in the application settings.
  3. Add filters: 🌍 AdGuard Base filter πŸ‡¨πŸ‡³ Chinese filter (blocks Chinese ads) πŸ“± MIUI Ad block (specially for Xiaomi)

Restart your phone and check the result.

πŸ’‘

Third-party ad blockers (such as AdGuard) can reduce Internet speeds by 5-10% due to traffic filtering, and if you notice brakes, try turning off unnecessary filters or use Low Consumption Mode in your app settings.

7 What to do if spam is returned

If after all the manipulations, spam appears on the lock screen again, the problem may be deeper:

  • πŸ”„ Automatic Application Recovery: Some viruses recover after removal. check in Settings β†’ Accounts. β†’ Google β†’ Synchronize applications and disable it.
  • πŸ“¦ Pre-installed apps: Some Xiaomi models have secure system applications that cannot be removed without root.
  • πŸ•΅οΈ Spyware: If spam contains personalized offers (such as your name or data), a keylogger may be installed on the phone, in which case a full reset to factory settings is required.

Instructions for complete reset (if other methods do not help):

  1. Make a backup copy of important data (photos, contacts, messages).
  2. Go to Settings β†’ About the phone β†’ Reset settings.
  3. Choose Delete all data (or Full Reset).
  4. Confirm the action and wait for the completion (it will take 5-15 minutes).
  5. After the reboot, do not restore data from the backup – first check if spam appears on the clean system.

If the spam came back even after the reset, it's a 100% firmware-level infection.

  • πŸ› οΈ Install custom firmware (section 5).
  • πŸ“ž Contact the Xiaomi service center (if the phone is guaranteed).

πŸ’‘

After resetting, take your time to install all the apps back, add them one by one, and watch for spam, so you find the culprit.

FAQ: Frequent questions about spam on Xiaomi lock screen

❓ Why spam is even on Xiaomi’s new phone?
Xiaomi’s new smartphones often go on sale with pre-installed advertising modules in MIUI. This is not a virus, but the official monetization of the company. To remove ads, follow the instructions in Section 1.
❓ Can I remove spam without rooting and ADB?
Yes, in most cases, it is enough to disable system advertising in the settings (section 1) and remove suspicious applications (section 2).If this does not help, try resetting the lock screen settings (section 3).
❓ Why Spam Returns After Deleting an Application?
Some malware has self-healing mechanisms or masquerades as system processes. In this case: Check the list of device administrators (Settings β†’ Password and security β†’ Device administrators) and disable suspicious ones. Use Malwarebytes for deep scanning. If nothing helps, do a full reset (Section 7).
❓ Will AdGuard work on the MIUI 14?
Yes, AdGuard is compatible with MIUI 14, but blocking system ads on the lock screen will require: Install the application not from Google Play (from the official site). Enable the MIUI Ad block filter in the settings. Give AdGuard permission to show on top of other windows and access notifications. Some models (for example, Redmi Note 12) may require additional settings of the local VPN in AdGuard.
❓ How to check if I am being spied on by an app that shows spam?
Signs of spyware: πŸ“ Spam contains your name, location or account details. πŸ”‹ The phone is quickly discharged even in standby mode. πŸ“Ά Suddenly, mobile Internet traffic is increasing. To check: Install NetGuard or GlassWire to monitor network activity. View the list of applications with geolocation, microphone and contacts access (Settings). β†’ Confidentiality β†’ If you find a suspicious app, delete it and change the passwords of important accounts.