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.
- Open Settings and go to the Lock Screen section.
- Switch to Additional Settings (or Lock screen settings in new versions).
- Find the Ads option on the lock screen (may be called Recommendations or Show Ads) and turn off the slider.
- 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:
- Go to Settings. β The phone.
- Tap 7 times on the MIUI version until you become a developer!
- 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?
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.analyticsIf 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.systemAdSolutionMethod 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:
- Install the app from Google Play.
- Connect the phone to the PC and allow debugging over USB.
- In the app, find com.miui.systemAdSolution and disable it.
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:
| Method | Pluses | Cons | Difficulty |
|---|---|---|---|
| Installation of TWRP + Magisk | Full control of the system, the ability to block advertising at the core level | Risk of data loss, breach of warranty | ββββ |
| LineageOS or Pixel Experience | Clean Android without advertising and unnecessary services | Branded functions (IR-blaster, camera) may not work | βββββ |
| Use of the Xposed Framework | Flexible system configuration without full flashing | Not 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?
β Can you remove advertising without a computer?
β Will the way to work with ADB Xiaomi with Chinese firmware?
β Why is it that after receiving root, advertising is still shown?
β Can disabling advertising affect the smartphone?
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.