Contents
- 1. Tag Format
- 1. IMG3
- 1. IMG3
- 2. Example Tag
The VERS tag is a string containing the target iBoot version of the image. It is unknown if this tag's value is verified anywhere in the system.
Tag Format
IMG3
String {
0 u32 length
4 u8[] string // `length` bytes long; no terminator
}
Img3VersTag {
0 u32 magic // 'SREV' ('VERS' in little endian)
4 u32 fullSize // including header and padding
8 u32 size // including padding
C String value
???? u8[] padding // optional
}Example Tag
The following tag is from the AppleLogo payload from the 2.0 (build 5A347) build for the iPhone (iPhone1,1).
| Offset | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F | ASCII | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1C50 | 53 | 52 | 45 | 56 | S | R | E | V | |||||||||||||||||||||||||
| 1C60 | 20 | 00 | 00 | 00 | 14 | 00 | 00 | 00 | 10 | 00 | 00 | 00 | 45 | 6D | 62 | 65 | . | . | . | . | . | . | . | . | . | . | . | E | m | b | e | ||
| 1C70 | 64 | 64 | 65 | 64 | 49 | 6D | 61 | 67 | 65 | 73 | 2D | 39 | d | d | e | d | I | m | a | g | e | s | - | 9 | |||||||||
| Offset | Length | Explanation |
|---|---|---|
| 0x1C5C | 4 | magic: When interpreted in little endian order, these bytes give the string, VERS. |
| 0x1C60 | 4 | fullSize: This tag is 0x20 (32) bytes long. |
| 0x1C64 | 4 | size: The actual payload (including padding) is 0x14 (20) bytes long. |
| 0x1C68 | 4 | value.length: The string is 0x10 (16) bytes long. |
| 0x1C6C | 4 | value.string: The actual string: `EmbeddedImages-9`. |