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.
Why Xiaomi opens links in the browser, not in apps
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.
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.
Method 1: Setup the default link handler
The easiest way is to manually specify which application should open specific types of links, via the Open Supported Links menu:
- Go to Settings โ Applications โ Application Management.
- Select the app that should open the links (like YouTube or VK).
- Tap on the "Open by default" item (or "Open supported links" in HyperOS).
- 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
โ ๏ธ 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:
- Go to Settings โ Applications โ Application Management โ Mi Browser.
- Slip on "Open by default."
- Click on "Clear Default Settings".
- Return to the main settings menu and select Settings โ Applications โ Default Apps.
- 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 model | The way to default browser settings | Features |
|---|---|---|
| Xiaomi 13/14, Redmi Note 12 | Settings โ Applications โ Default Applications โ Browser | HyperOS may not have a "Default Applications" section |
| POCO F5/X5 | Settings โ Applications โ Application Management โ Mi Browser โ Open by default | Required cleaning of Mi Browser cache after changes |
| Redmi 10/11 (MIUI 13) | Settings โ Annexes โ All applications โ Settings (โ) โ Default applications | You 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:
- Go to Settings. โ About the phone and tap 7 times on the "Version" MIUI", activate the developer mode.
- Back to Settings โ Additionally. โ For developers.
- 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/.NexusLauncherActivityStep 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.youtubeReplace 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
โ ๏ธ 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.
- Go to Settings โ Applications โ All applications.
- Find Android System WebView and tap it.
- Select "Storage and cache" โ "Clean the cache".
- 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:
- Open the WebView page.
- Press "Update" (if the button is active).
- 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).
Method 5: Using third-party applications to manage links
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:
- Install the application and open it.
- Enable "Show the Selection Dialogue" in the settings.
- Add exceptions for apps that must open links automatically (like YouTube).
- 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.browserThis 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.