mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
fix
This commit is contained in:
@@ -2,78 +2,58 @@
|
||||
# Revanced Extended forked by Anddea build
|
||||
source src/build/utils.sh
|
||||
# Download requirements
|
||||
revanced_dl(){
|
||||
dl_gh "revanced-patches" "anddea" "prerelease"
|
||||
dl_gh "revanced-cli" "inotia00" "latest"
|
||||
}
|
||||
dl_gh "revanced-patches" "anddea" "prerelease"
|
||||
dl_gh "revanced-cli" "inotia00" "latest"
|
||||
|
||||
1() {
|
||||
revanced_dl
|
||||
#Disabled because lastest RVE Anddea patch youtube not have splits apk on APKMirror
|
||||
# Patch YouTube:
|
||||
#get_patches_key "youtube-rve-anddea"
|
||||
#get_apk "com.google.android.youtube" "youtube-beta" "youtube" "google-inc/youtube/youtube" "Bundle_extract"
|
||||
#split_editor "youtube-beta" "youtube-beta"
|
||||
#patch "youtube-beta" "anddea" "inotia"
|
||||
# Patch Youtube Arm64-v8a
|
||||
#get_patches_key "youtube-rve-anddea"
|
||||
#split_editor "youtube-beta" "youtube-beta-arm64-v8a" "exclude" "split_config.armeabi_v7a split_config.x86 split_config.x86_64"
|
||||
#patch "youtube-beta-arm64-v8a" "anddea" "inotia"
|
||||
# Patch Youtube Armeabi-v7a
|
||||
#get_patches_key "youtube-rve-anddea"
|
||||
#split_editor "youtube-beta" "youtube-beta-armeabi-v7a" "exclude" "split_config.arm64_v8a split_config.x86 split_config.x86_64"
|
||||
#patch "youtube-beta-armeabi-v7a" "anddea" "inotia"
|
||||
# Patch Youtube x86
|
||||
#get_patches_key "youtube-rve-anddea"
|
||||
#split_editor "youtube-beta" "youtube-beta-x86" "exclude" "split_config.arm64_v8a split_config.armeabi_v7a split_config.x86_64"
|
||||
#patch "youtube-beta-x86" "anddea" "inotia"
|
||||
# Patch Youtube x86_64
|
||||
#get_patches_key "youtube-rve-anddea"
|
||||
#split_editor "youtube-beta" "youtube-beta-x86_64" "exclude" "split_config.arm64_v8a split_config.armeabi_v7a split_config.x86"
|
||||
#patch "youtube-beta-x86_64" "anddea" "inotia"
|
||||
# Patch YouTube:
|
||||
get_patches_key "youtube-rve-anddea"
|
||||
get_apk "com.google.android.youtube" "youtube-beta" "youtube" "google-inc/youtube/youtube"
|
||||
patch "youtube-beta" "anddea" "inotia"
|
||||
# Split architecture Youtube:
|
||||
get_patches_key "youtube-rve-anddea"
|
||||
for i in {0..3}; do
|
||||
split_arch "youtube-beta" "anddea" "$(gen_rip_libs ${libs[i]})"
|
||||
done
|
||||
}
|
||||
2() {
|
||||
revanced_dl
|
||||
# Patch YouTube Music Extended:
|
||||
# Arm64-v8a
|
||||
get_patches_key "youtube-music-rve-anddea"
|
||||
get_apk "com.google.android.apps.youtube.music" "youtube-music-beta-arm64-v8a" "youtube-music" "google-inc/youtube-music/youtube-music" "arm64-v8a"
|
||||
patch "youtube-music-beta-arm64-v8a" "anddea" "inotia"
|
||||
# Armeabi-v7a
|
||||
get_patches_key "youtube-music-rve-anddea"
|
||||
get_apk "com.google.android.apps.youtube.music" "youtube-music-beta-armeabi-v7a" "youtube-music" "google-inc/youtube-music/youtube-music" "armeabi-v7a"
|
||||
patch "youtube-music-beta-armeabi-v7a" "anddea" "inotia"
|
||||
}
|
||||
3() {
|
||||
revanced_dl
|
||||
#Disabled because lastest RVE Anddea patch youtube not have splits apk on APKMirror
|
||||
#get_apk "com.google.android.youtube" "youtube-lite-beta" "youtube" "google-inc/youtube/youtube" "Bundle_extract"
|
||||
# Patch YouTube Lite Arm64-v8a:
|
||||
#get_patches_key "youtube-rve-anddea"
|
||||
#split_editor "youtube-lite-beta" "youtube-lite-beta-arm64-v8a" "include" "split_config.arm64_v8a split_config.en split_config.xhdpi split_config.xxxhdpi"
|
||||
#patch "youtube-lite-beta-arm64-v8a" "anddea" "inotia"
|
||||
# Patch YouTube Lite Armeabi-v7a:
|
||||
#get_patches_key "youtube-rve-anddea"
|
||||
#split_editor "youtube-lite-beta" "youtube-lite-beta-armeabi-v7a" "include" "split_config.armeabi_v7a split_config.en split_config.xhdpi split_config.xxxhdpi"
|
||||
#patch "youtube-lite-beta-armeabi-v7a" "anddea" "inotia"
|
||||
}
|
||||
case "$1" in
|
||||
1)
|
||||
1
|
||||
;;
|
||||
2)
|
||||
2
|
||||
;;
|
||||
3)
|
||||
3
|
||||
;;
|
||||
esac
|
||||
#Disabled because lastest RVE Anddea patch youtube not have splits apk on APKMirror
|
||||
# Patch YouTube:
|
||||
#get_patches_key "youtube-rve-anddea"
|
||||
#get_apk "com.google.android.youtube" "youtube-beta" "youtube" "google-inc/youtube/youtube" "Bundle_extract"
|
||||
#split_editor "youtube-beta" "youtube-beta"
|
||||
#patch "youtube-beta" "anddea" "inotia"
|
||||
# Patch Youtube Arm64-v8a
|
||||
#get_patches_key "youtube-rve-anddea"
|
||||
#split_editor "youtube-beta" "youtube-beta-arm64-v8a" "exclude" "split_config.armeabi_v7a split_config.x86 split_config.x86_64"
|
||||
#patch "youtube-beta-arm64-v8a" "anddea" "inotia"
|
||||
# Patch Youtube Armeabi-v7a
|
||||
#get_patches_key "youtube-rve-anddea"
|
||||
#split_editor "youtube-beta" "youtube-beta-armeabi-v7a" "exclude" "split_config.arm64_v8a split_config.x86 split_config.x86_64"
|
||||
#patch "youtube-beta-armeabi-v7a" "anddea" "inotia"
|
||||
# Patch Youtube x86
|
||||
#get_patches_key "youtube-rve-anddea"
|
||||
#split_editor "youtube-beta" "youtube-beta-x86" "exclude" "split_config.arm64_v8a split_config.armeabi_v7a split_config.x86_64"
|
||||
#patch "youtube-beta-x86" "anddea" "inotia"
|
||||
# Patch Youtube x86_64
|
||||
#get_patches_key "youtube-rve-anddea"
|
||||
#split_editor "youtube-beta" "youtube-beta-x86_64" "exclude" "split_config.arm64_v8a split_config.armeabi_v7a split_config.x86"
|
||||
#patch "youtube-beta-x86_64" "anddea" "inotia"
|
||||
# Patch YouTube:
|
||||
get_patches_key "youtube-rve-anddea"
|
||||
get_apk "com.google.android.youtube" "youtube-beta" "youtube" "google-inc/youtube/youtube"
|
||||
patch "youtube-beta" "anddea" "inotia"
|
||||
# Split architecture Youtube:
|
||||
get_patches_key "youtube-rve-anddea"
|
||||
for i in {0..3}; do
|
||||
split_arch "youtube-beta" "anddea" "$(gen_rip_libs ${libs[i]})"
|
||||
done
|
||||
|
||||
# Patch YouTube Music Extended:
|
||||
# Arm64-v8a
|
||||
get_patches_key "youtube-music-rve-anddea"
|
||||
get_apk "com.google.android.apps.youtube.music" "youtube-music-beta-arm64-v8a" "youtube-music" "google-inc/youtube-music/youtube-music" "arm64-v8a"
|
||||
patch "youtube-music-beta-arm64-v8a" "anddea" "inotia"
|
||||
# Armeabi-v7a
|
||||
get_patches_key "youtube-music-rve-anddea"
|
||||
get_apk "com.google.android.apps.youtube.music" "youtube-music-beta-armeabi-v7a" "youtube-music" "google-inc/youtube-music/youtube-music" "armeabi-v7a"
|
||||
patch "youtube-music-beta-armeabi-v7a" "anddea" "inotia"
|
||||
|
||||
#Disabled because lastest RVE Anddea patch youtube not have splits apk on APKMirror
|
||||
#get_apk "com.google.android.youtube" "youtube-lite-beta" "youtube" "google-inc/youtube/youtube" "Bundle_extract"
|
||||
# Patch YouTube Lite Arm64-v8a:
|
||||
#get_patches_key "youtube-rve-anddea"
|
||||
#split_editor "youtube-lite-beta" "youtube-lite-beta-arm64-v8a" "include" "split_config.arm64_v8a split_config.en split_config.xhdpi split_config.xxxhdpi"
|
||||
#patch "youtube-lite-beta-arm64-v8a" "anddea" "inotia"
|
||||
# Patch YouTube Lite Armeabi-v7a:
|
||||
#get_patches_key "youtube-rve-anddea"
|
||||
#split_editor "youtube-lite-beta" "youtube-lite-beta-armeabi-v7a" "include" "split_config.armeabi_v7a split_config.en split_config.xhdpi split_config.xxxhdpi"
|
||||
#patch "youtube-lite-beta-armeabi-v7a" "anddea" "inotia"
|
||||
|
||||
@@ -2,67 +2,47 @@
|
||||
# Revanced Extended forked by Anddea build
|
||||
source src/build/utils.sh
|
||||
# Download requirements
|
||||
revanced_dl(){
|
||||
dl_gh "revanced-patches revanced-integrations" "anddea" "latest"
|
||||
dl_gh "revanced-cli" "revanced" "v4.6.0"
|
||||
}
|
||||
dl_gh "revanced-patches revanced-integrations" "anddea" "latest"
|
||||
dl_gh "revanced-cli" "revanced" "v4.6.0"
|
||||
|
||||
1() {
|
||||
revanced_dl
|
||||
# Patch YouTube:
|
||||
get_patches_key "youtube-rve-anddea"
|
||||
get_apk "com.google.android.youtube" "youtube-stable" "youtube" "google-inc/youtube/youtube" "Bundle_extract"
|
||||
split_editor "youtube-stable" "youtube-stable"
|
||||
patch "youtube-stable" "anddea"
|
||||
# Patch Youtube Arm64-v8a
|
||||
get_patches_key "youtube-rve-anddea"
|
||||
split_editor "youtube-stable" "youtube-stable-arm64-v8a" "exclude" "split_config.armeabi_v7a split_config.x86 split_config.x86_64"
|
||||
patch "youtube-stable-arm64-v8a" "anddea"
|
||||
# Patch Youtube Armeabi-v7a
|
||||
get_patches_key "youtube-rve-anddea"
|
||||
split_editor "youtube-stable" "youtube-stable-armeabi-v7a" "exclude" "split_config.arm64_v8a split_config.x86 split_config.x86_64"
|
||||
patch "youtube-stable-armeabi-v7a" "anddea"
|
||||
# Patch Youtube x86
|
||||
get_patches_key "youtube-rve-anddea"
|
||||
split_editor "youtube-stable" "youtube-stable-x86" "exclude" "split_config.arm64_v8a split_config.armeabi_v7a split_config.x86_64"
|
||||
patch "youtube-stable-x86" "anddea"
|
||||
# Patch Youtube x86_64
|
||||
get_patches_key "youtube-rve-anddea"
|
||||
split_editor "youtube-stable" "youtube-stable-x86_64" "exclude" "split_config.arm64_v8a split_config.armeabi_v7a split_config.x86"
|
||||
patch "youtube-stable-x86_64" "anddea"
|
||||
}
|
||||
2() {
|
||||
revanced_dl
|
||||
# Patch YouTube Music Extended:
|
||||
# Arm64-v8a
|
||||
get_patches_key "youtube-music-rve-anddea"
|
||||
get_apk "com.google.android.apps.youtube.music" "youtube-music-stable-arm64-v8a" "youtube-music" "google-inc/youtube-music/youtube-music" "arm64-v8a"
|
||||
patch "youtube-music-stable-arm64-v8a" "anddea"
|
||||
# Armeabi-v7a
|
||||
get_patches_key "youtube-music-rve-anddea"
|
||||
get_apk "com.google.android.apps.youtube.music" "youtube-music-stable-armeabi-v7a" "youtube-music" "google-inc/youtube-music/youtube-music" "armeabi-v7a"
|
||||
patch "youtube-music-stable-armeabi-v7a" "anddea"
|
||||
}
|
||||
3() {
|
||||
revanced_dl
|
||||
get_apk "com.google.android.youtube" "youtube-lite" "youtube" "google-inc/youtube/youtube" "Bundle_extract"
|
||||
# Patch YouTube Lite Arm64-v8a:
|
||||
get_patches_key "youtube-rve-anddea"
|
||||
split_editor "youtube-lite" "youtube-lite-arm64-v8a" "include" "split_config.arm64_v8a split_config.en split_config.xhdpi split_config.xxxhdpi"
|
||||
patch "youtube-lite-arm64-v8a" "anddea"
|
||||
# Patch YouTube Lite Armeabi-v7a:
|
||||
get_patches_key "youtube-rve-anddea"
|
||||
split_editor "youtube-lite" "youtube-lite-armeabi-v7a" "include" "split_config.armeabi_v7a split_config.en split_config.xhdpi split_config.xxxhdpi"
|
||||
patch "youtube-lite-armeabi-v7a" "anddea"
|
||||
}
|
||||
case "$1" in
|
||||
1)
|
||||
1
|
||||
;;
|
||||
2)
|
||||
2
|
||||
;;
|
||||
3)
|
||||
3
|
||||
;;
|
||||
esac
|
||||
# Patch YouTube:
|
||||
get_patches_key "youtube-rve-anddea"
|
||||
get_apk "com.google.android.youtube" "youtube-stable" "youtube" "google-inc/youtube/youtube" "Bundle_extract"
|
||||
split_editor "youtube-stable" "youtube-stable"
|
||||
patch "youtube-stable" "anddea"
|
||||
# Patch Youtube Arm64-v8a
|
||||
get_patches_key "youtube-rve-anddea"
|
||||
split_editor "youtube-stable" "youtube-stable-arm64-v8a" "exclude" "split_config.armeabi_v7a split_config.x86 split_config.x86_64"
|
||||
patch "youtube-stable-arm64-v8a" "anddea"
|
||||
# Patch Youtube Armeabi-v7a
|
||||
get_patches_key "youtube-rve-anddea"
|
||||
split_editor "youtube-stable" "youtube-stable-armeabi-v7a" "exclude" "split_config.arm64_v8a split_config.x86 split_config.x86_64"
|
||||
patch "youtube-stable-armeabi-v7a" "anddea"
|
||||
# Patch Youtube x86
|
||||
get_patches_key "youtube-rve-anddea"
|
||||
split_editor "youtube-stable" "youtube-stable-x86" "exclude" "split_config.arm64_v8a split_config.armeabi_v7a split_config.x86_64"
|
||||
patch "youtube-stable-x86" "anddea"
|
||||
# Patch Youtube x86_64
|
||||
get_patches_key "youtube-rve-anddea"
|
||||
split_editor "youtube-stable" "youtube-stable-x86_64" "exclude" "split_config.arm64_v8a split_config.armeabi_v7a split_config.x86"
|
||||
patch "youtube-stable-x86_64" "anddea"
|
||||
|
||||
# Patch YouTube Music Extended:
|
||||
# Arm64-v8a
|
||||
get_patches_key "youtube-music-rve-anddea"
|
||||
get_apk "com.google.android.apps.youtube.music" "youtube-music-stable-arm64-v8a" "youtube-music" "google-inc/youtube-music/youtube-music" "arm64-v8a"
|
||||
patch "youtube-music-stable-arm64-v8a" "anddea"
|
||||
# Armeabi-v7a
|
||||
get_patches_key "youtube-music-rve-anddea"
|
||||
get_apk "com.google.android.apps.youtube.music" "youtube-music-stable-armeabi-v7a" "youtube-music" "google-inc/youtube-music/youtube-music" "armeabi-v7a"
|
||||
patch "youtube-music-stable-armeabi-v7a" "anddea"
|
||||
|
||||
get_apk "com.google.android.youtube" "youtube-lite" "youtube" "google-inc/youtube/youtube" "Bundle_extract"
|
||||
# Patch YouTube Lite Arm64-v8a:
|
||||
get_patches_key "youtube-rve-anddea"
|
||||
split_editor "youtube-lite" "youtube-lite-arm64-v8a" "include" "split_config.arm64_v8a split_config.en split_config.xhdpi split_config.xxxhdpi"
|
||||
patch "youtube-lite-arm64-v8a" "anddea"
|
||||
# Patch YouTube Lite Armeabi-v7a:
|
||||
get_patches_key "youtube-rve-anddea"
|
||||
split_editor "youtube-lite" "youtube-lite-armeabi-v7a" "include" "split_config.armeabi_v7a split_config.en split_config.xhdpi split_config.xxxhdpi"
|
||||
patch "youtube-lite-armeabi-v7a" "anddea"
|
||||
|
||||
@@ -3,81 +3,61 @@
|
||||
source src/build/utils.sh
|
||||
|
||||
# Download requirements
|
||||
revanced_dl(){
|
||||
dl_gh "revanced-patches revanced-cli" "inotia00" "prerelease"
|
||||
}
|
||||
dl_gh "revanced-patches revanced-cli" "inotia00" "prerelease"
|
||||
|
||||
1() {
|
||||
revanced_dl
|
||||
#Disabled because lastest RVE patch youtube not have splits apk on APKMirror
|
||||
# Patch YouTube:
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#get_apk "com.google.android.youtube" "youtube-beta" "youtube" "google-inc/youtube/youtube" "Bundle_extract"
|
||||
#split_editor "youtube-beta" "youtube-beta"
|
||||
#patch "youtube-beta" "revanced-extended" "inotia"
|
||||
# Patch Youtube Arm64-v8a
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube-beta" "youtube-beta-arm64-v8a" "exclude" "split_config.armeabi_v7a split_config.x86 split_config.x86_64"
|
||||
#patch "youtube-beta-arm64-v8a" "revanced-extended" "inotia"
|
||||
# Patch Youtube Armeabi-v7a
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube-beta" "youtube-beta-armeabi-v7a" "exclude" "split_config.arm64_v8a split_config.x86 split_config.x86_64"
|
||||
#patch "youtube-beta-armeabi-v7a" "revanced-extended" "inotia"
|
||||
# Patch Youtube x86
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube-beta" "youtube-beta-x86" "exclude" "split_config.arm64_v8a split_config.armeabi_v7a split_config.x86_64"
|
||||
#patch "youtube-beta-x86" "revanced-extended" "inotia"
|
||||
# Patch Youtube x86_64
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube-beta" "youtube-beta-x86_64" "exclude" "split_config.arm64_v8a split_config.armeabi_v7a split_config.x86"
|
||||
#patch "youtube-beta-x86_64" "revanced-extended" "inotia"
|
||||
# Patch YouTube:
|
||||
get_patches_key "youtube-revanced-extended"
|
||||
get_apk "com.google.android.youtube" "youtube-beta" "youtube" "google-inc/youtube/youtube"
|
||||
patch "youtube-beta" "revanced-extended" "inotia"
|
||||
# Split architecture Youtube:
|
||||
get_patches_key "youtube-revanced-extended"
|
||||
for i in {0..3}; do
|
||||
split_arch "youtube-beta" "revanced-extended" "$(gen_rip_libs ${libs[i]})"
|
||||
done
|
||||
}
|
||||
2() {
|
||||
revanced_dl
|
||||
# Patch YouTube Music Extended:
|
||||
# Arm64-v8a
|
||||
get_patches_key "youtube-music-revanced-extended"
|
||||
get_apk "com.google.android.apps.youtube.music" "youtube-beta-music-arm64-v8a" "youtube-music" "google-inc/youtube-music/youtube-music" "arm64-v8a"
|
||||
patch "youtube-beta-music-arm64-v8a" "revanced-extended" "inotia"
|
||||
# Armeabi-v7a
|
||||
get_patches_key "youtube-music-revanced-extended"
|
||||
get_apk "com.google.android.apps.youtube.music" "youtube-beta-music-armeabi-v7a" "youtube-music" "google-inc/youtube-music/youtube-music" "armeabi-v7a"
|
||||
patch "youtube-beta-music-armeabi-v7a" "revanced-extended" "inotia"
|
||||
}
|
||||
3() {
|
||||
revanced_dl
|
||||
# Patch Reddit:
|
||||
get_patches_key "reddit-rve"
|
||||
get_apk "com.reddit.frontpage" "reddit-beta" "reddit" "redditinc/reddit/reddit" "Bundle"
|
||||
patch "reddit-beta" "revanced-extended"
|
||||
#Disabled because lastest RVE patch youtube not have splits apk on APKMirror
|
||||
#get_apk "com.google.android.youtube" "youtube-lite-beta" "youtube" "google-inc/youtube/youtube" "Bundle_extract"
|
||||
# Patch YouTube Lite Arm64-v8a:
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube-lite-beta" "youtube-lite-beta-arm64-v8a" "include" "split_config.arm64_v8a split_config.en split_config.xhdpi split_config.xxxhdpi"
|
||||
#patch "youtube-lite-beta-arm64-v8a" "revanced-extended" "inotia"
|
||||
# Patch YouTube Lite Armeabi-v7a:
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube-lite-beta" "youtube-lite-beta-armeabi-v7a" "include" "split_config.armeabi_v7a split_config.en split_config.xhdpi split_config.xxxhdpi"
|
||||
#patch "youtube-lite-beta-armeabi-v7a" "revanced-extended" "inotia"
|
||||
}
|
||||
case "$1" in
|
||||
1)
|
||||
1
|
||||
;;
|
||||
2)
|
||||
2
|
||||
;;
|
||||
3)
|
||||
3
|
||||
;;
|
||||
esac
|
||||
#Disabled because lastest RVE patch youtube not have splits apk on APKMirror
|
||||
# Patch YouTube:
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#get_apk "com.google.android.youtube" "youtube-beta" "youtube" "google-inc/youtube/youtube" "Bundle_extract"
|
||||
#split_editor "youtube-beta" "youtube-beta"
|
||||
#patch "youtube-beta" "revanced-extended" "inotia"
|
||||
# Patch Youtube Arm64-v8a
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube-beta" "youtube-beta-arm64-v8a" "exclude" "split_config.armeabi_v7a split_config.x86 split_config.x86_64"
|
||||
#patch "youtube-beta-arm64-v8a" "revanced-extended" "inotia"
|
||||
# Patch Youtube Armeabi-v7a
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube-beta" "youtube-beta-armeabi-v7a" "exclude" "split_config.arm64_v8a split_config.x86 split_config.x86_64"
|
||||
#patch "youtube-beta-armeabi-v7a" "revanced-extended" "inotia"
|
||||
# Patch Youtube x86
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube-beta" "youtube-beta-x86" "exclude" "split_config.arm64_v8a split_config.armeabi_v7a split_config.x86_64"
|
||||
#patch "youtube-beta-x86" "revanced-extended" "inotia"
|
||||
# Patch Youtube x86_64
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube-beta" "youtube-beta-x86_64" "exclude" "split_config.arm64_v8a split_config.armeabi_v7a split_config.x86"
|
||||
#patch "youtube-beta-x86_64" "revanced-extended" "inotia"
|
||||
# Patch YouTube:
|
||||
get_patches_key "youtube-revanced-extended"
|
||||
get_apk "com.google.android.youtube" "youtube-beta" "youtube" "google-inc/youtube/youtube"
|
||||
patch "youtube-beta" "revanced-extended" "inotia"
|
||||
# Split architecture Youtube:
|
||||
get_patches_key "youtube-revanced-extended"
|
||||
for i in {0..3}; do
|
||||
split_arch "youtube-beta" "revanced-extended" "$(gen_rip_libs ${libs[i]})"
|
||||
done
|
||||
|
||||
# Patch YouTube Music Extended:
|
||||
# Arm64-v8a
|
||||
get_patches_key "youtube-music-revanced-extended"
|
||||
get_apk "com.google.android.apps.youtube.music" "youtube-beta-music-arm64-v8a" "youtube-music" "google-inc/youtube-music/youtube-music" "arm64-v8a"
|
||||
patch "youtube-beta-music-arm64-v8a" "revanced-extended" "inotia"
|
||||
# Armeabi-v7a
|
||||
get_patches_key "youtube-music-revanced-extended"
|
||||
get_apk "com.google.android.apps.youtube.music" "youtube-beta-music-armeabi-v7a" "youtube-music" "google-inc/youtube-music/youtube-music" "armeabi-v7a"
|
||||
patch "youtube-beta-music-armeabi-v7a" "revanced-extended" "inotia"
|
||||
|
||||
# Patch Reddit:
|
||||
get_patches_key "reddit-rve"
|
||||
get_apk "com.reddit.frontpage" "reddit-beta" "reddit" "redditinc/reddit/reddit" "Bundle"
|
||||
patch "reddit-beta" "revanced-extended" "inotia"
|
||||
#Disabled because lastest RVE patch youtube not have splits apk on APKMirror
|
||||
#get_apk "com.google.android.youtube" "youtube-lite-beta" "youtube" "google-inc/youtube/youtube" "Bundle_extract"
|
||||
# Patch YouTube Lite Arm64-v8a:
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube-lite-beta" "youtube-lite-beta-arm64-v8a" "include" "split_config.arm64_v8a split_config.en split_config.xhdpi split_config.xxxhdpi"
|
||||
#patch "youtube-lite-beta-arm64-v8a" "revanced-extended" "inotia"
|
||||
# Patch YouTube Lite Armeabi-v7a:
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube-lite-beta" "youtube-lite-beta-armeabi-v7a" "include" "split_config.armeabi_v7a split_config.en split_config.xhdpi split_config.xxxhdpi"
|
||||
#patch "youtube-lite-beta-armeabi-v7a" "revanced-extended" "inotia"
|
||||
|
||||
@@ -3,81 +3,61 @@
|
||||
source src/build/utils.sh
|
||||
|
||||
# Download requirements
|
||||
revanced_dl(){
|
||||
dl_gh "revanced-patches revanced-cli" "inotia00" "latest"
|
||||
}
|
||||
dl_gh "revanced-patches revanced-cli" "inotia00" "latest"
|
||||
|
||||
1() {
|
||||
revanced_dl
|
||||
#Disabled because lastest RVE patch youtube not have splits apk on APKMirror
|
||||
# Patch YouTube:
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#get_apk "com.google.android.youtube" "youtube" "youtube" "google-inc/youtube/youtube" "Bundle_extract"
|
||||
#split_editor "youtube" "youtube"
|
||||
#patch "youtube" "revanced-extended" "inotia"
|
||||
# Patch Youtube Arm64-v8a
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube" "youtube-arm64-v8a" "exclude" "split_config.armeabi_v7a split_config.x86 split_config.x86_64"
|
||||
#patch "youtube-arm64-v8a" "revanced-extended" "inotia"
|
||||
# Patch Youtube Armeabi-v7a
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube" "youtube-armeabi-v7a" "exclude" "split_config.arm64_v8a split_config.x86 split_config.x86_64"
|
||||
#patch "youtube-armeabi-v7a" "revanced-extended" "inotia"
|
||||
# Patch Youtube x86
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube" "youtube-x86" "exclude" "split_config.arm64_v8a split_config.armeabi_v7a split_config.x86_64"
|
||||
#patch "youtube-x86" "revanced-extended" "inotia"
|
||||
# Patch Youtube x86_64
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube" "youtube-x86_64" "exclude" "split_config.arm64_v8a split_config.armeabi_v7a split_config.x86"
|
||||
#patch "youtube-x86_64" "revanced-extended" "inotia"
|
||||
# Patch YouTube:
|
||||
get_patches_key "youtube-revanced-extended"
|
||||
get_apk "com.google.android.youtube" "youtube" "youtube" "google-inc/youtube/youtube"
|
||||
patch "youtube" "revanced-extended" "inotia"
|
||||
# Split architecture Youtube:
|
||||
get_patches_key "youtube-revanced-extended"
|
||||
for i in {0..3}; do
|
||||
split_arch "youtube" "revanced-extended" "$(gen_rip_libs ${libs[i]})"
|
||||
done
|
||||
}
|
||||
2() {
|
||||
revanced_dl
|
||||
# Patch YouTube Music Extended:
|
||||
# Arm64-v8a
|
||||
get_patches_key "youtube-music-revanced-extended"
|
||||
get_apk "com.google.android.apps.youtube.music" "youtube-music-arm64-v8a" "youtube-music" "google-inc/youtube-music/youtube-music" "arm64-v8a"
|
||||
patch "youtube-music-arm64-v8a" "revanced-extended" "inotia"
|
||||
# Armeabi-v7a
|
||||
get_patches_key "youtube-music-revanced-extended"
|
||||
get_apk "com.google.android.apps.youtube.music" "youtube-music-armeabi-v7a" "youtube-music" "google-inc/youtube-music/youtube-music" "armeabi-v7a"
|
||||
patch "youtube-music-armeabi-v7a" "revanced-extended" "inotia"
|
||||
}
|
||||
3() {
|
||||
revanced_dl
|
||||
# Patch Reddit:
|
||||
get_patches_key "reddit-rve"
|
||||
get_apk "com.reddit.frontpage" "reddit" "reddit" "redditinc/reddit/reddit" "Bundle"
|
||||
patch "reddit" "revanced-extended"
|
||||
#Disabled because lastest RVE patch youtube not have splits apk on APKMirror
|
||||
#get_apk "com.google.android.youtube" "youtube-lite" "youtube" "google-inc/youtube/youtube" "Bundle_extract"
|
||||
# Patch YouTube Lite Arm64-v8a:
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube-lite" "youtube-lite-arm64-v8a" "include" "split_config.arm64_v8a split_config.en split_config.xhdpi split_config.xxxhdpi"
|
||||
#patch "youtube-lite-arm64-v8a" "revanced-extended" "inotia"
|
||||
# Patch YouTube Lite Armeabi-v7a:
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube-lite" "youtube-lite-armeabi-v7a" "include" "split_config.armeabi_v7a split_config.en split_config.xhdpi split_config.xxxhdpi"
|
||||
#patch "youtube-lite-armeabi-v7a" "revanced-extended" "inotia"
|
||||
}
|
||||
case "$1" in
|
||||
1)
|
||||
1
|
||||
;;
|
||||
2)
|
||||
2
|
||||
;;
|
||||
3)
|
||||
3
|
||||
;;
|
||||
esac
|
||||
#Disabled because lastest RVE patch youtube not have splits apk on APKMirror
|
||||
# Patch YouTube:
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#get_apk "com.google.android.youtube" "youtube" "youtube" "google-inc/youtube/youtube" "Bundle_extract"
|
||||
#split_editor "youtube" "youtube"
|
||||
#patch "youtube" "revanced-extended" "inotia"
|
||||
# Patch Youtube Arm64-v8a
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube" "youtube-arm64-v8a" "exclude" "split_config.armeabi_v7a split_config.x86 split_config.x86_64"
|
||||
#patch "youtube-arm64-v8a" "revanced-extended" "inotia"
|
||||
# Patch Youtube Armeabi-v7a
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube" "youtube-armeabi-v7a" "exclude" "split_config.arm64_v8a split_config.x86 split_config.x86_64"
|
||||
#patch "youtube-armeabi-v7a" "revanced-extended" "inotia"
|
||||
# Patch Youtube x86
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube" "youtube-x86" "exclude" "split_config.arm64_v8a split_config.armeabi_v7a split_config.x86_64"
|
||||
#patch "youtube-x86" "revanced-extended" "inotia"
|
||||
# Patch Youtube x86_64
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube" "youtube-x86_64" "exclude" "split_config.arm64_v8a split_config.armeabi_v7a split_config.x86"
|
||||
#patch "youtube-x86_64" "revanced-extended" "inotia"
|
||||
# Patch YouTube:
|
||||
get_patches_key "youtube-revanced-extended"
|
||||
get_apk "com.google.android.youtube" "youtube" "youtube" "google-inc/youtube/youtube"
|
||||
patch "youtube" "revanced-extended" "inotia"
|
||||
# Split architecture Youtube:
|
||||
get_patches_key "youtube-revanced-extended"
|
||||
for i in {0..3}; do
|
||||
split_arch "youtube" "revanced-extended" "$(gen_rip_libs ${libs[i]})"
|
||||
done
|
||||
|
||||
# Patch YouTube Music Extended:
|
||||
# Arm64-v8a
|
||||
get_patches_key "youtube-music-revanced-extended"
|
||||
get_apk "com.google.android.apps.youtube.music" "youtube-music-arm64-v8a" "youtube-music" "google-inc/youtube-music/youtube-music" "arm64-v8a"
|
||||
patch "youtube-music-arm64-v8a" "revanced-extended" "inotia"
|
||||
# Armeabi-v7a
|
||||
get_patches_key "youtube-music-revanced-extended"
|
||||
get_apk "com.google.android.apps.youtube.music" "youtube-music-armeabi-v7a" "youtube-music" "google-inc/youtube-music/youtube-music" "armeabi-v7a"
|
||||
patch "youtube-music-armeabi-v7a" "revanced-extended" "inotia"
|
||||
|
||||
# Patch Reddit:
|
||||
get_patches_key "reddit-rve"
|
||||
get_apk "com.reddit.frontpage" "reddit" "reddit" "redditinc/reddit/reddit" "Bundle"
|
||||
patch "reddit" "revanced-extended" "inotia"
|
||||
#Disabled because lastest RVE patch youtube not have splits apk on APKMirror
|
||||
#get_apk "com.google.android.youtube" "youtube-lite" "youtube" "google-inc/youtube/youtube" "Bundle_extract"
|
||||
# Patch YouTube Lite Arm64-v8a:
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube-lite" "youtube-lite-arm64-v8a" "include" "split_config.arm64_v8a split_config.en split_config.xhdpi split_config.xxxhdpi"
|
||||
#patch "youtube-lite-arm64-v8a" "revanced-extended" "inotia"
|
||||
# Patch YouTube Lite Armeabi-v7a:
|
||||
#get_patches_key "youtube-revanced-extended"
|
||||
#split_editor "youtube-lite" "youtube-lite-armeabi-v7a" "include" "split_config.armeabi_v7a split_config.en split_config.xhdpi split_config.xxxhdpi"
|
||||
#patch "youtube-lite-armeabi-v7a" "revanced-extended" "inotia"
|
||||
@@ -283,7 +283,9 @@ patch() {
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
unset GITHUB_REPOSITORY
|
||||
if [ "$3" = inotia ]; then
|
||||
unset CI GITHUB_ACTION GITHUB_ACTIONS GITHUB_ACTOR GITHUB_ENV GITHUB_EVENT_NAME GITHUB_EVENT_PATH GITHUB_HEAD_REF GITHUB_JOB GITHUB_REF GITHUB_REPOSITORY GITHUB_RUN_ID GITHUB_RUN_NUMBER GITHUB_SHA GITHUB_WORKFLOW GITHUB_WORKSPACE RUN_ID RUN_NUMBER
|
||||
fi
|
||||
eval java -jar *cli*.jar $p$b $m$opt --out=./release/$1-$2.apk$excludePatches$includePatches --keystore=./src/$ks.keystore $pu $a./download/$1.apk
|
||||
unset version
|
||||
unset lock_version
|
||||
@@ -340,7 +342,7 @@ gen_rip_libs() {
|
||||
split_arch() {
|
||||
green_log "[+] Splitting $1 to ${archs[i]}:"
|
||||
if [ -f "./download/$1.apk" ]; then
|
||||
unset GITHUB_REPOSITORY
|
||||
unset CI GITHUB_ACTION GITHUB_ACTIONS GITHUB_ACTOR GITHUB_ENV GITHUB_EVENT_NAME GITHUB_EVENT_PATH GITHUB_HEAD_REF GITHUB_JOB GITHUB_REF GITHUB_REPOSITORY GITHUB_RUN_ID GITHUB_RUN_NUMBER GITHUB_SHA GITHUB_WORKFLOW GITHUB_WORKSPACE RUN_ID RUN_NUMBER
|
||||
eval java -jar revanced-cli*.jar patch \
|
||||
-p *.rvp \
|
||||
$3 \
|
||||
|
||||
Reference in New Issue
Block a user