Difference between revisions of "IBoot (Bootloader)"

From The iPhone Wiki
Jump to: navigation, search
m (Revisions)
m (5.0 beta 5)
Line 44: Line 44:
 
* [[iBoot-1219.41.11~1]] (5.0 beta 3)
 
* [[iBoot-1219.41.11~1]] (5.0 beta 3)
 
* (5.0 beta 4)
 
* (5.0 beta 4)
  +
* [[iBoot-1219.43.9]] (5.0 beta 5)
   
 
==Commands used as an exploit vector==
 
==Commands used as an exploit vector==

Revision as of 08:20, 7 August 2011

This is Apple's stage 2 bootloader for all of the iDevices. It runs what is known as Recovery Mode. It has an interactive interface which can be used over USB or serial.

Bootrom

The bootrom also goes by the name "iBoot." The list of bootroms can be found on their own page.

Revisions

Commands used as an exploit vector

  • diags: Until 2.0 beta 6, the diags command would jump to code at the address provided to it. For example, if you sent "diags 0x9000000", it would directly jump to the code at 0x9000000. There is now a check that only allows engineering devices to utilize this backdoor.
  • arm7_go: For firmware 2.1.1, the iPod touch 2G iBoot contains the ARM7 Go command, which could be used to run a payload on the ARM7 in the device.

OpeniBoot

There is an open source version of iBoot being made so that Linux on the iPhone will work. You can check out the source here. It is VERY useful if you are ever reversing iBoot and do not feel like finding out what certain hardware registers are yourself.

Remappings

// n88 (3GS)
0x4FF00000 => 0x0
0x40000000 => 0xC0000000

See also