now the process varies whether your phone is rooted or not.
rooted guide:
install the .apk, this may require manually uninstalling current version of YT you have
give root access to Revanced in Magisk
go to Patcher in Revanced, Select application and pick YouTube from the list
select patches you like; do not select Vanced MicroG Support (you can use Default pack, just disable MicroG manually)
click Done (n)
click Patch, this will take around 2 to 10 minutes. your phone will stay awake and I recommend not leaving the Manager
now click Install as root
if applicable, go to the Play Store, disable auto-update for YouTube
also, to make sure you don’t accidently update YT, use a file manager like Material Files create a text file called detach.cfg and put it in /Android folder in main storage (where data, media and obb are)
inside the file type out youtube’s package name: com.google.android.youtube . you can do this for any app you like to stay non-updated
done. YT will work with your current Google account and will not update. you can tweak the settings inside the app.
non-root guide:
after downloading the app skip installing it and go straight to Patcher in Revanced manager
Select application but this time click Storage in bottom-right corner
find the downloaded .apk
select patches you like; do select Vanced MicroG Support (you can use Default pack)
click Done (n)
click Patch, this will take around 2 to 10 minutes. your phone will stay awake and I recommend not leaving the Manager
now click Install or click the shashlik menu (vertical …) and Export apk to save it and not repeat the process for other devices
when successfully installed either from Revanced or a file manager after exporting the apk, open the app
it will prompt you to install MicroG. it’s a little plugin which allows 3rd party apps to act as official YouTube apps. basically minimal Gapps replacement. go ahead and install it
log into MicroG. use your regular Google credentials or create a temporary app password, especially if you use 2FA (which may break MicroG)
your new YouTube Revanced is installed alongside regular YouTube, as it has different package name (Vanced MicroG plugin does this by default). therefore there’s no risk Play Store will force to update it and you can use both the official and custom app at the same time
go to settings inside YouTube to tweak the app
you can share the newly-created .apk to other devices and straight-up install it with any file manager.
I tried using Vanced for YT a few months ago, and despite the documentation, I couldn’t get it to work. It’s the only thing keeping me from trying
Vanced is long dead. Try Revanced:
now the process varies whether your phone is rooted or not.
rooted guide:
non-root guide:
Vanced has been dead for a while. ReVanced is the replacement.
This guide helped me https://old.reddit.com/r/revancedapp/comments/xlcny9/revanced_manager_guide_for_dummies/