How to get Xiaomi to open links in apps, not in the browser: all the ways

You clicked on a link in your messenger or email, and instead of the expected application (YouTube, Telegram, VK) opened the Xiaomi browser with the web version of the site? This is a typical problem of users of Redmi, POCO and Xiaomi smartphones on MIUI or HyperOS. The reason lies in the system settings, which by default forcefully redirect traffic to Mi Browser or Google Chrome.

In this article, weโ€™ll cover all the working methods to fix link behavior, from basic Android settings to hidden MIUI settings to even commands for power users. Weโ€™ll look at why, how to set up opening in the right apps (including TikTok, Instagram, banking programs), and what to do if settings are reset after the update. Instructions are relevant for Xiaomi 13/14, Redmi Note 12/13, POCO F5/X5 and other models on MIUI 14/15 and HyperOS 1.0.

The problem is related to three key factors:

  • ๐Ÿ”น Politics MIUI/HyperOS: By default, the system uses Mi Browser to handle everything. HTTP/HTTPS-links, even if the app is installed (for example, Twitter or 2GIS: This is done to collect data and advertise.
  • ๐Ÿ”น Application conflict: if multiple browsers are installed on the phone (Chrome, Mi Browser, Firefox), Android can get lost in choosing the default handler.
  • ๐Ÿ”น Cache errors: after updating MIUI or installing new applications, the Android System WebView cache is reset, leading to improper link routing.

For example, when you click on a vk.com link on Telegram, the system first checks whether there is a VKontakte app, but because of the settings, MIUI ignores it and opens Mi Browser, similar to YouTube, Google Maps and other services.

๐Ÿ“Š Which app you most often open in your browser instead of the native version?
YouTube
VK/OK
Instagram
TikTok
Banking appendix
Other

Important: On some firmware (especially Chinese or custom) the problem may be due to the lack of Android System WebView component or its outdated version. Check this in Settings โ†’ Apps โ†’ All Apps โ†’ Android System WebView.

The easiest way is to manually specify which application should open specific types of links, via the Open Supported Links menu:

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Select the app that should open the links (like YouTube or VK).
  3. Tap on the "Open by default" item (or "Open supported links" in HyperOS).
  4. Turn on the "Open Supported Links" switch and select "Open in this app."

If there is no "Open by default" option, then the application does not support deep links (for example, some banking programs), in which case Method 3 will help.

โ˜‘๏ธ Checking the settings of the link processor

Done: 0 / 5

โš ๏ธ Note: After resetting settings or updating MIUI To fix the changes, reboot your phone and check the link behavior again.

Method 2: Disabling the Forced Use of Mi Browser

MIUI/HyperOS aggressively promotes its browser, even if you're not using it, to fix this:

  1. Go to Settings โ†’ Applications โ†’ Application Management โ†’ Mi Browser.
  2. Slip on "Open by default."
  3. Click on "Clear Default Settings".
  4. Return to the main settings menu and select Settings โ†’ Applications โ†’ Default Apps.
  5. In the Browser section, select Chrome or another app (but not Mi Browser).

If there is no Default Apps (as it happens in HyperOS), use the alternative path:

Settings โ†’ Additional โ†’ Special features โ†’ Special features Services โ†’ Find โ€œOpen linksโ€

Additionally: disable the Mi Browser auto-update via the Play Store so that the system doesnโ€™t return it as the default handler.

Xiaomi modelThe way to default browser settingsFeatures
Xiaomi 13/14, Redmi Note 12Settings โ†’ Applications โ†’ Default Applications โ†’ BrowserHyperOS may not have a "Default Applications" section
POCO F5/X5Settings โ†’ Applications โ†’ Application Management โ†’ Mi Browser โ†’ Open by defaultRequired cleaning of Mi Browser cache after changes
Redmi 10/11 (MIUI 13)Settings โ†’ Annexes โ†’ All applications โ†’ Settings (โš™) โ†’ Default applicationsYou may need to restart to apply the changes.

Method 3: Using ADB to Involuntary Assign Processors

If standard settings donโ€™t work, you can manually set link handlers through ADB (Android Debug Bridge), a method that is suitable for power users and requires developer mode to be enabled.

Step 1. Enable debugging over USB:

  1. Go to Settings. โ†’ About the phone and tap 7 times on the "Version" MIUI", activate the developer mode.
  2. Back to Settings โ†’ Additionally. โ†’ For developers.
  3. Turn on "Debugging by" USB" and confirm the authorization.

Step 2. Connect your phone to your PC and execute the commands:

adb shell pm clear com.android.browser


adb shell pm clear com.miui.browser




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




adb shell cmd package set-home-activity com.google.android.apps.nexuslauncher/.NexusLauncherActivity

Step 3: Assign processors for specific applications:

adb shell am start -a android.settings.APP_OPEN_BY_DEFAULT_SETTINGS -d package:com.vkontakte.android


adb shell am start -a android.settings.APP_OPEN_BY_DEFAULT_SETTINGS -d package:com.google.android.youtube

Replace com.vkontakte.android and com.google.android.youtube with the packages of the desired applications (you can find them through the Play Store or App Inspector).

List of popular application packages for ADB
com.google.android.youtube (YouTube) com.instagram.android (Instagram) com.zhiliaoapp.musically (TikTok) com.vkontakte.android (VK) ru.ok.android (OK) com.google.android.apps.maps (Google Maps) com.whatsgram (WhatsApp) org.tele.messenger (Telegram)

โš ๏ธ Attention: After use ADB Some system functions (e.g. Mi Share) may not work properly. To get it back, follow the command: adb shell pm enable com.miui.browser

Method 4: Cleaning the Android System WebView cache and browsers

Often the problem lies in the damaged cache of the Android System WebView component, which is responsible for processing web links in applications.

  1. Go to Settings โ†’ Applications โ†’ All applications.
  2. Find Android System WebView and tap it.
  3. Select "Storage and cache" โ†’ "Clean the cache".
  4. Repeat the steps for Mi Browser, Google Chrome, and Google Play Services.

If after cleaning the cache links still open in the browser, update the Android System WebView through the Play Store:

  1. Open the WebView page.
  2. Press "Update" (if the button is active).
  3. Reboot the phone.

๐Ÿ’ก

If you still have a problem after the WebView update, try to roll back to the previous version. To do this, download APK from the APKMirror site (select the version for your Android).

If manual settings do not help, you can use specialized utilities:

  • ๐Ÿ”ง Better Open With (Play Store): allows you to manually choose which app to open for each link.
  • ๐Ÿ”ง Open Link With: Adds the app selection dialog when you click on any link. MIUI 14/15 HyperOS.
  • ๐Ÿ”ง App Chooser: Stores your app selection history and offers frequently used options.

How to set up Better Open With:

  1. Install the application and open it.
  2. Enable "Show the Selection Dialogue" in the settings.
  3. Add exceptions for apps that must open links automatically (like YouTube).
  4. In the Blacklist section, add the Mi Browser so it never opens.

Important: Some applications (e.g. SberBank Online or Tinkoff) block link opening through third-party processors for security reasons, in which case only manual adjustment through ADB (Method 3) will help.

What to do if settings are reset after the update

The problem of returning Mi Browser as the default handler is typical of MIUI after the updates.

  • ๐Ÿ”„ Turn off Mi Browser auto-update in the Play Store (click on three dots) โ†’ "Turn off auto-update").
  • ๐Ÿ”„ Freeze the Mi Browser through ADB (Adb shell pm disable-user --user 0 com.miui.browser).
  • ๐Ÿ”„ Use the Disable Miui Browser (requires root rights).
  • ๐Ÿ”„ Create a backup of settings through Settings โ†’ Additionally. โ†’ Backup and reset (but restore only the application settings, not the entire system).

If after updating MIUI or HyperOS links again open in the browser, do:

adb shell pm clear com.miui.browser


adb shell pm clear com.android.browser

This will reset the default browser settings and you will be able to reassign handlers.

๐Ÿ’ก

If you use custom firmware (e.g. xiaomi.eu or PixelExperience), the problem may be due to the lack of a MiuiBrowserGlobal component. ADB magisk.

Why do you reset your settings and re-open your links in Mi Browser?
When resetting to factory settings, MIUI/HyperOS returns the Mi Browser as the default handler. To avoid this, before reset: Backup via Settings โ†’ Additional โ†’ Backup (select "Application Settings" only). Once reset, restore only this part of the backup. If the backup didn't help, use Method 3 (ADB) to force the Mi Browser to shut down.
How to find out the batch name of the application for ADB?
There are several ways: Through the Play Store: open the application page in the browser - the batch name will be in the URL after id= (for example, com.whatsapp); Through the App Inspector (requires to enable "For developers" โ†’ "Do not save actions"). Through ADB: run the command adb shell pm list packages | grep "name" (for example, adb list shell pm packages | grep "vk").
Why do some links (e.g., from SMS) still open in the browser?
References from SMS, Email or some messengers (for example, Viber) may ignore the settings of the handlers because of: Policy of the sender application (for example, SberBank forcibly opens its links in the browser). intent:// instead https://). Solution: Use third-party applications like Better Open With that intercept all opening intentions.
Can I remove Mi Browser completely without root?
No, you can not completely remove Mi Browser without root rights, but you can: Disable it through ADB (adb shell pm disable-user --user 0 com.miui.browser.Remove updates to Settings โ†’ Annexes โ†’ Mi Browser โ†’ โ‹ฎ โ†’ Remove updates. Freeze through App Freezer (Magisk requires) Full removal is only possible on custom firmware or through Magisk modules.
Why did you stop opening links in your apps after upgrading to HyperOS?
HyperOS uses a new link processing engine that may conflict with old settings. To fix: Go to Settings โ†’ Applications โ†’ Special Access โ†’ Link Opening. Turn off Allow Browser Link Opening for Mi Browser. Enable permission for the right apps (like YouTube or Instagram). If there is no partition, use ADB to reset handlers: adb shell pm clear-defaults com.miui.browser