Ads on the lock screen of Xiaomi, Redmi or POCO annoy millions of users around the world. Even after buying a premium model like Xiaomi 14 Ultra or POCO F6 Pro, owners encounter intrusive banners that slow unlock and spoil the appearance of the system, the reason lies in the branded shell of MIUI, which aggressively monetizes free services through advertising.
In this article, we will look at 5 proven ways to remove ads from the lock screen, from standard settings to radical methods using ADB and root rights. Each method has been tested on current versions of MIUI 12/13/14 (including global and Chinese firmware).
If you're tired of seeing banners with AliExpress, local services, or games every time you unlock your phone, this guide will help you get rid of them forever.
1. disable personalized advertising in MIUI settings
The safest and most official way to disable personalized recommendations is through the settings menu, which works on all Xiaomi models (including the Redmi Note 12, POCO X5, Mi 11 and later), but does not guarantee 100% removal of ads, but only reduces the amount of advertising.
Instructions:
- Open Settings β Google β Advertising.
- Click Disable Personalized Ads and confirm the selection.
- Go back to the basic settings and go to Settings β Apps β App Management β All Apps.
- Find Msa (or MIUI System Ads in global firmware), open it and click Disable.
After these actions, the ads on the lock screen should become less intrusive, but they won't disappear completely. For a radical solution, move on to the following methods.
β οΈ Note: Disabling Msa may cause system notifications (such as weather or calendar) to crash. If you notice problems, return your settings back.
2. reset advertising ID (without root)
The Advertising ID is used by MIUI to target banners, which will not remove ads completely, but will make them less relevant (and less annoying) and works without root rights and is suitable for all Android versions.
How to Reset Advertising ID:
- π± Install AppBrain Ad Detector (free).
- π Open the app and go to the Advertising section ID.
- π Click Reset Advertising ID and confirm the action.
- π΅ Reboot the phone.
This is particularly effective for Xiaomi users in Europe and Asia, where ads are often geolocated, and when reset, banners may become less targeted (for example, random offers will be displayed instead of local services).
π‘
If the ad returns after 1-2 days, repeat the procedure.Some versions of MIUI automatically restore Advertising ID after updates.
3. disable system applications via ADB (without root)
For users ready for more radical measures, there is a way to disable advertising services via Android Debug Bridge (ADB).This method does not require root rights, but will require connecting the phone to a computer. Works on all Xiaomi models with Android 8.0 and later.
Step-by-step:
- Download and install Platform Tools (the official tool from Google).
- Turn on USB Debugging on your phone: Settings β About Phone β MIUI version (click 7 times to activate Developer Mode), then go back to Settings β Additional β Developers β Debugging on USB.
- Connect your phone to your PC and type in the command line: adb devices (the device should appear).
- Follow the commands in turn: adb shell pm hide com.miui.analytics adb shell pm hide com.xiaomi.midrop adb shell pm hide com.miui.systemAdSolution
- Reboot the phone.
These commands disable the main MIUI ad modules. If there is still ad after the reboot, try adding another command:
adb shell pm hide com.android.browserβ οΈ Warning: Disabling system applications may cause Mi Account, Themes, or Browser errors. If you notice a failure, return the settings with the adb shell pm unhide command].
Install Platform Tools on PC
Enable debugging over USB on your phone
Connect your phone to the original cable
Check the detection of the device by the team `adb devices`
Backup of important data-->
4. Removal of ads using Magisk (root required)
If previous methods have failed, and root rights on your Xiaomi have already been obtained, you can use modules for Magisk that block ads at the system level, this method is guaranteed to remove all ads, including banners on the lock screen, in apps and notifications.
The best modules for Magisk:
- π‘οΈ MIUI AdBlocker β a specialized module for MIUI, Blocks advertising in system and third-party applications.
- π« ReVanced β removes ads on YouTube, Google Apps and partially in the MIUI.
- π Adaway β Blocks Advertising Domains at Host Level.
How to install the module:
- Download the module file (.zip extension).
- Open Magisk Manager and go to the Modules section.
- Click Install from Storage and select the downloaded file.
- Reboot the phone.
Once installed, the ads should disappear completely. If the banners are left, check if the module is active in Magisk and if there are conflicts with other modifications.
What if after installing the Magisk module, the phone does not start?
5. Manual removal of advertising packages (for experienced users)
This method requires root rights and knowledge of working with the Android file system.It is suitable for users who want to completely remove MIUI advertising modules, rather than just disabling them.
List of advertising packages in MIUI:
| Package name | Description | Can I remove it? |
|---|---|---|
| com.miui.analytics | Analytics and advertising display | β Yes. |
| com.xiaomi.midrop | Advertising push notifications | β Yes. |
| com.miui.systemAdSolution | The main module of advertising on the lock screen | β Yes. |
| com.android.browser | Xiaomi browser with built-in advertising | β οΈ You can, but you'll lose your browser. |
| com.miui.player | Music player with banners | β οΈ You can, but you'll lose the player. |
How to remove packets:
- Install Root Explorer (or any file manager with root access).
- Go to /system/priv-app/ or /system/app/.
- Find the folders with the names from the table above and delete them (or rename them by adding.bak).
- Reboot the phone.
β οΈ Warning: Removing system packages could lead to crash MIUI or the inability to update the firmware. TWRP Or Mi Flash Tool.
π‘
Hand-removing packets is the most radical way, but also the riskiest way, and only use it if other methods have failed and you are prepared for possible failures.
6. Alternative firmware (for advanced users)
If youβre tired of advertising and MIUI restrictions, consider installing custom firmware.
- π Xiaomi.EU β modified MIUI Advertising free, with advanced settings (supports most models).
- π€ LineageOS β βcleanβ Android without unnecessary apps and advertising.
- β‘ crDroid β Optimized firmware with improved performance.
Advantages of custom firmware:
- β No system advertising.
- β More opportunities to set up.
- β Regular security updates.
Disadvantages:
- β Loss of warranty (if the phone is under warranty).
- β Risk of "bricking" if installed incorrectly.
- β Certain functions (e.g, IR-blaster NFC) They may not work properly.
If you do, check out the instructions for your model on the XDA Developers or 4PDA forum.