How to permanently remove ads on the lock screen Xiaomi: the complete guide 2026

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.

πŸ“Š What Advertising Irritates You the Most on Xiaomi?
Banners on the lock screen
Advertising in MIUI-annexes
Browser pop-ups
Recommendations in the "For You" menu

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:

  1. Open Settings β†’ Applications folder β†’ Application management.
  2. Click on the three dots in the upper right corner and select Show System.
  3. Find the msa app (or MIUI System Ads in newer versions) and open it.
  4. Tap Disable (if the button is inactive, click Stop first).
  5. 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:

  1. Open Mi Browser, go to Settings β†’ Privacy.
  2. Turn off Personalized recommendations and Show news on the main one.
  3. In the Notifications section, deactivate all switches.

β˜‘οΈ Checking the ad-off

Done: 0 / 4

⚠️ 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:

  1. Connect your smartphone to your computer and confirm the debugging permission.
  2. Open the command prompt (or Terminal on macOS/Linux) in the folder with the platform-tools.
  3. Enter the command to check the connection: Adb devices must appear serial number of your device.
  4. 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
  5. 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.

  1. Install any file manager with root support (such as Root Explorer or Solid Explorer).
  2. Go to /system/etc/hosts and back up the file.
  3. 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
  4. Save the file and restart the device.

For users without root, you can use the Magisk module called AdAway:

  1. Install Magisk (instructions on the official website).
  2. Download the AdAway module through Magisk Manager.
  3. Activate the module and restart.
  4. Open AdAway, update hosts files and apply changes.
MethodNeed root?EfficiencyRisks.
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:

  1. Download the launcher from Google Play.
  2. Open it and select "Use by default".
  3. In the launcher settings, turn off the options to Show recommendations and Personalized widgets.
  4. Remove or disable the standard MIUI launcher through Settings β†’ Applications.
How do you get back the standard launcher?
To return to the MIUI launcher, go to Settings β†’ Applications β†’ Application Management β†’ Launcher (name may vary) and click β€œClear Data.” After the restart, the system will prompt you to select the launcher again.

⚠️ 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:

  1. Open the phone app and enter the code: ##4636##
  2. Go to the section Phone Information (or Usage Statistics).
  3. Slip on the three dots in the top right corner and select Reset Statistics.
  4. Return to the home screen and enter another code: ##7378423###
  5. In the menu that opens, select Reset Advertising Identifiers (the name may differ).
  6. 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.

  1. Go to Settings β†’ Google β†’ Advertising.
  2. Click Reset Advertising ID.
  3. 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:

  1. Use a firewall like NetGuard or Blokada.
  2. 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 β†’ msa

If 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.

FAQ: Frequent questions about advertising on Xiaomi

❓ Why does the msa still appear after the msa is turned off?
The msa app is just one source of advertising. Banners can be displayed via GetApps, Mi Browser or MIUI System Ads. Check all three apps in Settings β†’ Apps and disable them. Also make sure you don’t have apps installed from Xiaomi partners (such as Mi Credit or Mi Pay) that can also display ads.
❓ Can you remove advertising without a computer?
Yes, but the efficiency will be lower. Use a combination of methods: Turn off msa and GetApps in your application settings. Set up a Nova Launcher or Lawnchair launcher. Reset your advertising IDs through Google Settings β†’ Advertising. This will reduce the amount of ads by 70-80%, but it won't remove them completely.
❓ Will Magisk work on HyperOS?
Yes, but with reservations. HyperOS uses a new system integrity checker (AVB 2.0), so installing Magisk will require: Unlock the bootloader via Mi Unlock Tool. Install a patch boot.img via fastboot. Use Magisk Delta (a fork for newer versions of Android). Some models (such as Xiaomi 14) may require a rollback to an older version of the firmware.
❓ Why after reset to factory settings, the advert returned?
Factory resets return all system applications to active state, including msa and GetApps. After reset: Disable msa and GetApps immediately in settings. Repeat ADB-Do not connect your Mi Account in the first 10 minutes after setting up – this will prevent synchronization of advertising preferences.
❓ Is there a legal way to remove ads forever?
Xiaomi doesn’t officially offer this option, but there’s a workaround: Buy a device for the European market (marked EE in the model); install custom firmware (LineageOS, ArrowOS), where there’s no adverts by default. Use Xiaomi.eu, an unofficial firmware without ads (but requires unlocking the bootloader). All of these methods have their own risks (loss of warranty, possible bugs), so weigh the pros and cons.