Giter Site home page Giter Site logo

diethard / revanced-cli-script Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cnc-robert/revanced-cli-script

0.0 0.0 0.0 105 KB

Bash script that builds & installs revanced. Java & Android SDK included. Also works on Windows with WSL.

Shell 100.00%

revanced-cli-script's Introduction

If you came here from the ReVanced telegram channel, please know it's fake. Any official links are on their discord server

revanced-cli-script

Bash script that builds & installs revanced automaticlly. Java & Android sdk included. The script also works on windows if you use WSL.

Requirements

  • Compatible YouTube APK, the same version needs to be installed on your phone
  • If you are building from source: Username & token set in ~/.gradle/gradle.properties or $GITHUB_TOKEN set with the token
  • Git, curl & adb installed
  • ZuluJDK 17
  • Android SDK
  • Java & Android SDK will be downloaded automatically if not installed already

Usage

Variables you can use:

  • $ROOT If set to 1 the script will build the root variant.
  • $EXCLUDED_PATCHES Set all the patches you want to exclude seperated by a space. So amoled disable-shorts-button for example.
    For YouTube or YouTube Music you need to exlude the microg-support or music-microg-patch when building the root variant.
  • $INCLUDED_PATCHES Same as $EXCLUDED_PATCHES but include the patches instead of exclude.
  • $LIST If set to 1 list all the patches and don't start patching.

Place a compatible apk in a folder named build like this: ./build/stock.apk and run the script.
Optionally you can include an ADB device to automatically install the patched APK.

./build-from-source.sh "[adb device id]"

or

./build-from-prebuilt.sh "[adb device id]"

revanced-cli-script's People

Contributors

cnc-robert avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.