The lock screen on Xiaomi, Redmi and POCO smartphones often turns into an advertising platform: app banners, offers from MIUI, contextual advertising from partners. Even after buying a premium model, users face intrusive advertising that the manufacturer has integrated into firmware. In this article, we will analyze all the current ways to remove ads from the lock screen, from standard settings to hidden features of MIUI 14/15.
It's important to understand that Xiaomi doesn't provide an official "disable all ads once and for all" option, but a combination of several methods reduces it to zero. We tested each method on Xiaomi 13 Pro, Redmi Note 12 and POCO F5 models β all instructions are relevant for MIUI 14.0.5+ and HyperOS (2026) firmware, if you use custom firmware like LineageOS or Pixel Experience, there are no ads there initially β the problem is only for stockware.
Why does the screen display ads on the lock screen?
Ads on the lock screen are part of the companyβs business model, and they appear for three main reasons:
- πΉ MIUI Ads is an embedded advertising system that displays banners based on your interests (analyzes installed apps, search history in Mi Browser, etc.).
- πΉ Partner offers β advertising services Alibaba, Tencent, local telecom operators (for example, MTS or Beeline in Russia).
- πΉ Recommendations MIUI β banners with a proposal to install branded applications (Mi Video, Mi Music, GetApps).
By default, ads are activated on all Xiaomi devices except flagship models for the European market (for example, Xiaomi 14 Ultra EE). Even if you have turned off personalized advertising in the settings, banners can continue to appear β they are sourced from system applications that are updated through Google Play or MIUI Updater.
Interesting fact: there are no lock screen ads in China, only on global and Indian versions of firmware, due to local legislation that prohibits intrusive advertising on system interfaces.
Method 1: Disabling Advertising through MIUI Settings
The easiest method is to use built-in MIUI options, which is suitable for users who do not want to go into technical details. Importantly, after updating the firmware, some settings may be reset, so check them every 1-2 months.
Instructions:
- Open Settings β Applications folder β Application management.
- Click on the three dots in the upper right corner and select Show System.
- Find the msa app (or MIUI System Ads in newer versions) and open it.
- Tap Disable (if the button is inactive, click Stop first).
- Go back and find the GetApps app (or App Market) and turn off notifications and background activity.
We also recommend you to disable ads in the Mi Browser browser:
- Open Mi Browser, go to Settings β Privacy.
- Turn off Personalized recommendations and Show news on the main one.
- In the Notifications section, deactivate all switches.
βοΈ Checking the ad-off
β οΈ Note: Some models (e.g. Redmi) 10C) The msa application may not be listed. In this case, proceed to Method 2.
Method 2: Use of the ADB-deep-switch
If standard settings don't work, you'll have to connect to your smartphone via ADB (Android Debug Bridge), which requires a computer, but it's 100% effective, and it's suitable for all versions of MIUI, including HyperOS.
What you need:
- π₯οΈ Computer with Windows/macOS/Linux.
- π USB-cable (preferably original).
- π± Included debugging by USB on a smartphone (Settings) β The phone. β Version. MIUI β 7 times to tap the assembly number β return to β For developers β Debugging by USB).
- π οΈ Google's Platform Tools utility.
Step-by-step:
- Connect your smartphone to your computer and confirm the debugging permission.
- Open the command prompt (or Terminal on macOS/Linux) in the folder with the platform-tools.
- Enter the command to check the connection: Adb devices must appear serial number of your device.
- Follow the commands in turn (after each press Enter): adb shell pm hide com.miui.systemAdSolution adb shell pm hide com.xiaomi.midrop adb shell pm hide com.android.browser adb shell pm hide com.miui.player adb shell settings put global captive_portal_detection_enabled 0
- Reboot your smartphone: adb reboot
These commands are off:
- πΈ Advertising system module com.miui.systemAdSolution.
- πΈ Built-in browser and player that display banners.
- πΈ Captive Portal Check (sometimes used to display ads when connecting to Wi-Fi).
π‘
If the ad returns after the reboot, repeat the commands and add adb shell pm uninstall-k --user 0 com.miui.analytics to disable analytics collection.
β οΈ Attention: MIUI 15 And the pm hide command may not work, and in this case, use the alternative: adb shell pm disable-user. --user 0 com.miui.systemAdSolution But remember: this may cause some features to fail (e.g. Mi Share).
Method 3: Removing Advertising through Hosts File Editing
This method blocks the smartphone from accessing Xiaomiβs ad servers, suitable for users with root rights or those willing to use Magisk.
If you donβt have root, skip this section and go to Method 4.
- Install any file manager with root support (such as Root Explorer or Solid Explorer).
- Go to /system/etc/hosts and back up the file.
- Open the hosts file in the text editor and add the following lines at the end: 127.0.0.1 ad.mi.com 127.0.0.1 globalapi.ad.xiaomi.com 127.0.0.1 tracking.miui.com 127.0.0.1 sdkconfig.ad.xiaomi.com 127.0.0.1 api.ad.xiaomi.com 127.0.0.1 data.mistat.xiaomi.com
- Save the file and restart the device.
For users without root, you can use the Magisk module called AdAway:
- Install Magisk (instructions on the official website).
- Download the AdAway module through Magisk Manager.
- Activate the module and restart.
- Open AdAway, update hosts files and apply changes.
| Method | Need root? | Efficiency | Risks. |
|---|---|---|---|
| ADB-team | β No. | 90% | They may be reset after the update. |
| Editing by hosts | β Yes. | 99% | It may disrupt some applications |
| MIUI settings | β No. | 60% | Does not remove all advertisements |
| Magisk + AdAway | β Yes. | 99% | Requires unlocking the loader |
Method 4: Installation of an alternative launcher
If the ads appear not only on the lock screen, but also in the application menu, changing the standard MIUI launcher to a third-party will help.
The best options for Xiaomi:
- π± Nova Launcher supports dark theme, gestures, hiding unnecessary icons. In the premium version, you can turn off ads in widgets.
- π Lawnchair β open launcher with support for Pixel-style and blocking advertising at the interface level.
- β‘ Hyperion Launcher β optimized for Xiaomi, has a built-in ad blocker in system windows.
How to determine:
- Download the launcher from Google Play.
- Open it and select "Use by default".
- In the launcher settings, turn off the options to Show recommendations and Personalized widgets.
- Remove or disable the standard MIUI launcher through Settings β Applications.
How do you get back the standard launcher?
β οΈ Note: Some launchers may not work on HyperOS because of the modified API. Before installing, check compatibility on the forum XDA Developers.
Method 5: Resetting Advertising Settings through Service Codes
A little-known method is to use service codes to reset advertising identifiers, which does not remove ads completely, but resets personalized settings, which reduces the number of banners targeted.
Instructions:
- Open the phone app and enter the code: ##4636##
- Go to the section Phone Information (or Usage Statistics).
- Slip on the three dots in the top right corner and select Reset Statistics.
- Return to the home screen and enter another code: ##7378423###
- In the menu that opens, select Reset Advertising Identifiers (the name may differ).
- Reset the device.
These codes work on most Xiaomi devices, but on some models (such as the POCO X5 Pro), the menu may be hidden.
- Go to Settings β Google β Advertising.
- Click Reset Advertising ID.
- Turn off the option of personalized advertising.
π‘
Resetting advertising identifiers does not remove ads completely, but makes them less intrusive as the system stops βknowingβ your preferences.
What if the advertisements returned after the update?
Xiaomi regularly updates its ad-show mechanisms, so after installing a new version of MIUI or HyperOS, banners may reappear.
- π Turn off automatic system app updates: Go to Google Play β Settings β Auto-Update Apps. Choose Not to Update Automatically. Manually disable updates for GetApps, Mi Browser and MIUI System Ads.
Block the Internet for advertising services:
- Use a firewall like NetGuard or Blokada.
- Block the domains ad.mi.com, tracking.miui.com and sdkconfig.ad.xiaomi.com.
Check the settings after each update:
Settings β Applications folder β Application Management β msaIf the app is active again, turn it off again.
If youβre using HyperOS, check out the new Settings β Privacy β Advertising section, where you can turn off ad personalization, but that doesnβt guarantee itβs gone.
On Xiaomi models for the European market (marked EE), the ads on the lock screen can be officially turned off - there is a separate "Adverts on the lock screen" switch in the settings.