How to permanently remove ads on the lock screen Xiaomi: a step-by-step guide

Advertising on the lock screen Xiaomi is one of the most annoying features of the firmware MIUI. Even after buying a smartphone, users are faced with intrusive banners that not only spoil the appearance, but also slow down the unlocking of the device. In this article, we will discuss all the current ways to remove ads, from standard settings to advanced methods using ADB and third-party utilities.

Many people mistakenly believe that advertising only appears on budget models Redmi or POCO. In fact, it can pop up even on the flagships of the Xiaomi 13/14 series, if you do not turn off the corresponding options in the system. It is important to understand that MIUI is monetized by displaying ads, so developers do not make it obvious to turn off, but with our instructions you can get rid of it once and for all.

Before you start settings, make sure your smartphone is running the current version of MIUI 12-15. On older firmware (MIUI 11 and below), some methods may not work. Also check if the device has third-party launchers, which sometimes block access to the system settings of advertising.

1. Disabling Advertising through the standard MIUI settings

The easiest way to remove ads is to use the built-in system options. Xiaomi provides the ability to disable personalized ads, but makes it not obvious.

Go to Settings β†’ Google β†’ Ads and turn off the option β€œPersonalized Ads” which will reduce the number of targeted banners, but will not remove them completely.

Next, open Settings β†’ About your phone and tap the MIUI version several times until the notification β€œYou’ve become a developer!” appears. Go back to the basic settings, find a new section β€œFor developers” and activate it.

Now go to Settings β†’ Additional β†’ Special Features β†’ Advertising Services (the path may vary depending on the version of MIUI).

  • πŸ”΄ Personalized recommendations – disables analysis of your actions to show ads.
  • πŸ”΄ Advertising Notifications – Removes banners in the notification curtain.
  • πŸ”΄ Advertising Services – deactivates the system service responsible for displaying advertising.

⚠️ Note: On some models (Redmi Note 10 Pro, POCO X3 Pro) the item β€œAdvertising services” may not be available, in which case proceed to the following method.

After you turn off, restart your smartphone. The ads on the lock screen should disappear within 24 hours. If this does not happen, then your version of MIUI uses other banner display mechanisms.

πŸ“Š What kind of Xiaomi model do you have?
Redmi (Note, K-series)
POCO (F, X, M-series)
Xiaomi (11/12/13/14 series)
other

2. Removal of advertising through lock screen settings

In some versions of MIUI, the adverts on the lock screen are managed separately from the general adverts on the system, to disable them:

Go to Settings β†’ Lock screen and find the "Recommendations on the Lock screen" (or "Content of the Lock screen"). Disable all options:

  • πŸ“± Show recommendations – removes banners with applications and promotions.
  • 🌐 News and weather – disables widgets with content from Xiaomi.
  • 🎯 Personalized Content – Stops analyzing your preferences.

If your MIUI version doesn’t have these, try an alternative path: Settings β†’ Applications β†’ Application Management β†’ System Apps β†’ Lock screen.

Disabled recommendations on the lock screen|News widgets turned off|Internet access for "Block screen" is prohibited"|Rebooted smartphone-->

On some devices (Xiaomi Mi 11, Redmi K40) after this action, the ads disappear after 1-2 days, this is due to banner caching.

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Find the Lock Screen and the Msa (Xiaomi Advertising Service).
  3. For each of them, click "Clear Cache" and "Erase Data".

⚠️ Attention: Clearing the data of the Msa application may cause some system settings, such as regional settings, to be reset.

3.Using ADB to Deeply Disable Advertising

If the standard methods do not work, you will have to resort to ADB-This method requires connecting the smartphone to the computer, but it is guaranteed to remove advertising on all versions. MIUI.

First, prepare everything you need:

  • πŸ’» Computer with installed Xiaomi drivers (download from the official website).
  • πŸ”Œ USB-cable (preferably original).
  • πŸ“₯ ADB Tools (download here).

Algorithm of action:

  1. Enable USB debugging in the developer settings (Settings β†’ Developers β†’ USB debugging).
  2. Connect your smartphone to your computer and confirm the debugging permission.
  3. Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.
  4. Enter the command to check the connection: Adb devices should appear the name of your device.
  5. Follow the commands in turn: adb shell pm uninstall --user 0 com.miui.systemAdSolution adb shell pm uninstall --user 0 com.xiaomi.midrop adb shell pm hide com.android.browser

These commands remove the system applications responsible for displaying ads. Once you do, reboot your smartphone. The ads on the lock screen will disappear forever, even after MIUI updates, if you don't reset the settings to factory settings.

What if the ADB can’t see the device?
If the adb device command doesn’t show your smartphone, try: 1. Reinstall Xiaomi drivers manually through Device Manager. 2. Use another one. USB-cable (not all cables support data transfer). 3. Enable the option "Debugging by Debugging" in the developer settings USB (security settings)" and select "Always allow from this computer. 4. Try another one. USB-port (preferably) USB 2.0).

ADB Team TeamWhat's he doing?Effects of consequences
pm uninstall --user 0 com.miui.systemAdSolutionRemove the system advertising applicationDisappears all advertising in MIUI, including banners in the settings
pm uninstall --user 0 com.xiaomi.midropRemoves Mi Drop (sometimes shows ads)You will not be able to use the fast file transfer function.
pm hide com.android.browserHiding a standard browser (banner source)The browser will remain in the system, but will not show ads

πŸ’‘

Before execution ADB-commands back up important data, and while commands are secure, there is always a risk of failure when working with system files.

4. Disabling Advertising through Third Party Apps

If you don't feel comfortable using ADB, you can use specialized utilities, one of the most effective is the App Inspector (available on Google Play), which allows you to find and disable the system services responsible for displaying ads.

Instructions for use:

  1. Install the App Inspector.
  2. Open the application and grant it ADB rights (you need to connect the smartphone to the PC and execute the command adb -d shell pm grant bg.projectoria.appinspector android.permission.DUMP).
  3. In the search box, type "ad" or "msa".
  4. Find com.miui.systemAdSolution and com.xiaomi.msa.global, tap them and select "Disable".

Alternative annexes:

  • πŸ› οΈ MIUI Hidden Settings – reveals hidden settings MIUI, including advertising options.
  • πŸ” Package Disabler – allows you to disable system packages without root.
  • 🚫 Blokada – Blocks Advertising Domains at Level DNS (requires adjustment VPN).

⚠️ Note: Apps like Blokada or AdGuard may conflict with some features MIUI, If you stop sending messages from messengers after installation, add them to the blocker exceptions.

Another working method is to use alternative launchers (like Nova Launcher or Lawnchair) that replace the standard MIUI interface, where ads are often embedded, but that won't remove banners from the lock screen if they're displayed at the system level.

πŸ’‘

The app side is a good option for those who don’t want to mess with ADB. However, they require regular updates and may conflict with MIUI after major updates.

5. Resetting Advertising Settings via Mi Account

Few people know, but some of the ad settings are tied to your Mi Account, and if you've previously agreed to personalized content, those settings could have been saved to the cloud to reset them:

Go to Mi Account and log in. In the Privacy section, look for Personalized Recommendations and disable all ad-related options, and delete browsing and search history.

On your smartphone, open Settings β†’ Accounts β†’ Mi Account β†’ Sync and turn off sync for the following points:

  • πŸ“Š Use data
  • πŸ” History of search
  • 🎯 Advertising preferences

Then reset the account cache:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Find "Mi Account" and click "Clear Cache".
  3. Reboot your smartphone.

This method is especially useful if the ad appears after changing the device or restoring it from a backup.It resets all personalized settings associated with your Xiaomi account.

6. Radical-method: flashing to global MIUI or custom firmware

If none of these methods worked, the most radical option is to install clean firmware, with much less advertising in global versions of MIUI (such as MIUI Global or MIUI EU), while custom firmware (such as Pixel Experience or LineageOS) does not.

Advantages and disadvantages of the method:

OptionPlusesCons
MIUI GlobalOfficial firmware, stable operation, OTA-updateAdvertising remains, but it is less; requires unlocking the bootloader
MIUI EUAd-free, weekly updates, optimized for EuropeNo Russian in some versions; bugs are possible
Castom firmware (AOSP)Total lack of advertising, pure Android, customizationComplex installation, possible problems with iron (camera, NFC)

Instructions for reflashing on MIUI EU:

  1. Unlock the bootloader through the official Xiaomi tool (requires a wait of 7-15 days).
  2. Download the MIUI EU firmware for your model from xiaomi.eu.
  3. Install it via Fastboot or TWRP (instructions are available on the 4PDA or XDA-Developers forum).

⚠️ Warning: Flashing will void warranty and may result in a brick device, only if you are confident in your actions or under the guidance of an experienced user.

If you're not prepared for the risks, try other methods first. Flashing is a last resort, but it's guaranteed to solve the problem of advertising.

7. Additional tips: how to prevent the return of advertising

Even after successful removal of the ad, it can return after updating MIUI or resetting the settings.

Back up your current settings through ADB:

adb backup -f backup.ab -apk -obb -shared -all -system

This command will save all system settings, including disabled advertising services.

Turn off automatic MIUI updates:

  • πŸ”„ Go to Settings. β†’ The phone. β†’ Updating the system.
  • 🚫 Click on the three dots in the top right corner and select "Update Settings".
  • πŸ”• Turn off the option "Automatic booting via Wi-Fi".

Use firewall to block advertising domains:

  • πŸ”₯ Install NetGuard or RethinkDNS.
  • 🌐 Add to the blacklist the domains: ad.mi.com tracker.miui.com data.mistat.xiaomi.com sdkconfig.ad.xiaomi.com

Check your settings regularly after updates. Xiaomi sometimes resets ad settings, so you have to turn them off again.

πŸ’‘

The best ad protection is a combination of methods: disable in settings + ADB + firewall. This gives 100% results for the long term.

FAQ: Frequent questions about advertising on Xiaomi

❓ Why does the ad appear again after the shutdown?
This is due to MIUI updates or system app cache resets. To avoid ad returns: Turn off automatic MIUI updates. Clear the Msa and Lock Screen cache regularly. Use ADB to permanently remove ad packets.
❓ Can you remove advertising without a computer?
Yes, but not on all models. Try: Turn off ads in settings (Settings β†’ Advertising Services); use apps like App Inspector or MIUI Hidden Settings; install an alternative launcher (like Nova Launcher); however, ADB remains the most reliable way to completely remove ads on the lock screen.
❓ Will the way to work with ADB on POCO?
Yes, POCO uses the same MIUI firmware, so all ADB commands and settings operate similarly, except for the POCO Launcher models (e.g. POCO F5), where the path to ad settings may differ.
❓ Can disabling advertising affect the smartphone?
Most of the time, no. However: Disabling com.miui.systemAdSolution can disrupt some system notifications. Blocking domains via firewall sometimes interferes with push notifications in messengers. Deleting com.xiaomi.midrop will disable the fast file transfer function Mi Drop. If problems arise after manipulation, return settings back via ADB: adb shell pm install-existing com.miui.systemAdSolution.
❓ Is there a legal way to complain about advertising in Xiaomi?
Yes, you can: Write in support of Xiaomi through the official website or the Mi Community app; leave feedback on Google Play for the MIUI System app (although this rarely works); join petitions on forums (e.g. xiaomi.eu) where users are demanding that ads be removed in large numbers. Unfortunately, Xiaomi rarely does this because advertising is part of their business model.