You pick up a Xiaomi smartphone, you unlock the screen, and instead of the usual time or wallpaper, you see a bright ad for an app, a game or a promotion, and it's annoying, especially if it hasn't been done before. Why is it happening? 90% of the time, it's not viruses that are to blame, but the built-in MIUI features that the company activates to monetize.
In this article, weβll look at all the possible causes of ads on the Xiaomi lock screen, from legitimate MIUI services to potentially dangerous scenarios, how to distinguish system advertising from malicious advertising, what settings are responsible for its display, and what to do if standard methods do not help, and at the end, a checklist for quickly removing ads and answers to frequent questions.
Spoiler: Most of the time, you can fix the problem in 5 minutes through your phone's settings, but there are hidden traps, like ads coming back after updates or resets, and we'll tell you how to avoid that.
1. Legal sources of advertising: what allows Xiaomi
Xiaomi openly states that some of the features of MIUI include advertising, as stated in the user agreement.
- π± Service βRecommendationsβ MIUIΒ» β shows banners on the lock, in the application menu and in the settings.
- π Affiliate offers β advertising games, services Xiaomi (for example, Mi Pay or Mi Cloud).
- π Software updates β sometimes accompanied by advertising of new features.
- π Local services β in some regions (India, China) advertising is active by default.
Importantly, these ads are not viruses, they're built into firmware and they're managed through settings, but you can turn them off, and we'll talk about that in the How to Remove Ads section.
Since 2022, Xiaomi has been actively testing new monetization formats, for example, in some versions of MIUI 13/14, ads can appear even when swiping down on the home screen. It's not a bug, it's a feature - but it can also be deactivated.
2. Hidden settings MIUI: where to hide advertising
Even if you've turned off all the obvious options, the ads can continue to show, because there are hidden triggers in MIUI that activate the banners.
| Setting up | Wherever | What's he doing? |
|---|---|---|
| MIUI Recommendations | Settings β Memory β Recommendations | Manages banners in the menu and on the lock |
| Personalized announcements | Settings β Google β Advertising | Collects data for targeted advertising |
| Push notifications from MIUI | Settings β Notifications β System Notifications | Responsible for pop-up advertising windows |
| Location services | Settings β Privacy β Location | Allows you to display local advertising |
Personalized Ads are especially insidious, and even if you turn off all other settings, they can still collect data and display ads through Google services, and to block them completely, you need to:
- Go to Settings β Google β Advertising.
- Turn off advertising personalization.
- Reset your advertising ID (option in the same menu).
π‘
If after the shutdown, the ad returned, check the MIUI update. Sometimes after the update, the settings are reset.
3. Viruses and malicious applications: how to distinguish from system advertising
If the ad appears suddenly, is accompanied by a redirect to the browser or shows suspicious sites (gambling, adult content) - this is a sign of infection. MIUI:
- β οΈ It appears even when the Internet is turned off (cached malicious advertising).
- β οΈ Redirects to Google Play to suspicious apps.
- β οΈ Shows pop-ups on top of all apps.
- β οΈ Accompanied by increased battery consumption or traffic.
The most common sources of infection:
- Pirates. APK-Files (especially modified games).
- Applications from unknown sources (Settings β Security β Unknown sources)
- Fake βoptimizersβ or βcleanersβ of memory.
β οΈ Warning: If an ad appears when the screen is locked (before entering the password) it is 100% virus. MIUI It never shows up on a fully locked device.
To check your phone for viruses:
- Install Malwarebytes or Dr.Web Light from Google Play.
- Run a deep scan.
- Remove any threats you find.
- Check the list of installed applications for suspicious ones (Settings β Applications β Application Management).
4. Step-by-step instruction: how to remove ads on the lock screen
If the ads are system (not a virus), follow this algorithm.It is suitable for all Xiaomi models on MIUI 12/13/14, including Redmi, POCO and Black Shark.
βοΈ Disabling Advertising on Xiaomi
Step 1: Disabling MIUI recommendations
- Open the settings β Memory β Recommendations.
- Turn off the slider "Show recommendations."
- In the same menu, click Clear Data.
Step 2: Blocking Personalized Advertising
- Go to Settings β Google β Advertising.
- Turn off Personalized Advertising.
- Click on βReset Advertising IDβ.
Step 3: Cleaning up the Google Cache
- Open Settings β Applications β Application Management.
- Find the Google Play Services.
- Press Warehouse. β Clear the cache.
Step 4: Virus Check (if there is still advertising)
Use Malwarebytes or Kaspersky Mobile for deep scanning. Delete any threats you find.
Step 5: Resetting settings (extreme case)
If nothing works, reset (Settings β About Phone β Settings Reset) before you save the data β the reset will delete all files and applications!
π‘
After resetting, do not restore the backup through MI Cloud β it may contain ad settings.
5.Why Ads Return After Updates
Many users complain that after the MIUI update, the ads appear again, because:
- π New versions MIUI Reset some settings by default.
- π¦ Google Service Updates May Include New Advertising Mechanisms.
- π οΈ Xiaomi is testing new monetization formats (for example, advertising in Control Center).
To avoid this:
- After each update, check the recommendations settings.
- Turn off auto-update MIUI (Settings β The phone. β Updating the system β βοΈ β Auto-update).
- Use alternative firmware (e.g. Xiaomi.EU) where the ads are removed at the code level.
β οΈ Note: If you use custom firmware (unofficial), ads may be due to integrated modules. Check forum reviews before installing (e.g., forum reviews, 4PDA or XDA Developers).
6. Alternative methods: from root rights to changing firmware
If standard methods don't work, you can go further, and these methods require technical skills, but they are guaranteed to take away advertising forever.
Method 1: Root rights + removal of system applications
With Magisk or TWRP, you can remove the system components responsible for advertising:
pm uninstall -k --user 0 com.miui.systemAdSolutionIt is also recommended to remove:
- com.xiaomi.midrop (advertising in Mi Drop)
- com.miui.analytics (collection of statistics)
- com.miui.cloudservice (cloud services with advertising)
What happens if you remove the system applications?
Method 2: Installation of custom firmware
Xiaomi.EU or LineageOS firmware completely removes ads and unnecessary services.
- β Loss of warranty (if the phone is under warranty).
- β Risk of βbrickingβ when installed incorrectly.
- β Some features (such as Mi Pay) may not work.
Method 3: Blocking Advertising through DNS
You can block advertising domains at the network level:
- Install AdGuard or Blokada.
- Activate. DNS-filtering with an easylist.
- Manually add domains: ad.mi.com tracker.miui.com data.mistat.xiaomi.com
7. Frequent Mistakes: What NOT to Do
When trying to remove ads, users often make mistakes that only make the problem worse.
- π« Install Google Play cleaners β many of them show ads themselves.
- π« Disabling Google Services Could Break Apps.
- π« Resetting your phone without a backup β the risk of losing data.
- π« Use the unknowns ADB-Teams can damage the system.
Also not worth it:
- β Believing promises to 'totally remove ads' for money is a scam.
- β Disable all notifications β you will miss important messages.
- β Install MIUI from dubious sources - the risk of viruses.
β οΈ Warning: If you see advice like, "Disable com.android.systemui," ignore it. It's a critical system process, and turning it off will cause your phone to lose its performance.