Sign In
IPSW — Apple's Firmware Bundle Format

IPSW — Apple's Firmware Bundle Format

Wiki

An IPSW file is a standalone software update package used by Apple to deliver firmware to its devices. It stands for iPhone Software (or Apple Device Software Update). These files are used to update, restore, or reset an iPhone, iPad, Apple Watch, Apple TV, HomePod, or Apple Silicon Mac.

IPSW (originally iPod Software, now applied universally across Apple's device ecosystem) is the proprietary firmware archive format Apple uses to deliver complete operating system images for iPhone, iPad, iPod touch, Apple TV, and Apple Watch devices. An IPSW file contains everything needed to fully restore or update a device's firmware — from the bootloader and kernel to the entire root filesystem and all peripheral firmware components.

What Is an IPSW File?

An IPSW file is, at its core, a ZIP archive with a .ipsw file extension. The Apple Wiki confirms it has the Magic Number 504B0304 (PK\003\004) — the standard ZIP header — meaning it can be opened and inspected with any ZIP-compatible tool simply by renaming it to .zip.

Despite its simple container format, an IPSW packages a carefully structured set of firmware components that together constitute a complete iOS (or iPadOS / tvOS) firmware image. During a restore, iTunes, Finder, or the Apple Devices app unpacks the IPSW locally, extracts the relevant components, sends them to Apple's TSS server for personalization, and then transmits them to the connected device for installation.

Check Also

History and Origin of the IPSW Format

The IPSW format was introduced with iTunes 7.0 on 12 September 2006, initially to support iPod firmware updates. Prior to this, Apple distributed iPod firmware through a separate application called iPod Updater. iTunes 7.0 absorbed that functionality, and the IPSW format allowed iTunes to download the latest firmware on an as-needed basis.

The format was subsequently extended:

  • iTunes 7.1 — Extended IPSW support for the Apple TV
  • iTunes 7.3 — Extended IPSW support for the original iPhone (2007)

Despite its name standing for "iPod Software," IPSW became the universal firmware container for the entire iOS device family. The abbreviation has remained in use even as the format evolved substantially across iPhone OS, iOS, and beyond.

Note: Apple Watch, HomePod (except HomePod mini), and Apple TV 4K and later have no public IPSW — these devices use OTA-only updates and are recovered via recoveryOS or Apple Configurator 2.

IPSW File Structure

Every IPSW contains a standardised directory structure. The following is the full archive layout, based on The Apple Wiki's documentation:

Check Also
[root]
├── [Restore Ramdisk].dmg          ← Temporary OS environment for restore
├── [Update Ramdisk].dmg           ← Used for delta/update restores (may be absent)
├── [Root Filesystem].dmg          ← The largest file; the full iOS root partition
├── BuildManifest.plist            ← Introduced in iPhone OS 3.0 beta 2; defines all components
├── Restore.plist                  ← Restore configuration metadata
├── kernelcache.[processor]        ← Compressed XNU kernel (processor-specific pre-A4)
├── DeviceTree.[board].img3/im4p   ← Hardware description file (model-specific)
└── Firmware/
    ├── all_flash/
    │   └── all_flash.[board].production/
    │       ├── iBoot.[board].RELEASE.img3     ← Stage-2 bootloader
    │       ├── LLB.[board].RELEASE.img3       ← Low-Level Bootloader (older devices)
    │       ├── applelogo.[chip].img3          ← Apple boot logo
    │       ├── recoverymode.[chip].img3       ← Recovery mode graphic
    │       ├── batterycharging*.img3          ← Battery state graphics
    │       ├── DeviceTree.[board].img3        ← Hardware description
    │       ├── needservice.[chip].img3        ← "Connect to support" graphic
    │       └── manifest                       ← Component manifest
    ├── dfu/
    │   ├── iBSS.[board].RELEASE.dfu           ← DFU Stage 1 bootloader
    │   ├── iBEC.[board].RELEASE.dfu           ← DFU Stage 2 bootloader
    │   └── WTF.[board].dfu                    ← "What The Firmware" (early devices only)
    └── [Baseband firmware].bbfw               ← Cellular radio firmware (cellular models)

Real-World Example: iPhone 3GS 3.0 (7A341)

The Apple Wiki documents the actual file listing for this IPSW:

| File | Size | Purpose | |||| | 018-5302-002.dmg | 281,214,976 bytes | Root filesystem | | 018-5304-002.dmg | 12,769,604 bytes | Update ramdisk | | 018-5306-002.dmg | 12,777,796 bytes | Restore ramdisk | | BuildManifest.plist | 21,097 bytes | Component manifest | | kernelcache.release.s5l8920x | 4,695,492 bytes | Compressed XNU kernel | | Restore.plist | 1,763 bytes | Restore config | | iBoot.n88ap.RELEASE.img3 | 178,500 bytes | iBoot bootloader | | LLB.n88ap.RELEASE.img3 | 67,908 bytes | Low-Level Bootloader | | iBEC.n88ap.RELEASE.dfu | 104,772 bytes | DFU extended bootloader | | iBSS.n88ap.RELEASE.dfu | 104,772 bytes | DFU single-stage bootloader |

Firmware Components Inside an IPSW

Modern IPSW files for current iPhone models contain a much wider range of firmware files for the device's numerous coprocessors and subsystems:

| Filename Pattern | Component | ||| | ICE17-1.xx.xx.Release.bbfw / Mav17-*.bbfw | Intel / Maverick baseband (cellular modem) | | AOP/aopfw-*.im4p | Always-On Processor (AOP) | | Savage/Savage.B*.[Dev/Prod].fw | Face ID sensor firmware | | Yonkers/Yonkers.EA01_* | Face ID (A12 and later) | | SE/Stockholm##.RELEASE.sefw | Secure Element (Apple Pay) | | cpu_Multitouch.im4p | Touchscreen controller | | isp/adc-petra-d3x.im4p | Image Signal Processor | | ane/h11_ane_fw_quin.im4p | Apple Neural Engine | | WirelessPower/WirelessPower.iphone##.im4p | Wireless charging controller | | SmartIOFirmwareCHIP.im4p | Smart I/O (A12+) | | board_CallanFirmware.im4p | Taptic Engine / Haptics | | ave/AppleAVE2FW.im4p | Audio/Video Encoder | | agx/armfw_g11p.im4p | GPU scheduler | | all_flash/sep-firmware.*.im4p | Secure Enclave Processor (SEP) | | liquiddetect@*.im4p | Liquid damage detection | | pmp/t8030pmp.im4p | Power Management Processor | | Rose/r1p0/ftab.bin | U1 Ultra Wideband chip | | vinyl_05.vnlfw | eSIM firmware |

This breadth illustrates that an IPSW is not merely an OS installer — it is a complete firmware delivery package for every programmable component in the device.

IPSW vs. OTA Updates

Apple distributes firmware through two channels:

| Feature | IPSW | OTA (Over-the-Air) | |||| | Container format | ZIP archive (.ipsw) | ZIP archive (.zip) | | Delivery method | iTunes / Finder / Apple Devices app | Downloaded directly on-device or via Configurator | | Contents | Complete firmware (full restore) | Delta patches only (changed files) | | File size | 4–9 GB (full iOS image) | 100 MB – 2 GB (delta) | | Requires computer? | Yes | No | | Can restore from scratch? | Yes | No (requires base iOS already present) | | Available for all devices? | No (Apple TV 4K, Watch use OTA only) | Yes |

Check Also

OTA updates were introduced with iOS 5 and use a separate ZIP format with BSDIFF40 patch files, a payload folder of changed files, and component-specific update logic. For jailbreak and research purposes, IPSW restores are generally preferred because they provide a known-clean firmware state.

How IPSW Files Are Used During a Restore

When a restore is initiated from iTunes or Finder:

  1. The IPSW is downloaded (or a local file is selected with Option/Shift+Restore).
  2. The host software unpacks the IPSW and reads BuildManifest.plist to identify all required components for the connected device model.
  3. The device's ECID (Exclusive Chip ID) and a nonce generated by the device are sent to Apple's TSS server along with hashes of the firmware components.
  4. Apple's TSS server returns a signed APTicket authorizing this specific restore for this specific device.
  5. Firmware components from the IPSW are personalized (bound to the device's ECID) and transmitted to the device.
  6. The device's iBoot or iBSS/iBEC validates each component against the APTicket before installation.
  7. ASR (Apple Software Restore) writes the root filesystem DMG to the device's NAND flash.
  8. Remaining firmware (baseband, SEP, coprocessors) is flashed.
  9. The device reboots into the newly installed iOS.

Finding and Downloading IPSW Files

iOSBuddy

iOSBuddy (iosbuddy.com) is the most comprehensive public database for IPSW firmware. It tracks:

  • Over 4,800 IPSW builds across all Apple devices
  • Over 3,100 OTA builds
  • Real-time signing status for each firmware version
  • Device-specific firmware pages with direct download links
  • Beta firmware builds (developer and public betas)
  • Tools for identifying the correct firmware for your device model

Key iOSBuddy tools relevant to IPSW:

Using a Specific IPSW in iTunes / Finder

To restore to a specific IPSW rather than the latest version:

  • Mac (Finder): Hold Option and click Restore iPhone/iPad
  • Windows (iTunes): Hold Shift and click Restore iPhone/iPad

Then navigate to the downloaded .ipsw file. Apple's servers will still verify the APTicket — if the version is no longer signed, the restore will fail.

Firmware Signing and IPSW Validity

Apple controls which IPSW versions can be installed through its TSS (Tatsu Signing Server). A firmware version is "signed" when Apple's TSS will issue APTickets for it. Apple typically stops signing older versions within a few weeks of releasing a new iOS update, which prevents users from downgrading.

The signing window matters because:

  • An unsigned IPSW cannot be installed even if you have the file locally
  • Once signing closes, downgrade paths are permanently blocked for most users
  • SHSH blob tools (historically TinyUmbrella, now blobsaver) allow users to save APTickets during the signing window for potential later use

Check current signing status at iOSBuddy's Signing Status tool before beginning a restore.

IPSW Encryption and Firmware Keys

The firmware components inside an IPSW (iBoot, LLB, kernelcache, ramdisks) are AES-encrypted to protect Apple's intellectual property and make reverse engineering more difficult. The encryption evolved over time:

  • IMG2 — Used in iPhone OS 1.x; encrypted with the 0x837 key
  • IMG3 — Introduced in iPhone OS 2.0 beta 4; multi-layer AES encryption (Rijndael/AES)
  • IMG4 — Current format; DER-encoded, with device-specific GID key encryption

The AES decryption keys for historical firmware are documented in The Apple Wiki's Firmware Keys database. These keys allow researchers to decrypt iBoot, ramdisks, and root filesystems for analysis. On some devices (like the iPhone 6s), multiple board configurations exist within a single IPSW, each with their own GID key variant.

Note: The root filesystem DMG (the largest component) has been shipped unencrypted in modern iOS versions, though bootloader components remain encrypted.

Custom IPSWs and Jailbreaking

IPSW files have historically been the primary vehicle for jailbreak tooling:

  • PwnageTool / sn0wbreeze — Created "custom IPSWs" with patched iBSS/iBEC (signature checks disabled), modified kernels, and additional jailbreak payloads. These custom IPSWs could be restored via Pwned DFU Mode.
  • SHSH blob stitching — Tools like iFaith and redsn0w could stitch saved SHSH blobs into a custom IPSW, enabling restores to older unsigned firmware versions on vulnerable devices.
  • futurerestore — A modern tool that wraps idevicerestore and allows specifying custom APTickets and baseband firmware, enabling restores to older signed-at-some-point versions using saved SHSH blobs.
  • Tethered downgrades — Required patching ASR inside the ramdisk to bypass signature verification, modifying the root filesystem DMG, and restoring via Pwned DFU Mode.

On modern devices (A12 and later), the absence of a public bootrom exploit makes custom IPSW restores effectively impossible without an iOS-level software vulnerability.

Frequently Asked Questions

Q: How large is a typical IPSW file? Modern iOS IPSW files range from approximately 4 GB (older iPhone models) to over 9 GB for current flagship devices with more firmware components.

Q: Can I use any IPSW for my device? No. Each IPSW is device-specific. The BuildManifest.plist inside the archive specifies supported model identifiers (board configs). Using an IPSW for the wrong device model will fail during personalization.

Q: How do I know which IPSW to download? Use iOSBuddy's Identifier Lookup to find your device's model identifier, then browse to your device's firmware page to find the correct IPSW for your target iOS version.

Q: Why does the root filesystem DMG vary so much in size? The root filesystem DMG contains the entire iOS operating system, all built-in Apple apps, frameworks, and system binaries. On newer devices with more capabilities and system software, this image is naturally larger.

Q: Is it safe to download IPSW files from third-party sites? Only download IPSW files from trusted sources that provide direct links to Apple's CDN, such as iOSBuddy, which uses verified firmware metadata. Always verify the SHA-1 hash of the downloaded file against known values before using it.

See Also

  • Restore Mode — How an IPSW is used during a device restore
  • iBoot — The bootloader delivered inside an IPSW
  • ASR (Apple Software Restore) — The tool inside the ramdisk that writes the root filesystem
  • APTicket — The cryptographic authorization from Apple required to use an IPSW
  • SHSH Blobs — Device-specific signing tokens used with IPSW files for downgrades
  • OTA Updates — Apple's alternative, delta-based firmware delivery method
  • Baseband Firmware — The cellular modem firmware packaged inside IPSW
  • DFU Mode — Uses iBSS/iBEC from the IPSW for deep firmware recovery

External Resources

Based on technical documentation from The Apple Wiki. Last updated: June 2026.

Comments

No comments yet. Be the first to comment!

Leave a Comment

You Might Also Like

Apple MDM

Jun 5, 2026

Apple MDM

Mobile Device Management (MDM) for Apple allows organizations to securely configure, monitor, and manage iPhones, iPads, Macs, and Apple TVs remotely.

Read more →
DFU (Protocol)

Jun 5, 2026

DFU (Protocol)

Like Dislike The DFU (Device Firmware Update) protocol is designed to provide a standard for upgrading the firmware of USB devices. It consists of two main parts: a large main firmware and a smaller bootloader

Read more →
iOS 26.6 Beta 2 Released: Performance Improvements, Bug Fixes, and Hidden Changes

Jun 16, 2026

iOS 26.6 Beta 2 Released: Performance Improvements, Bug Fixes, and Hidden Changes

Apple has officially released iOS 26.6 Beta 2 to developers, continuing its work on refining the iOS 26 experience while development of iOS 27 moves forward. Although this update does not introduce major new features, it focuses heavily on performance, stability, security, and bug fixes.

Read more →
iPhone 18 Pro: Release Date, Price, Specs, and Everything We Know So Far

Sep 5, 2026

iPhone 18 Pro: Release Date, Price, Specs, and Everything We Know So Far

iPhone 18 Pro rumors point to a 2nm A20 Pro chip, a smaller Dynamic Island, a variable aperture camera, and Apple's new C2 modem. Here's everything expected ahead of Apple's September 2026 event.

Read more →
macOS Ventura

Jun 7, 2026

macOS Ventura

macOS Ventura (version 13) is Apple's nineteenth major operating system for Mac. It introduces advanced multitasking with Stage Manager, improves ecosystem continuity by letting you use your iPhone as a webcam, and adds iOS-style Clock and Weather apps directly to your desktop.

Read more →
macOS Sequoia

Jun 7, 2026

macOS Sequoia

macOS Sequoia (version 15) is Apple's desktop operating system. Standout features include iPhone Mirroring for full phone control on your Mac, advanced window tiling, a dedicated Passwords app, and Apple Intelligence for supported Apple Silicon Macs.

Read more →
© 2026 iOSBuddy. Firmware data provided by ipswdl.com API. Not affiliated with Apple Inc.