Skip to content

Commit

Permalink
v1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
daboynb committed Dec 11, 2024
1 parent 100473d commit e258017
Show file tree
Hide file tree
Showing 7 changed files with 86 additions and 7 deletions.
38 changes: 37 additions & 1 deletion action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,24 @@ 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
Expand Down Expand Up @@ -115,8 +131,25 @@ key() {
sleep 3

return 0
# Detect Volume Down press

###################################################################
# 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
###################################################################
Expand Down Expand Up @@ -221,6 +254,9 @@ 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
Expand Down
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
V1.10 -> Fix an error copying thr fp.sh to tmp.
V1.11 -> kernel string checks added.
13 changes: 13 additions & 0 deletions customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,19 @@ 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
###################################################################
Expand Down
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id=playcurl_NEXT
name=playcurl_NEXT
version=v1.10
versionCode=110
version=v1.11
versionCode=111
author=daboynb
description=Automatic fingerprint downloader for play integrity fix.
updateJson=https://raw.githubusercontent.com/daboynb/playcurlNEXT/main/update.json
15 changes: 15 additions & 0 deletions system/bin/fp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,21 @@ 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
###################################################################
Expand Down
15 changes: 15 additions & 0 deletions system/bin/fpd
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,21 @@ 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
###################################################################
Expand Down
6 changes: 3 additions & 3 deletions update.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "v1.10",
"versionCode": 110,
"zipUrl": "https://github.com/daboynb/playcurlNEXT/releases/download/v1.10/playcurlNEXT.zip",
"version": "v1.11",
"versionCode": 111,
"zipUrl": "https://github.com/daboynb/playcurlNEXT/releases/download/v1.11/playcurlNEXT.zip",
"changelog": "https://raw.githubusercontent.com/daboynb/playcurlNEXT/main/changelog.md"
}

0 comments on commit e258017

Please sign in to comment.