The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Recovery Mode (Protocols)"
ChronicDev (talk | contribs) |
ChronicDev (talk | contribs) |
||
Line 20: | Line 20: | ||
===Implementations=== |
===Implementations=== |
||
* [http://chronicdev.googlecode.com/svn/trunk/iRecovery/ iRecovery] |
* [http://chronicdev.googlecode.com/svn/trunk/iRecovery/ iRecovery] |
||
+ | |||
+ | [[Category:Protocols (S5L)]] |
Revision as of 16:41, 15 March 2009
Contents
Recovery Mode 1.x (DevID=0x1280)
This is the old Recovery Mode protocol.
Implementions
Recovery Mode 2.x (DevID=0x1281)
This is the new Recovery Mode protocol used in 2.0 iBoots.
Commands
usb_control_msg(idev, 0xA1, 3, 0, 0, buf, 6, 1000); //get status usb_control_msg(idev, 0x40, 0, 0, 0, buf, strlen(buf), 1000); //send command usb_control_msg(idev, 0x21, 1, x, 0, fbuf, s, 1000); //send file
After sending a file, request the status several times. Also increment x as you send.
It also has another interface which appears like a USB to serial converter.