mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
added ReX
Can patch ReX from now and fix 🐛
This commit is contained in:
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@@ -16,6 +16,9 @@ jobs:
|
||||
- name: Check new patch ReVanced
|
||||
id: check-rv
|
||||
run: bash src/etc/ci.sh ReVanced/revanced-patches youtube-revanced.apk
|
||||
- name: Check new patch ReX
|
||||
id: check-rex
|
||||
run: bash src/etc/ci.sh YT-Advanced/ReX-patches youtube-revanced-extended.apk
|
||||
- name: Check new patch Revanced Extended
|
||||
id: check-rve
|
||||
run: bash src/etc/ci.sh inotia00/revanced-patches youtube-revanced-extended.apk
|
||||
@@ -29,6 +32,7 @@ jobs:
|
||||
uses: gautamkrishnar/keepalive-workflow@v1
|
||||
outputs:
|
||||
check_rv: ${{ steps.check-rv.outputs.new_patch }}
|
||||
check_rex: ${{ steps.check-rex.outputs.new_patch }}
|
||||
check_rve: ${{ steps.check-rve.outputs.new_patch }}
|
||||
check_rve67: ${{ steps.check-rve67.outputs.new_patch }}
|
||||
check_rve5: ${{ steps.check-rve5.outputs.new_patch }}
|
||||
@@ -40,6 +44,13 @@ jobs:
|
||||
uses: ./.github/workflows/manual-patch.yml
|
||||
with:
|
||||
org: "Revanced"
|
||||
Patch-ReX:
|
||||
name: Patch ReX
|
||||
needs: check
|
||||
if: ${{ needs.check.outputs.check_rex == 1 }}
|
||||
uses: ./.github/workflows/manual-patch.yml
|
||||
with:
|
||||
org: "ReX"
|
||||
Patch-Revanced-Extended:
|
||||
name: Patch Revanced Extended
|
||||
needs: check
|
||||
|
||||
16
.github/workflows/manual-patch.yml
vendored
16
.github/workflows/manual-patch.yml
vendored
@@ -11,6 +11,7 @@ on:
|
||||
options:
|
||||
- 'All'
|
||||
- 'Revanced'
|
||||
- 'ReX'
|
||||
- 'Revanced Extended'
|
||||
- 'Revanced Extended Android 6,7'
|
||||
- 'Revanced Extended Android 5'
|
||||
@@ -44,6 +45,21 @@ jobs:
|
||||
repository: ${{ github.repository }}
|
||||
- name: Releasing APK files
|
||||
uses: ./.github/actions/release
|
||||
patch_rex:
|
||||
name: Patch ReX
|
||||
if: ${{ github.event.inputs.org == 'ReX' || github.event.inputs.org == 'All' || inputs.org == 'ReX' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Preparing to patch
|
||||
uses: ./.github/actions/preparing
|
||||
- name: Patch apk
|
||||
run: bash src/build/ReX.sh
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
- name: Releasing APK files
|
||||
uses: ./.github/actions/release
|
||||
patch_rve:
|
||||
name: Patch Revanced Extended
|
||||
if: ${{ github.event.inputs.org == 'Revanced Extended' || github.event.inputs.org == 'All' || inputs.org == 'Revanced Extended' }}
|
||||
|
||||
18
README.md
18
README.md
@@ -44,7 +44,19 @@ Download
|
||||
|
||||
[x86_64](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-x86_64-revanced.apk)
|
||||
|
||||
### [Revanced Extended:](https://github.com/inotia00/revanced-patches/)
|
||||
### [ReX: (forked from Revanced Extended)](https://github.com/YT-Advanced/ReX-patches)
|
||||
|
||||
[All Architectures](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-ReX.apk)
|
||||
|
||||
[Arm64-v8a](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-arm64-v8a-ReX.apk)
|
||||
|
||||
[Armeabi-v7a](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-armeabi-v7a-ReX.apk)
|
||||
|
||||
[x86](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-x86-ReX.apk)
|
||||
|
||||
[x86_64](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-x86_64-ReX.apk)
|
||||
|
||||
### [Revanced Extended: (Discontinued)](https://github.com/inotia00/revanced-patches/)
|
||||
|
||||
[All Architectures](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-revanced-extended.apk)
|
||||
|
||||
@@ -175,6 +187,10 @@ Download
|
||||
|
||||
[All Architectures](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/reddit-revanced.apk)
|
||||
|
||||
### ReX:
|
||||
|
||||
[All Architectures](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/reddit-ReX.apk)
|
||||
|
||||
### Revanced Extended:
|
||||
|
||||
[All Architectures](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/reddit-revanced-extended.apk)
|
||||
|
||||
50
src/build/ReX.sh
Normal file
50
src/build/ReX.sh
Normal file
@@ -0,0 +1,50 @@
|
||||
#!/bin/bash
|
||||
# ReX build
|
||||
source src/build/utils.sh
|
||||
|
||||
#################################################
|
||||
|
||||
# Download requirements
|
||||
dl_gh "ReX-patches ReX-integrations" "YT-Advanced" "latest"
|
||||
dl_gh "revanced-cli" "inotia00" "latest"
|
||||
|
||||
#################################################
|
||||
|
||||
# Patch YouTube ReX:
|
||||
get_patches_key "youtube-ReX"
|
||||
get_ver "Hide general ads" "com.google.android.youtube"
|
||||
get_apk "youtube" "youtube" "google-inc/youtube/youtube"
|
||||
patch "youtube" "ReX" "inotia"
|
||||
|
||||
#################################################
|
||||
|
||||
# Patch YouTube Music ReX:
|
||||
# Arm64-v8a
|
||||
get_patches_key "youtube-music-ReX"
|
||||
#get_ver "Hide general ads" "com.google.android.apps.youtube.music"
|
||||
get_apk "youtube-music-arm64-v8a" "youtube-music" "google-inc/youtube-music/youtube-music" "arm64-v8a"
|
||||
patch "youtube-music-arm64-v8a" "ReX" "inotia"
|
||||
# Armeabi-v7a
|
||||
get_patches_key "youtube-music-ReX"
|
||||
#get_ver "Hide general ads" "com.google.android.apps.youtube.music"
|
||||
get_apk "youtube-music-armeabi-v7a" "youtube-music" "google-inc/youtube-music/youtube-music" "armeabi-v7a"
|
||||
patch "youtube-music-armeabi-v7a" "ReX" "inotia"
|
||||
|
||||
#################################################
|
||||
|
||||
# Patch Reddit:
|
||||
get_patches_key "reddit"
|
||||
get_apk "reddit" "reddit" "redditinc/reddit/reddit"
|
||||
patch "reddit" "ReX" "inotia"
|
||||
|
||||
#################################################
|
||||
|
||||
rm -f revanced-cli*
|
||||
dl_gh "revanced-cli" "FiorenMas" "latest"
|
||||
# Split architecture Youtube:
|
||||
get_patches_key "youtube-ReX"
|
||||
for i in {0..3}; do
|
||||
split_arch "youtube" "youtube-${archs[i]}-ReX" "$(gen_rip_libs ${libs[i]})"
|
||||
done
|
||||
|
||||
#################################################
|
||||
@@ -33,7 +33,7 @@ patch "lightroom" "revanced"
|
||||
|
||||
# Patch Windy:
|
||||
get_patches_key "windy"
|
||||
get_apk "windy" "windy-wind-weather-forecast" "windy-weather-world-inc/windy-wind-weather-forecast/windy-wind-weather-forecast"
|
||||
get_apk "windy" "windy-wind-weather-forecast" "windy-weather-world-inc/windy-wind-weather-forecast/windy-wind-weather-forecast" "arm64-v8a + x86 + x86_64"
|
||||
patch "windy" "revanced"
|
||||
|
||||
#################################################
|
||||
|
||||
@@ -95,7 +95,7 @@ get_apk() {
|
||||
armeabi-v7a) url_regexp='armeabi-v7a'"[^@]*$6"''"[^@]*$5"'</div>[^@]*@\([^"]*\)' ;;
|
||||
x86) url_regexp='x86'"[^@]*$6"''"[^@]*$5"'</div>[^@]*@\([^"]*\)' ;;
|
||||
x86_64) url_regexp='x86_64'"[^@]*$6"''"[^@]*$5"'</div>[^@]*@\([^"]*\)' ;;
|
||||
*) return 1 ;;
|
||||
*) url_regexp='$4'"[^@]*$6"''"[^@]*$5"'</div>[^@]*@\([^"]*\)' ;;
|
||||
esac
|
||||
fi
|
||||
export version="$version"
|
||||
|
||||
20
src/patches/youtube-ReX/exclude-patches
Normal file
20
src/patches/youtube-ReX/exclude-patches
Normal file
@@ -0,0 +1,20 @@
|
||||
Custom branding icon YouTube
|
||||
Enable compact controls overlay
|
||||
Disable QUIC protocol
|
||||
Disable auto captions
|
||||
Disable HDR video
|
||||
Enable old quality layout
|
||||
Enable zen mode
|
||||
Hide cast button
|
||||
Hide account menu
|
||||
Hide autoplay button
|
||||
Hide autoplay preview
|
||||
Hide captions button
|
||||
Hide description components
|
||||
Hide handle
|
||||
Hide latest videos button
|
||||
Hide load more button
|
||||
Hide mix playlists
|
||||
Hide previous next button
|
||||
Hide voice search button
|
||||
Custom seekbar color
|
||||
1
src/patches/youtube-ReX/include-patches
Normal file
1
src/patches/youtube-ReX/include-patches
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
12
src/patches/youtube-music-ReX/exclude-patches
Normal file
12
src/patches/youtube-music-ReX/exclude-patches
Normal file
@@ -0,0 +1,12 @@
|
||||
Custom branding icon YouTube Music
|
||||
Disable auto captions
|
||||
Hide captions button
|
||||
Hide button shelf
|
||||
Hide carousel shelf
|
||||
Hide category bar
|
||||
Replace cast button
|
||||
Hide cast button
|
||||
Hide account menu
|
||||
Hide mix playlists
|
||||
Hide new playlist button
|
||||
Hide playlist card
|
||||
1
src/patches/youtube-music-ReX/include-patches
Normal file
1
src/patches/youtube-music-ReX/include-patches
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
Reference in New Issue
Block a user