Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ohc192 opened this issue Nov 25, 2021 · 5 comments
Open
Labels

Comments

@ohc192
Copy link

ohc192 commented Nov 25, 2021

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: 59554be - 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: 59554be - 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: 59554be - 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
Copy link
Author

ohc192 commented Nov 25, 2021

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.

@Nosskirneh
Copy link

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?

@jkhsjdhjs
Copy link

Same issue with iPhone 13,2 and iOS 16.2.

@jkhsjdhjs
Copy link

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

@tihmstar
Copy link
Owner

tihmstar commented Aug 6, 2024

This is still reproduceable with the current version

tMBP:tsschecker tihmstar$ tsschecker -B D54PAP -l -d iPhone13,4 
tsschecker version: 0.341-e1ee22f5dc079c48fb7776b034c1aaddd7a55931-RELEASE
Identified device as iPhone13,4 D54PAP cpid:0x8101 bdid:0x8
[WARNING] No ecid specified, generating random ecid!
Got Firmware 17.6 21G80 https://updates.cdn-apple.com/2024SummerFCS/fullrestores/062-44450/12490068-F67E-44B8-95D7-0ADE4933FA0C/iPhone13,4_17.6_21G80_Restore.ipsw
100 [===================================================================================================>]
Setting device vals: iPhone13,4 CPID:0x8101 BDID:0x8
Setting ecid:0x399802312ab7fc81
Adding default AP Tags to request for variant 'Customer Erase Install (IPSW)'
Adding all AP components to request for variant 'Customer Erase Install (IPSW)'
Adding Baseband components to request for variant 'Customer Erase Install (IPSW)'
[Error] Failed to construct baseband requste with error:
[exception]:
what=Failed to find device 'iPhone13,4' in baseband database
code=39518222
line=603
file=tsschecker.cpp
commit count=341
commit sha  =e1ee22f5dc079c48fb7776b034c1aaddd7a55931

[WARNING] Skipping requesting baseband ticket due to previous errors
Attempt 0 request URL set to https://gs.apple.com/TSS/controller?action=2
Status: 94 (This device isn't eligible for the requested build.)
17.6 21G80 for iPhone13,4 D54PAP is NOT signed!
done

@tihmstar tihmstar added the bug label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants