Why does the ad appear on the lock screen and can it be removed?
Xiaomi smartphone owners (including the Redmi, POCO and Mi series) often face intrusive ads right on the lock screen β banners, promotion notifications or app installation offers. This is not a coincidence, but part of the companyβs business model: MIUI contains built-in ad modules that show content even when the phone is locked. The good news is that this ad can be turned off, but the methods depend on the firmware version and the region of the device.
The main reasons for the appearance of advertising on the block: 1) Built-in MIUI Ads services - the system automatically downloads banner ads through msa and mipush services; 2) Pre-installed applications (for example, Mi Browser, Mi Video, Themes), which have the right to output notifications; 3) Regional settings - on devices for China and India, there are more ads than in global versions.
In this article, we will analyze all the current ways to remove advertising, including hidden settings and radical methods for experienced users.
β οΈ Important: Some methods require superuser rights (root) or disabling system applications, which can disrupt the operation of the phone. MIUI 14 and later (2023-2026) some of the advertising modules are protected from manual removal β they can only be blocked through settings.
Method 1: Disabling Advertising in MIUI Settings (without root)
The safest method is to use the built-in system options, which is suitable for most Xiaomi, Redmi and POCO models on MIUI 12-14.
- Open Settings β About Phone β Press 7 times on the MIUI version to activate the Developer Mode.
- Return to the main settings menu and go to Additional β Special Opportunities β Advertising.
- Turn off the sliders: π± Recommendations MIUI (responsible for banners on the block) π Personalized recommendations (analyzes your actions) π’ Notification from MSA (Service shows advertisements in notifications)
Reboot the phone.
If there is no Ads item on the menu, try an alternative path: Settings β Google β Advertising β disable Personalized Ads and reset the Ad Identifier.
Whether recommendations are disabled MIUI (c) βSpecial opportunities"|
Is the ad ID reset in Google | settings?
Is the firmware updated to the latest version (some bugs have been fixed in the MIUI 14.0.5+)|
Removed themes from the Themes app (they may show banners)-->
β οΈ Note: Some Firmware for India and China (MIUI CN/IN) These settings may be missing or reset after the update. 2.
Method 2: Remove advertising applications (without root)
Even if you have disabled ads in your settings, some system apps continue to display banners, which can be disabled (not removed completely) through the app menu:
- Go to Settings β Applications β Application Management.
- In the search, enter the names and disable (the βDisableβ button) the following applications: π¨ Themes (themes, often shows ads) π Mi Browser (browser with built-in banners) πΊ Mi Video (video player with ads on the main screen) π Analytics (collection of statistics for personalized advertising) π MSA (Mi Security Center, responsible for push notifications)
After shutting down, restart the phone.
If the "Disable" button is inactive, the application is protected by the system, in which case only root access (method 4) or custom firmware installation will help.
π‘
To return disabled applications, go to Settings β Apps β Show all apps (three dots at the top) β Disabled and click Enable.
| Annex | What's he doing? | Can I turn off without root? |
|---|---|---|
| Themes | Shows banners with themes of registration on the block | Yes. |
| Mi Browser | Sends notifications about βpopular sitesβ | Yes. |
| MSA (Mi Security) | Responsible for push advertising in notifications | No (only root) |
| Analytics | Collects data for personalized advertising | Yes. |
| Mi Video | Shows movie ads on lockdown | Yes. |
Method 3: Using ADB to Deeply Disable Advertising
If standard methods didnβt work, you can use Android Debug Bridge (ADB), a debugging tool that allows you to turn off system components without root, which works on all Xiaomi models, including the Redmi Note 12, POCO X5 and Mi 13.
Instructions:
- Download ADB Tools and unpack the archive.
- Turn on the phone Developer Mode (7 taps according to the MIUI version in About Phone) and activate Debugging via USB.
- Connect your phone to your PC and in the command line (in the folder with ADB) do: 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
- Reset the device.
These commands remove advertising modules for the current user (flag) --user 0). Complete list of commands to remove ads:
Complete list ADB-teaming
β οΈ Note: Some commands (e.g., deletion of com.miui.analytics) may disrupt Xiaomi Cloud and sync services!
Method 4: Removing ads with root (for power users)
If you have root access (e.g., through Magisk), you can completely remove ad modules from the system, a method that is suitable for users who are willing to risk device stability for the sake of clean interface.
Steps:
- Install a file manager with root support (such as Root Explorer or Solid Explorer).
- Go to the folder. /system/priv-app/ and delete the following folders: ποΈ SystemAdSolution (main advertising module) ποΈ MiuiDaemon (background process for displaying banners) ποΈ AnalyticsCore (collection of data for advertising)
/system/etc/hosts
127.0.0.1 ad.mi.com
127.0.0.1 sdkconfig.ad.intl.xiaomi.com
127.0.0.1 data.mistat.xiaomi.comReboot the phone.
After these actions, the ads on the block will disappear forever, but there are risks:
Mi Account and cloud services may be disrupted.
Some system updates can restore deleted files.
Xiaomi warranty is cancelled if there is root.
Yeah, through the settings. MIUI|
Yes, but it didn't work - the adverts are back |
No, I'm afraid to break something.|
I use custom firmware without advertising.-->
Method 5: Install custom firmware (radical method)
If none of these methods worked, the last option is to install custom firmware (like LineageOS, Pixel Experience or Xiaomi.eu), which lacks MIUI advertising modules and offers pure Android.
Pros of the method:
- Complete absence of advertising on the block and in the system;
- The ability to select the version of Android (for example, upgrade to Android 14 on older models);
Improved productivity due to the lack of unnecessary services.
Cons:
Loss of warranty (if the phone is warranty);
- Risk of "bricking" if installed incorrectly;
- There may be bugs with a camera, sensors or wireless modules (depending on the model).
Instructions for installing Xiaomi.eu (the most stable custom firmware for Xiaomi):
- Download the firmware for your model from the website xiaomi.eu.
- Unlock the bootloader through the Mi Unlock Tool (requires a binding Mi Account and wait 7-15 days).
- Install TWRP Recovery and run through it the downloaded firmware file.
- Do a data reset (Wipe β Format Data).
If the ad returns, repeat the steps from method 2 (disable apps) or method 3 (ADB). In extreme cases, you can always return the phone to factory settings (Settings β Reset), but this will delete all data.
π‘
Before resetting, save a list of installed apps using App Backup & Restore β this will save time for re-installation.