idevicerestore is a command-line program that restores official or custom firmware to iOS devices from IPSW archives or directories. It reimplements the granular steps of Apple’s restore flow on open systems.
Overview
idevicerestore performs firmware restore and upgrade operations for iOS devices from the terminal. It fully reimplements the steps involved when flashing firmware, supporting both update-style restores that keep user data and erase-style restores when required.
Typical workflows use Apple IPSW packages or a folder as the source, can download the latest signed firmware for a attached device, cache downloads locally, and interact with signing constraints such as SHSH blobs where applicable. Options exist to skip baseband updates, save TSS records, use custom AP tickets, and perform other advanced restore steps when supported hardware and blobs allow.
On Linux the tool expects a working usbmuxd setup so USB restore mode devices are visible. Optional Docker scripts in the project run usbmuxd and idevicerestore inside a container for environments that use that packaging.
The program is independent of Apple and is not endorsed by Apple. Misuse can destroy user data irreversibly; backups are recommended before use.
Key features
- Restore from IPSW or directory
- Update or erase restore modes
- On-demand signed firmware download
- Local firmware download cache
- SHSH TSS record saving
- Optional baseband upgrade skip
- Custom AP ticket support
- Docker-based run scripts
Use cases
- Flashing stock firmware on Linux or Windows
- Upgrading an attached iPhone or iPad
- Recovery restores when blobs are available
- Automation around device provisioning