mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
Update
This commit is contained in:
0
src/instagram/exclude-patches.txt
Normal file
0
src/instagram/exclude-patches.txt
Normal file
23
src/instagram/patch.sh
Normal file
23
src/instagram/patch.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
DIR_TMP="$(mktemp -d)"
|
||||
|
||||
echo "⏬ Downloading Revanced resources..."
|
||||
for repos in revanced-patches revanced-cli revanced-integrations; do
|
||||
curl -s "https://api.github.com/repos/revanced/$repos/releases/latest" | jq -r '.assets[].browser_download_url' | xargs -n 1 curl -sL -O
|
||||
done
|
||||
|
||||
echo "⚙️ Importing Patches..."
|
||||
EXCLUDE_PATCHES=()
|
||||
for word in $(cat src/instagram/exclude-patches.txt) ; do
|
||||
EXCLUDE_PATCHES+=("-e $word")
|
||||
done
|
||||
|
||||
echo "⏬ Downloading apkeep resources..."
|
||||
curl --retry 10 --retry-max-time 60 -H "Cache-Control: no-cache" -fsSL github.com/EFForg/apkeep/releases/latest/download/apkeep-x86_64-unknown-linux-gnu -o ${DIR_TMP}/apkeep
|
||||
|
||||
echo "⏬ Downloading Instagram..."
|
||||
chmod +x ${DIR_TMP}/apkeep
|
||||
${DIR_TMP}/apkeep -a com.instagram.android -d google-play -o split_apk=false,locale=vi_VN -i ~/apkeep.ini .
|
||||
|
||||
echo "⚙️ Patching Instagram..."
|
||||
java -jar revanced-cli*.jar -m revanced-integrations*.apk -b revanced-patches*.jar ${EXCLUDE_PATCHES[@]} -a com.instagram.android.apk --keystore=ks.keystore -o Instagram.apk
|
||||
@@ -1,12 +1,23 @@
|
||||
#!/bin/bash
|
||||
DIR_TMP="$(mktemp -d)"
|
||||
|
||||
echo "⏬ Downloading Revanced resources..."
|
||||
for repos in revanced-patches revanced-cli revanced-integrations; do
|
||||
curl -s "https://api.github.com/repos/revanced/$repos/releases/latest" | jq -r '.assets[].browser_download_url' | xargs -n 1 curl -sL -O
|
||||
done
|
||||
|
||||
echo "⚙️ Importing Patches..."
|
||||
EXCLUDE_PATCHES=()
|
||||
for word in $(cat src/messenger/exclude-patches.txt) ; do
|
||||
EXCLUDE_PATCHES+=("-e $word")
|
||||
done
|
||||
curl --retry 10 --retry-max-time 60 -H "Cache-Control: no-cache" -fsSL github.com/EFForg/apkeep/releases/latest/download/apkeep-x86_64-unknown-linux-gnu -o ${DIR_TMP}/apkkeep
|
||||
chmod +x ${DIR_TMP}/apkkeep && ${DIR_TMP}/apkkeep -a com.facebook.orca .
|
||||
|
||||
echo "⏬ Downloading apkeep resources..."
|
||||
curl --retry 10 --retry-max-time 60 -H "Cache-Control: no-cache" -fsSL github.com/EFForg/apkeep/releases/latest/download/apkeep-x86_64-unknown-linux-gnu -o ${DIR_TMP}/apkeep
|
||||
|
||||
echo "⏬ Downloading Messenger..."
|
||||
chmod +x ${DIR_TMP}/apkeep
|
||||
${DIR_TMP}/apkeep -a com.facebook.orca -d google-play -o split_apk=false,locale=vi_VN -i ~/apkeep.ini .
|
||||
|
||||
echo "⚙️ Patching Messenger..."
|
||||
java -jar revanced-cli*.jar -m revanced-integrations*.apk -b revanced-patches*.jar ${EXCLUDE_PATCHES[@]} -a com.facebook.orca.apk --keystore=ks.keystore -o Messenger.apk
|
||||
@@ -1,15 +1,23 @@
|
||||
#!/bin/bash
|
||||
DIR_TMP="$(mktemp -d)"
|
||||
|
||||
echo "⏬ Downloading Revanced resources..."
|
||||
for repos in revanced-patches revanced-cli revanced-integrations; do
|
||||
curl -s "https://api.github.com/repos/revanced/$repos/releases/latest" | jq -r '.assets[].browser_download_url' | xargs -n 1 curl -sL -O
|
||||
done
|
||||
|
||||
echo "⚙️ Importing Patches..."
|
||||
EXCLUDE_PATCHES=()
|
||||
for word in $(cat src/tiktok/exclude-patches.txt) ; do
|
||||
EXCLUDE_PATCHES+=("-e $word")
|
||||
done
|
||||
|
||||
echo "⏬ Downloading apkeep resources..."
|
||||
curl --retry 10 --retry-max-time 60 -H "Cache-Control: no-cache" -fsSL github.com/EFForg/apkeep/releases/latest/download/apkeep-x86_64-unknown-linux-gnu -o ${DIR_TMP}/apkkeep
|
||||
curl --retry 10 --retry-max-time 60 -H "Cache-Control: no-cache" -fsSL github.com/EFForg/apkeep/releases/latest/download/apkeep-x86_64-unknown-linux-gnu -o ${DIR_TMP}/apkeep
|
||||
|
||||
echo "⏬ Downloading Titok..."
|
||||
chmod +x ${DIR_TMP}/apkkeep && ${DIR_TMP}/apkkeep -a com.ss.android.ugc.trill@29.3.3 .
|
||||
chmod +x ${DIR_TMP}/apkeep
|
||||
${DIR_TMP}/apkeep -a com.ss.android.ugc.trill -d google-play -o split_apk=false,locale=vi_VN -i ~/apkeep.ini .
|
||||
|
||||
echo "⚙️ Patching Tiktok..."
|
||||
java -jar revanced-cli*.jar -m revanced-integrations*.apk -b revanced-patches*.jar ${EXCLUDE_PATCHES[@]} -a com.ss.android.ugc.trill@29.3.3.apk --keystore=ks.keystore -o Tiktok.apk
|
||||
java -jar revanced-cli*.jar -m revanced-integrations*.apk -b revanced-patches*.jar ${EXCLUDE_PATCHES[@]} -a com.ss.android.ugc.trill.apk --keystore=ks.keystore -o Tiktok.apk
|
||||
|
||||
@@ -1,13 +1,26 @@
|
||||
#!/bin/bash
|
||||
DIR_TMP="$(mktemp -d)"
|
||||
|
||||
echo "⏬ Downloading Revanced resources..."
|
||||
for repos in revanced-patches revanced-cli revanced-integrations; do
|
||||
curl -s "https://api.github.com/repos/revanced/$repos/releases/latest" | jq -r '.assets[].browser_download_url' | xargs -n 1 curl -sL -O
|
||||
done
|
||||
|
||||
echo "⚙️ Importing Patches..."
|
||||
EXCLUDE_PATCHES=()
|
||||
for word in $(cat src/twitch/exclude-patches.txt) ; do
|
||||
EXCLUDE_PATCHES+=("-e $word")
|
||||
done
|
||||
|
||||
"⚙️ Finding Twitch patches..."
|
||||
version=$(jq -r '.[] | select(.name == "block-video-ads") | .compatiblePackages[] | select(.name == "tv.twitch.android.app") | .versions[-1]' patches.json)
|
||||
curl --retry 10 --retry-max-time 60 -H "Cache-Control: no-cache" -fsSL github.com/EFForg/apkeep/releases/latest/download/apkeep-x86_64-unknown-linux-gnu -o ${DIR_TMP}/apkkeep
|
||||
chmod +x ${DIR_TMP}/apkkeep && ${DIR_TMP}/apkkeep -a tv.twitch.android.app@$version .
|
||||
|
||||
echo "⏬ Downloading apkeep resources..."
|
||||
curl --retry 10 --retry-max-time 60 -H "Cache-Control: no-cache" -fsSL github.com/EFForg/apkeep/releases/latest/download/apkeep-x86_64-unknown-linux-gnu -o ${DIR_TMP}/apkeep
|
||||
|
||||
echo "⏬ Downloading Twitch..."
|
||||
chmod +x ${DIR_TMP}/apkeep
|
||||
${DIR_TMP}/apkeep -a tv.twitch.android.app@$version .
|
||||
|
||||
echo "⚙️ Patching Twitch..."
|
||||
java -jar revanced-cli*.jar -m revanced-integrations*.apk -b revanced-patches*.jar ${EXCLUDE_PATCHES[@]} -a tv.twitch.android.app*.apk --keystore=ks.keystore -o Twitch.apk
|
||||
0
src/twitter/exclude-patches.txt
Normal file
0
src/twitter/exclude-patches.txt
Normal file
23
src/twitter/patch.sh
Normal file
23
src/twitter/patch.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
DIR_TMP="$(mktemp -d)"
|
||||
|
||||
echo "⏬ Downloading Revanced resources..."
|
||||
for repos in revanced-patches revanced-cli revanced-integrations; do
|
||||
curl -s "https://api.github.com/repos/revanced/$repos/releases/latest" | jq -r '.assets[].browser_download_url' | xargs -n 1 curl -sL -O
|
||||
done
|
||||
|
||||
echo "⚙️ Importing Patches..."
|
||||
EXCLUDE_PATCHES=()
|
||||
for word in $(cat src/twitter/exclude-patches.txt) ; do
|
||||
EXCLUDE_PATCHES+=("-e $word")
|
||||
done
|
||||
|
||||
echo "⏬ Downloading apkeep resources..."
|
||||
curl --retry 10 --retry-max-time 60 -H "Cache-Control: no-cache" -fsSL github.com/EFForg/apkeep/releases/latest/download/apkeep-x86_64-unknown-linux-gnu -o ${DIR_TMP}/apkeep
|
||||
|
||||
echo "⏬ Downloading Twitter..."
|
||||
chmod +x ${DIR_TMP}/apkeep
|
||||
${DIR_TMP}/apkeep -a com.twitter.android -d google-play -o split_apk=false,locale=vi_VN -i ~/apkeep.ini .
|
||||
|
||||
echo "⚙️ Patching Twitter..."
|
||||
java -jar revanced-cli*.jar -m revanced-integrations*.apk -b revanced-patches*.jar ${EXCLUDE_PATCHES[@]} -a com.twitter.android.apk --keystore=ks.keystore -o Twitter.apk
|
||||
@@ -9,7 +9,7 @@ readonly revanced_ytversion="" # Input version supported if you need patch speci
|
||||
readonly revanced_extended_name="revanced-extended"
|
||||
readonly revanced_extended_user="inotia00"
|
||||
readonly revanced_extended_patch="src/yt/patches.rve"
|
||||
readonly revanced_extended_ytversion="18.16.37" # Input version supported if you need patch specific YT version.Example: "18.07.35"
|
||||
readonly revanced_extended_ytversion="" # Input version supported if you need patch specific YT version.Example: "18.07.35"
|
||||
# Function prepare patches keywords
|
||||
get_patch() {
|
||||
local excluded_start=$(grep -n -m1 'EXCLUDE PATCHES' "$patch_file" | cut -d':' -f1)
|
||||
|
||||
Reference in New Issue
Block a user