From e5e9cf3b1dfda40db914e232a523dfb29305a316 Mon Sep 17 00:00:00 2001 From: daboynb <106079917+daboynb@users.noreply.github.com> Date: Wed, 11 Dec 2024 20:35:22 +0100 Subject: [PATCH] Revert "v1.11" This reverts commit e258017037bacf5ef00e33a7064502e95d97f58b. --- action.sh | 38 +------------------------------------- changelog.md | 2 +- customize.sh | 13 ------------- module.prop | 4 ++-- system/bin/fp | 15 --------------- system/bin/fpd | 15 --------------- update.json | 6 +++--- 7 files changed, 7 insertions(+), 86 deletions(-) diff --git a/action.sh b/action.sh index b0db9cf..6143262 100644 --- a/action.sh +++ b/action.sh @@ -35,24 +35,8 @@ key() { break fi -################################################################### -# Volume Up press # -################################################################### # Detect Volume Up press if echo "$keys" | "$busybox_path" grep -q 'KEY_VOLUMEUP.*DOWN'; then - - # Check if the kernel name is banned, banned kernels names from https://xdaforums.com/t/module-play-integrity-fix-safetynet-fix.4607985/post-89308909 and telegram - get_kernel_name=$(uname -r) - banned_names=("aicp" "arter97" "blu_spark" "caf" "cm-" "crdroid" "cyanogenmod" "deathly" "eas-" "eas" "elementalx" "elite" "franco" "hadeskernel" "lineage-" "lineage" "lineageos" "mokee" "morokernel" "noble" "optimus" "slimroms" "sultan") - - for keyword in "${banned_names[@]}"; do - if echo "$get_kernel_name" | "$busybox_path" grep -iq "$keyword"; then - echo - echo "[-] Your kernel name \"$keyword\" is banned." - echo "" - echo "Play integrity fix, Play integrity fix fork and playcurlNEXT won't work." - fi - done ################################################################### # Read mode.txt and decide branch @@ -131,25 +115,8 @@ key() { sleep 3 return 0 - -################################################################### -# Volume Down press # -################################################################### + # Detect Volume Down press elif echo "$keys" | "$busybox_path" grep -q 'KEY_VOLUMEDOWN.*DOWN'; then - - # Check if the kernel name is banned, banned kernels names from https://xdaforums.com/t/module-play-integrity-fix-safetynet-fix.4607985/post-89308909 and telegram - get_kernel_name=$(uname -r) - banned_names=("aicp" "arter97" "blu_spark" "caf" "cm-" "crdroid" "cyanogenmod" "deathly" "eas-" "eas" "elementalx" "elite" "franco" "hadeskernel" "lineage-" "lineage" "lineageos" "mokee" "morokernel" "noble" "optimus" "slimroms" "sultan") - - for keyword in "${banned_names[@]}"; do - if echo "$get_kernel_name" | "$busybox_path" grep -iq "$keyword"; then - echo - echo "[-] Your kernel name \"$keyword\" is banned." - echo "" - echo "Play integrity fix, Play integrity fix fork and playcurlNEXT won't work." - fi - done - ################################################################### # Read mode.txt and decide branch ################################################################### @@ -254,9 +221,6 @@ key() { mv "$file" "${file}.bak" fi done - - # Enable ts - rm /data/adb/modules/tricky_store/disable > /dev/null 2>/dev/null # Download the aosp keybox if /system/bin/curl -o /data/adb/tricky_store/keybox.xml "https://raw.githubusercontent.com/daboynb/autojson/refs/heads/main/aosp_keybox.xml" >/dev/null 2>&1; then diff --git a/changelog.md b/changelog.md index 5095d05..ed8fa08 100644 --- a/changelog.md +++ b/changelog.md @@ -1 +1 @@ -V1.11 -> kernel string checks added. \ No newline at end of file +V1.10 -> Fix an error copying thr fp.sh to tmp. \ No newline at end of file diff --git a/customize.sh b/customize.sh index 659ed98..a85cb89 100644 --- a/customize.sh +++ b/customize.sh @@ -26,19 +26,6 @@ rm -rf $MODPATH/system/bin/x86_64 ################################################################### echo "Installing playcurl" -# Check if the kernel name is banned, banned kernels names from https://xdaforums.com/t/module-play-integrity-fix-safetynet-fix.4607985/post-89308909 and telegram -get_kernel_name=$(uname -r) -banned_names=("aicp" "arter97" "blu_spark" "caf" "cm-" "crdroid" "cyanogenmod" "deathly" "eas-" "eas" "elementalx" "elite" "franco" "hadeskernel" "lineage-" "lineage" "lineageos" "mokee" "morokernel" "noble" "optimus" "slimroms" "sultan") - -for keyword in "${banned_names[@]}"; do - if echo "$get_kernel_name" | "$busybox_path" grep -iq "$keyword"; then - echo - echo "[-] Your kernel name \"$keyword\" is banned." - echo "" - echo "Play integrity fix, Play integrity fix fork and playcurlNEXT won't work." - fi -done - ################################################################### # Removing old app if exists ################################################################### diff --git a/module.prop b/module.prop index 2003de5..efc6503 100644 --- a/module.prop +++ b/module.prop @@ -1,7 +1,7 @@ id=playcurl_NEXT name=playcurl_NEXT -version=v1.11 -versionCode=111 +version=v1.10 +versionCode=110 author=daboynb description=Automatic fingerprint downloader for play integrity fix. updateJson=https://raw.githubusercontent.com/daboynb/playcurlNEXT/main/update.json \ No newline at end of file diff --git a/system/bin/fp b/system/bin/fp index e9677ac..81a85fd 100644 --- a/system/bin/fp +++ b/system/bin/fp @@ -15,21 +15,6 @@ elif [ -f "/data/adb/ap/bin/busybox" ]; then fi ################################################################### -################################################################### -# Check if the kernel name is banned, banned kernels names from https://xdaforums.com/t/module-play-integrity-fix-safetynet-fix.4607985/post-89308909 and telegram -get_kernel_name=$(uname -r) -banned_names=("aicp" "arter97" "blu_spark" "caf" "cm-" "crdroid" "cyanogenmod" "deathly" "eas-" "eas" "elementalx" "elite" "franco" "hadeskernel" "lineage-" "lineage" "lineageos" "mokee" "morokernel" "noble" "optimus" "slimroms" "sultan") - -for keyword in "${banned_names[@]}"; do - if echo "$get_kernel_name" | "$busybox_path" grep -iq "$keyword"; then - echo - echo "[-] Your kernel name \"$keyword\" is banned." - echo "" - echo "Play integrity fix, Play integrity fix fork and playcurlNEXT won't work." - fi -done -################################################################### - ################################################################### # Read mode.txt and decide branch ################################################################### diff --git a/system/bin/fpd b/system/bin/fpd index d831f74..2d573d5 100644 --- a/system/bin/fpd +++ b/system/bin/fpd @@ -15,21 +15,6 @@ elif [ -f "/data/adb/ap/bin/busybox" ]; then fi ################################################################### -################################################################### -# Check if the kernel name is banned, banned kernels names from https://xdaforums.com/t/module-play-integrity-fix-safetynet-fix.4607985/post-89308909 and telegram -get_kernel_name=$(uname -r) -banned_names=("aicp" "arter97" "blu_spark" "caf" "cm-" "crdroid" "cyanogenmod" "deathly" "eas-" "eas" "elementalx" "elite" "franco" "hadeskernel" "lineage-" "lineage" "lineageos" "mokee" "morokernel" "noble" "optimus" "slimroms" "sultan") - -for keyword in "${banned_names[@]}"; do - if echo "$get_kernel_name" | "$busybox_path" grep -iq "$keyword"; then - echo - echo "[-] Your kernel name \"$keyword\" is banned." - echo "" - echo "Play integrity fix, Play integrity fix fork and playcurlNEXT won't work." - fi -done -################################################################### - ################################################################### # Read mode.txt and decide branch ################################################################### diff --git a/update.json b/update.json index 178f0e3..86f0762 100644 --- a/update.json +++ b/update.json @@ -1,6 +1,6 @@ { - "version": "v1.11", - "versionCode": 111, - "zipUrl": "https://github.com/daboynb/playcurlNEXT/releases/download/v1.11/playcurlNEXT.zip", + "version": "v1.10", + "versionCode": 110, + "zipUrl": "https://github.com/daboynb/playcurlNEXT/releases/download/v1.10/playcurlNEXT.zip", "changelog": "https://raw.githubusercontent.com/daboynb/playcurlNEXT/main/changelog.md" } \ No newline at end of file