Your Xiaomi Redmi Note 5's lock screen has become a billboard? Are you not alone, thousands of users are exposed to intrusive banners that appear when unlocking their phone. This is a problem common in Android-based MIUI firmware, where the manufacturer has integrated ad modules into system services. The good news is that you can get rid of intrusive advertising without root rights and complex manipulation.
In this article, we will discuss three working methods for removing ads from the lock screen, including hidden MIUI settings, disabling advertising services through ADB, and alternative solutions for those who are not afraid of experimentation. We will focus on the nuances of the Redmi Note 5 model (codename whyred), since some methods may not work on other Xiaomi devices, and you will learn why ads return after updates and how to avoid this.
Why does Redmi Note 5 have a lock screen ad?
The reason lies in the policy of monetization of MIUI. Since the version of MIUI 10, Xiaomi has been actively implementing advertising modules in system applications, including:
- π± Lock screen β banners appear when unlocked or swiped down.
- π Search String β Advertising in Search Results by System.
- π Explorer β offers of cloud services and applications.
- π οΈ Settings β sometimes advertising in the βRecommendationsβ section".
On the Redmi Note 5, ads are activated by default in regional firmware (for example, for Russia, India or the global version), while there is no advertising in the European firmware (MIUI EU) - it is removed by enthusiastic developers, and banners can appear after updates if Xiaomi has added new advertising mechanisms.
β οΈ Attention: Some "advice" on the Internet suggest disabling ads through resetting settings or installing custom firmware. This is not safe - reset will not remove advertising modules, and informal firmware may deprive you of warranties.
Method 1: Disabling Advertising through MIUI Settings (without root)
The easiest method is to use the built-in MIUI options, which is suitable for most users and does not require technical skills.
- Open the Settings. β Password and security.
- Go to the Lock Screen section.
- Click on Additional Settings (or Lock Screen Settings depending on the MIUI version).
- Find the Recommendation option on the lock screen and turn it off.
- Return to the basic settings and go to Settings β About Phone β MIUI version. Tap on the firmware version 7-10 times to activate the developer mode.
- Go back to Settings β More β Developer and find the option to Turn off MIUI ads (if any). Activate it.
If you do not have the option to disable MIUI ads, try an alternative way:
- π§ Go to Settings. β Annexes β Application management.
- π In the search, type in msa (this is a system application). MIUI System Ads).
- π« Click Disable or Stop (if the button is active).
There are no banners when unlocking|No advertising in the search bar|The msa app is disabled|Developer mode activated-->
This works on 60-70% of devices, but it doesn't guarantee 100% results. If you still have ads, move on to the next method.
Method 2: Disabling Advertising through ADB (Advanced Method)
If the system settings do not help, use ADB-Android Debug Bridge, which requires you to connect your phone to your computer, but you don't need root rights.
Steps to disable advertising:
- Download and install Platform Tools (includes adb).
- Activate Developer Mode (as in Method 1) and enable USB Debugging in the Developer Settings.
- Connect the Redmi Note 5 to your PC via USB-Cable (use the original cable for stability).
- Open the command line (Windows) or terminal (macOS/Linux) in the adb folder.
- Enter the command to check the connection: adb devices If the device is displayed, continue.
- Follow the commands alternately (copy and paste): adb shell pm hide com.miui.systemAdSolution adb shell pm hide com.xiaomi.msa.global adb shell pm hide com.miui.analytics
- Reboot the phone.
If the commands fail (hide failed), try the alternative:
adb shell pm uninstall --user 0 com.miui.systemAdSolution
adb shell pm uninstall --user 0 com.xiaomi.msa.globalβ οΈ Note: Pm hide and pm uninstall commands --user 0 They only work on the current user, and after you reset your settings or update your firmware, the ad can come back.
What if the ADB canβt see the device?
Method 3: Installation of an alternative launcher (bypass)
If previous methods didn't work, you can trick the system into installing a third-party launcher that would intercept the lock screen, which doesn't remove the ads completely, but makes them invisible to the user.
The best options for the Redmi Note 5 are:
- π Nova Launcher β supports customization of the lock screen through plugins.
- π Microsoft Launcher β has built-in ad blocking on some devices.
- π± Smart Launcher 5 β automatically hides system banners.
Instructions:
- Download the selected launcher from Google Play.
- Set it as the default launcher (the system will offer a choice when you first start).
- For Nova Launcher, install the Nova Lockscreen plugin (a premium version is required).
- Set up the lock screen through the launcher menu by disabling the display of system notifications.
Important: This method does not remove the ad modules from the system, but only masks them. After returning to the standard MIUI launcher, banners can appear again.
Disabled through settings MIUI|Used. ADB-team|Set up a third-party launcher|I tried everything, but nothing helped.|I haven't tried it yet.-->
What if the ads come back after the updates?
Xiaomi regularly updates the advertising mechanisms in MIUI, so after installing new versions of the firmware banners can appear again.
| Problem. | Decision | Note |
|---|---|---|
| Advertising returns after update | Repeat the shutdown via ADB or settings | Use the commands from Method 2 |
| New banners in the search bar | Turn off MIUI Search in Application Settings | Install Google Widget instead of System Search |
| Advertising in a conductor | Use Solid Explorer or FX File Manager | Third-party file managers do not display ads |
| Banners in settings | Install MIUI EU firmware (requires unlocking the bootloader) | Unofficial firmware may deprive of guarantees |
If you often experience ad returns, consider turning off automatic updates:
- Go to Settings β About the phone β System update.
- Click on the icon. βοΈ (settings) in upper right corner.
- Turn off the option of Automatic download via Wi-Fi.
- Choose Never Check for Updates (if available).
π‘
Before updating your firmware, back up through Settings β Additional β Backup and Reset. This will allow you to quickly restore the settings after resetting the ad modules.
Myths and Dangerous Advice: What Not to Do
There are dozens of "advertising tips" online that not only don't work, but can also harm your device.
- π« "Resetting to factory settings will remove ads" β No, reset will return all system applications, including ad modules.
- π§ "You need to get root rights and delete system files" - This is risky: you can damage the firmware and lose the warranty.
- π± "Install custom firmware is the only way out" - Unofficial firmware can contain errors and vulnerabilities.
- π‘οΈ "Antiviruses block advertising MIUI" β No, ads are built into the system, antiviruses don't see it.
Avoid tips on editing build.prop files or using applications like LADB without understanding the consequences. Incorrect changes can lead to bootloop or loss of functionality.
π‘
The safest way is to combine disabling ads through settings MIUI use ADB-It does not require root rights and does not violate the guarantee.
Alternative solutions: if nothing has worked
If all of these methods fail, radical but effective options remain:
- Installation of firmware MIUI EU: It's an unofficial version. MIUI, It's free of advertising and Chinese services, and you'll need to unlock the bootloader to install it (the official process from Xiaomi. β οΈ Warning: Unlocking the bootloader resets all data and can void warranty. On the Redmi Note 5, the process takes up to 360 hours of latency (by Xiaomi rules).
- Use of the VPN Ad-blocking: Some of the VPN-Services (e.g. AdGuard) VPN Blokada or Blokada blocks ad domains at the level DNS. This will not remove banners completely, but will reduce their number.
- Switch to a different smartphone: If ads are critically intrusive and the ways to remove them seem too complicated, consider switching to a device with a βcleanβ Android (like Google Pixel or Motorola).
There is also a Disable MIUI Ads wizard for the Redmi Note 5, but it requires Magisk and root rights, and installing it may disrupt some features (such as Google Pay or banking apps).