How to permanently disable ads on the lock screen Xiaomi Redmi Note 7

Advertising on the lock screen Xiaomi Redmi Note 7 β€” one of the most annoying β€œchips” of the firmware MIUI. Even after buying a smartphone, users are faced with intrusive banners that not only spoil the appearance, but also slow the unlocking of the device by 0.3-0.8 seconds due to the download of advertising content. In this article, we will analyze all the current ways to remove advertising β€” from standard settings to advanced methods using ADB and modified firmware.

Many people mistakenly believe that advertising can only be turned off through the Internet. ROOT-Purchase or purchase of a premium version MIUI. In fact, there are legal methods that work even on stock firmware, and the main thing is to understand that the ads on the block are due to Xiaomi services such as msa (Mobile Service Ads) and Mi Browser, which deactivate or restrict the rights of the banners permanently get rid of banners.

Before you start settings, make sure your Redmi Note 7 runs on the current MIUI (MIUI 12.5+ or HyperOS is recommended). On older versions, some methods may not work due to changes in Xiaomi's ad mounting policy. Also check if third-party launchers are installed on the device - they sometimes duplicate banner ads on top of the system ones.

πŸ“Š How often do you get annoyed by ads on the lock screen?
All the time, it's unbearable.
Sometimes, but I do.
There is no advertising or it does not interfere
Ignoring.

1. Disabling Advertising through the standard MIUI settings

The easiest way to remove ads is to use the built-in MIUI options. However, Xiaomi regularly changes the location of these settings, so the instructions may vary depending on the firmware version. On the Redmi Note 7 with MIUI 12-14, the path looks like this:

Go to Settings β†’ Lock screen β†’ Additional settings. Here you need to disable two key settings:

  • πŸ”΄ Recommendations – this item is responsible for banners with applications and promotions.
  • πŸ“’ Receive recommendations – the option includes personalized advertising based on your activity.

If these items are not available, try an alternative path: Settings β†’ Applications β†’ Application Management β†’ Three dots (menu) β†’ Show all apps. In the list, find msa (Mobile Service Ads) and turn off the permission to Show on top of other windows. This will block the display of banner ads on the lock screen.

Important: Reboot your device after the ad is turned off, and in some cases, the banners do not disappear immediately, but after 10-15 minutes due to data caching.

πŸ’‘

If after the shutdown, the ads continue to appear, clear the msa app cache in the application settings. This will reset the temporary data and speed up the application of changes.

2. deactivation of advertising services through ADB (without ROOT)

If the standard settings do not help, you can use ADB (Android Debug Bridge is a tool for debugging Android devices. ROOT-right, but will require a smartphone to be connected to a computer.

First, turn on Developer Mode on Redmi Note 7:

  1. Go to Settings. β†’ The phone.
  2. Click on MIUI Version 7 times until the notification β€œYou are a developer!” appears.
  3. Return to Settings β†’ Additional β†’ For developers and activate Debugging over USB.

Now connect the phone to the PC, install it. ADB-Drivers and execute the following commands in the terminal (or Command Prompt):

adb shell pm hide com.miui.systemAdSolution


adb shell pm hide com.xiaomi.msa.global

These commands hide MIUI ad modules, but they don't remove them completely, and if the ad comes back after the firmware update, you'll have to repeat the procedure.

Install ADB drivers on PC|Enable debugging over USB on your smartphone |Download platform-tools from Android Studio |Connect your phone with the original cable |Allow debugging on your smartphone screen-->

3. Use of third-party utilities (without ROOT)

For users who don't want to mess with ADB, there are specialized apps, and one of the most effective is AdGuard or Blokada, which block ads at the DNS level, allowing you to remove banners even on the lock screen.

Install AdGuard from the official site (not from Google Play, as there is a limited version) and follow the following steps:

  • πŸ›‘οΈ Activate the Filtration module DNSΒ».
  • πŸ”— Select the AdGuard server DNS or NextDNS.
  • πŸ”„ Restart the device to apply changes.

The advantage of this method is that it blocks not only ads on the block, but also banners in apps, browsers and even YouTube, but some MIUI system notifications may continue to appear because they are integrated at the firmware level.

What if AdGuard doesn’t block ads?
If you have left ads after installing AdGuard, check: 1. App permissions – AdGuard should have access to a VPN. 2. Active filter – in the settings, select AdGuard Base filter + AdGuard Mobile Ads filter. 3. Conflicts with other VPNs – disable other applications using the VPN (for example, 1.1.1.1 or NordVPN). 4. Base update – manually update the filters in the Filters section of the application.

4. Installation of custom firmware (for experienced users)

If none of these methods work, then the radical solution is to install custom firmware, like LineageOS or Pixel Experience, which completely removes all ad modules. MIUI, require the unblocking of the loader and ROOT-rights.

⚠️

Attention! Installing custom firmware will void Xiaomi's warranty and may cause the device to run unstable.Be sure to back up your data via TWRP Recovery before the procedure.

The installation process includes several stages:

  1. Unlock the bootloader through the official Xiaomi tool.
  2. Installation of TWRP Recovery for Redmi Note 7 (model lavender).
  3. Firmware custom software through TWRP.

After installing custom firmware, there will be no lock on the screen, but you will lose some branded MIUI features, such as Second Space or Game Turbo.

MethodDifficultyNeed a ROOT?EfficiencyRisks.
Standard settings of MIUI⭐❌ No.Medium (50-70%)Advertising may return after update
ADB-team⭐⭐❌ No.High (80-90%)Requires PC and debugging over USB
AdGuard/Blokada⭐❌ No.High (70–85%)Can conflict with VPN
Custom firmwareβ­β­β­β­βœ… Yes.Absolute (100%)Loss of warranty, risk of "bricking"

5. Alternative methods: launchers and themes

If you don’t want to interfere with system settings, you can try to get around the problem with third-party launchers or design themes, for example, the launcher Nova Launcher allows you to hide advertising widgets on the home screen, but does not affect the lock screen.

A more effective method is to install themes without ads from the Mi Theme Store, where some themes (such as "Pure Black" or "Minimal UI") block banners from displaying on the block, to find them:

  • 🎨 Open Topics β†’ Online topics.
  • πŸ” Type in No Ads or Clean Lockscreen.
  • πŸ“₯ Set up your favorite topic and apply it.

Note: Xiaomi periodically removes such themes from the store, so this method does not guarantee a long-term result.

πŸ’‘

Standard settings MIUI and ADB-Teams are the safest ways to remove ads. Castom firmware is 100% effective, but only for advanced users.

6. Frequent errors and their solutions

Many users have trouble trying to remove ads, and here are the most common mistakes and ways to fix them:

Error 1: After disabling msa via ADB, the advert returns after a few days.

⚠️ Attention! This is due to automatic service updates. MIUI. To prevent ad returns, disable auto-update for the msa app in Settings β†’ Annexes β†’ msa β†’ Three points. β†’ Disable updates.

Error 2: When installing custom firmware, the phone stops loading ("brick").

Solution: Use only firmware compatible with the Redmi Note 7 (lavender) model. Before you run the firmware, check the hash amount (MD5) of the downloaded file and follow the instructions from the XDA-Developers forum.

Error 3: AdGuard blocks not only ads, but also system notifications.

Solution: In AdGuard settings, add the domains api.miui.com and sdkconfig.ad.xiaomi.com to the whitelist to keep the core MIUI features running.

FAQ: Frequent questions about removing ads on Redmi Note 7

Can you remove ads forever without ROOT?
Yes, but only a combination of methods: disabling msa via ADB + using AdGuard + regular cache cleaning.No method gives a 100% guarantee forever, as Xiaomi periodically updates advertising mechanisms.
Why did the ads reappear after the reset?
Reset to factory settings returns all system applications, including msa. After reset, you must repeat all the steps to disable advertising (MIUI settings, ADB, AdGuard installation).
Will the ADB work on HyperOS?
On HyperOS (the new firmware from Xiaomi), ADB teams may not work because the system application structure has changed. HyperOS is relevant to methods using AdGuard or custom firmware.
Can I return the ads if you need them for discounts in the Mi Store?
Yes, it is enough to turn back the services of msa via ADB: adb shell pm unhide com.miui.systemAdSolution adb shell pm unhide com.xiaomi.msa.global Or activate the option β€œReceive recommendations” in the lock screen settings.
Is Xiaomi really going to take down ads in new versions of MIUI?
In 2023, Xiaomi announced that it would cut MIUI ads for European devices due to GDPR requirements. However, on the Redmi Note 7 (released in 2019), these changes do not apply.