Fix not matching apnonce for A7 10.3.3

- fixes #273
- fixed by changing tsschecker builds from 423 to 413
- also add apnonce for checking shsh file (ota blobs)
- change `-S` to `--server-url` for older build (cydia blobs)
This commit is contained in:
LukeZGD 2023-03-04 00:10:28 +08:00
parent 0299ff20c4
commit d0f19d3724
6 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1484,7 +1484,7 @@ shsh_save() {
mv BuildManifest.plist $buildmanifest mv BuildManifest.plist $buildmanifest
fi fi
fi fi
shsh_check=${device_ecid}_${device_type}_${device_model}ap_${version}-${build_id}_*.shsh* shsh_check=${device_ecid}_${device_type}_${device_model}ap_${version}-${build_id}_${apnonce}*.shsh*
if [[ $(ls ../saved/shsh/$shsh_check 2>/dev/null) && -z $apnonce ]]; then if [[ $(ls ../saved/shsh/$shsh_check 2>/dev/null) && -z $apnonce ]]; then
shsh_path="$(ls ../saved/shsh/$shsh_check)" shsh_path="$(ls ../saved/shsh/$shsh_check)"
@ -2390,7 +2390,7 @@ shsh_save_cydia() {
done done
for build in ${builds[@]}; do for build in ${builds[@]}; do
printf "\n$build " printf "\n$build "
"$dir/tsschecker" -d $device_type -e $device_ecid -S "http://cydia.saurik.com/TSS/controller?action=2/" -s -g 0x1111111111111111 --buildid $build >/dev/null "$dir/tsschecker" -d $device_type -e $device_ecid --server-url "http://cydia.saurik.com/TSS/controller?action=2/" -s -g 0x1111111111111111 --buildid $build >/dev/null
if [[ $(ls *$build* 2>/dev/null) ]]; then if [[ $(ls *$build* 2>/dev/null) ]]; then
printf "saved" printf "saved"
mv $(ls *$build*) ../saved/shsh/$device_ecid-$device_type-$build.shsh mv $(ls *$build*) ../saved/shsh/$device_ecid-$device_type-$build.shsh