From d823cfcb0df2fa25a8b4c4a3ed3ef5e17b2e2e00 Mon Sep 17 00:00:00 2001 From: LukeeGD Date: Mon, 24 Aug 2020 19:07:44 +0800 Subject: [PATCH] SHSH APNonce --- restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restore.sh b/restore.sh index 470f5bd..ce46730 100755 --- a/restore.sh +++ b/restore.sh @@ -185,7 +185,7 @@ function SaveOTABlobs { APNonce=$($irecovery -q | grep 'NONC' | cut -c 7-) echo "* APNonce: $APNonce" $tsschecker -d $ProductType -B ${HWModel}ap -i $OSVer -e $UniqueChipID -m $BuildManifest --apnonce $APNonce -o -s - SHSH=$(ls *_${ProductType}_${HWModel}ap_${OSVer}-*.shsh) + SHSH=$(ls *_${ProductType}_${HWModel}ap_${OSVer}-${APNonce}.shsh) else $tsschecker -d $ProductType -i $OSVer -e $UniqueChipID -m $BuildManifest -o -s SHSH=$(ls *_${ProductType}_${OSVer}-*.shsh2)