Advertising on the lock screen Xiaomi is one of the most annoying βchipsβ of the firmware MIUI 11. Even after buying a smartphone, users are faced with intrusive banners that appear every time you unlock the device, and the problem is relevant for most models, from the budget Redmi Note 8 to the flagship Mi 9 Pro.
In this article, we will look at all the working ways of removing ads, from standard settings to radical methods like ADB and reset to factory settings. We will focus on the nuances of MIUI 11, because in this version, the algorithms for displaying ads are different from newer firmware. If you are tired of banners with games, credits or promotions, read on.
Important: Some methods require superuser rights or a PC connection, and we will mark these cases in advance so you can choose the best option without risking breaking the phone.
Why is there ad on the block in MIUI 11?
In MIUI 11, the banners on the lock screen are part of Xiaomiβs monetization system, and the company has integrated an MSA (Mi System Ads) advertising engine that analyzes user behavior and selects βrelevantβ offers.
πΉ If you are in a region where Xiaomi is actively cooperating with local advertisers (for example, India, Indonesia, Russia), banners will be displayed more often.
πΉ Xiaomi Services: Using branded apps (Mi Browser, Mi Video, Themes) automatically includes targeted advertising.
πΉ Update to firmware. MIUI 11 (e.g. with MIUI 10) advertising settings can be reset to default values.
Interesting fact: in some regions (e.g. the EU), blocking ads are disabled by default due to local data protection laws, and in Russia and the CIS, they are activated for most users.
How does Xiaomi make money from advertising in MIUI?
Method 1: Disabling Advertising through MIUI 11 Standard Settings
The easiest method is to use the built-in options of the system. In MIUI 11, the path to the ad settings is hidden, but it can be found without root rights or a PC.
π Step-by-step instruction:
- Open Settings β System and Device folder β More
- Select Advertising (in some versions β Personalized Advertising).
- Turn off the MSA Recommendation slider.
- Return to Settings β Lock screen and deactivate the option Recommended Content.
β οΈ
Note: Some models (e.g. Redmi 7A with MIUI 11.0.2) may not have Advertising, in which case move on to the next method.
π§ Additional measures:
- π± Turn off Show notifications on the lock screen in Settings β Notifications.
- π Drop the commercial. ID: Settings β The phone. β All parameters. β Advertising ID β Drop it.
- π Reboot your phone after changes β sometimes banners disappear only after a reboot.
βοΈ What to check before disabling advertising
Method 2: Using ADB to Deeply Disable Advertising
If standard settings donβt work, youβll have to connect your phone to your PC and use Android Debug Bridge (ADB), a technique that works on 90% of devices running MIUI 11, but requires minimal technical skills.
π₯οΈ What's the matter:
- π» Computer with Windows/macOS/Linux.
- π USB-cable (preferably original).li>
- π¦ Utility. ADB Tools by Google.
- π§ Included Debugging by USB on the phone (Settings) β The phone. β Version. MIUI β Tap 7 times, then return to the additional β For developers).
π οΈ Commands to disable ads:
adb shell pm hide com.android.browser # Disables Mi Browser (advertising source)
adb shell pm hide com.miui.systemAdSolution # Blocks the system ad module
adb shell settings put global captive_portal_detection_enabled 0 # Disables portal check (sometimes shows banners)β οΈ
Warning: After completing the commands, restart the phone. If the adverts remain, check if the settings have reset after the MIUI update. Also note that pm hide only works until the next flash.
π‘
π‘
If ADB issues a "device unauthorized" error, check that a window appeared on the phone when it was connected requesting trust for that PC.
Method 3: Removing ads through third-party apps (without root)
If you donβt want to mess with ADB, you can use specialized utilities that block Xiaomiβs DNS-level ad servers or filter traffic.
π² Top.-3 applications for blocking advertising in MIUI 11:
| Annex | Principle of work | Pluses | Cons |
|---|---|---|---|
| Blokada | Lockdown DNS-requesting advertising servers | No need to root, easy setup | Can conflict with VPN |
| AdGuard | Filtering traffic through a local VPN | High % of blocking, customization | Premium version for some functions |
| DNS66 | Redirecting DNS to secure servers | Open source, no restrictions | Hard for beginners. |
π§ How to set up Blokada for MIUI 11:
β οΈ
Note: Some applications (e.g. banking) may block work when an active VPN is running, in which case add them to the exceptions in the Blokada or AdGuard settings.
Method 4: Reset to factory settings (radical method)
If none of these methods worked, the last resort is to completely reset the phone, which will delete all the data, but return MIUI 11 to a "clean" state where the ads on the lock are disabled by default (in some regions).
π How to Reset Settings Without Losing Data:
- Create a backup through Settings β System β Backup.
- Go to Settings β About the phone β Reset settings.
- Choose Reset all settings (not to be confused with Remove all data!).
- After the reboot, do not log in to Mi Account and immediately disable the ads through Settings β Advertising.
π What to do after a reset:
- π« Do not restore backup via Mi Cloud β it can return ad settings.
- π§ Install applications manually, avoiding branded Xiaomi services (Mi Video, Mi Browser).
- π Turn off automatic updates MIUI In Settings β The phone. β Updating the system.
β οΈ
Note: Some models (e.g. Poco F1) may display factory ads from Xiaomi partners (e.g. Netflix or Amazon Prime) after reset, which can only be removed via ADB or flashing.
Method 5: Flashing on custom firmware (for advanced)
If youβre willing to take drastic measures, you can install custom firmware like LineageOS or Pixel Experience, which will completely remove the MSA and other Xiaomi ad modules, but require unlocking the bootloader and root rights.
π§ Step-by-step plan:
- Unlock the bootloader through the official Xiaomi tool (can take up to 72 hours).
- Install TWRP Recovery for your model.
- Download custom firmware (e.g. LineageOS 16 for MIUI 11) from the XDA forum.
- Flush the firmware through TWRP, then install Magisk to manage root rights.
β οΈ Risks and warnings:
- π¨ Loss of warranty (if the phone is under warranty).
- π Possible battery or performance problems.
- π± Certain functions (e.g, IR Blaster or Always-on Display may not work.
π‘
π‘
Custom firmware is the most reliable way to get rid of advertising, but it is only suitable for advanced users. For most methods, 1-3 is enough.
Frequent Mistakes and How to Avoid Them
Many users have trouble trying to remove ads, and here are the most common mistakes and solutions:
π΄ Mistake 1: Advertising returns after update MIUI
πΉ Reason: The system resets advertising settings when updating.
πΉ Solution: After updating, re-disable Recommendations MSA and clear the cache of the com.miui.systemAdSolution application through Settings β Annexes.
π΄ Mistake 2: ADB can't see the device
πΉ Reason: Drivers are not installed or debugging is not included USB.
πΉ Decision:
- Install ADB drivers for your OS.
- Check that Settings β For developers included the option Debugging over USB (Safe Mode).
- Try another one. USB-cable (preferably original).
π΄ Mistake 3: Ad-blocking apps donβt work
πΉ Cause: Conflict with others VPN-services or antiviruses.
πΉ Solution: Turn it off. VPN-Install Blokada or AdGuard, add them to the exceptions of the antivirus.