Skip to content

hey07/revanced-magisk-module

 
 

Repository files navigation

YouTube ReVanced Magisk Module

Build Modules CI

This repo includes a simple script that downloads all the latest version of necessary prebuilt revanced tools and build patched apps according to your config file (so do not create issues related to revanced in this repo).

You will need to install the stock YouTube (or YT Music) app matching with the module's version on your phone. The link is provided in release notes.

You can get the latest CI release from here.

The mindetach module in the releases detaches YouTube and YouTube Music from Play Store and blocks it from updating them.

To include/exclude patches or build non-root variant

  • Star the repo 👀
  • Use the repo as template or fork it (if you choose the repo to be private, you won't receive updates from Magisk app)
  • Edit the patcher args in build.conf
  • Run the workflow
  • Grab your modules from releases

If you include microg patches in build.conf, you get non-root APKs instead of Magisk modules. Twitter and Reddit will always be built as APKs regardless. To be able to use non-root variant you will need to install Vanced MicroG.

Updating

The modules support Magisk update which means you will receive updates from your Magisk app, downloading from github releases and reflashing is not necessary.

Additional steps to update YouTube if you have it installed as a system app
  • Disable the module
  • Reboot
  • Install the APK of the new YouTube
  • Update the module and reboot again

Note that the CI workflow is scheduled to build the modules and APKs everyday if there is a change. You may want to disable it.

Building Locally

Make sure you have Azul Zulu distribution of OpenJDK 17 and run:

$ git clone --recurse-submodules https://github.com/j-hc/revanced-magisk-module
$ cd revanced-magisk-module
$ ./build.sh build