Skip to content

Blog: Tiled App Snapshots in iOS 26 and 27 - #331

Merged
abrignoni merged 14 commits into
abrignoni:mainfrom
charpy4n6:blog/ios27-tiled-snapshots
Nov 25, 2026
Merged

abrignoni merged 14 commits into
abrignoni:mainfrom
charpy4n6:blog/ios27-tiled-snapshots

Conversation

@charpy4n6

@charpy4n6 charpy4n6 commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Adds a blog post explaining the tiled App Snapshots layout seen on iOS 26 and 27, and the iLEAPP fixes in abrignoni/iLEAPP#2887 and abrignoni/iLEAPP#2893 (the @2x bit order, by Alexis Brignoni). It is written for a general DFIR audience, with the format details in a short section at the end, and credits Alexis Brignoni and Yogesh Khatri.

  • blog/posts/2026-11-25-tiled-app-snapshots-ios-26-27.md: what went wrong, what Apple changed (explained as puzzle pieces stored in tiles), how it was spotted, the two zig-zag orders, how iLEAPP now handles both, results, what examiners should know, what is not tested, a technical section, and credits.
  • blog/images/2026-11-25-tiled-app-snapshots-ios-26-27/block-order.svg: a diagram comparing raster order with Morton order inside a tile. It uses illustrative block numbers, not data from any extraction.

The diagram is linked by site path (/blog/images/...). index.json, the sitemap, blog.html and the social card are left to the generate-blog.yml Action. python scripts/generate_blog_index.py --check passes locally.

The post links ios_ktx2png.py on abrignoni/iLEAPP main, pinned to a6d74561, after both PRs merged.

🤖 Generated with Claude Code

The post links abrignoni/iLEAPP#2894, opened while writing it: a truncated snapshot still decodes to a full-size picture with no warning.

Explains why App Snapshots rendered as streaks or flat colour on an
iOS 27.2 extraction (ASTC blocks in 32x32-block Morton-ordered tiles on
a padded surface) and how iLEAPP now reads both layouts
(abrignoni/iLEAPP#2887). Includes a diagram of the block order.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@abrignoni abrignoni left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated leapps-website review.

The iOS 17 snapshots compared carry an LZFS (LZFSE-compressed) chunk with
data at 0x100; the iOS 27.2 ones carry an uncompressed astc chunk with
data at 0x4000. The post said the chunk list was the same. Add a table of
the differences and say why the reader still accepted the files.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@abrignoni abrignoni left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated leapps-website review.

- The decoder disagreement before reordering no longer claims the data
  held detail; the conclusion about content is left to the comparison
  after reordering.
- The numbered steps include the tie-breaker before reordering, and the
  condition is stated in blocks, not pixels.
- State that x supplies the even-numbered Morton bits and y the odd ones,
  with a worked example.
- Limit the reading of flat snapshots to those decoded with the fix.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@abrignoni abrignoni left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated leapps-website review.

Review of abrignoni/iLEAPP#2887 found the tiled layout on iOS 26.3 and
26.5 images, and a variant with the Morton x and y bits swapped on an
iOS 26.2.1 image that the fix does not handle.

- Retitle the post and rename its slug and image folder so they no
  longer tie the layout to iOS 27.
- Say the version alone does not decide the layout, and name the
  swapped-bit variant as not handled.
- Limit the re-run advice to snapshots in the tiled layout.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@charpy4n6 charpy4n6 changed the title Blog: iOS 27 App Snapshots and the tiled KTX layout Blog: Tiled App Snapshots in iOS 26 and 27 Nov 25, 2026

@abrignoni abrignoni left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated leapps-website review.

The block surplus is a clue, not a sure test, and the equal-count case
points to the HEAD tie-breaker. The re-run advice no longer covers the
swapped-bit variant, which a fixed build still leaves scrambled.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@charpy4n6

Copy link
Copy Markdown
Contributor Author

Reply to this review comment (replying in its thread failed repeatedly with a server error):

The takeaway presents excess blocks as a universal way to identify tiled data.

Fixed in 5901d78. The takeaway now calls the block surplus a clue that every tiled file seen so far had, not a sure test. It says a tile-aligned tiled image without the extra block would match a raster count, and points to the "One case the block count cannot decide" section for the HEAD tie-breaker.

With the HEAD tie-breaker, a tile-aligned file with word 12 set to 1 is
reordered. Say so, and that no older-layout file compared had that.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@abrignoni abrignoni left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated leapps-website review.

- Plainer language throughout, with the format details moved to a short
  "For the technically curious" section at the end.
- Cover abrignoni/iLEAPP#2893: @2x snapshots use the swapped Morton
  order, chosen from the file name, measured on one 2x device.
- Credit Alexis Brignoni for testing across his corpus, finding iOS 26
  and the @2x order, and Yogesh Khatri for the original reader.
- Point the code link at abrignoni/iLEAPP main, pinned to a6d74561.
- Review: say truncated files still decode to a partly wrong picture,
  limit the HEAD word to the exact-count case, and label the diagram
  as a 4-piece-wide image and one corner of a tile.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@abrignoni abrignoni left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated leapps-website review.

Say that a truncated snapshot decodes without any warning, that a
truncated tiled file can come out scrambled, and link the issue from the
technical steps and the "not tested" list.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@abrignoni abrignoni left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated leapps-website review.

…oken

Decoding every iOS 27.2 snapshot before and after the fix shows the 193
single-colour ones are pixel for pixel identical either way: they are
plain screens and were shown correctly all along. Only the 131 with
real content were broken.

- Say so in the opening, What went wrong, Results and the takeaways.
- Tie the streaks to misordering; a one-colour picture is unaffected.
- Review: limit the truncated-tiled case to counts below the full tiled
  count, and say that branch passes data through unconfirmed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@abrignoni abrignoni left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated leapps-website review.

- Spell out the first piece positions of both orders under the diagram,
  for screen readers and readers with images off.
- A truncated tiled file with exactly the blocks the image needs is also
  passed through as rows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@abrignoni abrignoni left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated leapps-website review.

Say the newer files drop the LZFSE layer but still hold ASTC blocks,
describe the 193 plain snapshots as single-colour without asserting
what produced them, scope the row-order example to the diagram's
four-piece-wide image, and limit the block-count remark to the files
compared.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@abrignoni abrignoni left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated leapps-website review.

@abrignoni

Copy link
Copy Markdown
Owner

I pushed e08456f to your branch to cover the three open review points (ASTC wording, the single-colour screens, and the diagram width). Please pull before your next change so your push does not overwrite it.

Add #2895 to the list of changes, explain that a cut-short snapshot is
now refused (no row in App Snapshots or Widgets, a "Left out" log line,
a failed-decode row in Messages previews), rewrite the tiling steps to
the accepted sizes, re-pin the code link to the merge, and say which
changes a build needs for both zig-zags.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@abrignoni abrignoni left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated leapps-website review.

@abrignoni abrignoni left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated leapps-website review.

@abrignoni abrignoni left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated leapps-website review.

@abrignoni
abrignoni merged commit 3713631 into abrignoni:main Nov 25, 2026
1 check 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.

2 participants