From 0c777e97341a4d745bea6d449c7e645f1c5c56e9 Mon Sep 17 00:00:00 2001 From: Sam Heinz Date: Sat, 19 Nov 2022 23:45:21 +1000 Subject: [PATCH] Revert "add consideration for a8x cellular" This reverts commit c77fe0657bbd8246f804595872f080964cc616c3. --- palera1n.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/palera1n.sh b/palera1n.sh index d147a0c..2350682 100755 --- a/palera1n.sh +++ b/palera1n.sh @@ -491,13 +491,10 @@ if [ ! -f blobs/"$deviceid"-"$version".shsh2 ]; then done echo "[*] Testing for baseband presence" - if [ "$("$dir"/sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p2222 root@localhost "/usr/bin/mgask HasBaseband | grep -E 'true|false'")" = "true" ] && [ "${cpid}" == *"0x7001"* ]; then + if ["${cpid}" == *"0x7001"*]; then + disk = 6 + elif [ "$("$dir"/sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p2222 root@localhost "/usr/bin/mgask HasBaseband | grep -E 'true|false'")" = "false" ] && [ ! "$disk" == 6]; then disk = 7 - else - if [ "${cpid}" == *"0x7001"* ]; then - disk = 6 - else - disk = 7 fi "$dir"/sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p2222 root@localhost "/usr/bin/mount_filesystems"