If you came here from the ReVanced telegram channel, please know it's fake. Any official links are on their discord server
Bash script that builds & installs revanced automaticlly. Java & Android sdk included. The script also works on windows if you use WSL.
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.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]"