added rve android 5

This commit is contained in:
siritami
2023-11-12 22:56:16 +07:00
parent 1c9bc553d3
commit 9e6fe8e6e9
6 changed files with 137 additions and 3 deletions

View File

@@ -52,13 +52,28 @@ jobs:
outputs:
check_rve67: ${{ steps.check-rve67.outputs.new_patch }}
check-rve5:
name: Check new patch Revanced For Android 5
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check new patch Revanced For Android 5
id: check-rve5
run: bash src/build/ci.sh d4n3436/revanced-patches-android5 youtube-revanced-extended-android-5.apk
env:
repository: ${{ github.repository }}
outputs:
check_rve5: ${{ steps.check-rve5.outputs.new_patch }}
Patch-Revanced:
name: Patch Revanced
permissions: write-all
needs: check-rv
uses: ./.github/workflows/patch-revanced.yml
if: ${{ needs.check-rv.outputs.check_rv == 1 }}
secrets: inherit
Patch-Revanced-Extended:
name: Patch Revanced Extended
@@ -66,7 +81,6 @@ jobs:
needs: check-rve
uses: ./.github/workflows/patch-revanced-extended.yml
if: ${{ needs.check-rve.outputs.check_rve == 1 }}
secrets: inherit
Patch-Revanced-For-Android-6-7:
name: Patch Revanced Extended For Android 6 & 7
@@ -74,4 +88,10 @@ jobs:
needs: check-rve67
uses: ./.github/workflows/patch-revanced-extended-android-6-7.yml
if: ${{ needs.check-rve67.outputs.check_rve67 == 1 }}
secrets: inherit
Patch-Revanced-For-Android-5:
name: Patch Revanced Extended For Android 5
permissions: write-all
needs: check-rve5
uses: ./.github/workflows/patch-revanced-extended-android-5.yml
if: ${{ needs.check-rve5.outputs.check_rve5 == 1 }}

View File

@@ -0,0 +1,40 @@
name: Patch Revanced Extended Android 5
on:
workflow_dispatch:
workflow_call:
jobs:
patch:
name: Patch Revanced Extended for Android 5
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up jdk
uses: actions/setup-java@v3.11.0
with:
distribution: 'zulu'
java-version: '17'
- name: Patch apk
run: bash src/build/Revanced-Extended-Android-5.sh
env:
repository: ${{ github.repository }}
- name: Generate release info
run: |
echo "
**Change log** :point_down:
[Revanced](https://github.com/revanced/revanced-patches/releases/latest)
[Revanced Extended](https://github.com/inotia00/revanced-patches/releases/latest)
[Revanced Extended for Android 6 & 7](https://github.com/kitadai31/revanced-patches-android6-7/releases/latest)
"> ${{ github.workspace }}-CHANGELOG.txt
- name: Release
uses: softprops/action-gh-release@v0.1.15
with:
files: |
./release/*
name: Revanced & Revanced Extended
tag_name: all
body_path: ${{ github.workspace }}-CHANGELOG.txt

View File

@@ -66,6 +66,19 @@ Download
[x86_64](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-x86_64-revanced-extended-android-6-7.apk)
### [Revanced Extended For Android 5:](https://github.com/d4n3436/revanced-patches-android5)
[All Architecture](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-revanced-extended-android-5.apk)
[Arm64-v8a](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-arm64-v8a-revanced-extended-android-5.apk)
[Armeabi-v7a](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-armeabi-v7a-revanced-extended-android-5.apk)
[x86](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-x86-revanced-extended-android-5.apk)
[x86_64](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/all/youtube-x86_64-revanced-extended-android-5.apk)
---
[![YouTube Music](https://img.shields.io/badge/YouTube_Music-FF0000?style=for-the-badge&logo=youtube-music&logoColor=white)](https://play.google.com/store/apps/details?id=com.google.android.apps.youtube.music)
@@ -222,6 +235,8 @@ Download
[Revanced Extended for Android 6 & 7 Patches](https://github.com/kitadai31/revanced-patches-android6-7/tree/revanced-extended) - [GPL-3.0](https://github.com/kitadai31/revanced-patches-android6-7/blob/revanced-extended/LICENSE)
[Revanced Extended For Android 5 Patches](https://github.com/d4n3436/revanced-patches-android5) - [GPL-3.0](https://github.com/d4n3436/revanced-patches-android5/blob/revanced-extended/LICENSE)
[Markdown Badges](https://github.com/Ileriayo/markdown-badges) - [MIT](https://github.com/Ileriayo/markdown-badges/blob/master/LICENSE)
[Revanced CLI](https://github.com/revanced/revanced-cli) - [GPL-3.0](https://github.com/revanced/revanced-cli/blob/main/LICENSE)
@@ -234,4 +249,6 @@ Download
[Revanced Extended for Android 6 & 7 Integrations](https://github.com/kitadai31/revanced-integrations) - [GPL-3.0](https://github.com/kitadai31/revanced-integrations/blob/revanced-extended/LICENSE)
[Revanced Extended for Android 5 Integrations](https://github.com/d4n3436/revanced-integrations) - [GPL-3.0](https://github.com/d4n3436/revanced-integrations/blob/revanced-extended/LICENSE)
[Revanced CLI - j-hc](https://github.com/j-hc/revanced-cli) - [GPL-3.0](https://github.com/j-hc/revanced-cli/blob/main/LICENSE)

View File

@@ -0,0 +1,30 @@
#!/bin/bash
# Revanced Extended for android 5
source src/build/utils.sh
#################################################
# Download requirements
dl_gh "revanced-patches-android5 revanced-integrations" "d4n3436" "latest"
dl_gh "revanced-cli" "revanced" "tags/v3.1.1"
#################################################
# Patch YouTube Extended:
get_patches_key "youtube-revanced-extended-5"
version="16.40.36"
get_apk "youtube" "youtube" "google-inc/youtube/youtube"
patch "youtube" "revanced-extended-android-5"
#################################################
# Split architecture:
rm -f revanced-cli* revanced-patches*.jar patches.json
dl_gh "revanced-cli" "j-hc" "latest"
dl_gh "revanced-patches" "revanced" "latest"
# Split architecture Youtube:
for i in {0..3}; do
split_arch "youtube-revanced-extended-android-5" "youtube-${archs[i]}-revanced-extended-android-5" "$(gen_rip_libs ${libs[i]})"
done
#################################################

View File

@@ -0,0 +1,26 @@
custom-branding-icon-afn-red
debugging
custom-seekbar-color
disable-startup-shorts-player
disable-quic-protocol
disable-hdr-video
enable-old-quality-layout
force-premium-heading
force-vp9-codec
header-switch
hide-cast-button
hide-account-menu
hide-auto-captions
hide-autoplay-button
hide-autoplay-preview
hide-captions-button
hide-email-address
hide-endscreen-cards
hide-endscreen-overlay
hide-filmstrip-overlay
hide-mix-playlists
hide-seekbar
hide-search-terms
optimize-resource
spoof-app-version
theme

View File

@@ -0,0 +1 @@