/revanced-nonroot

Auto check and build apk non-root from revanced/inotia00

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Because Revanced Extended drop so I will drop this repository

Note

I make function split apk to 4 architectures. In this repository, only split YouTube to example. Use inotia00(j-hc)/revanced-cli to do it

Credit

Code APKmirror: revanced-magisk-module

How to use

✅ Fork this repository

✅ Enable github actions

✅ Config your patches in folder

Revanced

Revanced Extended

✅ In build-rv.sh build-rve.sh

✒️ Add keyword to patch others app

✅ Run github actions and wait

✅ Take apk in releases

Add new app or new source to patch

1️⃣ Check new patch release to build

➡ Use check_patch "user" "txt_name"

➡ (user = revanced,inotia00,kazimmt,kidatai31...)

➡ (txt_name = revanced,revanced-extended...)

2️⃣ Download source you need

➡ Use : dl_gh "user" "repo" tag"

➡ (user = revanced,inotia00,kazimmt,kidatai31...)

➡ (repo = revanced-patches revanced-cli revanced-integrations) You can use j-hc/revanced-cli to --riplib)

➡ (tag = latest or tags/v.... if you need specific patch version)

3️⃣ Patch key words (skip if you no need in/exclude-patches)

➡ In folder patches creat new file app-to-patches begin by --exclude or --include

➡ Create patch to include/exclude. Patches can be separated by a space or a newline. Like:

--exclude patch1 patch2 patch3...

--include patch4

patch5

patch6...

still be OK.

➡ Use : get_patches_key "app-to-paches"

4️⃣ Get version apk supported

➡ Use: get_ver "app_name" (Check in version.info (Only revanced/inotia00 source)

➡ Skip this if not found or use get_ver "patch_name" "pkg_name" for different revanced/inotia00 source

➡ Use version="version" to set specific version

5️⃣ Get apk

➡ In new code I will input all app-links revanced supported. Find them(app_name) in apkmirror.info

➡ Use :

get_apkmirror "app_name" for universal app like :YouTube,Twitch...

get_apkmirror "app_name" "arch" for arch app like : YouTube Music ,Messenger...

6️⃣ Patch app

➡ Use: patch "app_name" "name-you-like" "arch"

➡ (app_name: above) (name-you-like: Example YouTube-Extended-v$version)

➡ (arch: arm64-v8a,armeabi-v7a,x86,x86_64 and arm) Split apk if you need. Note: blank is same original input APK. Need use j-hc/cli to split Revanced, Revanced Extended still use inotia00/cli

7️⃣ Finish patch

➡ Use : finish_patch "txt_name"

➡ (txt_name = revanced,revanced-extended... As same 1️⃣)

About

This repository can patch YouTube/YouTube Music from revanced/inotia00 source