This repo contains helper files to integrate ReVanced prebuilts.
-
Clone this repo under vendor/revanced
git clone https://github.com/PixelLineage/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):
-
Run the included script to extract libs:
./extract-libs.sh
This will extract required libs into their respective lib folders.
-
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