Skip to content

History / Firmware formats comparison

Revisions

  • Remove Ghidra references from official updater documentation

    @icedream icedream committed Jul 12, 2026
  • Document official Windows updater analysis and Go updater AZ01 support Reverse engineered the official Windows updater EXEs (4.3.4 and 5.0.0) with Ghidra: both firmware generations ship the exact same FirmwareUpdater.exe binary, which auto-detects the container format and dispatches to a dedicated "AZ01 programmer" component for the new format while reusing the same fastboot-derived USB protocol (getvar/download/flash/reboot) for both. - Firmware-image-structure.md: replace the Update Mechanism section with a detailed breakdown of FirmwareUpdater.exe's capabilities (OEM commands, BCrypt/RSA usage, fastboot command set) and the actual multi-step update flow. - Firmware-formats-comparison.md: add a new Official Updater Tool Analysis section plus a Go Updater Tool Status note documenting that go/pkg/updater now supports both the legacy FIT format and the new AZ01/SC6000 format in a single build.

    @icedream icedream committed Jul 12, 2026
  • Rename ExtraValues to USBDeviceIDs in header The 'extra values' field in the AZ01/SC6000 header contains USB VID/PID pairs (VID=0x15E4 Numark), not arbitrary build numbers. Renamed the field to USBDeviceIDs to accurately reflect its purpose.

    @icedream icedream committed Jul 12, 2026
  • Correct AZ01/SC6000 partition chain structure The per-partition marker is 'PART' (4 bytes) plus a little-endian uint32 giving the entry's own metadata length, not one of three distinct 5-byte markers (PARTP/PARTX/PARTL) indicating a partition's position in a table. The apparent letter suffix was a coincidence of the length value (80/88/76 bytes) matching a printable ASCII code. There is also no separate, fixed-size partition table: the image is a simple chain of name+metadata+data blocks (splash, recoverysplash, rootfs) terminated by an EOF sentinel, not a fixed 4096-byte table with entries for boot/system/cache/recovery/misc/firmware/data/persist (those partition names exist only in the on-device eMMC/U-Boot layout, not inside the update image file). The rootfs .xz stream also turned out to have a complete, valid footer all along - extraction just needs to stop at the partition's exact declared data size instead of reading to the end of the file. Verified against 8 real firmware images (PRIME 4, PRIME 2, PRIME GO, SC5000, SC5000M, SC6000, SC6000M, Mixstream Pro) with full SHA-1 hash verification via a new Go implementation (go/pkg/az01).

    @icedream icedream committed Jul 12, 2026
  • Remove Format Detection Algorithm and Device-to-Format Mapping appendix sections

    @icedream icedream committed Jul 12, 2026
  • Remove YAML frontmatter from Firmware-formats-comparison.md (GitHub wiki doesn't support it)

    @icedream icedream committed Jul 12, 2026
  • Update wiki: fix JC16 references, remove tool section, add device list

    @icedream icedream committed Jul 11, 2026
  • Add firmware formats comparison documentation

    @icedream icedream committed Jul 11, 2026