Ads on the Xiaomi lock screen are one of the most annoying features of MIUI firmware that users of budget and mid-budget models of Redmi, POCO and even flagship Xiaomi face. Even after buying the device, you continue to see banners offering apps, games or services β and itβs not just an aesthetic flaw. These ads consume traffic, drain the battery and slow down the screen unlock. Fortunately, there are several ways to get rid of them: from standard settings to deep modifications of the system.
In this article, we will discuss all the current methods of removing ads from the lock screen on Xiaomi (including models from 2023-2026), taking into account the firmware versions of MIUI 12-14 and the features of regional builds. You will learn how to turn off ads without root rights, what settings are hidden in the developer menu, and what to do if the standard methods do not work, and we will analyze the risks of each method and give recommendations for security.
Why does Xiaomi have ads on the lock screen?
Xiaomi is integrating advertising modules into MIUI firmware for several reasons:
- π° Monetization of budget devices, models of the Redmi line and POCO They are sold at the lowest price, and advertising compensates for part of the development costs.
- π Regional features: Advertising is more common in China and India than in global firmware (e.g., in China and India, MIUI Global or EEA).
- π± Xiaomi Services.Advertising comes through system apps: Mi Browser, Security, Cleaner and even Theme Store.
- π Update to the firmware, after update MIUI Advertising modules can return even if you have disabled them before.
It's important to understand that the adverts on the lock screen are not a virus or a system bug, but they're a planned firmware feature that you can turn off, but not always permanently, for example, after you reset your settings or update your MIUI, banners can reappear.
β οΈ Note: Some models (e.g. Redmi Note 12 for the Indian market) have a kernel-level advert, in which case removing it will require root rights or reflashing to the custom version. MIUI.
Method 1: Disabling Advertising through the standard MIUI settings
The easiest and safest method is to use built-in firmware options, which is suitable for most Xiaomi, Redmi and POCO devices on MIUI 12-14 (including global and European versions).
Instructions:
- Open the Settings β Lock screen.
- Go to the Additional Settings section (or Advanced Settings in English).
- Find Recommendations or Show Ads and turn off the slider.
- Go back to the main settings menu and select Applications β Application Management.
- In the search bar, type msa (this is the Mi System Ads system application) and turn off Autorun and Notifications Display for it.
If the recommendation item is not on the menu, try an alternative path:
Settings β About Phone β MIUI version (shap 7 times to activate developer mode)
Settings β Additional β For Developers β Turn off βPersonalized RecommendationsβDisable "Recommendations" in the lock screen settings
Prohibit Auto-Run for the msa application
Disable notifications from Mi System Ads
Check for updates MIUI (Sometimes the ads disappear after the update)-->
This works on 60 to 70 percent of devices, but it doesn't guarantee a 100 percent result. If you still have ads, move on to the next method.
Method 2: Using the Developer Mode and ADB-team
If standard settings donβt work, you can block ad modules through ADB (Android Debug Bridge), a method that doesnβt require root rights, but requires connecting your smartphone to your computer.
Step-by-step:
- Activate the developer mode (see spoiler below).
- Connect your phone to your PC via USB and select File Transfer mode.
- Download ADB Tools and unpack the archive.
- Open the command prompt (cmd) in the adb.exe folder and type:
adb devices
adb shell pm hide com.miui.systemAdSolutionIf the first team doesnβt work, try:
adb shell pm uninstall --user 0 com.miui.systemAdSolutionHow to activate the developer mode on Xiaomi?
These commands hide the system application that is responsible for displaying ads, so after the device is rebooted, the banners should disappear. If not, try additional commands:
adb shell pm hide com.xiaomi.midrop
adb shell pm hide com.miui.analyticsβ οΈ Attention: On some firmware (MIUI 14 for Redmi Note 13 Pro) these commands can be reset after the update.
Method 3: Remove ads through hosts file editing (without root)
Ads on the lock screen are downloaded from Xiaomi servers, and you can block access to these servers by editing the hosts file. This method does not require root, but requires the use of the ADB AppControl app or similar.
Instructions:
- Install ADB AppControl from Google Play.
- Connect your phone to your PC and allow debugging over USB.
- In the app, find the Hosts Editor section and add the following lines:
127.0.0.1 ad.xiaomi.com
127.0.0.1 sdkconfig.ad.xiaomi.com
127.0.0.1 tracking.miui.com
127.0.0.1 api.ad.xiaomi.comSave the changes and restart the device. Ads should disappear within 24 hours (Xiaomi server cache is not updated instantly).
| Xiaomi server | Appointment | The blocking effect |
|---|---|---|
| ad.xiaomi.com | Main advertising server | Remove banners on the lock screen |
| sdkconfig.ad.xiaomi.com | Configuration of advertising SDKs | Disables personalized advertising |
| tracking.miui.com | Statistics collection | Stops tracking activity |
| api.ad.xiaomi.com | API for uploading ads | Blocks dynamic banners |
The downside of this method is possible problems with updating Xiaomi applications (for example, Mi Store or Theme Store).If after blocking system services stopped working, delete the added lines from hosts.
Method 4: Reflashing to the custom version of MIUI or AOSP
If none of the previous methods worked, the radical solution is to install custom firmware, which will remove all Xiaomi ad modules, but require unlocking the bootloader and potentially strip you of warranty.
Popular options:
- π± MIUI pro MIUI Mix - modified versions of the official firmware without advertising and with additional features.
- π€ LineageOS or Pixel Experience β based firmware AOSP (Android without branded services Xiaomi.
- π§ Xiaomi.eu β European build MIUI Remote Advertising and Optimization for the Global Market.
Flashing process:
- Unlock the bootloader through the official Xiaomi tool (requires a Mi Account and wait 7-15 days).
- Install TWRP Recovery for your model (see instructions on XDA Developers).
- Download custom firmware (e.g. xiaomi.eu) and run it through TWRP.
β οΈ Warning: Flashing to unofficial software will void the warranty and may cause the device to break down. Before the procedure, back up the data via Mi Cloud or TWRP.
π‘
Before unlocking the bootloader, check if your model supports official unlocking. Some devices (like the Redmi K50i for India) have limitations.
Method 5: Getting root rights and removing system applications
The most effective, but also the most risky, method is to root and manually remove ad modules, which will give you complete control of the system, but will deprive you of the ability to use banking applications (due to SafetyNet) and may disrupt some functions.
Instructions:
- Unlock the bootloader (see Method 4).
- Install Magisk to obtain root rights.
- With Root Explorer or ADB, remove the following system applications:
com.miui.systemAdSolution
com.xiaomi.midrop
com.miui.analytics
com.miui.bugreport
com.xiaomi.joyoseIt is also recommended to βfreezeβ (disable) via Titanium Backup or App Quarantine:
- π΅ Mi Browser (com.android.browser)
- π΅ Security (com.miui.securitycenter)
- π΅ Cleaner (com.miui.cleanmaster)
Removing these applications may disrupt some system functions, such as a virus scanner or battery optimizer. Before removing, back up via TWRP or Magisk.
π‘
Getting root rights voids the warranty and can lead to problems with SafetyNet. Use this method only if other methods have not worked.
What if the adverts returned after the MIUI update?
MIUI updates often restore ad modules, even if you've disabled them before.
- π Turn off automatic updates in Settings β The phone. β Updating the system.
- π₯ Install firmware manually, pre-checking reviews on forums (for example, 4PDA).
- π οΈ Use scripts to automatically remove ads after an update (e.g. Debloat) MIUI).
If the update is already installed and the advert is back:
- Repeat Method 1 (check the lock screen settings).
- Launch it. ADB-Teams from Method 2 Re-Out.
- If nothing helps, consider rolling back on a previous version of MIUI (seek instructions for your model).