How to permanently remove floating windows on Xiaomi phone: from ads to system notifications

The pop-ups on Xiaomi smartphones are one of the most annoying features of MIUI firmware, which can interfere with work, games or viewing content. These floating banners appear on top of all applications: ads from Mi Browser, notifications of new features, offers to update software or connect Mi Account services. In some cases, they even block part of the screen, requiring mandatory interaction.

Complicating the problem, the latest versions of MIUI (14-15) have hidden some of the settings behind several menu levels, and some windows (such as system security notifications) are only disabled through ADB or third-party utilities. In this article, we will discuss all the current ways from basic settings to advanced methods for power users, including working with application rights and modifying system files.

1. Disable ads and floating banners in MIUI

The main source of annoying pop-ups on Xiaomi is built-in advertising in system applications (Mi Browser, Mi Video, Security) and services (Mi Account, GetApps). Fortunately, most of it can be turned off through standard settings, but the paths to them differ depending on the firmware version.

Starting with MIUI 12.5, the company has gradually removed advertising for European regions, but in global and Chinese versions of firmware, it remains.

  • ๐Ÿ“ฑ Mi Browser: Open your browser โ†’ โ‹ฎ โ†’ Settings โ†’ Additionally. โ†’ Advertising โ†’ Turn off all the switches. In some versions, the path may look like Settings. โ†’ Confidentiality โ†’ Personalized advertising.
  • ๐Ÿ›ก๏ธ Security (Security): Go to Settings โ†’ Annexes โ†’ Application management โ†’ Security โ†’ Notifications โ†’ Turn off the notifications display.
  • ๐Ÿ“ฆ GetApps (Mi App Store): Go to the App Store โ†’ Profile โ†’ Settings โ†’ Promotional notices โ†’ Deactivate all options.
  • ๐Ÿ”„ System Notifications: Settings โ†’ Notifications โ†’ Additionally. โ†’ Recommendations of the system โ†’ turn off the slider.

If you continue to see ads after these actions, check the device's regional settings, sometimes by switching from region to European Union (EEA):

  1. Open the Settings. โ†’ The phone.
  2. Tap 5-7 times on the MIUI version until the developer mode notification appears.
  3. Go back to Settings โ†’ More โ†’ Region and select European Union.
  4. Reset the device.
๐Ÿ“Š What version? MIUI you have installed?
MIUI 12 or older
MIUI 13
MIUI 14
MIUI 15
I don't know.

2. Block notifications from specific applications

Floating windows are often generated not only by system services, but also by third-party applications (social networks, instant messengers, games). MIUI has a separate menu to manage notifications for each application, but it is hidden deeper than in other firmware.

To disable pop-up notifications for a specific application:

  • ๐Ÿ” Go to Settings. โ†’ Annexes โ†’ Application management.
  • ๐Ÿ“Œ Select the app you want (like Facebook or Wildberries).
  • ๐Ÿ”” Slip on the Notification item.
  • โš™๏ธ Turn off the switches Show notifications and pop-ups (if any).
  • ๐Ÿšซ To block completely, click Notification Categories and deactivate all available types.

Please note that some applications (such as banking or instant messengers) may stop working correctly after disabling notifications, in which case it is recommended to leave basic notifications, but to prevent pop-ups:

โš ๏ธ Note: Disabling notifications for Google Play Services or Mi Account may cause sync services to fail. If errors occur after the changes, return the settings back.

โ˜‘๏ธ Checking the notification lock

Done: 0 / 5

3.Use of Do Not Disturb mode for global shutdown

If floating windows are too frequent and disruptive, you can use Do Not Disturb (DND) mode, which works more efficiently in MIUI than in standard Android, as it blocks not only sounds, but also visual notifications.

It can be activated in two ways:

MethodInstructionsLimitations
Quick accessSwipe down from the top edge of the screen โ†’ find the Do Not Disturb icon โ†’ tap for activation.Blocks all notifications, including important ones.
SettingsSettings โ†’ Notifications โ†’ Do not disturb โ†’ set up a schedule or turn it on manually.You can set exceptions for individual contacts.
Voice assistantSay, OK, Google. โ†’ "Turn on the mode without disturbing".It requires an active connection to the Internet.

For more flexible settings:

  1. Go to Settings โ†’ Notifications โ†’ Do not disturb โ†’ Rules.
  2. Select Set up rules โ†’ Add a rule.
  3. Specify applications that can be excluded from the lock (for example, WhatsApp or Phone).
  4. Save the settings.

Do Not Disturb is especially useful when playing games or watching videos, when floating windows can interrupt the process. However, remember that in this mode you will not receive important notifications (calls, SMS, alarms).

๐Ÿ’ก

If you need to temporarily turn off all notifications, hold the volume button for 3 seconds - this quickly activates the "Do Not Disturb" mode.

4. disable system floating windows via ADB (for power users)

Some pop-ups (such as security notifications, suggestions to update software, or connect Mi Cloud) donโ€™t turn off through standard settings, and Android Debug Bridge (ADB), a low-level device management tool, will help.

Before proceeding, make sure that:

  • ๐Ÿ”ง Developer Mode is enabled on the phone (Settings) โ†’ The phone. โ†’ Version. MIUI โ†’ tap 7 times).
  • ๐Ÿ–ฅ๏ธ The computer has Xiaomi drivers installed and ADB (You can download from the official website of Android Developers).
  • ๐Ÿ”Œ Phone connected to PC by PC USB with debugging on USB.

Next, execute the following commands in the terminal (command line):

adb shell pm disable-user --user 0 com.miui.systemAdSolution


adb shell pm disable-user --user 0 com.xiaomi.mipicks




adb shell pm disable-user --user 0 com.miui.weather2




adb shell pm disable-user --user 0 com.miui.analytics

These commands are off:

  • ๐Ÿ“ข System Advertising Modules (com.miui.systemAdSolution).
  • ๐Ÿ›’ Application Recommendation Service (com.xiaomi.mipicks).
  • โ˜๏ธ Unnecessary weather notifications (com.miui.weather2).
  • ๐Ÿ“Š Analytics collection (com.miui.analytics).

โš ๏ธ Attention: Misuse of the right ADB Before executing commands, back up your data. If you have errors after you turn off the services, return them with the command: adb shell pm enable com.name.packet

What if the ADB does not recognize the device?
1. Check if debugging is included on USB 2. Install the latest version of Xiaomi drivers from the official website. 3. Try using another one. USB-cable (original). 4 Restart your phone and computer. 5 If the problem persists, try connecting via Wi-Fi. ADB (It is included in the developer settings).

5. Removal of embedded applications without root rights

Many floating windows are generated by pre-installed applications (Mi Browser, Mi Video, GetApps) that cannot be removed by standard means, but can be deactivated or removed via ADB without obtaining root rights.

List of safe to remove system applications (do not affect the stability of the work):

AnnexPacket nameDelete command
Mi Browsercom.android.browseradb shell pm uninstall -k --user 0 com.android.browser
Mi Videocom.miui.videoplayeradb shell pm uninstall -k --user 0 com.miui.videoplayer
GetApps (Mi App Store)com.xiaomi.mipicksadb shell pm uninstall -k --user 0 com.xiaomi.mipicks
Mi Musiccom.miui.playeradb shell pm uninstall -k --user 0 com.miui.player

Important: Removing system applications is irreversible (before settings are reset). If you are not sure, it is best to deactivate them first through Settings โ†’ Applications โ†’ Application Management โ†’ Disable.

After removing unnecessary applications, the number of floating windows will decrease by 70-80%, and the remaining 20% are usually associated with system services, which can only be disabled through firmware modification (requires unlocking the bootloader and installing custom recovery).

๐Ÿ’ก

Deleting system applications through ADB is safer than root, as it does not affect the system partition. However, make sure to back up the data before executing commands.

6. Alternative methods: third-party utilities and custom firmware

If the standard methods didn't work, you could use third-party tools or you could switch to custom firmware. Let's look at both.

Third-party utilities for blocking pop-up windows

Google Play has apps that can block floating windows at the system level.

  • ๐Ÿ›ก๏ธ App Ops โ€“ allows you to disable individual permissions for applications, including displaying over other windows (SYSTEM_ALERT_WINDOW).
  • ๐Ÿšซ Disable Service โ€“ Deactivates system services responsible for advertising.
  • ๐Ÿ” Xiaomi ADB/Fastboot Tools โ€“ a utility for PC that automates disabling advertising through ADB.

Example of App Ops:

  1. Install the app from Google Play.
  2. Grant him the rights through ADB (the instructions are in the description of the application).
  3. Find the MiuiSystemAdSolution or SecurityCenter list.
  4. Turn off permission to Overlay windows on top of other applications.

Transition to custom firmware

If youโ€™re ready for radical measures, installing custom firmware (like LineageOS or Pixel Experience) will completely solve the problem of floating windows. MIUI.

Cons of the method:

  • โš ๏ธ Requires unlocking the bootloader (resets all data).
  • โš ๏ธ Possible problems with the camera or sensors (depending on the model).
  • โš ๏ธ Loss of official guarantee.

If you decide to do this, follow the official instructions on the XDA Developers forum for your Xiaomi model.

7. Frequent mistakes and how to avoid them

When you try to remove floating windows, users often face typical problems.

  • ๐Ÿ”„ "After the notifications stopped coming SMS" โ†’ Check if you have disabled notifications for the Messages app. Return settings to Settings โ†’ Annexes โ†’ Communications โ†’ Notifications.
  • ๐Ÿ”ง "ADB can't see the device" โ†’ Make sure that the debugging is enabled USB And you have the right drivers installed. Try another cable or port. USB.
  • ๐Ÿ“ฑ "After the removal of Mi Browser stopped opening links" โ†’ Install another browser (like Chrome) and make it your default browser.
  • โšก "The phone began to slow down after disconnecting system services" โ†’ Return disabled packets via adb shell pm enable or reset settings.

If after all the manipulations floating windows continue to appear, check:

  1. Is the firmware updated to the latest version (sometimes new versions of MIUI return disabled settings).
  2. Have any viruses or suspicious apps installed (check out Google Play Protect or Malwarebytes).
  3. Whether โ€œspecial rightsโ€ are activated for any applications in Settings โ†’ Applications โ†’ Special Access โ†’ Showing over other windows.

FAQ: Answers to Frequent Questions

โ“ Why After Resetting, Floating Windows Reappeared?
When reset, all system applications and services return to their original state, including notification settings. To avoid this, before reset: Back up the list of applications disabled (you can take a picture of the screen). Save ADB commands in a text file. After reset, repeat all the steps from this article.
โ“ Can I turn off the floating windows without a computer?
Yes, but the options will be limited. Without ADB, you can: Disable notifications for individual applications. Use Do Not Disturb mode. Deactivate system applications through Settings โ†’ Applications (not all).
โ“ Why some Xiaomi models donโ€™t have a โ€œAdvertising Noticeโ€ clause"?
It depends on the MIUI version and the firmware region. In the European versions (EEA), many ad modules are disabled by default. If there is no item: Try changing region to European Union (as described in the first section). Update firmware to the latest version. Use ADB to disable ad packages.
โ“ Is it safe to remove system applications through ADB?
Removing most applications from this guide is safe as they are not critical to the system. However: Do not delete packages called com.android or com.qualcomm - this can make the phone out of order. Before removing, check the name of the package on forums (such as XDA). Use the command pm uninstall -k (saves application data), not pm uninstall.
โ“ How to return disabled notifications if something goes wrong?
If important functions have stopped working after disabling notifications, you can restore settings as follows: For system applications: adb shell pm enable name.packet. For regular applications: Settings โ†’ Applications โ†’ Select application โ†’ Notifications โ†’ Enable. If you do not remember what you disabled, reset settings (Settings โ†’ Additional โ†’ Reset).