tsschecker icon indicating copy to clipboard operation
tsschecker copied to clipboard

empty tss response from apple for iPhone13,4 any latest version or build

Open ohc192 opened this issue 2 years ago • 4 comments

opening because after a lot of troubleshooting, I can't figure out why I can't get back a valid response. I hate to be "that guy" but I've exhausted all things I could think of being the problem. Looking at https://ipsw.me/otas/iPhone13,4 I should be able to pull down at least something for 15.1.1

I've tried 19B81 and 19B74 for both IPSW and OTA ( with -o ) to no avail. I've also tried the other OTA builds. It looks like no matter what, I'm getting an empty xml response from apple (using the --print-tss-response configuration directive).

I'm running the latest on master on all tools and dependencies after a fresh clean with git clean -fxd. Here are the versions:

macos 11.6.1 xcode Version 13.1 (13A1030d) (not that I think that matters since this is all externally built) tsschecker: Version: 59554beb8e79319e12d8f373fd5bb9846b8c69c9 - 323 libfragmentzip: 64 libplist: 2.2.1 libirecovery: 1.0.1

I used to get errors without specifying a boardconfig, but it seems that doesn't matter anymore. I've tried a bunch of permutations of arguments but I'm not able to get a valid response. I also confirmed your latest fix that removes the Savage keys is working as there are no entires for Savage in the request. Do you have any idea why i can't get any TSS response?

`./tsschecker -o --boardconfig D54PAP -e [omitted] -s --save-path /tmp/blobs --buildid 19B74 -d iPhone13,4 --print-tss-response Version: 59554beb8e79319e12d8f373fd5bb9846b8c69c9 - 323 libfragmentzip version: 0.64-aaf6fae83a0aa6f7aae1c94721857076d04a14e8-RELEASE [TSSC] manually specified ECID to use, parsed [omitted] [TSSC] opening ota.json [JSON] counting elements [JSON] parsing elements [TSSC] got firmwareurl for iOS 9.9.15.1 build 19B74 [TSSC] opening Buildmanifest for iPhone13,4_9.9.15.1_19B74ota [TSSR] Checking BuildIdentity 0 [TSSR] Selected BuildIdentity for request [TSSR] LOG: device iPhone13,4 doesn't need a baseband ticket, continuing without requesting a Baseband ticket [TSSR] Request URL set to https://gs.apple.com/TSS/controller?action=2 [TSSR] Sending TSS request attempt 1... failure [Error] ERROR: TSS request failed (status=126, message=An internal error occurred.) tss.c:printing 173 bytes plist:

Firmware version 9.9.15.1 19B74 IS NOT signed!

Build 19B74 for device iPhone13,4 IS NOT being signed!`

`tsschecker -e [omitted] -s --save-path /tmp/blobs -i 15.1.1 -d iPhone13,4 --print-tss-response Version: 59554beb8e79319e12d8f373fd5bb9846b8c69c9 - 323 libfragmentzip version: 0.64-aaf6fae83a0aa6f7aae1c94721857076d04a14e8-RELEASE [TSSC] manually specified ECID to use, parsed [omitted] [TSSC] opening firmwares.json [DOWN] downloading file https://api.ipsw.me/v2.1/firmwares.json/condensed [JSON] counting elements [JSON] parsing elements [TSSC] got firmwareurl for iOS 15.1.1 build 19B81 [TSSC] opening Buildmanifest for iPhone13,4_15.1.1_19B81 [LFZP] downloading BuildManifest.plist from https://updates.cdn-apple.com/2021FallFCS/fullrestores/002-34709/A993611A-E4A4-412E-89C4-A7650581F321/iPhone13,4_15.1.1_19B81_Restore.ipsw 100 [===================================================================================================>] [TSSR] Checking BuildIdentity 0 [TSSR] Selected BuildIdentity for request [TSSR] LOG: device iPhone13,4 doesn't need a baseband ticket, continuing without requesting a Baseband ticket [TSSR] Request URL set to https://gs.apple.com/TSS/controller?action=2 [TSSR] Sending TSS request attempt 1... failure [Error] ERROR: TSS request failed (status=126, message=An internal error occurred.) tss.c:printing 173 bytes plist:

Firmware version 15.1.1 19B81 IS NOT signed!

iOS 15.1.1 for device iPhone13,4 IS NOT being signed!`

ohc192 avatar Nov 25 '21 19:11 ohc192

let me know if there are any more diagnostics/data I can provide that would help troubleshoot, I'm not sure how people are capturing the macos/itunes requests (man in the middle with a system root certificate perhaps?) or if there's a process you'd like me to follow, I'll be more than happy to assist.

ohc192 avatar Nov 25 '21 20:11 ohc192

I have the same with iPhone12,3 and iOS 15.4. Blobs are successfully saved with older devices. Did you make any progress on this @ohc192?

Nosskirneh avatar Mar 27 '22 17:03 Nosskirneh

Same issue with iPhone 13,2 and iOS 16.2.

jkhsjdhjs avatar Dec 23 '22 23:12 jkhsjdhjs

I assume the cause is the missing APnonce. It must be specified for A12 devices.

jkhsjdhjs avatar Dec 23 '22 23:12 jkhsjdhjs