forked from err0r-guy/revanced-documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Using the ReVanced CLI and installing ReVanced
oSumAtrIX edited this page Jun 14, 2022
·
20 revisions
- Make sure your phone is connected
adb shell exit
- If you plan to use the root variant, check if you have root access
adb shell su -c exit
- Copy the ADB device name
adb devices
- Run the CLI
# Root
java -jar revanced-cli-all.jar -a some.apk -c -d device-name -o revanced.apk -b revanced-patches.jar
# Non Root
# In the case of YouTube you want to include the patch 'microg-support' with the option -i.
# The option '-i' requires you to add patches explicitly (e.g. -i 'microg-support' -i amoled ...).
java -jar revanced-cli-all.jar -a some.apk -c -d device-name -o revanced.apk -b revanced-patches.jar --install
A lot of patches require the integrations which you can merge by adding the
-m
flag and passing theintegrations
file as the argument.
If you specified an ADB device the application should now open on your device and the cli will show logs until the app is closed