Difference between revisions of "IM4P File Format"

From The iPhone Wiki
Jump to: navigation, search
(adding to category)
m (added type sepi)
Line 7: Line 7:
 
sequence [
 
sequence [
 
0: string "IM4P"
 
0: string "IM4P"
1: string type - ibot, rdsk, ...
+
1: string type - ibot, rdsk, sepi, ...
 
2: string description - 'iBoot-1940.1.75'
 
2: string description - 'iBoot-1940.1.75'
 
3: octetstring - the encrypted data
 
3: octetstring - the encrypted data

Revision as of 14:23, 26 December 2013

The IM4P file format is a replacement of the IMG3 File Format used on older devices. It was introduced with iOS 7.0.1 and appears to be exclusive to the iPhone 5c and iPhone 5s.


the file is encoded as an DER encoded asn.1 object, structured like this:

sequence [
   0: string "IM4P"
   1: string type   - ibot, rdsk, sepi, ...
   2: string description   - 'iBoot-1940.1.75'
   3: octetstring    - the encrypted data
   4: octetstring   - containing asn1 encoded KBAG values
        sequence [
           sequence [
               0: int: 01
               1: octetstring: iv
               2: octetstring: key
           ]
           sequence [
               0: int: 02
               1: octetstring: iv
               2: octetstring: key
           ]
        ]
]

each .im4p file is accompanied with a .plist file containing the sha1 of the .im4p file.

Apple-logo.png This article is a "stub", an incomplete page. Please add more content to this article and remove this tag.