Commit Graph

6 Commits

  • feat(scripts): iPadOS 27 kernel, driver, GPU addon and seed build steps
    Source-driver and source-storage builds, the arm64e PAC rewrite for the Rust bridge, the IOAccelerator base ABI of 24A446, the bridge with mimalloc and link-time optimisation, the plugin with the prime list, addon options for a prime list, a pipeline pack and cache export, wallpaper overlay and seed changes, and payload, kernel and userdata steps for the new profile.
  • feat(userdata): build the userdata image on Linux
    The userdata step read each IPSW disk image through macOS hdiutil, so it
    stopped on Linux with "hdiutil not found on PATH". It only needs the raw
    disk bytes, so on hosts other than macOS it now decodes them with
    scripts/unixnu/udif.py.
    
    udif.py reads the koly trailer and the blkx (mish) tables of a UDIF
    image and yields the disk in sector order: raw chunks are copied,
    zero-fill and ignored chunks read as zeros, and zlib, bzip2 and LZFSE
    chunks are decompressed (LZFSE with the lzfse tool the Linux toolchain
    installs). It refuses gaps, unsupported chunk types and chunks that do
    not decode to their size. A file without a koly trailer is a raw image
    and is copied: the SystemOS cryptex is one, while the OS image is UDIF
    with LZFSE chunks. test_udif.py checks this with synthetic images.
    
    The window layout, hashes, SHNGROOT manifest and report are unchanged,
    and macOS keeps hdiutil. For iPadOS 17.7.11 (21H461) the image built on
    Linux and the one built on macOS from the same disk images are byte
    for byte identical (9382658048 bytes, sha256 fd43ee7035ce185c...), as
    are the window hashes (OS e5634d04..., SystemOS b4908cde...).
    
    The lzfse lookup that ipsw.py had for the kernelcache moves to util.py,
    which both use. The Linux notice now names --skip-setup and
    seed-data-grow as the steps that need macOS.
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • feat(userdata): build the userdata partition image
    build userdata writes the OS and SystemOS disk images of the IPSW behind
    the SHNGROOT manifest, checked against the partition size of the board.
    It prints the fastboot flash command and flashes nothing. The image
    matches a previously built one byte for byte.