Difference between revisions of "Recovery Mode 0x1281"

From The iPhone Wiki
Jump to: navigation, search
(New page: 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, s...)
 
Line 5: Line 5:
 
usb_control_msg(idev, 0x40, 0, 0, 0, buf, strlen(buf), 1000); //send command
 
usb_control_msg(idev, 0x40, 0, 0, 0, buf, strlen(buf), 1000); //send command
 
usb_control_msg(idev, 0x21, 1, 0, 0, fbuf, s, 1000); //write memory
 
usb_control_msg(idev, 0x21, 1, 0, 0, fbuf, s, 1000); //write memory
  +
  +
It also has another interface which appears like a USB to serial converter.

Revision as of 21:59, 27 July 2008

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, 0, 0, fbuf, s, 1000); //write memory

It also has another interface which appears like a USB to serial converter.