Difference between revisions of "IRecovery"

From The iPhone Wiki
Jump to: navigation, search
(Credits)
(File Uploading)
Line 21: Line 21:
 
You can upload a file to 0x9000000 with the following syntax:
 
You can upload a file to 0x9000000 with the following syntax:
 
./iRecovery -f file
 
./iRecovery -f file
  +
In newer builds that use libusb-1.0 this is now
  +
./iRecovery -u file
   
 
====Two-Way Shell====
 
====Two-Way Shell====

Revision as of 23:05, 15 May 2010

iRecovery is a libusb-based CLI utility for Mac OS X, Linux, and Windows. It is able to talk to iBoot and iBSS via USB. It's completely open source; the source code is released under the terms of the GNU GPL v3. The full license text can be found in the LICENSE file on github.

It currently connects to:

Credits

westbaer

Thanks

pod2g, tom3q, planetbeing, geohot and posixninja.

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

In newer builds that use libusb-1.0 this is now

./iRecovery -u 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.

usb_control_msg(0x21, 2) Exploit Command

./iRecovery -k 

Sends Chronic Dev's + Geohot's latest usb exploit. Implemented into blackra1n. This was just updated a few days ago. (10/17/09) posixninja's fork

Download

Offical Repository / Download here