--->
YOUTUBE REVANCED <---
--->
APK MIRROR <---
This is all you need to install Revanced on your rooted device. Download the latest version of Revanced Manager and install. Once you install Revanced Manager open it and Grant SU permission, then click on patch and then select your YouTube or YouTube music app. There you will find the recommended app version. Use APKMirror to find the correct version number of your apks and download them to your device.
You will need to uninstall the updates for YouTube and YouTube music. Press and hold on the app icons and open app , top right hand corner you will see the three dots, click that and uninstall updates. Now you will install the versions you just downloaded.
After you have installed the downloaded versions of YouTube and YouTube music then you can begin to patch.
Once again open Revanced Manager and click patch and then select your YouTube or YouTube music app. Now you will see a list of patches you can go through and select the ones that you want. Make sure you include MicroG support. Now that you have selected the patches that you want go ahead and click patch and let it finish. Once it has finished patching your app you're going to click root install.
Now you can delete the shortcut of the original app in your app drawer and disable the original version of whichever app you patched. To disable the app you do the same thing press and hold, open app info and you will see a button to disable. YouTube music does not have a disabled button (at least not on my phone) so you can just uninstall the app completely. You don't have to but this is so you don't get them mixed up or so the operating system doesn't default open the YouTube app with a web link.
I can verify this does work on the OnePlus 11 on the latest firmware.
☺ Enjoy ad free YouTube, if you chose to block ads that is.