Why does Xiaomiβs lock screen have ads and can it be removed?
You just unlocked a Xiaomi Redmi Note 12 or POCO X5 Pro, and you see a harassing AliExpress discount announcement or a banner with a new game on your screen? It's not a virus or a system bug. Locked-screen advertising is part of MIUI's coin policy, which the company has been actively implementing since 2018. Even in European firmware (EEA), it occurs, albeit less frequently than in global versions.
The main problem is that these banners are not only annoying, but also consume battery power, load data in the background and sometimes even slow down unlocking (especially on budget models like the Redmi 10A). The good news is that you can remove ads without root rights and reset to factory settings. Bad β in the new versions of MIUI 14/15 Xiaomi complicated the process, hiding some options deeper in the menu.
In this article, we'll look at 5 proven ways, from basic settings to advanced ADB tricks and alternative launchers, all tested on current models (2022-2026) and do not violate warranty. Let's start with the simplest, and gradually move on to radical measures for persistent cases.
Method 1: Disabling personalized advertising in MIUI settings
The first step is to deactivate the targeted ad system, which collects data about your actions and shows βrelevantβ banners, which works on all Xiaomi models (including POCO, Black Shark and Redmi) and does not require technical skills.
Instructions:
- Open Settings β Google β Advertising.
- Click Reset Advertising ID (this will remove your profile for targeting).
- Activate the switch to Turn off personalized advertising.
- Return to the main settings menu and go to Settings β Memory β Clean (broom icon).
- Select the AutoStart tab and turn off autoboot for Msa (Mobile Services Ads), Mi Browser, and GetApps apps.
β οΈ Note: After this, the ads on the lock screen may not disappear immediately, but after 12-24 hours. If the banners remain, move to the next method. MIUI).
Method 2: Manually disabling advertising services in MIUI (hidden settings)
Xiaomi has integrated advertising mechanisms deep into the system, but some of them can be deactivated through the menu "Special features" and settings of the Mi Account. This method is effective on 80% of devices, but requires care - some items are hidden in an unobvious way.
Step-by-step:
- π± Go to Settings. β Xiaomi account β Mi Cloud and disable Advertising Data Sync (if there is such a point).
- π Go back to the basic settings and open Special Options β Settings for developers (if the developer menu is not activated, click 7 times on the version) MIUI in the section About the telephone).
- π« In the developer section, find the option to Disable Advertising MIUI (In English, Turn Off MIUI Ads) and activate it.
- π Reboot the device β it is necessary to apply the changes.
β οΈ Note: On some firmware (for example, MIUI Global Stable for Redmi 9A) Item Disable Advertising MIUI In this case, try an alternative path: Settings β Annexes β Application management β Three dots (menu) β Show all processes and manually stop the services com.miui.systemAdSolution and com.xiaomi.midrop.
βοΈ Preparing for the Advertising Disconnection
Method 3: Use ADB-commands for deep disabling advertising
If previous methods didn't work, it's time to connect Android Debug Bridge (ADB), a low-level system management tool that removes ads at the configuration file level and even works on MIUI 15. Importantly, ADB doesn't need a root, but you'll need a computer with drivers installed.
Instructions:
- Download Platform Tools from Googleβs official website and unpack the archive.
- On your phone, activate USB Debugging in Settings β About Phone β MIUI version (7 taps) β Additional settings β For developers.
- Connect your phone to your PC and open the command line in the platform-tools folder (Shift + right mouse button β βOpen PowerShell window hereβ).
- Enter the commands in turn: adb shell pm hide com.miui.systemAdSolution adb shell pm hide com.xiaomi.midrop adb shell pm hide com.android.browser
- Reboot the phone.
π‘ If the ad returns after the reboot, add two more commands:
adb shell settings put global captive_portal_detection_enabled 0adb shell settings put global captive_portal_server falseThey disable the internet connection check that Xiaomi sometimes uses to download banner ads.
| ADB Team Team | What's off? | The effect |
|---|---|---|
| pm hide com.miui.systemAdSolution | System advertising module | Remove banners on the lock screen and in the settings menu |
| pm hide com.xiaomi.midrop | File transfer service | Stops background loading of advertising data |
| pm hide com.android.browser | Standard MIUI browser | Blocks pop-up windows with offers |
| settings put global captive_portal_detection_enabled 0 | Checking the Internet connection | Reduces background traffic |
What if the ADB canβt see the device?
Method 4: Install an alternative launcher (without root)
If you have an ad at the MIUI system launcher level, you can get around it by installing a third-party launcher like Nova Launcher or Lawnchair, which doesn't remove the ad completely, but redirects the lock screen to a clean, banner-free interface.
How to set up:
- π² Install Nova Launcher from Google Play.
- π§ Open the launcher settings and select the Lock screen β Use Nova Lockscreen (requires permission to display over other windows).
- π¨ Customize the look: remove Xiaomi widgets, disable notifications from GetApps and Mi Browser.
- π In the security settings MIUI Add Nova Launcher to the Auto Launch list and No Battery Limits.
β οΈ Note: On some models (e.g, POCO F4) The lock screen may conflict with the alternative launcher, in which case try Action Launcher, which integrates better with the launcher. MIUI. Also note that the fingerprint and Face Unlock will work through the standard interface Xiaomi, but you will see ads only when you manually unlock the swipe.
π‘
If the unlock animation is missing after installing the alternative launcher, return it via the Nova settings: Settings β Lock screen β Unlock animation β MIUI Style.
Method 5: Radical methods (for advanced users)
If none of the above methods worked, there are two extreme options: resetting to factory settings with disable sync or installing custom firmware, which are guaranteed to remove ads, but have side effects.
Option A: Resetting with disabling advertising services
- Make a backup of the data through Settings β Additional β Backup and Reset.
- Perform reset: Settings β About Phone β Resetting β Erase all data.
- When you first set up, donβt log in to your Mi Account and turn off all sync options.
- Immediately after launch, turn off autoboot for Msa, GetApps, and Mi Browser (as in Method 1).
Option B: Install custom firmware (requires unlocking the bootloader)
- π Unlock the bootloader through the official Xiaomi tool (can take up to 72 hours).
- π₯ Download firmware without advertising, for example, MIUI EU (Unofficial European version or Pixel Experience (Pure Android).
- π§ Set it through TWRP Recovery or Fastboot.
β οΈ Attention: Installing custom firmware voids warranty and can result in device locking if the procedure is broken.On models with MediaTek (e.g. Redmi) 10C) Unlocking the bootloader often leads to problems with the module NFC Before you act, check the firmware compatibility with your model in the forum. XDA Developers.
π‘
Factory resets help 95% of the time, but only if you DO NOT restore data from a backup and DO NOT log in to your Mi Account in the first 24 hours.
More tips: how to prevent the return of advertising
Even after successfully removing the ad, it can return after updating the MIUI or resetting the settings. To avoid this, follow these guidelines:
- π΅ Turn off automatic updates MIUI: Settings β The phone. β Updating the system β Three points. β Settings β Turn off automatic loading.
- π Check the activity of Msa and System Ad Solution services once a month through Settings β Annexes β Application management.
- π‘οΈ Install Blockada or AdAway (requires root) to block ad domains at the level DNS.
- π± Use the "No Tracking" mode in the privacy settings MIUI (readily MIUI 14+).
π‘ Useful tip: If you frequently reflash the device, create a text file with everyone ADB-commands to disable ads and run it through a script. Example of a script for Windows (bat file):
@echo off
adb shell pm hide com.miui.systemAdSolution
adb shell pm hide com.xiaomi.midrop
adb shell settings put global captive_portal_detection_enabled 0
pause