How to make a link open in the app, not in the browser on Xiaomi: 5 proven ways

Have you ever faced a situation where you click on a link in a messenger or mail, and instead of the expected application (YouTube, Telegram, VKontakte), it stubbornly opens in the Mi Browser or Chrome browser? This is a typical problem of Xiaomi smartphone users on the MIUI firmware, where the system by default redirects external links to the web browser, as a result, the functionality of applications is lost, user experience deteriorates, and sometimes it is impossible to perform the desired action (for example, confirm the login through a deep link).

The reason for this behavior lies in the peculiarities of MIUI: firmware aggressively caches links, prioritizes its own services (Mi Browser), and often ignores the default settings for applications. Fortunately, this can be corrected in several ways, from basic Android settings to manually editing configuration files. In this article, we will discuss 5 working methods, including hidden MIUI functions, which will help to regain control over where and how your links open.

The problem with redirecting links to Xiaomi is due to a combination of factors unique to the MIUI ecosystem.

  • πŸ”„ Caching references in MIUI: The firmware saves the history of clicks on links and β€œremembers” the last used application (most often the browser), ignoring the default settings.
  • 🏷️ Mi Browser priority: The system forcibly offers to open links in the branded browser, even if you have never used it.
  • πŸ”— Deep links and Intent Filter: Some apps (such as TikTok or AliExpress) incorrectly register link handlers in Android Manifest, which leads to conflicts.
  • πŸ› οΈ Optimization MIUI: The function "Smart resolution" (Settings) β†’ Special facilities β†’ Smart resolution can automatically select a browser to save resources.

Interestingly, on pure Android (like Pixel or Samsung with One UI), there is no such problem β€” the system strictly follows the default settings. On Xiaomi, the logic is different: the firmware tries to β€œhelp” the user, but often this leads to the opposite effect. For example, if you once opened a link to YouTube in the browser, MIUI can β€œfix” this choice and ignore the YouTube application in the future.

πŸ“Š How often do you have the problem of opening links in the browser on Xiaomi?
Constantly.
Sometimes.
I used to, but I decided.
Never noticed.

Method 1: Setup the application by default in Android

The most obvious way is to give the app default status as a link handler, but on Xiaomi, this process has nuances:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Click on the three dots in the top right corner and select the Default Apps.
  3. Tap on the section Opening links (or Browser in older versions of MIUI).
  4. In the list, find the app you want (like YouTube or Telegram) and select it as the handler for the relevant link types (https://youtu.be, tg://, etc.).

⚠️ Note: Some Xiaomi models (e.g. Redmi Note 10 Pro) POCO X3 Pro) no link opening may be available, in which case proceed to the following method.

Application settings are open|Found the section "Default applications"|Targeted application for links selected|Opening of test link is checked-->

If the links are still opened in the browser after these actions, the problem lies deeper in the MIUI cache or Intent Filter conflicts, the solution is to clear the system cache (method 3) or manually edit the settings through ADB (method 5).

MIUI actively caches data on which apps have opened links, to reset these settings:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Find Mi Browser (or Chrome if you use it) and tap it.
  3. Select Warehouse. β†’ Clear the cache.
  4. Go back to the app list and find Link Handler (or Russian-language firmware link handler) and clear its cache and data.

Once cleaned, restart the device. Now, when you first open a link, the system should suggest you select an application. If that doesn't happen, check if Open Supported Links is enabled in your browser settings (it can block redirects to other applications).

What is Link Handler in MIUI?
It's a system service that manages the routing of links between applications, it analyzes the Intent Filter of application manifests and decides where to redirect the user, and clearing the cache resets the "remembered" routes, but it doesn't affect the default settings.

Method 3: Disabling Smart Resolution and MIUI Optimization

The MIUI Smart Resolution function automatically selects apps to open links based on the user experience, often mistakenly prioritizing the browser to disable it:

  1. Go to Settings β†’ Special features β†’ Smart resolution.
  2. Turn off the automatic resolution slider.
  3. Return to Settings β†’ Battery and Performance β†’ Memory Management.
  4. Disable MIUI Optimization for the target application (e.g. Telegram or VK).

Also check if Traffic Saving is enabled in your browser settings – it can block redirects to third-party apps to β€œsave data.”

MIUI functionImpact on link openingRecommendation
Smart permission.Forcedly opens links in the browserTurn it off completely.
Optimization of MIUICan block deep linksDisable for targeted applications
Saving trafficRedirects to the browser for cachingDisable in the browser settings
Cash Link HandlerKeeps the wrong routes runningClean once every 1-2 months

If previous methods didn't work, you'll have to use Android Debug Bridge (ADB), which requires a PC connection, but is guaranteed to reset all link processing settings.

  1. Turn on the Developer Mode on your smartphone: Settings β†’ About Phone β†’ MIUI version (shap 7 times).
  2. Return to Settings β†’ Additional β†’ For developers and enable USB Debugging.
  3. Connect your phone to your PC, install ADB Tools and execute the command:
adb shell pm clear-user-defaults

This command will reset all application settings by default. After the device reboots, the first time you open any link, the system will prompt you to select the application again.

⚠️ Attention: Teams ADB Incorrect use can lead to failures. On Xiaomi models with a locked bootloader (for example, global versions of Redmi), some of the most common ones are not available. ADB-Commands may not be executed without unlocking.

adb shell pm reset-permissions

It will reset all application permissions, including Intent processing.-->

Method 5: Manual editing of Intent Filter (for advanced)

If the problem is with a particular app (for example, Instagram or Twitter won’t open their links), you can manually check its Intent Filter, a declaration in AndroidManifest.xml that determines what types of links the app can handle.

  1. Download the APK applications (for example, with APKCombo).
  2. Unclick it (rename it.zip and open it with the archiver).
  3. Find the AndroidManifest.xml file in the res folder.
  4. Check for lines of view: <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="https" android:host="twitter.com" /> </intent-filter>

If there are no such strings, the application is not declared as a link handler, and the problem is not with the Xiaomi settings, but with the application itself, in which case you only have to wait for an update from the developer or use alternative clients (for example, Frost for Facebook).

πŸ’‘

Most of the problems with opening links on Xiaomi are solved by a combination of methods 1 (default settings) + 2 (cache cleaning) + 3 (disable Smart Resolution). Methods 4 and 5 are only required in 5-10% of cases when the problem is related to system failures or errors in applications.

Frequent Mistakes and How to Avoid Them

When setting up link opening, users often make the following mistakes:

  • πŸ”§ Incomplete cache cleaning: Forgetting to clear the Link Handler cache or browser.This causes old routes to remain in the system.
  • πŸ”„ Ignoring reboot: After changes in settings or cleaning the cache, the device is not restarted. MIUI They are only used after reboot.
  • πŸ“± Using unofficial firmware: On custom firmware (e.g. xiaomi.eu or Pixel Experience), the logic of link processing may be different.
  • πŸ”— Application Conflict: Installing multiple clients for a single service (e.g. Telegram and Telegram X) can result in the system not knowing which one to choose.

Another common problem is regional restrictions, where some Xiaomi models for the Chinese market (such as the Mi 11 Ultra with China ROM firmware) can block link processing settings, in which case only flashing to the global version of MIUI will help.

Why do links open again in the browser after resetting the settings?
Chances are you haven't cleared the Link Handler cache or disabled Smart Resolution. Also check if your browser (Mi Browser or Chrome) has been updated - updates can reset default settings. Try repeating Method 2 and Method 3 from this article.
Can I set up link openings separately for each application?
Yes, but not through standard MIUI settings. Use applications like AutoInput (requires root) or Link Opener, which let you create routing rules for specific domains.
Why do some websites (such as AliExpress) still open links in the browser?
Some services (e.g. AliExpress, TikTok) use WebView to display content even within the app, which is not a bug, but a feature of their work, so to open a particular product or video in an app, copy the link and paste it into the search bar inside the app itself.
Will it work? ADB-Xiaomi method with a blocked bootloader?
Yes, the adb shell pm clear-user-defaults command does not require unlocking the bootloader, as it does not change the system partition. However, some models (for example, POCO F3 with MIUI 13) may require confirmation of debugging over USB at each connection.
How to check which applications are registered for link processing?
Use the ADB command: adb shell dumpsys package d In the output, find the Package section [com.example.app] and check the <intent-filter> blocks. Or install the App Inspector app - it shows all registered Intent Filter for each application.