Skip to content

How to build

kitadai31 edited this page Mar 29, 2024 · 35 revisions

Contents

Before building

Install ReVanced GmsCore for non-root users. Details

Method 1. Using "ReVanced Manager for Android 5-7" (Android)

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 ReVanced Manager for Android 5-7
  3. Open [Patcher] tab
  4. Open [Select an application]
  5. 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 complete, I recommend saving the patched APK from [💾] button.

Troubleshooting

Q. Patching failed with (exit code = 135) or (exit code = 7) error while compiling resources.
A. Your device is ARMv7 (32bit), not supported.
Use other device to patch, then send APK to that device.

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 official ReVanced Manager on Android 8.0+ device

Deprecated.
Because my patch is not compatible with the latest official ReVanced Manager. (v1.9.5 was the last compatible version)

Please use the A5-7 fork manager regardless of whether the device used for patching is below Android 8.0.
You can install the fork manager coexist with official manager.

Method 3. 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

Advantages:

  • Patching time is faster than ReVanced Manager
  • User-friendly process (Auto download apk, auto save patched apk, ...)
  • less errors

Disadvantages:

  • it uses 1GB of storage (including Termux itself). Manager takes only 100MB.

Method 4. Using RVX Builder (PC/Android)

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

(PC) https://github.com/inotia00/rvx-builder/releases/latest
(Android) https://github.com/inotia00/rvx-builder/wiki/How-to-use-rvx-builder-on-Android

Change source settings as this image.

※ Original Reis's ReVanced Builder is not compatible with the latest patches. Use RVX Builder!

Method 5. Using auto-cli (PC)

A bat file to run ReVanced CLI easily.

ReVanced CLI Automation
https://github.com/taku-nm/auto-cli it isn't updated yet Use 4 or 6 instead for now

Method 6. Using ReVanced CLI (PC)

https://github.com/revanced/revanced-cli

Download these:

https://github.com/kitadai31/revanced-patches-android6-7/releases
https://github.com/kitadai31/revanced-integrations/releases
https://www.apkmirror.com/apk/google-inc/youtube/youtube-17-34-36-release/youtube-17-34-36-2-android-apk-download/

※ Check the compatible revanced-cli version at revanced-patches release note. (v3.1.1)

Then, run the command like this:

java -jar revanced-cli-3.x.x-all.jar patch youtube_17.34.36.apk -b revanced-patches-2.160.x.jar -m revanced-integrations-0.96.x.apk -p -o youtube_revanced_17.34.36.apk