Compile iDeviceRestore on Linux

Technical documentation

This is a guide to compiling iDeviceRestore by @p0sixninja on debian linux. It has been tested on Ubuntu 12.04 and is working.

1. First, we need to get the dependencies

sudo apt-get install build-essential automake cmake \
libreadline6 autotools-dev libcurl4-openssl-dev autoconf \
libplist1 libplist-utils libplist-dev libplist++-dev \
libzip-dev git curl libgnutls-dev libreadline-dev libusb-dev \
libtool libusb-1.0-0-dev libusbmuxd-dev libglib2.0-dev libimobiledevice-dev

2. Install libirecovery

mkdir ~/idevicerestore
cd ~/idevicerestore
git clone
cd libirecovery
make && sudo make install

3. Finally to get idevicerestore

cd ~/idevicerestore
git clone git://
cd idevicerestore
make && sudo make install
sudo ldconfig

4. Also, you might want iDeviceactivate, to activate after you have restored

cd ~/idevicerestore
git clone
cd ideviceactivate


idevicerestore.git.tgz - iDeviceRestore source (949 KB) Daniel Curtis, 01/15/2013 08:58 PM