Use when restoring/upgrading iOS firmware - command-line tool to restore IPSW firmware to iOS devices
This skill provides expertise in using idevicerestore, a command-line application to restore or upgrade firmware files to iOS devices using official IPSW firmware archives.
Use this skill when:
| Feature | Description |
|---|---|
| Restore Firmware | Full restore with data erase |
| Update |
| Update preserving content |
| DFU Mode | Support for DFU recovery |
| Recovery Mode | Recovery mode operations |
| SHSH Blobs | Custom firmware support with blobs |
| Multiple Devices | iPhone, iPad, iPod Touch |
# Ubuntu/Debian
sudo apt-get install idevicerestore
# macOS (Homebrew)
brew install idevicerestore
# Build from source
git clone https://github.com/libimobiledevice/idevicerestore.git
cd idevicerestore
./autogen.sh
make
sudo make install
# Show help
idevicerestore --help
# List device info
idevicerestore -i
# Update device (preserve data)
idevicerestore -u
# Restore device (erase all)
idevicerestore -r
# Restore with custom IPSW
idevicerestore -r custom.ipsw
# Boot device
idevicerestore -b
# Exit recovery mode
idevicerestore -e
| Option | Description |
|---|---|
-i, --info | Show device info |
-u, --update | Update device (keep data) |
-r, --restore | Restore device (erase) |
-e, --exit | Exit recovery mode |
-b, --boot | Boot device |
-c, --latest | Use latest firmware |
-w, --erase | Erase all content |
--no-action | Don't restore, just download |
1. Download IPSW firmware
2. Verify firmware signature
3. Enter recovery/DFU mode
4. Upload firmware components:
- iBSS (Bootloader)
- iBEC (Bootloader)
- Kernel
- Device Tree
- Ramdisk
- OS
5. Verify and boot
When helping with iOS repair:
| Issue | Solution |
|---|---|
| Device not detected | Check USB cable, reinstall drivers |
| Error 3194 | DNS issues, modify hosts file |
| Error 4013 | Hardware issue, try different cable |
| Stuck on Apple logo | Force restart, try DFU mode |
| Recovery loop | Exit recovery mode, restore again |
libimobiledevice - iOS device communication librarymagisk-root - Android rooting alternativeandroid-root-guide - Android rooting guideC:\Users\user\.qwen\skills\ios-repair-tool