How to build - kitadai31/revanced-patches-android6-7 GitHub Wiki

Contents

Method 1. Using ReVanced Manager (Android)

Any of these manager are compatible:

• ReVanced Manager (Android 8.0+)
https://github.com/ReVanced/revanced-manager/releases/latest

• RVX Manager (Android 8.0+)
https://github.com/inotia00/revanced-manager/releases/latest

• ReVanced Manager for Android 5-7 (fork)
https://github.com/kitadai31/revanced-manager-android5-7

Steps

  1. Download YouTube 17.34.36 APK from APKMirror. (Just download. DO NOT install it.)
    https://www.apkmirror.com/apk/google-inc/youtube/youtube-17-34-36-release/youtube-17-34-36-2-android-apk-download/
  2. Download and install ReVanced Manager
  3. (Only if you are not using kitadai31's fork manager) Open [Settings] tab and open [Alternative source] settings
  4. (Only if you are not using kitadai31's fork manager) Set Patches organization to kitadai31 and Patches source to revanced-patches-android6-7
  5. (Only if you are not using kitadai31's fork manager) Wait several seconds for completing a patches download, then restart the app
  6. Open [Patcher] tab
  7. Open [Select an application]
  8. Tap [Storage] button and choose the APK which you downloaded in step 1.

After selected APK, make sure it is displayed like this.

6. Tap [Patch] button.

After patching is completed, I recommend saving the patched APK from [💾] button.

Troubleshooting

Q. Can I patch on ARMv7 (32bit) devices?
A. Yes. Since v1.17.5, ARMv7 is supported.

Q. After patched, while installing the patched APK, the installer dialog suddenly disappear and install failed.
A. The new patched apk may be conflicting with already installed version of RVX.
Save the patched APK -> close Manager -> uninstall installed RVX -> install saved new apk

Method 2. Using Revancify (Android)

Revancify is a TUI wrapper for Revanced CLI, developed by decipher3114.
It's available on Android device.

https://github.com/decipher3114/Revancify

For Android 7.x, use the official Termux (GitHub or F-droid), not Termux Monet.

Can I use Termux on Android 6.0?
No.
There are Android 5 version of Termux, but it cannot be used for ReVanced.
It doesn't have a Java package (openjdk), so it cannot run the ReVanced CLI.

Method 3. Using RVX Builder (PC/Android)

RVX Builder is a GUI software to build ReVanced apps. Originally developed by reisxd, and forked by inotia00.

See "How to use" section of this page:
https://github.com/inotia00/rvx-builder

Before press "Start Patching" button, Press the Settings button and change the source settings according to this image.

In patches selection screen, [Select All] button means "Select all default patches".
So you should click this button at first.

Method 4. Using ReVanced CLI (PC)

The manual patching method on PC.

kitadai31 CLI fork is discontinued. Use official or inotia00's ReVanced CLI.

https://github.com/ReVanced/revanced-cli/releases/latest
https://github.com/inotia00/revanced-cli/releases/latest

Download these:

※ At patches v5.2.1, revanced-patcher (internal library) has been migrated to v20+ and ReVanced Integrations is merged into Patches.
So, Integrations are no longer needed.

Then, run the command like this:

java -jar revanced-cli-5.x.x-all.jar patch youtube_17.34.36.apk -p patches-5.x.x.jar

See option -h for other available options.

Rooted

If you are using a rooted device: How to build (Rooted)