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
view the rest of the comments
Yeah ofcourse I understand, I'm all for letting people know the danger of what they are doing though. And how they probably shouldn't be trusting convenience over safety. I wouldn't know how to distribute it properly to be clear. Maybe an open-source pipeline compiling them on-the-fly, but Google would probably have some issues with that lmao
Anyway, I recently decompiled an APK where I found some routines grabbing the final piece of code from their webserver to be evaluated and ran in said app. "But it's just an anti-piracy measure and to see how many people use the app" Meanwhile leaving a skyscaper sized backdoor, or potential internal abuse.