mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 10:24:16 +01:00
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:
parent
0299ff20c4
commit
d0f19d3724
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user