The lock screen of the Xiaomi Redmi 9 should show time, notifications and beautiful wallpapers β but instead, users often face intrusive advertising of applications, games and services. This problem is typical for MIUI firmware, where banner ads are integrated at the system level. The good news is that you can get rid of them without root rights and complex manipulation.
In this article, we will discuss three working methods for removing ads, from official settings to advanced ADB tricks. You will learn why ads appear even after personalized ads are turned off, how to circumvent the limitations of MIUI and what to do if banners return after an update. All instructions are tested on Redmi 9 (models M2003J15SC, M2004J19C and similar) with MIUI 12-14 firmware.
Before you start, check your firmware version in Settings β About Phone β MIUI. This will help you avoid errors: some methods only work on certain versions.
Why does Redmi 9 have a lock screen ad?
One reason is the monetization of MIUI firmware, where Xiaomi is embedding ad modules into system applications to offset the low price of smartphones. On Redmi 9, banners appear from three sources:
- π± System application Msa (Mobile Services Ads): responsible for displaying ads in the MIUI. Even if you turn off personalized ads, it will continue to work in the background.
- π Updates MIUI: Advertising settings may be reset after firmware updates, due to Xiaomiβs policy of periodically βupdatingβ advertising identifiers.
- π― Regional settings: on devices with firmware for China (CN) Global (Global) Advertising is more than in Europe (EEA).
Fun fact: Redmi 9 with MIUI EEA firmware (for Europe) initially has less advertising, due to EU data protection laws, but even there, banners can slip through system applications like Mi Browser or Cleaner.
β οΈ WARNING: If you bought the Redmi 9 in China or through unofficial channels, chances are it's running firmware. CN In this case, we recommend you to reflash the device on Global or EEA.
Now, let's get to the practice. Let's start with the simplest method, which is to turn off ads through MIUI settings.
Method 1: Disabling Advertising through MIUI Settings (without ADB)
This method works on 60-70% of devices and does not require a computer connection, which is to disable personalized ads and block access to ad servers through system settings.
Follow the step-by-step instructions:
- Open Settings β Google β Advertising.
- Click βDisable Personalized Advertisingβ and confirm your choice.
- Return to the main settings menu and go to Settings β Special features β Special features services.
- Find the com.miui.systemAdSolution application (may be called System Advertising Solutions) and turn it off.
- Reboot the phone.
If there is no com.miui.systemAdSolution, try an alternative route:
- π Go to Settings. β Annexes β Application management.
- π Enter msa (or Mobile Services).
- π« Open the application, click "Disable" and confirm.
- π Reset the device.
This method helps remove most banners, but it doesn't guarantee 100% results. If you still have ads, move on to the next method.
βοΈ Preparing for the Advertising Disconnection
β οΈ Note: On some versions MIUI When you disable msa, push notifications from system applications (such as Mi Video or Mi Browser) may disappear.
Method 2: Using ADB to Deeply Disable Advertising
If system settings donβt work, itβs time to connect ADB (Android Debug Bridge), which blocks system-level advertising services and works even after MIUI updates.
- π₯οΈ Computer with Windows/macOS/Linux;
- π± USB-cable (preferably original);
- π§ Installed Xiaomi and ADB-tools drivers.
Step-by-step:
- Turn on USB debugging: Go to Settings β About Phone. Click on MIUI Version 7 times until the message "You're a developer" appears. Go back to Settings β Additional β For Developers. Activate USB Debugging and confirm permission.
Connect your phone to your PC
File transfer
Open the Command Prompt (CMD)
adb devicesIf the device appears in the list, it's done. If not, install Xiaomi drivers.
Follow the commands to disable advertising
adb shell pm hide com.miui.systemAdSolution
adb shell pm hide com.xiaomi.midrop
adb shell pm hide com.android.browser
adb shell settings put global captive_portal_detection_enabled 0Reboot the phone.
These teams:
- π‘οΈ Disable the system application of advertising (com.miui.systemAdSolution);
- π Block Mi Drop (often displays ads when transferring files);
- π Deactivate the standard browser (com.android.browser), which can load banners;
- π‘ Disable Internet connection checks (sometimes used to display ads).
π‘
If the ADB commands come back a few days later, repeat the procedure, because MIUI resets some settings periodically.
Important: On MIUI 13+ firmware, the pm hide command may not work. In this case, use an alternative command:
adb shell pm uninstall -k --user 0 com.miui.systemAdSolution| ADB Team Team | What's he doing? | Works for MIUI. |
|---|---|---|
| pm hide com.miui.systemAdSolution | Hiding an ad app | 12β14 |
| pm uninstall -k --user 0 com.miui.msa.global | Removes the MSA (Main Advertising Module) | 11β14 |
| settings put global captive_portal_detection_enabled 0 | Disables network verification (sometimes used for advertising) | All versions. |
| adb shell dumpsys deviceidle force-idle | Forcedly puts the system in standby mode (blocks background processes) | 12β14 |
β οΈ Attention: After use ADB Do not update the firmware through Settings β Update system. Better download firmware manually from Xiaomi's site and install it through Recovery. Otherwise, the system can recover the modules that are disabled.
Method 3: Alternative methods (for experienced users)
If the two previous methods didn't work, there are more radical measures that take longer, but guarantee results.
1. Installation of custom firmware (without advertising)
Firmware like LineageOS, Pixel Experience or Xiaomi.eu completely remove all MIUI advertising modules.
- π Unlock the bootloader (bootloader);
- π₯ Install TWRP Recovery;
- π Sweeve an alternative firmware.
Cons of the method:
- β Loss of warranty (if the phone is under warranty);
- β Risk of "bricking" (turning into a "brick");
- β Lack of certain functions MIUI (Like the Game Turbo).
How to unlock the bootloader on Redmi 9?
2.Use of Xposed Framework (Android 8β10 only)
The DisableFlagSecure module for Xposed can block ads at the system level.
- β οΈ It only works on Android 8-10 (Redmi 9C) MIUI 12+ may not be supported);
- β οΈ Demands root rights;
- β οΈ It may conflict with certain applications.
3. Blocking Advertising through DNS
Change. DNS-servers on the phone to block advertising domains:
- Go to Settings. β Wi-Fi (or Mobile Network).
- Click on your network β βChange networkβ β βAdditionalβ β βIP settingsβ.
- Select "Static" and enter DNS: π‘οΈ AdGuard DNS: 176.103.130.130 and 176.103.130.131; π Cloudflare (no ads): 1.1.1.3 and 1.0.0.3.
This method blocks some of the ads, but it wonβt remove banners that are downloaded through MIUI system applications.
π‘
Custom firmware is the most reliable way to get rid of advertising, but it is only suitable for advanced users. For beginners, it is better to start with ADB or DNS blocking.
What if the advertisements returned after the update?
MIUI is known for resetting some settings after updates, including ad blocking.If banners reappear, follow these steps:
- Check if ad services are enabled: Go to Settings β Apps β App Management; Find msa or System Ad Solution and turn them off; If they are enabled, repeat the procedure with ADB.
- Reverse to the previous version of MIUI: Download the old firmware with Xiaomi Firmware Updater; Install it through Recovery (no Wipes!).
App Inspector
- Install App Inspector from Google Play
- Find which app shows ads on the lock screen;
- Disable or remove it through ADB.
β οΈ Note: On some versions MIUI disabling automatic updates causes the system to start reminding you of available updates through notifications. To fix this, turn off notifications for the Updater app (Settings) β Annexes β Updater β Notifications).
How to avoid advertising in the future?
To prevent advertising from returning, follow these guidelines:
- π΅ Do not use standard applications MIUI: Mi Browser, Cleaner, Mi Video and Music often feature ads. Install alternatives from Google Play (e.g. Chrome, Files by Google, VLC).
- π Check your msa activity regularly: After each update MIUI Go to Settings. β Apps and disable advertising modules.
- π‘οΈ Use ad blockers: Apps like Blokada or AdGuard can block some of the network requests to ad servers.
- π₯ Install firmware manually: Download firmware from trusted sources (e.g. Xiaomi.eu) and install it through Recovery, not a system updater.
If you're staying on standard firmware but want to minimize advertising, look at Xiaomi.eu firmware, which is official MIUI builds, but with remote ad modules and optimizations for European users, which are installed in the same way as custom firmware, but with less risk to the system.
The following versions of Xiaomi.eu are suitable for Redmi 9:
- π± Stable: for everyday use (less frequently updated but more stable);
- π Weekly: for enthusiasts (frequent updates, but possible bugs).