Open iFred09 opened 4 months ago
Can you run with -dd
? We want to see the TSS request that is failing.
here it is :
Sending BuildIdentityDict now...
Done sending BuildIdentityDict
restore_handle_data_request_msg: type = SourceBootObjectV4
DEBUG: restore_send_source_boot_object_v4: Got SourceBootObjectV4 request:
printing 438 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>MsgType</key>
<string>DataRequestMsg</string>
<key>DataType</key>
<string>SourceBootObjectV4</string>
<key>Arguments</key>
<dict>
<key>ImageName</key>
<string>Savage,BA-Prod-Patch</string>
<key>IsRecoveryOS</key>
<false/>
</dict>
</dict>
</plist>
About to send Savage,BA-Prod-Patch...
DEBUG: tss_response_get_path_by_entry: No entry 'Savage,BA-Prod-Patch' in TSS response
NOTE: No path for component Savage,BA-Prod-Patch in TSS, will fetch from build identity
Sending Savage,BA-Prod-Patch now (114 bytes)
Done sending Savage,BA-Prod-Patch
restore_handle_data_request_msg: type = SourceBootObjectV4
DEBUG: restore_send_source_boot_object_v4: Got SourceBootObjectV4 request:
printing 438 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>MsgType</key>
<string>DataRequestMsg</string>
<key>DataType</key>
<string>SourceBootObjectV4</string>
<key>Arguments</key>
<dict>
<key>ImageName</key>
<string>Savage,BE-Prod-Patch</string>
<key>IsRecoveryOS</key>
<false/>
</dict>
</dict>
</plist>
About to send Savage,BE-Prod-Patch...
DEBUG: tss_response_get_path_by_entry: No entry 'Savage,BE-Prod-Patch' in TSS response
NOTE: No path for component Savage,BE-Prod-Patch in TSS, will fetch from build identity
Sending Savage,BE-Prod-Patch now (514 bytes)
Done sending Savage,BE-Prod-Patch
restore_handle_data_request_msg: type = FirmwareUpdaterData
DEBUG: restore_send_firmware_updater_data: Got FirmwareUpdaterData request:
printing 2327 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>MsgType</key>
<string>DataRequestMsg</string>
<key>DataType</key>
<string>FirmwareUpdaterData</string>
<key>Arguments</key>
<dict>
<key>MessageArgInfo</key>
<dict>
<key>Savage,UID</key>
<data>
VG6atnsF6uTaVbX5z915dg==
</data>
<key>Savage,AllowOfflineBoot</key>
<true/>
<key>Savage,ChipID</key>
<data>
AAAAAQ==
</data>
<key>Savage,ProductionMode</key>
<true/>
<key>Savage,Revision</key>
<data>
rAs=
</data>
<key>Savage,ReadFWKey</key>
<true/>
<key>Savage,ReadECKey</key>
<true/>
<key>Savage,Nonce</key>
<data>
6Qe2n2AIQXK/JH5/Ja0srw==
</data>
</dict>
<key>MessageArgUpdaterLoopCount</key>
<integer>0</integer>
<key>DataChunkSize</key>
<integer>262144</integer>
<key>MessageForceRepersonalization</key>
<true/>
<key>MessageArgType</key>
<string>FirmwareResponseData</string>
<key>DeviceGeneratedTags</key>
<dict>
<key>BuildIdentityTags</key>
<array>
<string>Savage,ChipID</string>
<string>Savage,PatchEpoch</string>
<string>Savage,BA-Prod-Patch</string>
<string>Savage,BE-Prod-Patch</string>
</array>
<key>ResponseTags</key>
<array>
<string>Savage,Ticket</string>
</array>
</dict>
<key>DeviceGeneratedRequest</key>
<dict>
<key>Savage,UID</key>
<data>
VG6atnsF6uTaVbX5z915dg==
</data>
<key>Savage,ChipID</key>
<integer>1</integer>
<key>SEP</key>
<dict>
<key>Digest</key>
<data>
hkkPa5qjmulj8Qm3Z104XyJCLX+PtcUyuK+u9gMjy9Ib
0z+R5b30uxBxJzoES7xM
</data>
</dict>
<key>Savage,ReadFWKey</key>
<true/>
<key>Savage,AllowOfflineBoot</key>
<true/>
<key>Savage,ProductionMode</key>
<true/>
<key>Savage,BA-Prod-Patch</key>
<dict>
<key>Digest</key>
<data>
JUdhikubFbeoejbGuI6NoqGGkwzJtZY6OhnfquDqnt8=
</data>
</dict>
<key>Savage,PatchEpoch</key>
<integer>0</integer>
<key>@Savage,Ticket</key>
<true/>
<key>Savage,ReadECKey</key>
<true/>
<key>Savage,Nonce</key>
<data>
6Qe2n2AIQXK/JH5/Ja0srw==
</data>
</dict>
<key>MessageArgUpdaterName</key>
<string>Savage</string>
</dict>
</dict>
</plist>
NOTE: Unable to find BbCalibrationManifestKeyHash node
NOTE: Unable to find BbFactoryActivationManifestKeyHash node
NOTE: Unable to find BbSkeyId node
DEBUG: restore_get_savage_firmware_data: using Savage,BA-Prod-Patch
Sending Savage TSS request...
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>@HostPlatformInfo</key>
<string>mac</string>
<key>@VersionInfo</key>
<string>libauthinstall-973.40.2</string>
<key>@UUID</key>
<string>570D7840-D5A0-0EDE-9A50-580638CB9825</string>
<key>@BBTicket</key>
<true/>
<key>@Savage,Ticket</key>
<true/>
<key>Savage,UID</key>
<data>
VG6atnsF6uTaVbX5z915dg==
</data>
<key>SEP</key>
<dict>
<key>Digest</key>
<data>
hkkPa5qjmulj8Qm3Z104XyJCLX+PtcUyuK+u9gMjy9Ib0z+R5b30uxBxJzoE
S7xM
</data>
</dict>
<key>Savage,PatchEpoch</key>
<integer>0</integer>
<key>Savage,ChipID</key>
<integer>16777216</integer>
<key>Savage,AllowOfflineBoot</key>
<true/>
<key>Savage,ReadFWKey</key>
<true/>
<key>Savage,ProductionMode</key>
<true/>
<key>Savage,BA-Prod-Patch</key>
<dict>
<key>Digest</key>
<data>
JUdhikubFbeoejbGuI6NoqGGkwzJtZY6OhnfquDqnt8=
</data>
</dict>
<key>Savage,Nonce</key>
<data>
6Qe2n2AIQXK/JH5/Ja0srw==
</data>
<key>Savage,ReadECKey</key>
<true/>
</dict>
</plist>
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... * Host gs.apple.com:443 was resolved.
* IPv6: (none)
* IPv4: 17.111.103.15
* Trying 17.111.103.15:443...
* Connected to gs.apple.com (17.111.103.15) port 443
* ALPN: curl offers h2,http/1.1
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256 / [blank] / UNDEF
* ALPN: server accepted http/1.1
* Server certificate:
* subject: CN=gs.apple.com; O=Apple Inc.; ST=California; C=US
* start date: Mar 26 21:44:58 2024 GMT
* expire date: Apr 25 21:44:57 2025 GMT
* subjectAltName: host "gs.apple.com" matched cert's "gs.apple.com"
* issuer: CN=Apple Server Authentication CA; OU=Certification Authority; O=Apple Inc.; C=US
* SSL certificate verify ok.
* using HTTP/1.x
> POST /TSS/controller?action=2 HTTP/1.1
Host: gs.apple.com
User-Agent: InetURL/1.0
Accept: */*
Cache-Control: no-cache
Content-type: text/xml; charset="utf-8"
Content-Length: 1130
< HTTP/1.1 200
< Server: Apple
< Date: Tue, 25 Jun 2024 18:18:06 GMT
< Content-Type: text/html
< Content-Length: 69
< Connection: keep-alive
< Host: gs.apple.com
< Strict-Transport-Security: max-age=31536000; includeSubdomains
< X-Frame-Options: SAMEORIGIN
<
* Connection #0 to host gs.apple.com left intact
TSS server returned: STATUS=94&MESSAGE=This device isn't eligible for the requested build.
ERROR: TSS request failed (status=94, message=This device isn't eligible for the requested build.)
ERROR: Unable to fetch Savage ticket
ERROR: restore_send_firmware_updater_data: Couldn't get Savage firmware data
ERROR: Unable to send FirmwareUpdater data
ERROR: Unable to successfully restore device
ERROR: Unable to send data to ASR. Sent 107784 of 131072 bytes.
Unable to send filesystem payload chunk, retrying...
ERROR: Unable to send data to ASR. Sent 0 of 131072 bytes.
Unable to send filesystem payload chunk, retrying...
No data to read (timeout)
ReverseProxy[Ctrl]: Terminating
ReverseProxy[Ctrl]: (status=2) Terminated
ERROR: Unable to restore device
I pushed a commit that will use the DeviceGeneratedRequest
to work around this problem for now.
Hello,
I have an error when trying to update my iPhone to iOS 18 beta with the latest build of idevicerestore.