This repo contains helper files to integrate ReVanced prebuilts.
-
Clone this repo under vendor/revanced
git clone https://github.com/Pixelify-AOSP/vendor_revanced vendor/revanced
-
Inherit in your vendor or device tree
$(call inherit-product, vendor/revanced/products/revanced.mk)
-
Use the j-hc revanced project to create the root module and extract APKs.
-
Place stock and patched APKs
- Put the stock app (com.google.android.youtube.apk):
common/product/app/YouTube/YouTube.apk - Put the patched ReVanced app (base.apk):
common/product/etc/rv/YouTube_patched.apk
- Put the stock app (com.google.android.youtube.apk):
-
Process APKs & Initialize Environment
This repository uses split APKs to bypass GitHub's file size limits.
Run from the ROM root directory:
$ANDROID_BUILD_TOP/vendor/revanced/vendorsetup.shFor updating APKs, run before committing:
./split-apk.sh
Running
source build/envsetup.shautomatically triggersvendorsetup.sh, which merges the.partfiles back into full APKs and extracts the requiredarm64blobs. -
Pick these two commits
-
Build the ROM and enjoy
The prebuilts present in this repo are just placeholders.
- j-hc/revanced-magisk-module
- ReVanced team