Advertising on the lock screen Xiaomi β one of the most annoying βchipsβ of the firmware MIUI. Even after buying a premium smartphone, users are faced with intrusive banners that appear every time you unlock the device, and the problem is relevant not only for budget models like the Redmi Note 12 or Poco X5, but also for the flagships of the Xiaomi 13/14 series.
In this article, we'll look at all the ways you can remove ads, from official settings to deep system edits, and it's important to understand that some ways require unlocking the bootloader or the rights of the superuser, so they're not for everyone, but even without root access, you can significantly reduce the number of ads you see.
If you only see ads on a locked screen (not in the notification menu or system applications), the problem lies in the service com.miui.systemAdSolution. This is a standard component of MIUI, which is responsible for targeted ads, the manufacturer positions them as "personalized recommendations", but in fact it is a regular advertisement that can be turned off.
βββ
1.Official method: disabling advertising in the MIUI settings
The easiest and safest method is to use the built-in options of the system. Xiaomi provides the ability to disable some of the ads through the settings menu, but not all users know where to look for these options.
Go to: Settings β Password and Security β Autoboot β Advertising
There should be a "Personalized Recommendations" slider -- disable it. If this is not the case, try an alternative path:
Settings β Additional β Special Opportunities β Advertising
On some firmware (e.g. MIUI 13 for the global version), the option is hidden deeper.
- Open the Settings. β The phone.
- Tap 7 times on the line "Version" MIUI", activate the developer mode.
- Return to the main settings menu and select Additional β For developers.
- Find the option "Disable Advertising" MIUI" (may be called miui_optimization).
β οΈ Note: On Chinese firmware (China) ROM) This method often doesn't work. If your smartphone is bought in China or stitched with a custom version, go to the following ways.
Also check lock screen settings: Settings β lock screen β Additional β Recommendations
Turn off all sliders associated with "recommendations" or "interesting offers."
βββ
2. disabling advertising through the Mi Account (for authorized users)
If youβre signed in with a Mi Account, some of the ads can be controlled through cloud settings, a method that doesnβt work on all devices, but itβs worth a try.
Instructions:
- Open the Security app (shield icon).
- Go to the section βPermissions Managementβ β Advertising.
- Turn off the option of "Personalized Advertising".
- Return to the main Security menu and select Clean Up β Auto Run.
- Search the list of com.miui.systemAdSolution and turn off autostart.
After that, restart the device. the ads on the lock screen should disappear within 24 hours (the system syncs with Xiaomi servers).
If this method did not work, check the sync settings: Settings β Mi Account β Synchronization
Make sure the Advertising and Recommendations option is turned off.
π‘
After disabling ads through your Mi Account, clear the cache of system applications: Settings β Applications β Application Management β Three dots (menu) β Clear the cache of all applications.
βββ
3. Manual removal of advertising services through ADB (without root)
For users ready for more complex manipulations, there is a method to disable ads via Android Debug Bridge (ADB). It does not require superuser rights, but it does require a computer and USB-cable.
Step-by-step:
- Activate Developer Mode (7 taps according to MIUI in Settings β About Phone).
- Enable debugging over USB in Settings β Additional β For developers.
- Connect your smartphone to your PC and confirm the debugging permission.
- Download ADB Tools and unpack it into a separate folder.
- Open the command line (Windows) or terminal (macOS/Linux) in this folder.
Perform the following commands in turn:
adb shell pm hide com.miui.systemAdSolution
adb shell pm hide com.xiaomi.midrop
adb shell pm hide com.miui.analytics
adb shell pm hide com.miui.msa.globalThese commands do not delete, but temporarily disable advertising services. After rebooting the device, the effect persists, but after resetting settings or updating the MIUI, it may be necessary to re-execute.
β οΈ Attention: On some firmware (MIUI 14 The pm hide command may not work, and in this case, use the alternative: adb shell pm uninstall. -k --user 0 com.miui.systemAdSolution This command removes the application only for the current user without affecting system files.
Install Xiaomi drivers on PC
Enable debugging over USB on your phone
Download ADB Tools (Last Version)
Connect your phone to the original cable
Allow debugging in the pop-up window on the phone-->
βββ
4. Complete removal of advertising through root rights
If you're prepared for radical measures and your device has an unlocked bootloader, you can completely remove the ad modules from the system, which requires the rights of the superuser and an installed Magisk or other root manager.
List of apps and services that need to be removed or frozen:
- π± com.miui.systemAdSolution β the main advertising module
- π com.xiaomi.midrop β analytics service (tracks impressions)
- π com.miui.analytics β statistics collection for targeted advertising
- π com.miui.msa.global β global advertising service (for international firmware)
- π’ com.xiaomi.market β Mi App Store app (often displays banners)
Use Root Explorer or Titanium Backup to remove:
- Open a file manager with root access.
- Go to /system/priv-app/ or /system/app/.
- Find the folders with the names from the list above and rename them by adding.bak at the end (e.g. com.miui.systemAdSolution.bak).
- Reset the device.
Alternatively, you can use a Magisk module called Disable_Miui_Ads. It automatically disables all advertising services and updates with firmware.
What happens if you remove system applications without root?
βββ
5. Alternative methods: custom firmware and patches
If none of the above methods worked, there are two options:
- Install custom firmware (e.g. Xiaomi.eu or LineageOS).
- Use Magisk modules to block ads.
Xiaomi.eu is a modified version of MIUI, which removes all advertising services and Chinese applications. It supports most Xiaomi, Redmi and Poco models. Minus requires an unlocked bootloader and may be unwarranted.
List of popular Magisk modules for blocking ads:
| Module | Description | Compatibility |
|---|---|---|
| Disable_Miui_Ads | Disables all MIUI advertising services | MIUI 12-14 |
| DeBloater | Remove unnecessary system applications, including advertising | Any firmware |
| AdAway | Blocks ads at the hosts file level | Demands Magisk |
| MiDebloater | Specialized tool for cleaning MIUI | MIUI 11 and newer |
For the installation of modules:
- Download the file with the.zip extension.
- Open Magisk Manager.
- Select Modules. β Install it from the vault.
- Find the downloaded file and confirm the installation.
- Reset the device.
β οΈ Note: Installing custom firmware or Magisk modules can result in data loss or a "brick" of the device if the process is disrupted.Always back up through TWRP Mi Flash Tool before experimentation.
βββ
6.If the advertisement remains: virus and third-party applications
Sometimes the adverts on the lock screen appear not because of MIUI, but because of:
- π¦ Viral or spyware applications (especially if you have installed them) APK unverified).
- π± Third-party launchers (e.g., Nova Launcher or Action Launcher) may conflict with MIUI).
- π Errors after the update (if the advertisement appeared after the update) MIUI).
To rule out these reasons:
- Check your device for viruses with Malwarebytes or Dr.Web Light.
- Open Settings β Applications β Application Management and sort by installation date. Remove suspicious programs.
- Reset the launcher settings: go to Settings β Home screen and select Reset Settings.
- If the problem has occurred after the update, try to roll back to the previous version of MIUI via Fastboot.
If the ad only appears on certain wallpaper, change the background of the lock screen: Settings β Lock screen β Wallpaper β Select another image
Sometimes banners are embedded in standard MIUI themes.
π‘
Before resetting or flashing, always check if the cause of the ad is a third-party app. 30% of the time, it is not the system services that are to blame, but the programs installed by the user.
βββ