this script first downloads the latest revanced-cli, revanced-patches and revanced-integrations. then it downloads the latest supported youtube version and patches it according to revanced-documentation
Now we even support patching YouTube-Music, Reddit and Twitter
Check out github actions (they are all built using this script. also non-root variant there includes vanced-microg.apk inside it)
- curl(curl is required to get latest versions of revanced-*)
- awk
- java(17)
- grep
- (optional)find(we use it to remove old versions of revanced-*, if there is any)
$ mkdir -p revanced
$ cd revanced
$ sh -c "$(curl https://raw.githubusercontent.com/XDream8/revanced-creator/main/patch.sh)"
- or
$ git clone https://github.com/XDream8/revanced-creator
$ cd revanced-creator
$ ./patch.sh
we include enable-wide-searchbar
patch and exclude hide-shorts-button
here
$ export additional_args="-i enable-wide-searchbar -e hide-shorts-button"
$ ./patch.sh
$ export what_to_patch="youtube-music"
$ ./patch.sh
Versions Available
YouTube: 17.26.35, 17.27.39, 17.28.34, 17.29.34
YouTube-Music: 5.14.53, 5.16.51
Twitter: 9.52.0
Reddit: 2022.28.0(building reddit fails atm)
$ export apk_version=17.27.39
$ ./patch.sh
$ export nonroot=1
$ ./patch.sh
$ export downloader="axel -n 16"
$ ./patch.sh
$ export nonroot=1
$ export downloader="axel -n 16"
$ export additional_args="-i enable-wide-searchbar -e hide-shorts-button"
$ export what_to_patch="youtube"
$ export apk_version=17.27.39
$ ./patch.sh
- @halal-beef added CI which was a great help