How to permanently remove ads from Xiaomi Redmi 5: from system banners to push notifications

Xiaomi Redmi 5 is one of the most popular budget smartphones of 2018, but its owners often face annoying advertising in MIUI. Banners in settings, push notifications from system applications, advertising in the β€œSecurity” menu – all this spoils the experience of use. Unlike new models where advertising can be turned off through standard settings, Redmi 5 with MIUI 9-11 firmware requires additional manipulation.

In this article, we will discuss 7 proven ways – from simple (disable personalization) to radical (install custom firmware). Particular attention will be paid to hidden MIUI settings, which Xiaomi does not advertise, but which allow you to block ads at the system level without root rights.

Important: Methods differ for different firmware regions (Global, China, EEA). We'll show you which ones work universally and where you'll need more customization. 10-15 Time to get rid of advertising forever – read more.

1. disable personalized advertising in MIUI settings

The safest and fastest way is to deactivate personalized recommendations, which won't take away all ads, but will reduce the number of banners targeted by 60-70%, and works on all versions of MIUI 9-12 without root rights.

Instructions:

  • πŸ“± Open the Settings. β†’ Xiaomi account (if not authorized – log in or skip step).
  • πŸ” Go to Mi Account. β†’ Account settings β†’ Personalization of recommendations.
  • 🚫 Disable sliders: Personalized recommendations (main source of advertising) Interest-based advertising (responsible for banners in system applications) Usage analysis (collects data for targeting)
  • πŸ”„ Restart the phone – changes will apply after the reboot.

⚠️ Attention: On firmware MIUI China may call this section otherwise - Advertising Settings (). If there is no item, then your version MIUI It's heavily stripped down (often found on grey smartphones). β„–2.

Personalized recommendations|Interest-based advertising|Analysis of use|Notifications from Mi Video-->

2. Block advertising through the hidden menu MSA (Mobile Services Ads)

MSA (Mobile Services Ads) is Xiaomi’s system service responsible for displaying ads in MIUI. In newer versions of the firmware, it can be disabled through standard settings, but Redmi 5 requires hidden code.

How to get into the MSA menu:

  1. Open the phone (calling) application.
  2. Enter the combination: ##6776## (some firmware runs ##284##).
  3. The MSA Settings menu will appear – select Advertising.
  4. Turn off all sliders, especially: πŸ“’ Personalized ad recommendations πŸ”— Advertising ID (Reset it through the Reset button)

If the code doesn’t work, try an alternative method:

  • πŸ› οΈ Install Miui Hidden Settings from Play Market.
  • πŸ”§ Run it and find the section. MSA β†’ Advertising.
  • 🚫 Deactivate all options related to advertising.
What if the MSA menu doesn’t open?
If the hidden menu is not opened either through code or through third-party applications, then your firmware is heavily modified (often found on "custom" builds from resellers). In this case, two options remain: 1. Install the official firmware through the Mi Flash Tool (instructions in the section β„–2. Use of the ADB-team (mode) β„–3).

3. Removal of Advertising through ADB (no root rights)

If standard methods don't work, you can block ad packages through Android Debug Bridge (ADB), which doesn't require root rights, but requires a computer and 10 minutes of time, and is 90% effective in eliminating ads.

Step-by-step:

  1. πŸ’» Install. ADB Tools on PC.
  2. πŸ“± On your phone, activate Developer Mode: Go to Settings β†’ About the phone. 7 times tap the version. MIUI. Back to Settings β†’ Additionally. β†’ For developers, turn on the debugging. USB.

πŸ”Œ Connect your phone to your PC and execute it in the command line (terminal:

adb devices

(Serial number device should appear)

adb shell pm uninstall --user 0 com.miui.systemAdSolution
adb shell pm uninstall --user 0 com.xiaomi.midrop
adb shell pm disable-user --user 0 com.android.browser

These commands remove/disable:

  • 🧹 System Advertising Module (com.miui.systemAdSolution)
  • πŸ“€ Mi Drop (often shows ads when transferring files)
  • 🌐 Standard browser (replaced with Chrome or other browser)

⚠️ Warning: After completing commands, do not update system applications through the Play Market - this may return ads. APK separately from APKMirror.

1. Create a text file with the.bat extension.

2. Insert the lines from the instructions above.

3. Launch on behalf of the administrator when advertising appears.-->

4. Removal of advertising applications manually

Some Xiaomi system apps can’t be removed by standard means, but they can be disabled or removed through settings. Here’s a list of the most β€œadvertising” apps on Redmi 5:

AnnexPackageType of advertisementCan I remove it?
Mi Videocom.miui.videoBanners in the player, push notificationsYes (via ADB or rut)
Mi Musiccom.miui.playerAdvertising between tracksYes.
Cleanercom.miui.cleanmasterBanners on the cleaning menuNo (only turn off)
Browsercom.android.browserPop-ups, advertising in bookmarksYes.
Mi Paycom.miui.mipayPush notifications with sharesYes.

How to delete:

  1. πŸ”§ Go to Settings. β†’ Annexes β†’ Application management.
  2. πŸ” Find the right app (e.g. Mi Video).
  3. πŸ—‘οΈ Click Remove (if the button is active) or Disable.
  4. πŸ”„ Reboot the phone.

If the Remove button is inactive, use ADB-method β„–3 or install an alternative launcher (like Nova Launcher) that hides system applications.

Mi Video|Cleaner|Browser|Mi Music|Other-->

5. Use of alternative firmware (for advanced ones)

If you're annoyed not only by advertising, but also by the built-in MIUI software, you can install custom firmware. Redmi 5 (codename rosy) is available:

  • πŸ”„ LineageOS – pure Android without advertising and unnecessary applications.
  • πŸ”§ Pixel Experience – firmware with interface from Google Pixel.
  • πŸ“± Havoc-OS – customizable firmware with many functions.
  • πŸš€ MIUI Pro - modified MIUI Advertising-free (from the community).

⚠️ Attention: Installing custom firmware resets all data and requires unlocking the bootloader. 5 You can do this officially through the Mi Unlock Tool, but you will have to wait. 72-168 (depending on the policy of Xiaomi).

Instructions:

  1. πŸ”“ Unlock the bootloader through the Mi Unlock Tool.
  2. πŸ“₯ Download firmware (for example, LineageOS for rosy).
  3. πŸ”§ Set it through TWRP Recovery (instructions for installation here).
  4. πŸ”„ Reboot – the system will be without ads and bloatware.

πŸ’‘

Custom firmware removes ads completely, but requires unlocking the bootloader and technical skills. If you're not sure, use methods 1-4.

6.Reset to factory settings with official firmware

If the ad appears after updating or installing third-party apps, clean installation of the official firmware will help, which will return the phone to the factory state, but delete all data (do backup!).

How to Switch Redmi 5 to Mi Flash Tool

  1. πŸ“₯ Download the latest stable firmware for rosy from the official website (choose Global or EEA).
  2. πŸ’Ύ Unpack. ZIP-file-back.
  3. πŸ“± Turn off the phone and press the volume down. + Meals to enter the Fastboot.
  4. πŸ’» Connect your phone to your PC and start the Mi Flash Tool.
  5. πŸ” Specify the path to the unpacked firmware and press Refresh (the device should be determined).
  6. πŸ”„ Select Clean All (full reset) and press Flash.

After the reboot:

  • 🚫 Turn off personalization (method) immediately β„–1).
  • πŸ”§ Remove unnecessary system applications (method) β„–4).
  • πŸ›‘οΈ Install an ad blocker (method) β„–7).

⚠️ Note: Firmware through Fastboot resets IMEI module data NFC (If you have, check the firmware after you've done it. IMEI *#06# If he's dropped, reset through SN Writer Tool (instructions are available on the 4PDA).

7. Ad blockers (for remaining banners)

Even after all the manipulation, some of the ads can seep through third-party apps or websites, in which case specialized blockers will help:

  • πŸ›‘οΈ Blokada – Blocks Advertising at Level DNS (No need to root. Download: official website.
  • πŸ”’ AdGuard filters traffic and removes banners in the browser. There is a free version.
  • 🌐 Brave Browser – a browser with built-in ad blocking (replacement of the standard one).
  • πŸ“± DNS66 β€” Open source software to block advertising domains (requires settings).

Blokada setting:

  1. πŸ“₯ Install the application and launch it.
  2. πŸ”„ Activate the lock (permission to do so is required) VPN).
  3. βš™οΈ In the settings, select filter lists: EasyList (basic lock), EasyPrivacy (protection against trackers) Xiaomi Ad Blocklist (specific for the user). MIUI)

πŸ”’ Add to the whitelist applications that need the internet (e.g. banking).

⚠️ Attention: Blockers based on VPN They may conflict with banking applications (Sberbank, Tinkoff, etc.) Add such applications to exceptions before using them or disable the blocker when working with finances.

FAQ: Frequent questions about removing ads on Redmi 5

❓ Why Ads Are Still Showing After Personalization Is Disabled?
On the firmware MIUI China and some "castom" builds are sewn into the ad. Try: Use ADB-team (mode) β„–3). Install an ad blocker (method) β„–7). Scroll down the official Global/EEA version MIUI (method β„–6).
❓ Can I remove ads without a computer?
Yes, but the efficiency will be lower. Use: Disable personalization (method) β„–Manual removal of advertising applications (method) β„–Installation of the Blokada blocker (method) β„–7.To completely remove ads without a PC will require root (but it is risky on older devices).
❓ Will the advertisements return after the update? MIUI?
Yes, in part. With major updates (e.g., with a MIUI 10 β†’ MIUI 11) some settings are reset: πŸ“΅ Turn off automatic updates in Settings β†’ The phone. β†’ Updating the system. πŸ”§ After manual update, re-execute the method β„–1 and β„–3. πŸ›‘οΈ Use an ad blocker (e.g. AdGuard).
❓ How to remove ads from the Security menu)?
Advertising in the Security app (com.miui.securitycenter) is removed only through: ADB: adb shell pm uninstall --user 0 com.miui.analytics adb shell pm uninstall --user 0 com.miui.systemAdSolution or custom firmware installation (method) β„–5). Normal disabling of the Security app is not recommended – it can disrupt the system.
❓ Why did Mi Video stop working in the gallery after the removal?
Mi Video app integrated into gallery MIUI. After his removal: 🎬 Install an alternative player (for example, VLC or MX Player). πŸ“‚ Videos in the gallery will be opened through the app you choose. πŸ”„ If you want to return standard viewing, reinstall Mi Video from APKMirror (but ads can come back).