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
Robert edited this page Jul 22, 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
For a full list of commands
java -jar revanced-cli.jar --helpPatch stock.apk and install it to <device-id>
java -jar revanced-cli.jar -a stock.apk -o revanced.apk -b revanced-patches.jar -m integrations.apk -d <device-id> -cIn the case of YouTube the root variant requires you to exclude the microg-support patch.
Patch stock.apk, exclude the microg-support patch and mount the apk on <device-id>
java -jar revanced-cli.jar -a stock.apk -o revanced.apk -b revanced-patches.jar -e microg-support -m integrations.apk -d <device-id> --mount -cIf you specified an ADB device the application should now open on your device and the CLI will show logs until the app is closed.
If you encounter any issues please look at the common issues before asking questions.