How to permanently remove ads from the lock screen Xiaomi: all ways 2026

Why Xiaomi is showing ads on the lock screen and can it be turned off?

Xiaomi, Redmi and POCO smartphone owners often face intrusive ads on the lock screen โ€“ banners with games, promotions or news appear even with minimal activity. This is not a coincidence, but part of the companyโ€™s business model: MIUI contains built-in ad modules that load content through the services of Msa (Mobile Services Analytics) and MiuiDaemon. This practice allows Xiaomi to reduce the price of devices, but annoys users, especially on budget models like the Redmi Note 12 or POCO X5.

The good news: ads on the lock screen can be turned off completely โ€“ as standard means MIUI, Bad news: Some methods require unlocking the bootloader or the rights of the superuser (root), which will void the warranty. In this article, we will discuss all the current ways to use the software. MIUI 14/15, including hidden settings, ADB-So let's start with the simplest solutions, without risking the device.

Before you start, check your firmware version in Settings โ†’ About Phone โ†’ MIUI version. Some methods only work on global (Global) or Chinese (China) builds. Also note that after major updates (for example, from MIUI 13 to MIUI 14), ad modules may return - they will have to be blocked again.

๐Ÿ“Š What kind of Xiaomi model do you have?
Redmi Note 12/13
POCO X5/F5
Xiaomi 13/14
Another model
I don't know.

Method 1: Disabling Advertising through MIUI Settings (without root)

The safest method is to use built-in MIUI options.It is suitable for most devices on MIUI 12-15, but does not guarantee 100% results: some banner ads may remain due to regional features of the firmware.

Instructions:

  • ๐Ÿ“ฑ Open the Settings. โ†’ Lock screen.
  • ๐Ÿ” Scroll down and find the Advertising or Recommendations section (the title may vary).
  • ๐Ÿšซ Turn off the sliders: ๐Ÿ“ข "Showing ads on the lock screen" ๐ŸŽฏ "Personalized recommendations" ๐Ÿ“Š "Usage analysis"
  • ๐Ÿ”„ Reset the device.

If there is no advertising section, try an alternative way:

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Press three points (โ‹ฎ) in the upper right corner and select "Show all processes".
  3. Find the com.xiaomi.msa.global and com.miui.daemon apps, open their settings and turn off the Notifications Show.

Make a backup copy of important data|Check the version. MIUI customized|Connect the device to Wi-Fi|Battery charge > 50%-->

Method 2: Blocking Advertising through ADB (without root)

If the standard settings do not help, use ADB-Android Debug Bridge, which doesn't require root rights, but you need a computer and enabled debugging. USB. Suitable for MIUI 14/15 on global and European firmware.

Step-by-step:

  1. ๐Ÿ–ฅ๏ธ Install. ADB Tools on PC.
  2. ๐Ÿ“ฑ On the phone, activate Settings. โ†’ The phone. โ†’ Version. MIUI (Press 7 times to turn on Developer Mode, then return to Settings โ†’ Additionally. โ†’ For developers and include "Debugging by" USB".
  3. ๐Ÿ”Œ Connect your phone to your PC and confirm your debugging permission.
  4. ๐Ÿ’ป Open the command line (Windows) or the terminal (macOS/Linux) in the folder from adb.exe and execute the commands in turn: adb shell pm hide com.xiaomi.msa.global adb shell pm hide com.miui.daemon adb shell pm hide com.android.browser

After the commands are executed, the ads on the lock screen should disappear. If not, try additional commands:

adb shell settings put global captive_portal_detection_enabled 0


adb shell settings put global captive_portal_server false

๐Ÿ’ก

If so, ADB-commands lose the Internet, restart the phone or execute the command adb shell settings put global captive_portal_detection_enabled 1, to retrieve network detection.

Method 3: Using third-party applications (without root)

For users who don't want to mess with ADB, there's an alternative: ad-blocking apps.

AnnexFunctionalConsReference
BlokadaBlocks DNS-level advertising domains, works without rootCan conflict with VPN, paid version for advanced featuresWebsite
AdGuardFiltering Ads, Trackers and Malware SitesRequires settings, can slow down the InternetWebsite
NetGuardBlocking access to the network for advertising servicesYou need to manually add Xiaomi domainsGitHub

How to set up Blokada to block Xiaomi ads:

  1. Download and install the app from the official website (not from Google Play!).
  2. Launch Blokada and allow creation VPN-linkage.
  3. Go to Settings โ†’ Blacklist and add these domains: msa-cdn.micloud.xiaomi.net api.ad.xiaomi.com tracker.ai.xiaomi.com data.mistat.xiaomi.com
  4. Activate the lock and restart the phone.
What if Blokada doesnโ€™t block ads?
If the advertisement remains after setting up, check: 1. VPN-connection: Blokada must be active (key icon in the notification panel). 2 Exceptions: In settings VPN (Settings โ†’ The Internet and the Internet โ†’ VPN) There should be no exceptions to Blokada. 3. Update Lists: Manually Update Blacklists in the App (Update button). 4. Conflicts: Disable Others VPN or antiviruses (such as Kaspersky or Avast) that may block Blokada.

Method 4: Disabling Advertising through System File Editing (Root Requires)

If previous methods have failed, the radical way is to remove ad modules from system files, which requires root rights and can lead to unstable MIUI operation.

Instructions for MIUI 14/15:

  1. ๐Ÿ› ๏ธ Get root access with Magisk.
  2. ๐Ÿ“ Install a file manager with root support (such as Root Explorer or Mixplorer).
  3. ๐Ÿ” Cross the path. /system/priv-app/ and find the folders: Msa (or MsaGlobal) MiuiDaemon Browser (if any)

.apk

.bak

Msa.apk โ†’ Msa.bak

๐Ÿ”„ Reset the device.

To remove the ads completely, edit the file /system/build.prop:

  1. Open the file in the text editor (with root rights).
  2. Add at the end of the line: ro.miui.has_ad_service=false ro.miui.notification_ad_enabled=false
  3. Save the changes and restart the phone.

Installation process:

  1. ๐Ÿ”“ Unlock the bootloader via Mi Unlock Tool (requires Xiaomi account and wait 7-30 days).
  2. ๐Ÿ“ฅ Download the firmware for your model with XDA Developers or xiaomi.eu.
  3. ๐Ÿ’พ Install. TWRP Recovery from fastboot: fastboot flash recovery twrp.img fastboot boot twrp.img
  4. ๐Ÿ“ฒ V TWRP run the Wipe โ†’ Advanced Wipe (tag Dalvik, Cache, System, Data).
  5. ๐Ÿ“ Install the firmware through Install โ†’ Choose. ZIP.

โš ๏ธ Attention: Installing custom firmware voids warranty, can lead to a "brick" (inoperability) of the device and requires technical skills. Before the procedure, check the firmware compatibility with your Xiaomi model!

What if the adverts returned after the MIUI update?

After a firmware update, Xiaomiโ€™s ad modules are often re-activated to avoid this:

  • ๐Ÿ”„ Reverse to the previous version MIUI Fastboot (instructions are available on Xiaomi Firmware Updater).
  • ๐Ÿšซ Freeze system applications with Titanium Backup or Lucky Patcher (root required).
  • ๐Ÿ›ก๏ธ Use it. DNS-filtration (e.g., filtration, 1.1.1.1 or 9.9.9.9 customized Wi-Fi/mobile).
  • ๐Ÿ“ต Turn off mobile data for advertising services: Go to Settings โ†’ SIM-maps and mobile networks โ†’ Data transfer. Select "Background Limitation" for Msa and MiuiDaemon applications.