How to permanently disable ads on the lock screen Xiaomi: the complete guide

Why is Xiaomi’s blocking ads appearing and can it be removed?

Xiaomi’s lock screen has become one of the most annoying elements for brand users β€” instead of a minimalist interface, smartphone owners see banners of games, news and promotions, the reason lies in the MIUI brand shell, which aggressively monetizes free software through integrated advertising, even in new versions (up to MIUI 14), this feature remains active by default, and its shutdown is hidden in the depth of settings or requires technical manipulation.

In this article, we will look at all the available methods, from basic settings to advanced methods using ADB and third-party utilities. It is important to understand that the effectiveness of methods depends on the version of MIUI and regional firmware (global, Chinese, European). For example, on devices with Chinese firmware, advertising can be hard-stitched into the system, and its removal will require radical measures - up to flashing.

Before you start, check the version of your shell: go to Settings β†’ About Phone β†’ MIUI version. This will help you avoid errors when choosing a method.

Method 1: Disabling Advertising through the standard MIUI settings

The easiest and safest method is to use built-in system options, which is suitable for most global and European MIUI 12-14 firmware, but may be limited to Chinese versions.

  1. Open Settings and go to the Lock Screen section.
  2. Switch to Additional Settings (or Lock screen settings in new versions).
  3. Find the Ads option on the lock screen (may be called Recommendations or Show Ads) and turn off the slider.
  4. Restart the device so that the changes take effect.

If there is no such item, try an alternative path:

  • πŸ” Settings β†’ Annexes β†’ Application management β†’ System applications
  • πŸ“± Find Msa (Mobile Services Ads) or MiuiDaemon and turn off auto-run.
  • 🚫 Back to Settings β†’ Lock screen and check for hidden options.

πŸ’‘

If after turning off the ad returns after a few days, clear the Msa app cache in the application settings.

Method 2: Using hidden MIUI settings (for power users)

In some versions of MIUI, the ad-disabled options are hidden behind special activation codes or developer menus, a method that requires caution, as incorrect actions can disrupt the system.

First, activate the developer mode:

  1. Go to Settings. β†’ The phone.
  2. Tap 7 times on the MIUI version until you become a developer!
  3. Back to Settings β†’ Additionally. β†’ For developers.

Now use one of the hidden codes:

  • πŸ“± Enter #8464## in the phone app and it will open the menu. MIUI Hidden Settings.
  • πŸ”§ Find the Lockscreen Ads section and disable all sliders.
  • πŸ”„ Reset the device.
What if the code doesn't work?
Some operators are blocking USSD-In this case, try entering the code through the EngineerMode app (available on Google Play).

If the hidden menu is not available, try disabling ads via ADB (the method is described below).

Method 3: Disabling Advertising through ADB (for Advanced Users)

The Android Debug Bridge (ADB) method is the most reliable, but it requires a smartphone to be connected to a computer, and it works on all versions of MIUI, including Chinese firmware, where standard methods are blocked.

Be prepared first:

Install Xiaomi USB Drivers on PC| Download Platform Tools from Google| Enable USB Debugging in Developer Settings | Connect your phone to your PC in File Transfer Mode

-->

Now, follow the commands in ADB:

adb shell pm hide com.miui.systemAdSolution


adb shell pm hide com.xiaomi.midrop




adb shell pm hide com.miui.analytics

If the commands don’t work, try an alternative:

adb shell settings put global hidden_api_policy 1


adb shell pm uninstall --user 0 com.miui.systemAdSolution

πŸ’‘

After completing commands, the ads will disappear forever, but some system features (such as synchronizing Mi Cloud) may not work properly.

To get it back, use:

adb shell pm uninstall -k --user 0 com.miui.systemAdSolution

Method 4: Use of third-party utilities (without root)

If you don't want to mess with ADB, you can use specialized applications. They don't require root rights, but their effectiveness depends on the version of MIUI.

The best tools for removing advertising:

  • πŸ›‘οΈ MIUI Hidden Settings – Opens the hidden options of the system, including disabling advertising.
  • πŸ”§ ADB AppControl – a simplified interface for execution ADB-team-mates.
  • 🚫 DisableService – disables background services responsible for displaying ads.

Example of ADB AppControl:

  1. Install the app from Google Play.
  2. Connect the phone to the PC and allow debugging over USB.
  3. In the app, find com.miui.systemAdSolution and disable it.
πŸ“Š How did you use to remove ads on Xiaomi?
Standard settings
ADB-team
Party of annex
Root access
I haven't tried.

Please note that some apps may be removed from Google Play following Xiaomi complaints, in which case download them from trusted sources (e.g. APKMirror).

Method 5: Radical measures - flashing or rooting

If neither method works, there are extreme measures: getting root rights or installing custom firmware, which are risky actions that can lead to the loss of warranty or β€œbricking” the device.

Options for experienced users:

MethodPlusesConsDifficulty
Installation of TWRP + MagiskFull control of the system, the ability to block advertising at the core levelRisk of data loss, breach of warranty⭐⭐⭐⭐
LineageOS or Pixel ExperienceClean Android without advertising and unnecessary servicesBranded functions (IR-blaster, camera) may not work⭐⭐⭐⭐⭐
Use of the Xposed FrameworkFlexible system configuration without full flashingNot compatible with new versions of Android⭐⭐⭐

To install TWRP and Magisk, follow the official instructions on the XDA Developers forum. Remember: on devices with a locked bootloader (for example, Redmi Note 10 Pro for the Russian market), unlocking can take up to 720 hours of waiting!

πŸ’‘

Before you run the firmware, make a full backup via TWRP or Mi Flash Tool, which will save your data in the event of a crash.

What if the adverts returned after the MIUI update?

One of the most frustrating things about MIUI is that it automatically returns ads after a system update, which is because Xiaomi resets some settings to default values, to avoid this:

  • πŸ”„ After each update, recheck the lock screen settings.
  • πŸ“΅ Turn off automatic updates MIUI In Settings β†’ The phone. β†’ Updating the system.
  • πŸ›‘οΈ Use it. ADB-Scripts for permanent disabling of advertising services (an example of a script can be found on GitHub).

If the ad appears even after manually disabling, check the following services in Settings β†’ Applications β†’ Application Management:

  • com.miui.analytics – statistics collection (can be turned off)
  • com.xiaomi.mipicks – content recommendations
  • com.miui.systemAdSolution – the main module of advertising

πŸ’‘

On Chinese firmware (China) ROM) Advertising can be embedded in the system APK-In this case, only flashing to the global version will help.

FAQ: Frequent questions about ads on Xiaomi lock screen

❓ Why does it appear again after disabling the advertisement through the settings?
This is due to MIUI background services that periodically reset settings. To avoid this, turn off auto-run for Msa and MiuiDaemon apps in the application settings, and cleaning the cache of these apps will also help.
❓ Can you remove advertising without a computer?
Yes, use apps like MIUI Hidden Settings or ADB AppControl (requires a temporary PC connection to activate debugging), and check the hidden settings using code ##8464##.
❓ Will the way to work with ADB Xiaomi with Chinese firmware?
Yes, but the efficiency depends on the model. K40 China requires pre-unlocking the bootloader. APK-file TWRP.
❓ Why is it that after receiving root, advertising is still shown?
You may not have removed all of the ad modules. Check the following files in /system/priv-app/: SystemAdSolution.apk AnalyticsCore.apk Mipay.apk (if you are not using Mi Pay) Delete them via Root Explorer or a similar application.
❓ Can disabling advertising affect the smartphone?
In most cases, no, but there are nuances: πŸ”΄ Disabling com.miui.analytics may disrupt Mi Cloud. πŸ”΄ Deleting Msa will lead to errors in branded applications (Mi Video, Mi Music). 🟒 Safe to disable: com.xiaomi.mipicks, com.miui.systemAdSolution.

If none of these methods worked, your Xiaomi model might be using a unique firmware with hard-sewn ads, in which case you have to either accept it or consider alternative firmware.

⚠️ Attention: On devices with MIUI 14 and newer some ADB-Teams may not work because of tighter security policies. In this case, try using Shizuku. + AppOps to block advertising permissions.