Revanced instructions (official Youtube app, but with adblocking, sponsorblock and other nice improvements).
- Uninstall Youtube (or disable if not possible)
- https://github.com/ReVanced/revanced-manager/releases
- Install
- Open, go to "Patcher", find "Youtube" and download the specified recommended version from https://www.apkmirror.com/
- Patch it, install it.
- Install MicroG if you want to use your Google account with it: https://github.com/TeamVanced/VancedMicroG/releases
- Launch your installed youtube app. You will need to login from within the app if you are using MicroG.