Tag: VERS

Contents

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).

Offset0123456789ABCDEFASCII
1C5053524556 SREV
1C60200000001400000010000000456D6265 ...........Embe
1C7064646564496D616765732D39ddedImages-9
OffsetLengthExplanation
0x1C5C4magic: When interpreted in little endian order, these bytes give the string, VERS.
0x1C604fullSize: This tag is 0x20 (32) bytes long.
0x1C644size: The actual payload (including padding) is 0x14 (20) bytes long.
0x1C684value.length: The string is 0x10 (16) bytes long.
0x1C6C4value.string: The actual string: `EmbeddedImages-9`.