From fec8c1e8c1d0e269575354a9e2c2f6851daad0d3 Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Mon, 4 May 2026 13:07:13 +0200 Subject: [PATCH] docs: Update adb commands to enable open with links Updated instructions for enabling link verification with ADB commands. --- docs/morphe-resources/questions.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/morphe-resources/questions.md b/docs/morphe-resources/questions.md index 74aac94..a16f466 100644 --- a/docs/morphe-resources/questions.md +++ b/docs/morphe-resources/questions.md @@ -97,13 +97,19 @@ To restore your settings, paste your settings into the same `Import / Export` te If you have related apps that also open the same weblinks (such as the "YT Create" app by YouTube), then you may need to disable links in those apps as well. -Some devices may require resetting "link verification" using a connected computer and ADB. Commands listed below are for YouTube, for other apps update the package name and web domain. +Some devices may require manually enabling "link verification" using a connected computer and ADB. -`adb shell pm set-app-links --package app.morphe.android.youtube 0 all` +`set-app-links-user-selection --user 0 --package (package name) true (url link)` -or: +Run this command for each of the open with link urls. For YouTube this is: +``` +adb shell pm set-app-links-user-selection --user 0 --package app.morphe.android.youtube true youtu.be +adb shell pm set-app-links-user-selection --user 0 --package app.morphe.android.youtube true youtube.com +adb shell pm set-app-links-user-selection --user 0 --package app.morphe.android.youtube true m.youtube.com +adb shell pm set-app-links-user-selection --user 0 --package app.morphe.android.youtube true www.youtube.com +adb shell pm set-app-links-user-selection --user 0 --package app.morphe.android.youtube true studio.youtube.com +``` -`adb shell pm set-app-links-user-selection --user 0 --package app.morphe.android.youtube true www.youtube.com` https://developer.android.com/training/app-links/verify-applinks#:~:text=adb%20shell%20pm%20set%2Dapp%2Dlinks%20%2D%2Dpackage%20PACKAGE_NAME%200%20all ## 34. How do I use YT Music with Android Auto?