Pop-ups on Xiaomi smartphones are both a useful tool and a source of irritation: on the one hand, they allow you to quickly receive important notifications from messengers, banking applications or online services. On the other hand, aggressive blocking of such windows in MIUI often interferes with the work with websites, games or specialized programs, especially since the MIUI 14/15 updates, where security policies have been tightened.
In this article, weโll look at all the ways to unlock pop-ups, from system settings to hidden developer settings, how to set up pop-ups for browsers (Chrome, Mi Browser), individual applications, and even system dialogs, and why windows sometimes donโt show up even after all the manipulations, and how to fix them.
Why is Xiaomi blocking pop-ups?
Xiaomi is actively fighting intrusive advertising and potentially dangerous activities in the background, and MIUI has several layers of protection:
- ๐ก๏ธ Security MIUI: Blocks suspicious pop-ups that may contain phishing or malicious code.
- ๐ Battery Optimization: Limits Background Application Activity, Including Notifications.
- ๐ Browser policy: built-in Mi Browser and Chrome block pop-ups on sites by default.
- ๐ฑ Application permissions: each application must request the right to display windows on top of other applications.
In addition, in China (where it is being developed) MIUI) There are strict rules to protect user data, and many of the restrictions are extended to global versions of firmware, such as the release of the software. MIUI 14 into 2023 In the year, additional control was introduced for applications requesting permission. SYSTEM_ALERT_WINDOW โ It is responsible for displaying windows on top of the interface.
Itโs important to understand that pop-up locking isnโt a bug, itโs a feature, but if you want certain windows to appear (like 1C, bank tokens, or online chats), youโll have to manually configure exceptions.
How to allow pop-up windows in the browser
The most common problem is blocking pop-ups on websites, and consider settings for two popular browsers on Xiaomi.
1. Built-in Mi Browser
By default, Mi Browser blocks all pop-ups. To change this:
- Open the Mi Browser and go to the โฎ โ Settings โ Additionally.
- Find the item "Pop-up windows" and switch the slider to the position "On".
- For individual sites, click on the icon ๐ address-bar โ "Site settings" โ "Pop-ups" โ select "Allowed".
Note that even after these actions, some sites may not show windows due to additional ad blocking scripts, in which case, try turning off read mode or saving traffic in your browser settings.
2. Google Chrome
In Chrome, setting up is a bit more complicated due to the integration with Android:
- Open Chrome and go to a site that needs pop-ups.
- Touch the icons โฎ โ Site settings โ Pop-ups and redirects.
- Select "Allow".
- For global resolution, go to Chrome Settings โ Site Settings โ Pop-ups and turn off lock.
If the windows still don't show up, check to see if the "Light" mode is on, which often blocks the scripts responsible for pop-ups.
โ๏ธ Check before setting up the browser
Allowing pop-up windows for applications
Many apps (e.g. Telegram, Viber, bank clients) use pop-ups for notifications or authorization to make them work correctly:
- Go to Settings โ Applications โ Application Management.
- Select the desired application (for example, SberBank Online).
- Touch "Permissions" โ "Additional authorizations".
- Find the item "Show on top of other applications" and turn it on.
- Go back and turn on "Stop" (if any).
Some applications (such as AliExpress or Wildberries) may require additional permission to display notifications. Check this in Settings โ Notifications โ Notifications โ Notification Management.
What to do if there is no โShow on top of other appsโ item?
Some apps (such as Zoom or Microsoft Teams) require not only pop-up permissions, but also battery optimisation exceptions:
- Go to Settings โ Battery and Performance โ Battery Consumption Management by Apps.
- Select the application and set "No restrictions".
Hidden settings: Developer mode and ADB
If standard methods do not work, you will need to use the developer mode or ADB-This is relevant to the team:
- ๐ฑ Apps that donโt ask for permission for pop-ups.
- ๐ง System dialogs (for example, for Tasker or Automation Apps).
- ๐ ๏ธ Debugging your own applications.
To enable the Developer Mode:
- Go to Settings. โ The phone.
- Click 7 times on the "MIUI version" (you are a developer!).
- Back to Settings โ Additionally. โ For developers.
- Enable โDebugging over USBโ and โAllow location simulationโ (the latter sometimes affects pop-ups).
For the compulsory granting of permission SYSTEM_ALERT_WINDOW through ADB:
- Connect your phone to your PC and execute the command: adb shell pm grant [application package] android.permission.SYSTEM_ALERT_WINDOW For example, for Telegram: adb shell pm grant org.telegram.messenger android.permission.SYSTEM_ALERT_WINDOW
- Reset the device.
๐ก
If you don't have an ADB PC, you can use the ADB AppControl app from the Play Market, which allows you to manage permissions directly from your phone, but requires root rights on some firmware.
Problems and Solutions: Why Windows Donโt Appear
Even after all the settings, pop-ups may not work, and let's look at the typical causes and ways to fix them:
| Problem. | Possible cause | Decision |
|---|---|---|
| Windows do not appear in the browser | Advertising Blocker (Integrated or Third Party) | Disable Mi Browser โ Settings โ Ad Blocker or add a site to exceptions |
| App doesn't ask for permission for pop-ups | An outdated version of the app | Update the app via Play Market or official website |
| The windows appear and disappear immediately. | Conflict with the "Do Not Disturb" regime | Check Settings โ Notifications โ Do not disturb and add the app to exceptions |
| Systemic dialogues are not displayed | MIUI Limitations for Non-System Applications | Use it. ADB-command for compulsory authorization (see section above) |
Banking applications (such as SberBank Online or Tinkoff) are particularly difficult to handle, and they often use pop-ups to confirm transactions via Push notifications or SMS.
- Make sure notifications and auto-start are included in the app.
- Check if they are blocked by an antivirus (such as Mi Security or Avast).
- Update the app to the latest version โ banks often change authorization mechanisms.
๐ก
If pop-ups are needed to work with corporate systems (1C, VPN, Remote access, contact us IT-You might need some firmware or some customization. MDM (Mobile Device Management).
Security: How to avoid damaging your phone
By allowing pop-ups, you increase your risk of fraud or malware.
- ๐ Allow pop-ups only for proven applications (banks, messengers, working tools).
- ๐ซ Never allow pop-ups on suspicious sites (especially those with โwin prizeโ or โyour phone is infectedโ suggestions").
- ๐ก๏ธ Regularly check the list of applications with permission SYSTEM_ALERT_WINDOW In Settings โ Annexes โ Permits โ Additionally. โ Showing on top of other applications.
- ๐ After using temporary pop-ups (for example, for online tests) revoke permissions.
โ ๏ธ Warning: Some viruses disguise themselves as system notifications. If you notice suspicious activity after pop-ups are allowed (advertising, redirects, quick battery drain), immediately follow up:
- Revoke permission. SYSTEM_ALERT_WINDOW for unknown applications.
- Scan your phone through Mi Security or Malwarebytes.
- If necessary, reset settings (Settings โ About phone โ Reset settings).
If youโre a developer and testing your own app, use a test device or sandbox (like the Xiaomi Sandbox).Donโt give permission for pop-ups for debugging versions of apps on your main phone.
Alternative ways to work with pop-up windows
If standard methods do not work, consider alternatives:
- ๐ Web versions of services: many sites (for example, VK, Ozone offers full-fledged web interfaces without pop-ups.
- ๐ฑ Specialized applications: official customers with biometric support (print/face) can be used for banking operations).
- ๐ฅ๏ธ Remote Access: If you need pop-ups to work, connect to your PC via TeamViewer or AnyDesk.
- ๐ค Automation: For chatbots or notifications, use Tasker + AutoNotification (requires customization).
Xiaomi Test Lab, which allows you to test pop-ups in an isolated environment, will be useful for developers, and if you are working with Android Auto or Mi Car, note that in these modes, most pop-ups are blocked at the system level.