Skip to content

Send AppleTCON firmware when the request has no ResponseTags - #57

Merged
fcjr merged 1 commit into
mainfrom
appletcon-firmware-no-response-tags
Nov 17, 2026
Merged

fcjr merged 1 commit into
mainfrom
appletcon-firmware-no-response-tags

Conversation

@fcjr

@fcjr fcjr commented Nov 16, 2026

Copy link
Copy Markdown
Owner

On a Mac16,5 (M4 Max MacBook Pro) the AppleTCON updater fails during restore with:

Checkpoint FAILURE id: 0x1332 result=-1: _update_generic_firmware: failed to copy response for AppleTCON

The restore still finishes, so it's easy to miss, but the display controller firmware never gets sent.

The Mac's FirmwareUpdaterData request for AppleTCON has no DeviceGeneratedTags/ResponseTags at all. It only has MessageArgInfo, MessageArgUpdaterLoopCount, MessageForceRepersonalization and DataChunkSize. Since upstream idevicerestore 3faf292 ("Only send FirmwareData when it has been requested"), restore_get_tcon_firmware_data only attaches the firmware when ResponseTags lists FirmwareData. Here it replies with just the Baobab ticket, and the updater gives up. Upstream master hasn't changed this.

Patch 0008 treats a request with no ResponseTags as wanting the firmware, the way it worked before that commit. If ResponseTags is present, nothing changes. If the firmware can't be found or extracted, it still sends the ticket-only reply instead of failing the restore.

@freddy-fazbear-real found this while testing #53 and wrote the patch. I only tidied the comment and added it to the patches README. They ran two revives on 27.2.1 (26B131) with it: it extracts Firmware/DP855/X3091/X3091.bin, sends 1417226 bytes, and the step passes (await_update_appletcon result=0).

I checked that it applies on top of the existing patches and builds. I haven't run it on a Mac with a built-in display myself. I don't know whether other models send the request the same way, but any Mac that does was getting ticket-only replies and failing the same checkpoint.

A Mac16,5 asks for the AppleTCON updater data without listing any
ResponseTags. Since upstream only adds FirmwareData when that list asks
for it, the Mac got just the Baobab ticket and failed checkpoint 0x1332
("failed to copy response for AppleTCON"). Treat a missing list as
wanting the firmware, like before, and keep the ticket-only reply if the
firmware can't be extracted.
@fcjr
fcjr merged commit e864c6f into main Nov 17, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant