Skip to content

Instantly share code, notes, and snippets.

@vyach-vasiliev
Last active March 24, 2025 20:01
Show Gist options
  • Save vyach-vasiliev/8654e0cf5e31f63fd49d4665894b8da2 to your computer and use it in GitHub Desktop.
Save vyach-vasiliev/8654e0cf5e31f63fd49d4665894b8da2 to your computer and use it in GitHub Desktop.
How to fix open links to Dual/Cloned Chrome app in Xiaomi and HyperOS?

Reason and description of the problem 😳

After switching to Hyper OS (POCO, XIAOMI, etc. phones), Google Chrome stopped opening in the main account when clicking on web-links from other applications (for example, telegram, whatsapp etc.).

Instead, Google Chrome opens links in the account for cloned applications
(even if the Chrome of the main account is selected by default in the system).

Empty hope πŸ’”

The adb command removes the cloned application, but after rebooting the system, chrome clone was quietly reinstalled 😨.
The phone must be connected to the computer via USB and debugging mode must be enabled in the developer options.

adb shell
pm uninstall -k --user 999 "com.android.chrome"

The user for the cloned space has an id of 999, so this command only removes Chrome app for this user.
The main Chrome app for your other accounts will not be removed.

Quick solution ✨

Just disable Dual apps in system settings.
Important! This will also delete the data of all other cloned apps. To avoid this, there is another way below.\

image

Solution with saving other Dual apps data ✨✨✨

The easiest solution at the moment is to use another browser as your default browser, such as Google Chrome Beta:

  • select all opening tabs in the menu and save to account bookmarks
  • delete chrome data, reset settings and disable into system settings of Google Chrome (long-tap on the icon)
  • install Google Chrome Beta (or any browser you like)
  • open new browser and sign-in to Google Account and restore tabs from bookmarks, if necessary [!]
  • assign Google Crome Beta by default (in the system settings)

[!] Be careful, not all browsers work with a Google Account, which means you won’t be able to restore tabs from bookmarks in them.

Feedback πŸ’›

Please, if you didn't succeed, give feedback below!
I'm sure it will be useful for everyone who comes here looking for a solution to the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment