The lock screen on Xiaomi smartphones is one of the most controversial places in MIUI firmware. On the one hand, it displays notifications, time and quick action, and on the other, aggressive advertising that appears even on a locked device, especially annoying owners of budget models Redmi and Poco, where banner ads can occupy up to 30% of the screen.
In this article, we will look at all the current ways to disable ads on the lock screen, including the official settings of MIUI 14/15, ADB commands, as well as alternative methods for advanced users. Importantly, some solutions require superuser rights or can affect the stability of the system, we noted such points with special warnings.
If you are using a Xiaomi smartphone from 2023-2026 (e.g. Redmi Note 12, Poco X5, Mi 14), all the instructions below are checked on current firmware versions. For older models (before MIUI 12), some methods may not work β in this case, refer to the section with alternative solutions.
1. Officially disabling advertising through MIUI settings
The easiest and safest way is to use the built-in MIUI options, but the manufacturer hides some options, so you have to dig into the menu.
Follow this path:
- Open the Settings β Lock screen.
- Switch to the item Additional settings (in some versions - Advanced settings).
- Find the Ads option on the lock screen or Personalized Recommendations and turn off the slider.
- Restart the device so that the changes take effect.
If there is no such item (which is typical for global firmware), try an alternative path:
- π Go to Settings. β Annexes β Application management.
- π± In the search bar, type msa (this is the Miui System Ads application).
- βοΈ Open the application settings and disable autostart, and remove permissions to display notifications.
Turn off the mobile Internet (so that the ads do not load during settings)
Close all background applications
Check the version of MIUI in Settings β About the phone
Backup important data (in case of failure)-->
Why might this method not work? In the latest versions of MIUI 14/15 for European and global regions, the manufacturer removed direct settings for disabling ads. If you have Chinese firmware (for example, on Xiaomi 13 Ultra), the chances of success are higher.
2. disabling advertising through ADB (no root)
If standard settings donβt work, use the Android debugging bridge (ADB), an official tool from Google that doesnβt require superuser rights, but allows you to jam Xiaomiβs ad services.
You'll need:
- π₯οΈ Computer with Windows/macOS/Linux.
- π± Cable USB Type-C (original so that there are no connection problems).
- π οΈ Googleβs Platform Tools utility (download and unpack archive).
Step-by-step:
- Turn on the developer mode on your smartphone: Go to Settings β About Phone. Tap 7 times on the MIUI version until the notification appears.
- Return to Settings β Additional β Developer and activate: Debugging over USB OEM Unlock (if any)
platform-tools
adb devices
adb shell pm hide com.miui.systemAdSolutionIf the first command doesnβt show the device, check the drivers or try another cable.
Critical detail: after the device is restarted, the ad can return. To consolidate the result, add a command to the autoload via Tasker or similar applications.
adb shell settings put global hidden_api_policy 1It will temporarily unlock the hidden API, It can affect the stability of the system.-->
3. Use of third-party applications (with root)
If you have root rights (e.g., through Magisk), you can completely remove the system applications responsible for displaying ads, a method that is most radical and suitable for advanced users.
List of dangerous apps (remove via Root Explorer or Titanium Backup):
| Package name | Description | Risk of removal |
|---|---|---|
| com.miui.systemAdSolution | The main module of MIUI advertising | Low. |
| com.xiaomi.midrop | File transfer service (sometimes displays ads) | Medium. |
| com.miui.analytics | Statistics (can restore advertising) | High-pitched |
| com.miui.cloudservice | Xiaomi Cloud Services | Medium. |
β οΈ Attention: Removing system applications can lead to unstable phone operation, update errors or even a "brick" (inability to download). TWRP Or Mi Flash Tool.
Alternatively, it is possible to freeze applications via App Quarantine or Ice Box, which is less risky than deleting, but requires constant work of the root manager.
4.Reset ad settings via Mi Account
Little-known fact: some of your advertising preferences are tied to your Mi Account, and if you previously agreed to personalized ads, you can reset them via the web interface.
Instructions:
- Go to account.xiaomi.com and log in.
- Open the Privacy β Ad Preferences section (could be called Ad Personalization).
- Turn off all sliders associated with personalized recommendations.
- Find the Reset Ad ID button and press it.
This method doesnβt work on all regional versions of MIUI, but it can reduce the number of ad impressions by 40-60%.
What if the reset didn't help?
5. Alternative methods: shutting down the Internet for system applications
If you donβt want to dig into settings or use ADB, you can simply restrict internet access for advertising services, which wonβt remove banners completely, but will make them empty (gray blocks).
How to do this:
- Go to Settings β Applications β Application Management.
- Find it through search: π Miui Daemon (com.lbe.security.miui) π± MSA (com.miui.systemAdSolution) βοΈ Mi Cloud (com.miui.cloudservice)
Mobile data
Wi-Fi
shut down
β οΈ Note: Internet restriction for Miui Daemon may cause notifications from some apps (such as WhatsApp or Telegram) to work incorrectly.
Use NetGuard to automate the process (no root required, but enable). VPN-Create a lock rule for domains:
- π ad.mi.com
- π tracker.ai.xiaomi.com
- π sdkconfig.ad.xiaomi.com
6. firmware custom ROM (for advanced)
If none of these methods worked, the last option is to install custom firmware without ad modules.
- π± LineageOS β pure Android without unnecessary services.
- π§ Pixel Experience β firmware with interface from Google Pixel.
- β‘ Xiaomi.eu β modified MIUI without advertising (but with European localization).
πΉ Pros: no advertising, better performance, regular updates.
β οΈ Cons: loss of warranty, risk of "brick", possible bugs with the camera or sensors.
If you do, follow the instructions from the XDA Developers forum for your model. Be sure to unlock the bootloader through the Mi Unlock Tool and install TWRP for the backup.
π‘
Custom firmware is the only way to permanently get rid of ads on the lock screen, but is only suitable for experienced users, ready for risks.