How to use ReVanced CLI
Prerequisites
Use Linux OR Download JDK 17
Download adb
adb(Linux): apt install google-android-platform-tools-installer
App To Patch (Supported YT apks)
Embedded URL's below
ReVanced CLI
ReVanced Patches
ReVanced Integrations
Check all options in CLI (help menu)
java -jar revanced-cli-2.21.1-all.jar -h
Check all patches available (list menu)
To Apply Patches
Install Patched apk on phone with microg (non-root)
To install directly on phone use (Root)
install same version unpatched.apk on phone.
add option -d to above command, -d device-name(from adb)
Enable Dev Options > Enable Usb Debugging
adb devices (copy device name) > allow on device (prompt)
adb shell su -c exit (give root permission) (allow on prompt) (Magisk)
To Exclude Patches use -e
To exclude microg add -e vanced-microg-support
Example
└─# java -jar revanced-cli-2.21.1-all.jar -c -a youtube-18-16-37.apk -m revanced-integrations-0.107.0.apk -o revanced.apk -e vanced-microg-support -b revanced-patches-2.173.0.jar -d b9dl69c7 --mount
OR
Simply use ReVanced Manager (doesn't work sometimes)
Comments
Post a Comment