Why does the ad appear on the lock screen and can it be removed?
Xiaomiβs lock screen is the first thing you see when you turn on your smartphone. Instead of a beautiful wallpaper or useful widgets, users often encounter intrusive advertising: app banners, Mi Store promotions or even third-party offers. The reason lies in the MIUI branded shell, which integrates ad modules into system services by default. This is not a mistake, but a conscious monetization strategy β Xiaomi compensates for the low price of devices through advertising.
The good news is that you can remove ads from the screensaver without root rights and complex manipulation. Bad β Xiaomi regularly updates its ad-show mechanisms, so there is no universal βalwaysβ solution. In this article, we will discuss current ways for MIUI 12-15, including hidden settings, disabling services and advanced methods using ADB. It is important to understand that some methods can affect the operation of system notifications or functions like Mi Pay.
If youβre using a smartphone older than 2020 (like the Redmi Note 8 Pro or Mi 9T), note that older versions of MIUI may not work due to changes in the shell architecture. Newer models (Xiaomi 13, Redmi Note 12) are all relevant to the methods described below, but may require additional permission adjustments.
Method 1: Disabling personalized advertising in MIUI settings
The easiest and safest way to do this is to deactivate personalized recommendations right in the settings menu, which doesn't remove ads completely, but it reduces ads significantly, especially banners from Mi Store and GetApps.
Instructions:
- π± Open the Settings. β Google β Advertising (on some firmware, the path may differ: Settings) β Additionally. β Confidentiality β Advertising).
- π Switch the βPersonalized Advertisingβ slider to the βOffβ position.Β».
- ποΈ Click "Reset advertising" IDΒ» (This will clear your profile for targeted advertising).
- π Go back to the main settings and go to Settings β Annexes β Application management β GetApps (or Mi Store) Disable the permission to Show Over Other WindowsΒ».
This method works on all Xiaomi devices, but has limitations: it does not block ads in system notifications (for example, banners in the curtain) and does not affect advertising in third-party applications.
Method 2: Deactivation of MSA and Analytics System Services
MSA (Miui System Ads) and Analytics are the two key services responsible for displaying ads in MIUI: the first manages banners on the lock screen and in the application menu, the second collects data about your activity for targeted advertising, you can turn them off without root rights, but this will require manual intervention in the settings of applications.
Step-by-step:
- Go to Settings β Applications β Application Management β All applications.
- In the search bar, type βMSAβ and select the com.miui.systemAdSolution application (or simply βMSAβ).
- Click βDisableβ (if the button is inactive, press βStopβ beforehand).
- Similarly, find and disable: π Analytics (com.miui.analytics) β collects data for advertising purposes. π GetApps (com.xiaomi.mipicks) β an app store with ads. π’ MiuiDaemon (com.miui.daemon) β background process associated with ad impressions.
Find MSA in the list of applications | Disable com.miui.systemAdSolution| Disable Analytics (com.miui.analytics)| Disable GetApps (com.xiaomi.mipicks) |Reboot your device-->
After disabling these services, the ads on the lock screen should disappear within 24 hours. If the banners remain, check if they have been updated through Google Play Services - sometimes Xiaomi disguises the ad modules as system updates.
β οΈ Attention: Disconnection MSA and Analytics may cause Mi Account, Mi Pay, and some cloud services to crash, and if you use these features, skip this method or back up your data.
Method 3: Use ADB-commands for deep disabling advertising
If previous methods didnβt work, youβll need to use ADB (Android Debug Bridge), a tool for debugging Android devices, which allows you to block ad packages at the system level, but requires you to connect your smartphone to your computer.
What you need:
- π» Computer with drivers installed ADB (You can download from the official Android website).
- π USB-cable (preferably original).
- π± Included debugging by USB on a smartphone (path: Settings) β The phone. β Version. MIUI β 7 times press "Version" MIUIΒ», Then go back to Settings. β Additionally. β For developers β Debugging by USB).
Instructions:
- Connect your smartphone to your computer and start the command line (cmd in Windows or Terminal in macOS/Linux).
- Enter the command to check the connection: adb devices If the device is determined, go further.
- Follow the commands one by one (each deletes permission to display ads for key packages): adb shell pm uninstall --user 0 com.miui.systemAdSolution adb shell pm uninstall --user 0 com.xiaomi.mipicks adb shell pm uninstall --user 0 com.miui.analytics adb shell pm hide com.android.browser
- Reboot your smartphone.
| Team team. | What's he doing? | Effects of consequences |
|---|---|---|
| pm uninstall --user 0 com.miui.systemAdSolution | Remove the MSA for the current user | Disappears advertising on the screensaver and on the menu |
| pm uninstall --user 0 com.xiaomi.mipicks | Removes GetApps | You can not install applications from the Mi Store |
| pm hide com.android.browser | Hiding a standard browser | Advertising in the browser disappears, but it will need to be replaced by another |
Important: Commands with the --user 0 flag delete applications only for the current user, without affecting system files. This is safe, but after resetting settings or updating MIUI, ads can return.
π‘
If, after the execution, ADB-Teams still have adverts, check if the services have been updated through Google Play. β Annexes β Google Play Store and disable auto-update for system applications.
Method 4: Install a custom launcher or patch through Magisk
For users with an unlocked bootloader and a Magisk (root rights tool) installed, there is a more radical solution: installing patches that block ads at the kernel level, a method suitable for power users, as it requires unlocking the bootloader and can potentially lead to a loss of warranty.
Popular modules for Magisk:
- π‘οΈ Disable_Miui_Battery_Styles β Remove ads in battery status.
- π« Xiaomi Debloater β Removes unnecessary system applications, including advertising.
- π AdAway β Blocks Advertising Domains via Hosts File.
- π± MIUI Mix Explorer β allows you to manually edit system files responsible for displaying ads.
How to determine:
- Download the module (e.g. Xiaomi Debloater) in.zip format from the XDA Developers forum.
- Open Magisk Manager and go to the Modules section.
- Click βInstall from storageβ and select the downloaded file.
- Reset the device.
β οΈ Note: Installing Magisk modules can disrupt SafetyNet, which will lead to problems with banking applications (Sberbank, Tinkoff) and services like Google Pay. MIUI.
What to do if after installing Magisk smartphone does not turn on?
Method 5: Resetting settings to factory (extreme case)
If none of these methods worked, the last option is a complete reset, a radical solution that will remove all data from the device, but also reset all MIUI ad settings to factory settings, and once reset, you can turn off personalized MSA ads and services again, as described in Method 1 and 2.
How to reset:
- Create a backup of important data (photos, contacts, messages).
- Go to Settings β About Phone β Resetting β Erase all data.
- Enter your password (if required) and confirm the reset.
- After the reboot, set the device up as new, but donβt restore data from a MIUI backup β this can bring back ad settings.
Resetting helps 90% of the time, but keep in mind that after the MIUI update, ads may reappear. To avoid this, immediately after setting up, disable auto-update system applications in the Google Play Store.
π‘
Resetting is a last resort, and before you resort to it, try all other methods and make sure that the problem is not in a particular application (for example, in Mi Video or Mi Browser).
Additional tips: how to avoid returning ads
Even after successful removal of the ad, it can return after updating MIUI or resetting. To prevent this from happening, follow these guidelines:
- π Turn off auto-update MIUI: Go to Settings. β The phone. β Updating the system β βοΈ β Auto download updates and select βNeverΒ».
- π₯ Block system application updates: in the Google Play Store, find GetApps, Mi Browser and other Xiaomi applications, open their pages and uncheck the box from Auto UpdateΒ».
- π‘οΈ Use alternative launchers: install Nova Launcher or Lawnchair β they replace the standard interface MIUI They often block system advertising.
- π Check new apps: some programs (such as Mi Fit or Mi Home) may activate advertising services again. β Annexes.
If you notice that the ad has returned, repeat the steps from Method 2 (disable MSA and Analytics). It is also useful to check the list of active processes from time to time through Settings β Apps β Launched β if unknown services with names like adService or pushProvider appear there, they should be stopped.