You pull your phone out of your pocket, unlock your screen, and instead of your desktop, you see a tedious banner advertising a game, a loan, or a promotion. Sounds familiar? Advertising on Xiaomi's lock screen (especially on budget models like the Redmi Note 10/11/12 or POCO M4/M5) has become a real headache for users. The manufacturer has integrated ad modules deep into MIUI firmware, and even after disabling "personalized recommendations," banners continue to appear.
In this article, we've got 5 proven ways to remove ads when you unlock them, including hidden settings, ADB commands, and methods for firmware without root. We'll also look at why ads come back after updates, and how to block them forever. Importantly, some techniques require technical training, but most solutions are available even to beginners.
Why Ads Appear on Xiaomi’s Lock Screen
The manufacturer officially declares that MIUI advertising is “personalized recommendations” that help users discover new apps.
- 📱 Budget models (Redmi) 9A/10A/12C, POCO C31/C51) receive advertising by default - its disabling is hidden in the depth of settings.
- 💰 Global firmware (e.g. for Europe) contains less advertising than China or India versions (MIUI Global vs MIUI China).
- 🔄 Updates MIUI Often reset advertising settings, so banners return after updates.
- 🎯 Data collection: Xiaomi analyzes your actions (installed apps, search queries) for targeted advertising.
According to XDA Developers (2023), MIUI ad modules are downloaded via com.miui.systemAdSolution and com.xiaomi.mipicks, which cannot be completely removed without root, but can be blocked.
Method 1: Disabling Advertising in MIUI Settings (without ADB)
The easiest method is to use the built-in MIUI options. It is suitable for most models (Redmi Note 11 Pro, Xiaomi 12T, POCO X4 Pro, etc.), but may not work on older versions of the firmware (below MIUI 12).
- Open Settings → Password and Security → Screen lock settings.
- Scroll down and find the item “Advertising on the lock screen”** (some models call it “Personalized recommendations”).
- Turn off the slider next to the option. If there's no item, move on to the next step.
- Return to Settings → Additional → Special Features → Ad Notifications and deactivate all switches.
Important: Some firmware (e.g. MIUI 13 for India) have the option hidden. To see it, change the region of the phone:
Settings → About phone → Additional → Region (select Europe or Russia)Disabled item "Advertising on the lock screen"|“Advertising Notices” in special features are turned off|The telephone area is set to Europe/Russia|Reboot the phone after the changes-->
Method 2: Blocking Advertising through ADB (without root)
If standard settings don’t work, use Android Debug Bridge (ADB), a debugging tool for Android.The method works on MIUI 12/13/14 and doesn’t require superuser rights, but requires a computer.
Preparation:
- Download ADB Tools for Windows/macOS/Linux.
- Turn on Settings → About Phone → MIUI version (click 7 times to activate Developer Mode).
- Return to Settings → Additional → For developers and enable USB debugging.
Ad blocking commands:
adb shell pm hide com.miui.systemAdSolution
adb shell pm hide com.xiaomi.mipicks
adb shell settings put global captive_portal_detection_enabled 0After completing the commands, restart the phone. the ads on the lock screen will disappear, but may return after the MIUI update.
What to do if ADB is not working?
Method 3: Using third-party applications (without root)
If you don’t want to mess with ADB, try specialized utilities that block Xiaomi’s DNS-level ad servers or filter traffic.
| Annex | How it works | Pluses | Cons |
|---|---|---|---|
| Blokada | Blocks advertising domains via VPN | No need for root, free version | It may conflict with banking applications |
| AdGuard | Filter traffic through blocking lists | Highly effective, supports MIUI | Paid version for full functionality |
| DNS66 | Redirects requests to secure DNS | Open source, no root | Requires manual adjustment |
For maximum effect, combine AdGuard with ADB-commands from the previous section:
- Install AdGuard and activate AdGuard Base + MIUI Ad Block filters.
- Run a command through ADB to disable com.miui.systemAdSolution.
- Reboot the phone.
💡
If you have left ads after installing AdGuard, check your VPN settings: some banking applications (for example, Sberbank Online) block traffic through third-party VPNs. Solution - add them to the exceptions in the AdGuard settings.
Method 4: Removing Advertising via TWRP and Magisk (for Advanced)
If you're ready for radical measures, Custom Recovery (TWRP) and Magisk modules will remove ad modules permanently.The method requires unlocking the bootloader and installing root, which voids the warranty.
Step-by-step:
- Unlock the bootloader via Mi Unlock Tool (requires a Xiaomi account and wait 7 days).
- Install TWRP for your model (see instructions on XDA Developers).
- Please use Magisk to obtain root rights.
- Install the MIUI Ad Blocker* module via Magisk Manager.
Critical information: Once the bootloader is unlocked, all data on the phone will be erased, and some features (such as the Widevine L1 for Netflix in HD) may stop working.
💡
Use this method only if you are willing to lose your warranty and face potential security issues. For most users, there are only 1-3 options.
Method 5: Alternative firmware (LineageOS, Pixel Experience)
The last option is to completely abandon MIUI in favor of custom firmware like LineageOS or Pixel Experience, which is guaranteed to remove all ads, but requires:
- 🔓 Unlocked bootloader (see Method 4).
- 📱 Compatibility with your model (check on the official website of LineageOS).
- 🔧 Ability to work with fastboot and ADB.
- ⚠️ Loss of Xiaomi features (e.g., Xiaomi, IR Blaster or Game Turbo).
Advantages:
- ✅ No advertising at all (including system notifications).
- ✅ Cleaner and faster Android.
- ✅ Regular security updates.
Cons: Some Camera Functions (e.g, AI-Pro mode or Pro mode may work worse than stock MIUI.
What to do if the ad returns after the update
MIUI is known for resetting ad settings after updates, to avoid this:
- Before updating, back up the settings through Settings → Additional → Backup.
- After the update, don’t connect to the internet right away – first turn off ads via ADB or settings.
- Use AdGuard with the MIUI Ad Block filter enabled – it blocks the servers responsible for displaying banners.
If the adverts reappeared:
⚠️ Attention: Some updates MIUI (for example, transition MIUI 13 on MIUI 14) completely reset all the ad settings, in which case you will have to repeat the steps from Method 1 or Method 2.