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.
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:
- Open Settings โ Google โ Advertising (if this item is missing, skip the step).
- Click "Reset Advertising ID" and confirm the action.
- Go back to Settings โ Applications โ Application Management.
- 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:
- Connect your phone to your PC and enter it in the terminal (from the folder with the platform-tools):
- If the device is determined, execute commands in turn:
- 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:
| Annex | Functional | Compatibility | Cons |
|---|---|---|---|
| QuickShortcutMaker | It allows you to find and disable hidden system services, including MSA. | MIUI 12โ14, Android 10โ13 | It requires manual search of the necessary activities. |
| App Inspector | Scans applications for advertising SDKs (e.g. com.xiaomi.msa). | All versions of MIUI | It does not block ads, it only shows sources. |
| Blokada | Local 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:
- Download the app from the official website (not from Play Market!).
- Activate. VPN-module in the Blokada settings.
- Add to the blacklist domains: msa.mi.com api.ad.xiaomi.com tracker.ai.xiaomi.com
- 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:
- Download the PCAPdroid app from GitHub (free version is enough).
- Launch the app and select "VPN" (not "Root").
- Go to the DNS tab and add the rule: msa.mi.com โ 0.0.0.0
- 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?
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:
- Unlock the bootloader through the Mi Unlock Tool (requires a wait of 7-14 days for new accounts).
- Install TWRP Recovery for your model (see instructions on XDA Developers).
- 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.