README 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. ## ---Installing idevicerestore---
  2. ## First We Need to Install the dependencies
  3. sudo apt-get install build-essential automake cmake autoconf \
  4. libreadline6 autotools-dev libcurl4-openssl-dev \
  5. libplist1 libplist-utils libplist-dev libplist++-dev \
  6. libzip-dev git-core git-arch git-cvs git-svn git-email \
  7. git-daemon-run gitk gitweb git-doc rsync curl libgnutls-dev libtool
  8. python-dev libreadline-dev libusb-dev
  9. ## Now to get what we need from Git
  10. git clone git://git.marcansoft.com/usbmuxd.git
  11. cd usbmuxd
  12. cmake ~/usbmuxd
  13. make && sudo make install
  14. cd ~
  15. git clone http://git.sukimashita.com/libimobiledevice.git
  16. cd libimobiledevice
  17. ./autogen.sh
  18. make && sudo make install
  19. sudo ldconfig
  20. ## Now we can compile idevicerestore
  21. cd ~
  22. git clone http://github.com/posixninja/idevicerestore.git
  23. cd idevicerestore
  24. ./autogen.sh
  25. make && sudo make install
  26. sudo ldconfig
  27. ## We also need ideviceactivate to activate the device
  28. git clone http://github.com/posixninja/ideviceactivate.git
  29. cd ideviceactivate
  30. make
  31. ## idevicerestore usage - may need to be run as root
  32. idevicerestore [-d] [-u] [-c] [-v] [-h] <input.ipsw>
  33. -d, enable communication debugging
  34. -u, target specific device by its 40-digit device UUID
  35. -h, prints usage information
  36. -c, restore with a custom firmware
  37. -e, erase the device first
  38. -s, use saurik's server instead of Apple's
  39. -x, exclude NOR/Baseband update
  40. -v, enable incremental levels of verboseness
  41. ## ideviceactivate usage - may need to be run as root
  42. ./ideviceactivate [-x] [-d] [-h] [-u] [-f]
  43. -x deactivate the target device
  44. -d enable communication debugging
  45. -h prints usage information
  46. -u UUID target specific device by its 40-digit device UUID
  47. -f FILE activates device with local activation record