view the rest of the comments
ReVanced APKs
Community for pre-compiled APKs of the latest versions of Youtube ReVanced.
F.A.Qs for builds are available here -
https://pastebin.com/raw/HB2eB96F
These will solve a lot of your issues and I recommend going through them even if you don't have any problems.
The original patches and integrations on the official Youtube APK (which I download from APKMirror), are from the repos (revanced-patches & revanced-integrations) linked here https://github.com/revanced but I use the modified version by YT-Advanced who offers some more customisations while compiling, the source code of which are available on the repos linked on their Github profile.
ONLY the Github repos, and any websites linked there are official, trust NOTHING else if you're looking to compile yourself.
Subreddit at r/revancedapks AND r/myrevancedapks
Thank you for getting my attention to this, I'll check it out and release a build if it works