Difference between revisions of "IRecovery"

From The iPhone Wiki
Jump to: navigation, search
Line 1: Line 1:
  +
iRecovery is a libusb-based commandline utility for Mac OS X and Linux (perhaps Windows too). It is able to talk to the iBoot/iBSS in Apple's iPhone/iPod touch via USB.
iRecovery is a tool to communicate with iBoot while your device is in recovery or DFU mode.
 
  +
  +
It's completely open-source, the source-code is released under the terms of the GNU General Public License version 3.
  +
The full license text can be found in the LICENSE file on github.
  +
  +
It currently connects to 0x1281 (iPhone, iPhone 3G, iPod touch, iPod touch 2G: Recovery Mode/iBSS), 0x1227 (iPhone,
  +
iPhone 3G, iPod touch: WTF Mode; iPod touch 2G: DFU Mode).
   
 
==Credits==
 
==Credits==
  +
westbaer
Tom3Q and wEsTbAeR--
 
   
 
==Features==
 
==Features==
Line 19: Line 25:
 
Once it has spawned, you can type 'help' and iBoot will respond with its built-in command list.
 
Once it has spawned, you can type 'help' and iBoot will respond with its built-in command list.
   
  +
====Single Command====
===Internal Commands (used while in a shell session)===
 
  +
./iRecovery -c "command"
====/exit====
 
  +
Sends a single command to the device *without* spawning a shell.
Exit the program
 
   
====/file====
 
Upload file
 
   
 
==Download==
 
==Download==
[http://chronicdev.googlecode.com/svn/ Latest version always in the Chronic Dev SVN]
+
[http://github.com/westbaer/irecovery/tree Latest version always on GitHub]

Revision as of 19:19, 27 May 2009

iRecovery is a libusb-based commandline utility for Mac OS X and Linux (perhaps Windows too). It is able to talk to the iBoot/iBSS in Apple's iPhone/iPod touch via USB.

It's completely open-source, the source-code is released under the terms of the GNU General Public License version 3. The full license text can be found in the LICENSE file on github.

It currently connects to 0x1281 (iPhone, iPhone 3G, iPod touch, iPod touch 2G: Recovery Mode/iBSS), 0x1227 (iPhone, iPhone 3G, iPod touch: WTF Mode; iPod touch 2G: DFU Mode).

Credits

westbaer

Features

DFU 2.0 (0x1227)

It can upload a file, such as an iBSS, so that you can unplug and spawn a shell with 0x1281.

Recovery 2.0 (0x1281)

File Uploading

You can upload a file to 0x9000000 with the following syntax:

./iRecovery -f file

Two-Way Shell

You can spawn a shell to do all sorts of neat things with the syntax:

./iRecovery -s

Once it has spawned, you can type 'help' and iBoot will respond with its built-in command list.

Single Command

./iRecovery -c "command"

Sends a single command to the device *without* spawning a shell.


Download

Latest version always on GitHub