The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Firmware Keys"
m (typo) |
|||
Line 1: | Line 1: | ||
− | '''VFDecrypt Keys''' are the keys which can decrypt the files that come with the [[firmware]]. Apple uses a public-private key encryption to ensure the safety of their files. Over time Apple has changed the way to encrypt firmware files, thus the way to decrypt files as well as the way to get the VFDecrypt Keys has also. [[img3]] encrypted files contain encrypted versions of the VFDecrypt Keys as part of the [[KBAG]] (key bag). These can be decrypted with the [[GID-key]]. For jailbroken iDevices the keys can be retrieved with the devices [[AES Keys|hardware AES engine]]. The VFDecrypt key for the root filesystem image of an iDevice (~500 MB to 800MB in the case of iOS 4) requires either a decrypted restore or update ramdisk. Once you have a decrypted restore or ramdisk, [[GenPass]] |
+ | '''VFDecrypt Keys''' are the keys which can decrypt the files that come with the [[firmware]]. Apple uses a public-private key encryption to ensure the safety of their files. Over time Apple has changed the way to encrypt firmware files, thus the way to decrypt files as well as the way to get the VFDecrypt Keys has also. [[img3]] encrypted files contain encrypted versions of the VFDecrypt Keys as part of the [[KBAG]] (key bag). These can be decrypted with the [[GID-key]]. For jailbroken iDevices the keys can be retrieved with the devices [[AES Keys|hardware AES engine]]. The VFDecrypt key for the root filesystem image of an iDevice (~500 MB to 800MB in the case of iOS 4) requires either a decrypted restore or update ramdisk. Once you have a decrypted restore or ramdisk, [[GenPass]] can be used to gather the keys for the root filesystem. |
== Gaps == |
== Gaps == |
Revision as of 00:23, 30 October 2011
VFDecrypt Keys are the keys which can decrypt the files that come with the firmware. Apple uses a public-private key encryption to ensure the safety of their files. Over time Apple has changed the way to encrypt firmware files, thus the way to decrypt files as well as the way to get the VFDecrypt Keys has also. img3 encrypted files contain encrypted versions of the VFDecrypt Keys as part of the KBAG (key bag). These can be decrypted with the GID-key. For jailbroken iDevices the keys can be retrieved with the devices hardware AES engine. The VFDecrypt key for the root filesystem image of an iDevice (~500 MB to 800MB in the case of iOS 4) requires either a decrypted restore or update ramdisk. Once you have a decrypted restore or ramdisk, GenPass can be used to gather the keys for the root filesystem.
Contents
Gaps
As you will notice, there may be a gap or two, or a key for a current build that is not there. Please feel free to add them, but please be sure that it is only the key for a User or Developer build, as if you gave the key for another type of build that might or may not be out there people could get in trouble, and we do not want that. Thanks for contributing!
Notes
The root filesystem is by far the largest (~500 MB to 800 MB in the case of iOS 4), for which there is one key per device model, with no IV. Use VFDecrypt to decrypt this. You can mount/this once it has been decrypted using your program of choice. (For example, 7-zip on Windows (after extracting the DMG on Windows, extract the biggest file with Template:Wp)
The Update and Restore ramdisks share the same IV and key per type of Application Processor. Here are the current choices:
Use can use img3decrypt[1] or xpwntool[2] to decrypt these. Likewise, once this is decrypted, you can mount or extract this as well, using the tool of your choice.
You may find Ramdisk Decryption to be helpful.
For those wanting to decrypt their own keys, you must use GenPass to get the keys for 3.0+.
When posting a key page, please use the key template (IN THE CORRECT ORDER) and do NOT Template:Wp it.
Firmware versions
Final
- Main article: Firmware
1.x
iPhone | iPod touch 1G | |
---|---|---|
1.0 | 1A420 | Unavailable |
1.0.0 | 1A543a | |
1.0.1 | 1C25 | |
1.0.2 | 1C28 | |
1.1 | Unavailable | 3A100a+3A101a |
1.1.1 | 3A109a | 3A110a |
1.1.2 | 3B48b | 3B48b |
1.1.3 | 4A93 | 4A93 |
1.1.4 | 4A102 | 4A102 |
1.1.5 | Unavailable | 4B1 |
2.x
iPhone | iPhone 3G | iPod touch 1G | iPod touch 2G | |
---|---|---|---|---|
2.0 | 5A347 | 5A345+5A347 | 5A347 | Unavailable |
2.0.1 | 5B108 | 5B108 | 5B108 | |
2.0.2 | 5C1 | 5C1 | 5C1 | |
2.1 | 5F136 | 5F136 | 5F137 | |
2.1.1 | Unavailable | 5F138 | ||
2.2 | 5G77 | 5G77 | 5G77 | 5G77a |
2.2.1 | 5H11 | 5H11 | 5H11 | 5H11a |
3.x
iPad | iPhone | iPhone 3G | iPhone 3GS | iPod touch 1G | iPod touch 2G | iPod touch 3G | |
---|---|---|---|---|---|---|---|
3.0 | Unavailable | 7A341 | 7A341 | 7A341 | 7A341 | 7A341 | Unavailable |
3.0.1 | 7A400 | 7A400 | 7A400 | Unavailable | |||
3.1 | 7C144 | 7C144 | 7C144 | ||||
3.1.1 | Unavailable | 7C145 | 7C145 | 7C145+7C146 | |||
3.1.2 | Unavailable | 7D11 | 7D11 | 7D11 | 7D11 | 7D11 | 7D11 |
3.1.3 | 7E18 | 7E18 | 7E18 | 7E18 | 7E18 | 7E18 | |
3.2 | 7B367 | Unavailable | |||||
3.2.1 | 7B405 | ||||||
3.2.2 | 7B500 |
4.x
Please note that, for the Apple TV 2G, the firmware listed in this table is the one that your Apple TV reports. (i.e.- The first firmware will be 4.0, even though the IPSW says 4.1.)
Apple TV 2G | iPad | iPad 2 (Wi-Fi) | iPad 2 (GSM) | iPad 2 (CDMA) | iPhone 3G | iPhone 3GS | iPhone 4 (GSM) | iPhone 4 (CDMA) | iPod touch 2G | iPod touch 3G | iPod touch 4G | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
4.0 | 8M89 | Unavailable | 8A293 | 8A293 | 8A293 | Unavailable | 8A293 | 8A293 | Unavailable | |||
4.0.1 | Unavailable | 8A306 | 8A306 | 8A306 | Unavailable | |||||||
4.0.2 | 8A400 | 8A400 | 8A400 | Unavailable | 8A400 | 8A400 | Unavailable | |||||
4.1 | 8C150 | Unavailable | 8B117 | 8B117 | 8B117 | 8B117 | 8B117 | 8B117+8B118 | ||||
4.1.1 | 8C154 | Unavailable | ||||||||||
4.2 | 8F191m | |||||||||||
4.2.1 | 8F202 | 8C148 | Unavailable | 8C148 | 8C148a | 8C148 | Unavailable | 8C148 | 8C148 | 8C148 | ||
4.2.2 | 8F305 | Unavailable | ||||||||||
4.2.5 | Unavailable | 8E128 | Unavailable | |||||||||
4.2.6 | 8E200 | |||||||||||
4.2.7 | 8E303 | |||||||||||
4.2.8 | 8E401 | |||||||||||
4.2.9 | 8E501 | |||||||||||
4.2.10 | 8E600 | |||||||||||
4.3 | 8F455 | 8F190 | 8F191 | 8F191 | 8F191 | Unavailable | 8F190 | 8F190 | Unavailable | 8F190 | 8F190 | |
4.3.1 | Unavailable | 8G4 | 8G4 | 8G4 | 8G4 | 8G4 | 8G4 | 8G4 | 8G4 | |||
4.3.2 | 8H7 | 8H7 | 8H7 | 8H8 | 8H7 | 8H7 | 8H7 | 8H7 | ||||
4.3.3 | 8J3 | 8J2 | 8J2 | 8J2 | 8J2 | 8J2 | 8J2 | 8J2 | ||||
4.3.4 | 8K2 | 8K2 | 8K2 | 8K2 | 8K2 | 8K2 | 8K2 | 8K2 | ||||
4.3.5 | 8L1 | 8L1 | 8L1 | 8L1 | 8L1 | 8L1 | 8L1 | 8L1 | ||||
4.4 | 9A334v | Unavailable | ||||||||||
4.4.1 | 9A335a | |||||||||||
4.4.2 | 9A336a |
5.x
Please note that, for the Apple TV 2G, the firmware listed in this table is the one that your Apple TV reports. (i.e.- Although the Apple TV 2G 4.4 is based on iOS 5, it will be listed above because the device reports back "4.4".)
iPad | iPad 2 (Wi-Fi) | iPad 2 (GSM) | iPad 2 (CDMA) | iPhone 3GS | iPhone 4 (GSM) | iPhone 4 (CDMA) | iPhone 4S | iPod touch 3G | iPod touch 4G | |
---|---|---|---|---|---|---|---|---|---|---|
5.0 | 9A334 | 9A334 | 9A334 | 9A334 | 9A334 | 9A334 | 9A334 | 9A334 | 9A334 | 9A334 |
Beta
- Main article: Beta Firmware
1.x/2.x
iPhone | iPhone 3G | iPod touch | |
---|---|---|---|
1.2b1 | 5A147p | Unavailable | 5A147p |
2.0b2 | 5A225c | 5A225c | |
2.0b3 | 5A240d | 5A240d | |
2.0b4 | 5A258f | 5A258f | |
2.0b5 | 5A274d | 5A274d | |
2.0b6P | 5A292g | 5A292g | |
2.0b6F | 5A308 | 5A308 | |
2.0b7 | 5A331 | 5A331 | |
2.0b8GM | 5A345 | 5A345 | |
2.1b1 | 5F90 | 5F90 | |
2.2b1 | 5G26 | 5G26 | 5G26 |
3.x
iPhone | iPhone 3G | iPhone 3GS | iPod touch | iPod touch 2G | |
---|---|---|---|---|---|
3.0b1 | 7A238j | 7A238j | Unavailable | 7A238j | 7A238j |
3.0b2 | 7A259g | 7A259g | 7A259g | 7A259g | |
3.0b3 | 7A280f | 7A280f | 7A280f | 7A280f | |
3.0b4 | 7A300g | 7A300g | 7A300g | 7A300g | |
3.0b5 | 7A312g | 7A312g | 7A312g | 7A312g | |
3.1b1 | 7C97d | 7C97d | 7C97d | 7C97d | 7C97d |
3.1b2 | 7C106c | 7C106c | 7C106c | 7C106c | 7C106c |
3.1b3 | 7C116a | 7C116a | 7C116a | 7C116a | 7C116a |
4.x
Please note that, for the Apple TV 2G, the firmware listed in this table is the one that your Apple TV reports. (i.e.- The first available beta will be 4.2b1, which was released with 4.3b1 on all other devices.)
Also, the IPSW file for the Apple TV 2G 4.2/4.3 betas will be AppleTV2,1_4.3_{BUILD}_Restore.ipsw
while the 4.4/5.0 betas will be AppleTV2,1_4.4_{BUILD}_Restore.ipsw
.
5.x
Please note that, for the Apple TV 2G, the firmware listed in this table is the one that your Apple TV reports. (i.e.- Although the Apple TV 2G betas are based on iOS 5, it will be listed above because the device reports back "4.4.")