In the course of this process, you will download several apps from external sources. To be on the safe side, you'll want to check each APK with https://www.virustotal.com/ before installation. You are also encouraged to use Firefox with uBlockOrigin and the Badware Risks filter list enabled, as a precaution against scamming sites.
- Install ReVanced Manager from https://github.com/ReVanced/revanced-manager/releases/latest or https://revanced.app/download
- Open ReVanced Manager (grant permission to install apps when asked for). Tap
Patches -> Select an app
. Look for YouTube and theSuggested:
version. It should be in the 3rd line. (Do not use the 1st line, that's your installed version of YouTube.) - Go to https://www.apkmirror.com/ and search for
YouTube $VERSION
, where$VERSION
is the suggested version you have determined in (2). (Alternatively, tap on theSuggested: ...
field to do a browser search that may lead you to the apkmirror site in question.) Once you've found the right APK, download it. - In ReVanced Manager, tap on
YouTube -> Select from storage
, and select the YouTube APK you have obtained in (3). - Follow the wizard and launch the patching process (this may take a while). Once finished, tap the Install button at the bottom right.
- Go to Google Play, find YouTube, tap on the menu at the top right and uncheck "Enable auto-update". (ReVanced Manager will have shown a warning about this in (5).)
- Try to launch YouTube ReVanced now. It will show an error that microG GmsCore is not installed yet.
So go to https://github.com/ReVanced/GmsCore/releases/latest (should open automatically after the error message) and download/install the APK (choose
Default
orHuawei
, depending on your device vendor). Do useReVanced/GmsCore
, the builds from upstream microG cannot be installed with the default Google Play Services in place. - Open YouTube ReVanced again. Grant microG the background permission you are asked for. Now YouTube ReVanced should be ready to go.
- Optionally, open microG settings and configure to your liking. In particular, you may want to turn off the Cloud Messaging part.
These instructions assume a non-rooted device.
It seems there is also an extended variant of the patches: https://github.com/inotia00/revanced-patches (possible pre-builds https://github.com/NoName-exe/revanced-extended).
Contrary to upstream, this apparently has an ability to block VP9: inotia00/ReVanced_Extended#2384
Disclaimer: I haven't actually tried this. Perhaps most users are better off with the original from upstream ReVanced.
Also, I'm not sure why these extended patches (e.g. the no VP9 bit) aren't being upstreamed.