Difference between revisions of "IBoot (Bootloader)"

From The iPhone Wiki
Jump to: navigation, search
m (Revisions)
Line 7: Line 7:
 
== Revisions ==
 
== Revisions ==
 
NOTE: 1.2b1 through 3.0b1 are not listed
 
NOTE: 1.2b1 through 3.0b1 are not listed
[[iBoot-99]] 1.0b (1A420)
+
[[iBoot-99]] 1.0b (Build 1A420)
 
[[iBoot-159]] 1.0 (Build 1A543a)
 
[[iBoot-159]] 1.0 (Build 1A543a)
 
1.0.1 (Build 1C25)
 
1.0.1 (Build 1C25)

Revision as of 03:39, 1 February 2012

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

NOTE: 1.2b1 through 3.0b1 are not listed

iBoot-99            1.0b    (Build 1A420)
iBoot-159           1.0     (Build 1A543a)
                    1.0.1   (Build 1C25)
                    1.0.2   (Build 1C28)
iBoot-204           1.1     (Build 3A100)
                    1.1     (Build 3A101)
                    1.1.1   (Build 3A109a)
iBoot-204.0.2       1.1.1   (Build 3A110a)
iBoot-204.2.9       1.1.2   (Build 3B48b)
iBoot-204.3.14      1.1.3   (Build 4A93)
                    1.1.4   (Build 4A102)
iBoot-204.3.16      1.1.5   (Build 4B1)
iBoot-320.20        2.0     (Build 5A347)
                    2.0.1   (Build 5B108)
                    2.0.2   (Build 5C1)
iBoot-385.22        2.1     (Build 5F137)
                    2.1.1   (Build 5F138)
iBoot-385.49        2.2     (Build 5G77)
                    2.2     (Build 5G77a)
                    2.2.1   (Build 5H11)
                    2.2.1   (Build 5H11a)
iBoot-594.2~1       3.0b2   (Build 7A259g)
iBoot-596.6~3       3.0b3   (Build 7A280f)
iBoot-596.16~2      3.0b4   (Build 7A300g)
iBoot-596.20~1      3.0b5   (Build 7A312g)
iBoot-596.24~1      3.0     (Build 7A341)
                    3.0.1   (Build 7A400)
iBoot-636.26~2      3.1b1   (Build 7C97d)
iBoot-636.??~?      3.1b2   (Build 7C106c)
iBoot-636.47~1      3.1b3   (Build 7C116a)
iBoot-636.65~2      3.1     (Build 7C144)
iBoot-636.66~1      3.1.1   (Build 7C145)
                    3.1.1   (Build 7C146)
iBoot-636.66~5      3.1.2   (Build 7D11)
iBoot-636.66.33~4   3.1.3   (Build 7E18)
iBoot-817.28~18     3.2     (Build 7B367)
iBoot-817.29~2      3.2.1   (Build 7B405)
                    3.2.2   (Build 7B500)
iBoot-872~12        4.0b1   (Build 8A230m)
iBoot-889.3~2       4.0b2   (Build 8A248c)
iBoot-889.12~2      4.0b3   (Build 8A260b)
iBoot-889.19~1      4.0b4   (Build 8A274b)
iBoot-889.24~4      4.0GM   (Build 8A293)
                    4.0     (Build 8A293)
                    4.0.1   (Build 8A306)
                    4.0.2   (Build 8A400)
iBoot-931.18.1~1    4.1b1   (Build 8B5080c)
iBoot-931.18.15~2   4.1b2   (Build 8B5091b)
iBoot-931.18.27~1   4.1     (Build 8B117)
                    4.1     (Build 8B118)
iBoot-931.67~2      4.2b1   (Build 8C5091e)
iBoot-931.71.80~1   4.2b2   (Build 8C5101c)
iBoot-931.71.13~3   4.2b3   (Build 8C5115c)
iBoot-931.71.16~9   4.2GM   (Build 8C134)
                    4.2GM   (Build 8C134b)
                    4.2.1GM (Build 8C148)
                    4.2.1   (Build 8C148)
                    4.2.1   (Build 8C148a)
iBoot-931.72.14~6   4.2.5   (Build 8E128)
                    4.2.6   (Build 8E200)
                    4.2.7   (Build 8E303)
                    4.2.8   (Build 8E401)
iBoot-931.72.14~10  4.2.9   (Build 8E501)
                    4.2.10  (Build 8E600)
iBoot-1072.33~1     4.3b1   (Build 8F5148b)
iBoot-1072.38~2     4.3b2   (Build 8F5153d)
iBoot-1072.49~2     4.3b3   (Build 8F5166b)
iBoot-1072.58~4     4.3GM   (Build 8F190)
                    4.3     (Build 8F190)
iBoot-1072.59~2     4.3     (Build 8F191)
                    4.3.1   (Build 8G4)
iBoot-1072.61~2     4.3.2   (Build 8H7)
                    4.3.2   (Build 8H8)
                    4.3.3   (Build 8J2)
                    4.3.3   (Build 8J3)
iBoot-1072.61~6     4.3.4   (Build 8K2)
                    4.3.5   (Build 8L1)
iBoot-1219.35.80~1  5.0b1   (Build 9A5220p)
iBoot-1219.40.25~4  5.0b2   (Build 9A5248d)
iBoot-1219.41.11~1  5.0b3   (Build 9A5259f)
iBoot-1219.42.8~1   5.0b4   (Build 9A5274d)
iBoot-1219.43.9~3   5.0b5   (Build 9A5288d)
iBoot-1219.43.18~3  5.0b6   (Build 9A5302b)
iBoot-1219.43.27~1  5.0b7   (Build 9A5313e)
iBoot-1219.43.32~15 5.0GM   (Build 9A334)
                    5.0     (Build 9A334)
iBoot-1219.43.32~27 5.0.1b1 (Build 9A402)
iBoot-1219.43.32~29 5.0.1b2 (Build 9A404)
                    5.0.1   (Build 9A405)
                    5.0.1   (Build 9A406)
iBoot-1219.61.19~6  5.1b1   (Build 9B5117b)
iBoot-1219.62.1~2   5.1b2   (Build 9B5127c)
iBoot-1219.62.8~5   5.1b3   (Build 9B5141a)

Apple TV

iBoot-931.44.21~1   4.0     4.1     (Build 8M89)
iBoot-931.71.16~9   4.1     4.2     (Build 8C150)
                    4.1.1   4.2.1   (Build 8C154)
iBoot-1072.33~1     4.2b1   4.3b1   (Build 8F5148b)
iBoot-1072.38~2     4.2b2   4.3b2   (Build 8F5153d)
iBoot-1072.49~2     4.2b3   4.3b3   (Build 8F5166b)
iBoot-1072.59~2     4.2     4.3     (Build 8F191m)
                    4.2.1   4.3     (Build 8F202)
                    4.2.2   4.3     (Build 8F305)
                    4.3     4.3     (Build 8F455)
iBoot-1219.35.80~1  4.4b1   5.0b1   (Build 9A5220p)
iBoot-1219.40.25~4  4.4b2   5.0b2   (Build 9A5248d)
iBoot-1219.41.11~1  4.4b3   5.0b3   (Build 9A5259f)
iBoot-1219.43.9~3   4.4b4   5.0b5   (Build 9A5288d)
iBoot-1219.43.18~3  4.4b5   5.0b6   (Build 9A5302b)
iBoot-1219.43.27~1  4.4b6   5.0b7   (Build 9A5313e)
iBoot-1219.43.32~21 4.4     5.0     (Build 9A334v)
iBoot-1219.43.32~22 4.4.1   5.0     (Build 9A335a)
                    4.4.2   5.0     (Build 9A336a)
iBoot-1219.43.32~29 4.4.3   5.0.1   (Build 9A405l)
                    4.4.4   5.0.1   (Build 9A406a)
iBoot-1219.62.1~2   5.0b1   5.1b2   (Build 9B5127c)
iBoot-1219.62.8~5   5.0b2   5.1b3   (Build 9B5141a)

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 designed so that custom kernels can be run on the iPhone/iPod/iPad. 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. OpeniBoot currently supports all S5l8900, S5l8720, S5l8920 and S5l8930 devices. More info can be found about OpeniBoot and Linux on these devices on the iDroid-Project website.

Remappings

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

See also