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.
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:
- Open Settings β Password and Security β Autoboot.
- Find the Msa app (or MIUI System Ads in newer versions) in the list and turn off auto-start.
- Go to Settings β Applications β Application Management.
- In the search, type msa (or ad) and disable permissions to display notifications from the found applications.
- 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
β οΈ 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:
- Go to Settings β Applications β Application Management.
- Sort the list by installation date (the last ones installed are often the culprits of spam).
- 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:
- Go to Settings. β The phone.
- Find Reset (or Restore and Reset in older versions of MIUI).
- Select Reset the lock screen settings (not to be confused with a full reset!).
- 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 processesAfter 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?
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:
| Firmware | Features | Support for models | Complexity of installation |
|---|---|---|---|
| Xiaomi.eu | Official MIUI without ads, with weekly updates | Most of the Xiaomi/Redmi/POCO models | Medium (needs an unlocked bootloader) |
| LineageOS | Clean Android without unnecessary apps | Limited list (check out the official website) | High (requires root and TWRP) |
| Pixel Experience | Firmware with Google Pixel interface | Popular models (Redmi Note 10, POCO X3, etc.) | Tall. |
| MIUI Mix | Modified MIUI with additional features | Xiaomi/Redmi/POCO (check for 4PDA) | Medium |
Step-by-step installation instructions Xiaomi.eu (the easiest option):
- Unlock the bootloader via the Mi Unlock Tool (can take up to 72 hours to wait).
- Download the firmware for your model from Xiaomi.eu.
- Install TWRP Recovery via fastboot: fastboot flash recovery twrp.img fastboot boot twrp.img
- In TWRP, make a backup of the current system (required!).
- Select the downloaded firmware through Install β Select ZIP.
- 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:
- Install AdGuard from the official site (not from Google Play β there is a stripped-down version).
- Enable Notification Protection in the application settings.
- 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):
- Make a backup copy of important data (photos, contacts, messages).
- Go to Settings β About the phone β Reset settings.
- Choose Delete all data (or Full Reset).
- Confirm the action and wait for the completion (it will take 5-15 minutes).
- 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.