How to permanently remove ads on the lock screen Xiaomi at the bottom of the screen

Are you tired of the annoying banner ad that appears at the bottom of the lock screen on your Xiaomi? This problem is familiar to many owners of smartphones with MIUI firmware - even on flagship models like the Xiaomi 13 Pro or Redmi Note 12, the manufacturer continues to introduce advertising into the system interfaces. The banner not only spoils the appearance, but also accidentally opens when unlocked, redirecting to msa.mi.com or other promo pages.

In this article, we will discuss all the working ways to remove ads, from standard MIUI settings to hidden developer settings. Importantly, the methods are suitable for devices on MIUI 12, 13 and 14 (including global and Chinese versions), but the effectiveness may vary depending on the firmware region. If you use POCO or Black Shark, some of the instructions also apply - the clarifications will be in the corresponding sections.

Before you start, check the MIUI version in Settings โ†’ About Phone. Some methods require you to disable the personalization of ads in your Mi Account, so log in beforehand. Ready? Let's start with the easiest way.

1. Disabling Advertising through the standard MIUI settings

The first method does not require superuser rights or complex manipulations, just change a few settings in the settings menu, which works on most devices, but on some firmware (for example, Chinese) some items may be missing.

Go to Settings โ†’ Lock screen and find the Ads & Recommendations section. Here you can find the following options:

  • ๐Ÿ”ด Show recommendations on the lock screen - turn off this switch.
  • ๐Ÿ“ข Personalized Advertising โ€“ Deactivate to Stop the System from Picking Up Banners Based on Your Data.
  • ๐ŸŒ Show news and weather โ€“ sometimes ads are disguised as widgets, so turn off this item too.

If there is no section with advertising, try an alternative way: Settings โ†’ Annexes โ†’ Application management โ†’ Three points (โ‹ฎ) โ†’ Special access โ†’ Advertising. You can completely ban impressions for system services here.

โš ๏ธ Note: On some devices (e.g. Redmi) 10C s MIUI 13.0.6) After disabling the advertisements in the settings, the banners can return in 1-2 days, due to background synchronization of MiuiDaemon services and the use of the banners. MSA. The solution is to use methods from the following sections.

๐Ÿ“Š What kind of Xiaomi model do you have?
Redmi Note 11/12
POCO X3/X4
Xiaomi 12/13 Series
Redmi 10/9 Series Series
Another model

2. resetting of the advertising ID (Advertising ID)

MIUI uses a unique Advertising ID that is tied to your device, and resetting this ID can temporarily eliminate banners, as the system will perceive the phone as "new." The method works on all versions of MIUI, but requires a repeat every 1-2 weeks.

Instructions:

  1. Open Settings โ†’ Google โ†’ Advertising (if this item is missing, skip the step).
  2. Click "Reset Advertising ID" and confirm the action.
  3. Go back to Settings โ†’ Applications โ†’ Application Management.
  4. Find the MSA (Mi System Ads) application, open its page and click on Stop and Disable.

After reset, reboot the device. The banners should disappear for 7 to 14 days. If the ad returns, repeat the procedure or move to more radical methods.

๐Ÿ’ก

To speed up the process, before resetting Advertising ID, turn off mobile Internet and Wi-Fi for 5 minutes, which will prevent instant synchronization with Xiaomi servers.

3. disabling system services via ADB (without root)

If standard methods do not help, you can block advertising services with the help of ADB-This method does not require superuser rights, but requires the phone to be connected to a computer. POCO F4 and Black Shark 5.

What you need:

  • ๐Ÿ’ป Computer with Windows/macOS/Linux.
  • ๐Ÿ”Œ USB-cable (preferably original).li>
  • ๐Ÿ“ฅ Google Platform Tools (download and unpack).
  • ๐Ÿ”ง Included debugging by USB on the phone (Settings) โ†’ The phone. โ†’ Version. MIUI โ€” Press 7 times, then return to Settings โ†’ Additionally. โ†’ For developers).

Step-by-step:

  1. Connect your phone to your PC and enter it in the terminal (from the folder with the platform-tools):
  2. If the device is determined, execute commands in turn:
  3. Reboot the phone.

These commands hide (do not remove!) the system applications responsible for displaying ads. If banners are back, use an alternative command:

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

โš ๏ธ Note: On some firmware (for example, MIUI 14 for Xiaomi 13 Lite) the pm hide command may not work due to manufacturer limitations. VPN (section).

Download Platform Tools|Enable debugging on USB|Connect the phone to the PC|Check the connection with the adb device command|Execute commands in order-->

4. Use of third-party applications (without root)

If you don't want to work with ADB, you can use specialized utilities, and we tested a few applications and selected the most reliable ones:

AnnexFunctionalCompatibilityCons
QuickShortcutMakerIt allows you to find and disable hidden system services, including MSA.MIUI 12โ€“14, Android 10โ€“13It requires manual search of the necessary activities.
App InspectorScans applications for advertising SDKs (e.g. com.xiaomi.msa).All versions of MIUIIt does not block ads, it only shows sources.
BlokadaLocal VPN-blocker that filters requests to Xiaomi ad servers.Android 8.0+It can be in conflict with other VPNs.

We recommend starting with Blokada:

  1. Download the app from the official website (not from Play Market!).
  2. Activate. VPN-module in the Blokada settings.
  3. Add to the blacklist domains: msa.mi.com api.ad.xiaomi.com tracker.ai.xiaomi.com
  4. Reboot the phone.

Blokada blocks ads at the DNS level, so banners will disappear not only on the lock screen, but also in system applications (for example, in Weather or Themes).

5. Local VPN to block ad servers

If ADB and third-party apps didnโ€™t work, you can set up a local VPN right on your phone, which intercepts all requests to Xiaomiโ€™s servers responsible for displaying ads, and is suitable for non-root devices and does not require a PC connection.

Instructions for MIUI 13/14:

  1. Download the PCAPdroid app from GitHub (free version is enough).
  2. Launch the app and select "VPN" (not "Root").
  3. Go to the DNS tab and add the rule: msa.mi.com โ†’ 0.0.0.0
  4. Activate the VPN and wait for the connection.

The advantage of this method is that it completely blocks all ad requests, including those coming from Mi Video or Mi Browser apps. However, note that a VPN can slightly increase battery consumption (by 3-5%).

What to do if the VPN is not connected?
If PCAPdroid gives an error "Can't activate VPN", check: 1. Is there an active other VPN (disable it). 2. Is the option "Unknown sources" enabled to install APK. 3. Update the application to the latest version (some MIUI 14 firmware requires version 1.6.3+). If the problem remains, try the alternative - NetGuard (set domain lock manually).

6. Radical methods: removal of system APKs (requires root)

If you're willing to go to extreme lengths and your phone has an unlocked root bootloader, you can completely remove the ad modules, which is irreversible and can lead to unstable system operation if you delete critical files.

List of dangerous APKs that can be removed (for power users only!):

  • ๐Ÿ—‘๏ธ /system/priv-app/MiuiDaemon/MiuiDaemon.apk โ€” basic personalization service.
  • ๐Ÿ—‘๏ธ /system/priv-app/MSA/MSA.apk โ€” displayer.
  • ๐Ÿ—‘๏ธ /system/app/Analytics/Analytics.apk โ€” Statistics collection (includes advertising metrics).

Use Root Explorer or the command via adb shell to remove:

su


mount -o rw,remount /system




rm -rf /system/priv-app/MSA




mount -o ro,remount /system




reboot

โš ๏ธ Attention: Removal of system APK This may result in: - Mi Account shutdown (inability to sync). - Settings errors (e.g., Accounts section crash). - Loss OTA-Update (you'll have to install firmware manually) Before removing, backup through TWRP!

7.Alternative firmware: transition to custom MIUI or AOSP

If none of these methods work, the last option is custom firmware, which is a radical solution that not only removes advertising, but also adds new features.

  • ๐Ÿ“ฑ MIUI EU โ€” modified MIUI without advertising or Chinese services. OTA-update.
  • ๐Ÿค– LineageOS or Pixel Experience โ€“ firmware based on pure Android (AOSP), But you may not have Xiaomiโ€™s signature chips (for example, Always-on Display).
  • ๐Ÿ”ง Xiaomi.eu MultiROM โ€“ allows you to keep both official and custom firmware.

Installation process:

  1. Unlock the bootloader through the Mi Unlock Tool (requires a wait of 7-14 days for new accounts).
  2. Install TWRP Recovery for your model (see instructions on XDA Developers).
  3. Download the firmware (e.g. MIUI EU) and run through TWRP.

Advantages of custom firmware:

  • โœ… No advertising (including banners in Settings and Weather).
  • โœ… Regular security updates.
  • โœ… Ability to fine-tune the interface.

Disadvantages:

  • โŒ Loss of warranty (if the bootloader is unlocked).
  • โŒ Risk of "bricking" in case of firmware error.
  • โŒ Some functions may not work well (for example, IR-blaster NFC).

๐Ÿ’ก

Installing custom firmware is the only way to permanently get rid of ads on Xiaomi, but requires technical skills. For beginners, we recommend starting with MIUI EU, as it is as close to the official version as possible.

FAQ: Frequent questions about ads on Xiaomi lock screen

โ“ Why After Disabling Ads in Settings, Banners Return?
This is due to background synchronization of the MSA (Mi System Ads) service. To prevent ad returns: Turn off auto-update for the MSA app in the Play Market (if there is one), freeze the service via ADB or App Freezer. Use Blokada to block the msa.mi.com domain.
โ“ Can you remove advertising without rooting and ADB?
Yes, but the effectiveness will be temporary. Try a combination of methods: Reset Advertising ID (Section 2). Install Blokada to block ad domains. Turn off personalization in Mi Account (Settings โ†’ Xiaomi Account โ†’ Ad Personalization). This will reduce the frequency of banner impressions by 80-90%, but will not remove them completely.
โ“ Why not? POCO There is no advertising, but Redmi has it?
It's regional firmware. POCO devices for the global market (like the POCO X4 Pro) often come with MIUI firmware for POCO, where ads are turned off by default. At the same time, Redmi and mainstream Xiaomi use standard MIUI with monetization through advertising. Solution: run MIUI firmware for POCO on Redmi (if available for your model) or switch to MIUI EU.
โ“ Will the way to work with ADB post-phone drop?
No, the adb shell pm hide or pm uninstall commands only work until the full reset is complete. Once reset to factory settings, all system applications are restored, and the procedure will have to be repeated. To avoid this, use Magisk to permanently shut down services (requires root).
โ“ Is it legal to remove ads from Xiaomi?
Legally, yes. You own the device and have the right to modify its software. However: This may be considered a violation of the MIUI license agreement (but in practice Xiaomi does not prosecute users for it). Deleting the system APKs deprives you of warranty if the phone has been unlocked. In China, some methods (such as blocking msa.mi.com) may violate local laws on digital advertising.