Guide: How to build your own revanced youtube and other dozens of supported apps, the official method.
Takes about 5 minutes and is easy. In short, we use revanced manager, give it a source apk, choose the patches we want and compile the patched apk on our phones. The method is same whether you want to create revanced versions of youtube, youtube-music, spotify, tiktok, reddit, twitter, instagram, photomatch, nova launcher, windy, tasker etc apps. Everything used here is open source.
-----------------------------------
THE GUIDE STARTS HERE
-----------------------------------
1. First, download and install the latest
revanced/revanced-manager/releases on your android phone. It's all-in-one tool made by revanced team that handles downloading the patches, actual patching and even installing the patched app in the end.
2. Now head to
the revanced/revanced-patches repository which lists all the available patches. Scroll down and open details to see patches available for the app you want to patch. Here, I'm taking example of the youtube. Do notice that most of the patches have target version of '18.05.40'. We need to download original youtube apk of this version only. If you use different version of the youtube apk then it won't work.
3. Go to the
apkpure and search for youtube. On the versions page, scroll down till you see the version we require. And download it on your phone. Make sure you don't download bundle, XAPK or APKM types. You need a plain APK.
4. Open the installed revanced manager app (from step 1). Go to Patcher tab > Select an application > Storage > Select the youtube apk you just downloaded (in step 3). It'll automatically list the available patches for the select apk. Click on the selected patches. You may click 'Recommended' to select all recommended patches automatically. Or you can go through them one by one. It'll also remember your choice so that next time it'll auto select the patches you last selected.
- Make sure that you select 'MicroG Support' if want to run youtube without root.
- Also, don't forget to select 'Spoof Signature Verification', that'll unblock your youtube account if it had stopped playing videos on vanced youtube.
- If you want AMOLED all black theme then select 'Theme' patch too. Currently, the app goes in all black theme instead of dark regardless of this patch. It's a bug in the current version.
- You will also want to select 'SponsorBlock', 'Return youtube dislike' and 'Disable shorts on startup'. These are my last few reasons why I'm still using Android.
Click 'Done' button once you are happy. Finally, click the 'Patch' button. It'll take several minutes to compile the revanced app.
In the end, it'll show you the 'Install' button. Click that to install the patched app. For something like youtube, you do have to use this manager to install the youtube. Youtube uses split-apk tech and it can't be installed like a regular app. The patched apk isn't saved to your internal storage automatically. You can do that by clicking the options three dot button. You'll need to do this in case if you want to share the apk or save it for a future use. If you or someone else want to install youtube apk (doesn't matter revanced or not) without this manager then you'll have install it through
split apk installer.
5. This step is required only if the patched app is youtube or youtube music and you are not rooted. Patched youtube isn't going to work without microG. If you had microG from vanced already installed you can skip this step provided, the new patched youtube is working fine and you can login. MicroG that came with vanced was compiled a year ago. It'll eventually stop working. If the youtube isn't working then uninstall the old microG.
Download latest microG and install it.
-----------------------------------
THE GUIDE ENDS HERE
Below are optional steps
-----------------------------------
6.
Making revanced app default: This is an optional step. Once you find your patched revanced youtube is working fine, you can disable the default youtube that came with the mobile by going to Settings > Apps > See All Apps > Select YouTube > Tap on Disable > Disable App. Additionally, you can go to app info of the patched revanced youtube > open by default > Select open supported links > select all available links. This way, whenever you open a youtube link on your phone, it'll open in the revanced youtube.
7.
Video/music downloading/offline: The built in youtube download/offline feature of revanced is semi-working just like vanced. For a full download/offline functionality we'll have to use a third party app called
PowerTube. Download, install and open it, give it the storage permissions. You may change download folder from its settings. Now, open revanced youtube go to settings > ReVanced > Interaction > Download settings > Turn on show download button and then click on the downloader package name and give it the name of the powertube app package. That's ussr.razar.youtube_dl . This of course means, you will have to use a different player like VLC to play the downloaded contents. Youtube music, however, has the ability to play the music files.
You will not see these settings if you didn't select the 'downloads' patch.
Now, to download video/music, click on the download button which is on the yt video player (not under it). PowerTube should automatically ask you for resolution and format. Alternatively, you can 'share' the video to PowerTube app. It can download media from anything, even websites. I share the playlists from youtube music app and it download the whole thing in one click.
Instead of PowerTube, you may use the
NewPipe. But I find PowerTube is better because it has more options, it can download playlists and it can download non-youtube stuff too.