SHSH APNonce

This commit is contained in:
LukeeGD 2020-08-24 19:07:44 +08:00
parent 1d5f7efb83
commit d823cfcb0d

View File

@ -185,7 +185,7 @@ function SaveOTABlobs {
APNonce=$($irecovery -q | grep 'NONC' | cut -c 7-) APNonce=$($irecovery -q | grep 'NONC' | cut -c 7-)
echo "* APNonce: $APNonce" echo "* APNonce: $APNonce"
$tsschecker -d $ProductType -B ${HWModel}ap -i $OSVer -e $UniqueChipID -m $BuildManifest --apnonce $APNonce -o -s $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 else
$tsschecker -d $ProductType -i $OSVer -e $UniqueChipID -m $BuildManifest -o -s $tsschecker -d $ProductType -i $OSVer -e $UniqueChipID -m $BuildManifest -o -s
SHSH=$(ls *_${ProductType}_${OSVer}-*.shsh2) SHSH=$(ls *_${ProductType}_${OSVer}-*.shsh2)