Why Xiaomiβs Lock screen is Advertising and How to Fix It
You take out your phone to check the time or notifications, but instead of the usual lock screen, you see a banner advertising a game, a loan or a promotion in an online store. Familiar situation? Advertising on the lock screen Xiaomi is one of the most annoying "chips" of MIUI firmware, which the manufacturer positions as "personalized recommendations." In fact, it is a way of monetizing, and you can turn it off - sometimes even without root rights.
The problem concerns almost all Xiaomi, Redmi and POCO devices based on MIUI 12-14, including popular models like Redmi Note 12 Pro+, Xiaomi 13T or POCO X5 Pro. Even after resetting, advertising can return - it shows system applications like com.miui.systemAdSolution or com.xiaomi.midrop. In this article, we will analyze all working methods: from standard settings to radical methods for advanced users.
It's important to understand that some methods may conflict with MIUI updates, for example, after a firmware update, ads can come back if you disabled them through ADB or removed system APKs. We'll mark these cases and tell you how to proceed in 2026.
Method 1: Disabling Advertising in MIUI Settings (without root)
The easiest and safest method is to use built-in MIUI options. Unfortunately, it doesn't work on all devices: in some regions (e.g., the global firmware version for Europe), menu items may not be available.
Instructions:
- Open Settings β Google β Advertising and turn off the option βPersonalized Advertisingβ.
- Return to the main settings menu and go to Settings β Memory β Clean (or Settings β Applications β Application Management).
- Slip on the three points in the upper right corner and select Show System Processes.
- Find applications: π msa (MIUI System Ads) π± com.miui.systemAdSolution π com.xiaomi.midrop (if any) For each of them: Open the app page β Notifications β Turn off all the switches. Go back and select Permissions. β Block all permissions (especially "Show over other windows").
If the msa or systemAdSolution items are not on the list, they are hidden, so move on to the next method.
Presence of the item "Personalized advertising" in the settings of Google
MIUI version (in the "About Phone" settings)
List of system applications in "Application Management"
Permissions for applications with "Ad" in the title-->
β οΈ Note: On some devices (e.g. Redmi) 10C or POCO M4 Pro) after disabling permissions for msa, weather or calendar notifications may disappear.This is a temporary bug - rebooting the phone usually helps.
Method 2: Using ADB to Deeply Disable Advertising
If the standard settings did not help, itβs time to connect debugging over USB and ADB commands. This method does not require root rights, but will require a computer with installed Xiaomi drivers and adb utility (you can download from the official website of Android Developers).
Step-by-step:
- Activate USB debugging: Go to Settings β About Phone. Tap 7 times on MIUI until the notification "You're a developer" appears. Return to Settings β Additional β For Developers and enable USB debugging.
Connect your phone to your PC
Open the command line.
adb
adb shell pm hide com.miui.systemAdSolution
adb shell pm hide com.xiaomi.midrop
adb shell pm hide com.android.browser # if the advertisement is in the browser
adb shell settings put global captive_portal_detection_enabled 0After you execute the commands, restart your phone. The ads on the lock screen should disappear. If not, check if the hidden apps have returned after the MIUI update.
What if the ADB canβt see the device?
| ADB Team Team | What's he doing? | Potential side effects |
|---|---|---|
| pm hide com.miui.systemAdSolution | Hiding the system application of advertising | Weather widgets may disappear on the lock |
| pm hide com.xiaomi.midrop | Disables file transfer service (sometimes shows ads) | Fast file transfer between Xiaomi devices will not work |
| settings put global captive_portal_detection_enabled 0 | Disables network verification (sometimes used to display ads) | Some public Wi-Fi may not open (requires manual connection) |
Method 3: Remove Advertising APKs via TWRP (for Advanced)
If you're willing to take drastic measures and you have custom TWRP recavators installed, you can physically delete the ad files. This method requires an unlocked bootloader and a backup of data - if you do not care, the phone can stop loading!
Instructions:
- Download and install TWRP for your model (the instructions are available on the XDA Developers or 4PDA forum).
- Load into the Recovery (usually by clamping Power + Volume up).
- Go to Advanced β File Manager.
- Delete the following files (paths may vary depending on version) MIUI): π /system/priv-app/MiuiSystemAdSolution/MiuiSystemAdSolution.apk π /system/app/msa/msa.apk π /system/priv-app/QuickSearchBox/QuickSearchBox.apk (search-driven)
Reboot the phone.
β οΈ Attention: Removal of system APK This can cause a bootloop if you delete a critical file. TWRP before the updates, also after the updates MIUI Deleted files can be restored β you will have to repeat the procedure.
Disconnection in MIUI settings
ADB teams
Removal via TWRP
Installation of custom firmware
I haven't decided yet.-->
Method 4: Install custom firmware (complete removal of advertising)
The most reliable, but also the most difficult way is to install custom firmware like LineageOS, Pixel Experience or Xiaomi.eu, the latter a modified version of MIUI without ads and Chinese services, optimized for global users.
Benefits of Xiaomi.eu:
- π Total lack of advertising (including blocking and system applications).
- π Weekly updates with bug fixes.
- π Support for all languages, including Russian.
- π‘οΈ All Chinese services removed (increased privacy).
Disadvantages:
- β οΈ Requires unlocking the bootloader (resets all data!).
- β οΈ Possible bugs with the camera or sensors on new models.
- β οΈ No official support β updates are manually installed.
How to install Xiaomi.eu:
- Unlock the bootloader through Mi Unlock Tool (you need a Xiaomi account and wait 7-15 days).
- Install TWRP for your model.
- Download the latest firmware version from the website xiaomi.eu (choose stable, not weekly!).
- Download to TWRP, make Wipe β Format Data (this will delete all data!), then install the firmware.
π‘
Before installing custom firmware, check on the 4PDA or XDA forum if there are any bugs with modems (mobile communication) or a camera for your model. For example, on the Redmi Note 11 Pro+, some builds do not work wide-angle lenses.
Method 5: Blocking Advertising via DNS or Firewall
If the previous methods seem too complicated, you can try blocking ad servers at the network level, which will not remove the ads completely, but will significantly reduce the amount of advertising.
Option 1: Amend the DNS
- Go to Settings. β Wi-Fi (or Mobile Network).
- Click on the current network β Change the network β Additional β IP settings.
- Select Static and enter: π DNS 1: 94.140.14.14 (AdGuard DNS) π DNS 2: 94.140.15.15
Option 2: Use a firewall application
Applications like NetGuard or Blokada (without root) can block access to ad domains, such as:
- Install Blokada from F-Droid (not from Google Play!).
- Turn on protection and blacklist domains: π ad.mi.com π tracker.miui.com π sdkconfig.ad.xiaomi.com
β οΈ Attention: Lockdown DNS It can break some system functions, such as updating firmware over the air (OTA) or synchronize your Xiaomi account, if you're changing DNS No update notifications, return the standard settings.
What to do if the ad returns after the MIUI update
Xiaomi regularly releases updates that can restore remote ad modules or reset settings. If after the update, the ad appears again, proceed by the algorithm:
- Check the application versions: - Go to Settings β Applications β Application Management β Show system. - Find msa or systemAdSolution - if they come back, repeat Method 1 or Method 2 (ADB).
- Reverse to the previous version of MIUI (if the update brought too much advertising): - Download the old firmware from the site xiaomifirmwareupdater.com. - Install it through TWRP (don't forget to make a backup!).
- Use the script to automatically remove ads: - On the forum 4PDA There are ready-made scripts for ADB, The one that removes ads after each update is an example of adb shell pm uninstall. --user 0 com.miui.systemAdSolution || pm hide com.miui.systemAdSolution"
If you use Xiaomi.eu, updates donβt usually return ads β but keep an eye out for the change log on their site.
π‘
After each major MIUI update (e.g., 13 to 14), the ad modules can return, check the list of system applications regularly and repeat the procedure for disabling them if necessary.