Difference between revisions of "Template:Keys"

From The iPhone Wiki
Jump to: navigation, search
(Undo revision 19166 by Balloonhead66 (Talk))
(wow, that is WAY smaller)
Line 1: Line 1:
  +
{{#if: {{{previouspage|}}} | <--[[{{{previouspage|}}}]] }}{{#if: {{{nextpage|}}} | [[{{{nextpage|}}}]]--> }}
__NOTOC__
 
  +
== Summary ==
<noinclude>This is the accepted standard for Key/IV .imgX decryption page. In the event of a new firmware, one should:
 
  +
This is iOS {{{version|<font color="red">ERROR! No version specified!</font>}}} build {{{build|<font color="red">ERROR! No build number specified!</font>}}}{{#if:{{{downloadurl|}}}|and can be downloaded from [{{{downloadurl|}}} Apple's servers]}}.
<ol style="list-style-type:upper-alpha;">
 
<li>Create a new page with a title that is like the current accepted standard;</li>
 
<li>Type <tt><nowiki>{{subst:keys}}</nowiki></tt> and save or copy what is below to the page</li>
 
<li>From BuildManifest.plist, one should discover which "XXX-XXXX-XXX.dmg" is which and list them, replacing the X's;</li>
 
<li>Add in the appropriate keys for the corresponding fields;</li>
 
<li>(Optional) Write a brief description of the purpose of the firmware.</li>
 
</ol>
 
 
'''''NB''' The order of importance when finding keys is ALWAYS system files first (e.g. ramdisks, filesystem, LLB, iBoot, iBSS, iBEC, DeviceTree, etc...), then the iBoot images (e.g. GlyphCharging, etc...).''
 
 
'''''NB''' Also, the things linked to in the below template ARE LINKED TO FOR A REASON. If it's not linked to, it doesn't exist. So don't make a bunch of red links, please.''
 
</noinclude>
 
<includeonly>
 
 
== Decryption Keys ==
 
== Decryption Keys ==
=== [[/|Root Filesystem]] (XXX-XXXX-XXX.dmg) ===
+
=== [[:/|Root Filesystem]] ({{{rootfsdmg|XXX-XXXX-XXX.dmg}}}) ===
*'''[[VFDecrypt]] Key''':
+
* '''[[VFDecrypt]] Key''': {{{rootfskey|}}}
  +
{{#if: {{{noupdateramdisk|}}} ||
 
  +
{{#if: {{{ramdisknotencryped|}}} | * Not Encrypted |
* '''IV''':
 
  +
* '''Key''': {{{updatekey|}}}
 
  +
}}
=== [[Restore Ramdisk]] (XXX-XXXX-XXX.dmg) ===
 
  +
}}
* '''IV''':
 
  +
=== [[Restore Ramdisk]] ({{{restoredmg|XXX-XXXX-XXX}}}.dmg) ===
* '''Key''':
 
  +
{{#if: {{{ramdisknotencrypted|}}} | * Not Encrypted |
 
  +
* '''IV''': {{{restoreiv|}}}
=== [[AppleLogo]] ===
 
* '''IV''':
+
* '''Key''': {{{restorekey|}}}
  +
}}{{#if: {{{extra01|}}} |
* '''Key''':
 
  +
=== {{#ifexist: {{{extra01|}}} | [[{{{extra01}}}]] | {{{extra01|}}} }} ===
 
  +
* '''IV''': {{{extra01iv|}}}
=== BatteryCharging0 ===
 
  +
}}{{#if: {{{extra02|}}} |
* '''Key''':
 
  +
=== {{#ifexist: {{{extra02|}}} | [[{{{extra02}}}]] | {{{extra02|}}} }} ===
 
  +
* '''IV''': {{{extra02iv|}}}
=== BatteryCharging1 ===
 
* '''IV''':
+
* '''Key''': {{{extra02key|}}}
  +
}}{{#if: {{{extra03|}}} |
* '''Key''':
 
  +
=== {{#ifexist: {{{extra03|}}} | [[{{{extra03}}}]] | {{{extra03|}}} }} ===
 
  +
* '''IV''': {{{extra03iv|}}}
=== BatteryFull ===
 
  +
}}{{#if: {{{extra04|}}} |
* '''Key''':
 
  +
=== {{#ifexist: {{{extra04|}}} | [[{{{extra04}}}]] | {{{extra04|}}} }} ===
 
  +
* '''IV''': {{{extra04iv|}}}
=== BatteryLow0 ===
 
* '''IV''':
+
* '''Key''': {{{extra04key|}}}
  +
}}{{#if: {{{extra05|}}} |
* '''Key''':
 
  +
=== {{#ifexist: {{{extra05|}}} | [[{{{extra05}}}]] | {{{extra05|}}} }} ===
 
  +
* '''IV''': {{{extra05iv|}}}
=== BatteryLow1 ===
 
  +
}}{{#if: {{{extra06|}}} |
* '''Key''':
 
  +
=== {{#ifexist: {{{extra06|}}} | [[{{{extra06}}}]] | {{{extra06|}}} }} ===
 
  +
* '''IV''': {{{extra06iv|}}}
=== DeviceTree ===
 
* '''IV''':
+
* '''Key''': {{{extra06key|}}}
  +
}}{{#if: {{{extra07|}}} |
* '''Key''':
 
  +
=== {{#ifexist: {{{extra07|}}} | [[{{{extra07}}}]] | {{{extra07|}}} }} ===
 
  +
* '''IV''': {{{extra07iv|}}}
=== [[GlyphCharging]] ===
 
  +
}}{{#if: {{{extra08|}}} |
* '''Key''':
 
  +
=== {{#ifexist: {{{extra08|}}} | [[{{{extra08}}}]] | {{{extra08|}}} }} ===
 
  +
* '''IV''': {{{extra08iv|}}}
=== [[GlyphPlugin]] ===
 
* '''IV''':
+
* '''Key''': {{{extra08key|}}}
  +
}}{{#if: {{{extra09|}}} |
* '''Key''':
 
  +
=== {{#ifexist: {{{extra09|}}} | [[{{{extra09}}}]] | {{{extra09|}}} }} ===
 
  +
* '''IV''': {{{extra09iv|}}}
=== [[iBEC]] ===
 
  +
}}{{#if: {{{extra10|}}} |
* '''Key''':
 
  +
=== {{#ifexist: {{{extra10|}}} | [[{{{extra10}}}]] | {{{extra10|}}} }} ===
 
  +
* '''IV''': {{{extra10iv|}}}
=== [[iBoot (Bootloader)|iBoot]] ===
 
* '''IV''':
+
* '''Key''': {{{extra10key|}}}
  +
}}{{#if: {{{extra11|}}} |
* '''Key''':
 
  +
=== {{#ifexist: {{{extra11|}}} | [[{{{extra11}}}]] | {{{extra11|}}} }} ===
 
  +
* '''IV''': {{{extra11iv|}}}
=== [[iBSS]] ===
 
  +
}}{{#if: {{{extra12|}}} |
* '''Key''':
 
  +
=== {{#ifexist: {{{extra12|}}} | [[{{{extra12}}}]] | {{{extra12|}}} }} ===
 
  +
* '''IV''': {{{extra12iv|}}}
=== [[Kernelcache]] ===
 
* '''IV''':
+
* '''Key''': {{{extra12key|}}}
  +
}}{{#if: {{{extra13|}}} |
* '''Key''':
 
  +
=== {{#ifexist: {{{extra13|}}} | [[{{{extra13}}}]] | {{{extra13|}}} }} ===
 
  +
* '''IV''': {{{extra13iv|}}}
=== [[LLB]] ===
 
  +
}}{{#if: {{{extra14|}}} |
* '''Key''':
 
  +
=== {{#ifexist: {{{extra14|}}} | [[{{{extra14}}}]] | {{{extra14|}}} }} ===
 
  +
* '''IV''': {{{extra14iv|}}}
=== [[RecoveryMode]] ===
 
* '''IV''':
+
* '''Key''': {{{extra14key|}}}
  +
}}{{#if: {{{extra15|}}} |
* '''Key''':
 
  +
=== {{#ifexist: {{{extra15|}}} | [[{{{extra15}}}]] | {{{extra15|}}} }} ===
</includeonly><noinclude>
 
  +
* '''IV''': {{{extra15iv|}}}
<pre>
 
  +
* '''Key''': {{{extra15key|}}}
== Decryption Keys ==
 
  +
}}{{#if: {{{extra16|}}} |
=== [[/|Root Filesystem]] (XXX-XXXX-XXX.dmg) ===
 
  +
=== {{#ifexist: {{{extra16|}}} | [[{{{extra16}}}]] | {{{extra16|}}} }} ===
*'''[[VFDecrypt]] Key''':
 
  +
* '''IV''': {{{extra16iv|}}}
 
  +
* '''Key''': {{{extra16key|}}}
=== [[Update Ramdisk]] (XXX-XXXX-XXX.dmg) ===
 
  +
}}{{#if: {{{extra17|}}} |
* '''IV''':
 
  +
=== {{#ifexist: {{{extra17|}}} | [[{{{extra17}}}]] | {{{extra17|}}} }} ===
* '''Key''':
 
  +
* '''IV''': {{{extra17iv|}}}
 
  +
* '''Key''': {{{extra17key|}}}
=== [[Restore Ramdisk]] (XXX-XXXX-XXX.dmg) ===
 
  +
}}{{#if: {{{extra18|}}} |
* '''IV''':
 
  +
=== {{#ifexist: {{{extra18|}}} | [[{{{extra18}}}]] | {{{extra18|}}} }} ===
* '''Key''':
 
  +
* '''IV''': {{{extra18iv|}}}
 
  +
* '''Key''': {{{extra18key|}}}
=== [[AppleLogo]] ===
 
  +
}}{{#if: {{{extra19|}}} |
* '''IV''':
 
  +
=== {{#ifexist: {{{extra19|}}} | [[{{{extra19}}}]] | {{{extra19|}}} }} ===
* '''Key''':
 
  +
* '''IV''': {{{extra19iv|}}}
 
  +
* '''Key''': {{{extra19key|}}}
=== BatteryCharging0 ===
 
  +
}}{{#if: {{{extra20|}}} |
* '''IV''':
 
  +
=== {{#ifexist: {{{extra20|}}} | [[{{{extra20}}}]] | {{{extra20|}}} }} ===
* '''Key''':
 
  +
* '''IV''': {{{extra20iv|}}}
 
  +
* '''Key''': {{{extra20key|}}}
=== BatteryCharging1 ===
 
  +
}}
* '''IV''':
 
  +
{{#ifeq: {{FULLPAGENAME}} | Template:Keys | |
* '''Key''':
 
  +
[[Category:{{#switch: {{lc:{{{device|}}}}}
 
  +
| appletv21 = Apple TV 2G
=== BatteryFull ===
 
  +
| ipad11 = iPad 1G
* '''IV''':
 
  +
| ipad21 = iPad 2 (Wi-Fi)
* '''Key''':
 
  +
| ipad22 = iPad 2 (GSM)
 
  +
| ipad23 = iPad 2 (CDMA)
=== BatteryLow0 ===
 
  +
| iphone11 = iPhone 2G
* '''IV''':
 
  +
| iphone12 = iPhone 3G
* '''Key''':
 
  +
| iphone21 = iPhone 3GS
 
  +
| iphone31 = iPhone 4 (GSM)
=== BatteryLow1 ===
 
  +
| iphone33 = iPhone 4 (CDMA)
* '''IV''':
 
  +
| ipod11 = iPod touch 1G
* '''Key''':
 
  +
| ipod21 = iPod touch 2G
 
  +
| ipod31 = iPod touch 3G
=== DeviceTree ===
 
  +
| ipod41 = iPod touch 4G
* '''IV''':
 
  +
<noinclude>== Documentation ==
 
  +
{{Template:Keys/doc}}</noinclude>
=== [[GlyphCharging]] ===
 
=== [[Update Ramdisk]] (XXX-XXXX-XXX.dmg) ===
+
=== [[Update Ramdisk]] ({{{updatedmg|XXX-XXXX-XXX}}}.dmg) ===
* '''Key''':
+
* '''IV''': {{{updateiv|}}}
* '''IV''':
+
* '''Key''': {{{extra01key|}}}
* '''IV''':
+
* '''Key''': {{{extra03key|}}}
* '''IV''':
+
* '''Key''': {{{extra05key|}}}
* '''IV''':
+
* '''Key''': {{{extra07key|}}}
* '''IV''':
+
* '''Key''': {{{extra09key|}}}
* '''IV''':
+
* '''Key''': {{{extra11key|}}}
* '''IV''':
+
* '''Key''': {{{extra13key|}}}
* '''Key''':
+
}} Key Page]] }}
* '''IV''':
 
* '''Key''':
 
 
=== [[GlyphPlugin]] ===
 
* '''IV''':
 
* '''Key''':
 
 
=== [[iBEC]] ===
 
* '''IV''':
 
* '''Key''':
 
 
=== [[iBoot (Bootloader)|iBoot]] ===
 
* '''IV''':
 
* '''Key''':
 
 
=== [[iBSS]] ===
 
* '''IV''':
 
* '''Key''':
 
 
=== [[Kernelcache]] ===
 
* '''IV''':
 
* '''Key''':
 
 
=== [[LLB]] ===
 
* '''IV''':
 
* '''Key''':
 
 
=== [[RecoveryMode]] ===
 
* '''IV''':
 
* '''Key''':
 
</pre>
 

Revision as of 19:15, 16 July 2011

Summary

This is iOS ERROR! No version specified! build ERROR! No build number specified!.

Decryption Keys

Root Filesystem (XXX-XXXX-XXX.dmg)

Update Ramdisk (XXX-XXXX-XXX.dmg)

  • IV:
  • Key:

Restore Ramdisk (XXX-XXXX-XXX.dmg)

  • IV:
  • Key:

Documentation

This is the key template for the key pages. When a page uses this template, it is added to the Key Pages category.

Syntax

If the device is not an iPhone or a cellular iPad, delete the Baseband parameter.

If the device is an Apple TV (iOS versions), set Version to the marketing version with the internal version in parenthesis.

For each *, *IV, and *Key section, put the file name on the first line. If the item is the Root FS or a ramdisk, remove the .dmg file extension. If that firmware item does not exist in that firmware, delete its parameter section. If the firmware item is not encrypted, set *IV to "Not Encrypted" and delete the *Key parameter. If the key/iv is not known, then the KBAG should be added.

For devices such as iPhone 6s that have two sets of files such as N71AP and N71mAP, then a second file can be added underneath with a "2" at the end of the name. For example, you can have AppleLogo and AppleLogo2 blocks.

If the page is created for a device/iOS with only an OTA, you don't need to use rootfs and must use UpdateRamdiskOTA instead of UpdateRamdisk (does not append the .dmg)

For DownloadURL, do not place anything other than URLs to free firmwares hosted on Apple Inc.'s servers. For beta firmwares, delete the parameter.

{{keys
 | Version                = 
 | Build                  = 
 | Device                 = 
 | Codename               = 
 | Baseband               = 
 | DownloadURL            = 

 | RootFS                 = 
 | RootFSKey              = Unknown

 | UpdateRamdisk          = 
 | UpdateRamdiskIV        = Unknown
 | UpdateRamdiskKey       = Unknown
 | UpdateRamdiskKBAG      =

 | UpdateRamdiskOTA       = 
 | UpdateRamdiskOTAIV     = Not Encrypted

 | RestoreRamdisk         = 
 | RestoreRamdiskIV       = Unknown
 | RestoreRamdiskKey      = Unknown
 | RestoreRamdiskKBAG     = 

 | ACIBTFirmware          = 
 | ACIBTFirmwareIV        = Not Encrypted

 | ACIWiFiFirmware        = 
 | ACIWiFiFirmwareIV      = Not Encrypted

 | ADCPetra               =
 | ADCPetraIV             = Unknown
 | ADCPetraKey            = Unknown
 | ADCPetraKBAG           =

 | ARMFW                  =
 | ARMFWIV                = Not Encrypted

 | ANSF                   =
 | ANSFIV                 = Not Encrypted

 | ANE                    =
 | ANEIV                  = Not Encrypted

 | AOPFirmware            = 
 | AOPFirmwareIV          = Not Encrypted

 | AppleAVE               =
 | AppleAVEIV             = Not Encrypted

 | AppleLogo              = 
 | AppleLogoIV            = Unknown
 | AppleLogoKey           = Unknown
 | AppleLogoKBAG          = 

 | AppleMaggie            = 
 | AppleMaggieIV          = Not Encrypted

 | AudioCodecFirmware     = 
 | AudioCodecFirmwareIV   = Not Encrypted

 | BatteryCharging0       = 
 | BatteryCharging0IV     = Unknown
 | BatteryCharging0Key    = Unknown
 | BatteryCharging0KBAG   = 

 | BatteryCharging1       = 
 | BatteryCharging1IV     = Unknown
 | BatteryCharging1Key    = Unknown
 | BatteryCharging1KBAG   = 

 | BatteryFull            = 
 | BatteryFullIV          = Unknown
 | BatteryFullKey         = Unknown
 | BatteryFullKBAG        = 

 | BatteryLow0            = 
 | BatteryLow0IV          = Unknown
 | BatteryLow0Key         = Unknown
 | BatteryLow0KBAG        = 

 | BatteryLow1            = 
 | BatteryLow1IV          = Unknown
 | BatteryLow1Key         = Unknown
 | BatteryLow1KBAG        =

 | Cryptex1,AppOS         = 
 | Cryptex1,AppOSIV       = Unknown
 | Cryptex1,AppOSKey      = Unknown
 | Cryptex1,AppOSKBAG     =

 | Cryptex1,SystemOS      = 
 | Cryptex1,SystemOSIV    = Unknown
 | Cryptex1,SystemOSKey   = Unknown
 | Cryptex1,SystemOSKBAG  =

 | Dali                   = 
 | DaliIV                 = Unknown
 | DaliKey                = Unknown
 | DaliKBAG               = 

 | DCP                    =
 | DCPIV                  = Not Encrypted

 | DeviceTree             = 
 | DeviceTreeIV           = Unknown
 | DeviceTreeKey          = Unknown
 | DeviceTreeKBAG         = 

 | GlyphCharging          = 
 | GlyphChargingIV        = Unknown
 | GlyphChargingKey       = Unknown
 | GlyphChargingKBAG      = 

 | GlyphPlugin            = 
 | GlyphPluginIV          = Unknown
 | GlyphPluginKey         = Unknown
 | GlyphPluginKBAG        = 

 | HapticAssets           = 
 | HapticAssetsIV         = Not Encrypted

 | Homer                  = 
 | HomerIV                = Not Encrypted

 | iBEC                   = 
 | iBECIV                 = Unknown
 | iBECKey                = Unknown
 | iBECKBAG               =

 | iBoot                  = 
 | iBootIV                = Unknown
 | iBootKey               = Unknown
 | iBootKBAG              = 

 | iBootData              = 
 | iBootDataIV            = Unknown
 | iBootDataKey           = Unknown
 | iBootDataKBAG          = 

 | iBSS                   = 
 | iBSSIV                 = Unknown
 | iBSSKey                = Unknown
 | iBSSKBAG               = 

 | ISP                    = 
 | ISPIV                  = Not Encrypted

 | Kernelcache            = 
 | KernelcacheIV          = Unknown
 | KernelcacheKey         = Unknown
 | KernelcacheKBAG        = 

 | LeapHaptics            = 
 | LeapHapticsIV          = Not Encrypted

 | LiquidDetect           = 
 | LiquidDetectIV         = Not Encrypted

 | LLB                    = 
 | LLBIV                  = Unknown
 | LLBKey                 = Unknown
 | LLBKBAG                = 

 | LowPowerMode           =
 | LowPowerModeIV         = Not Encrypted

 | LowPowerFindMyMode     =
 | LowPowerFindMyModeIV   = Not Encrypted

 | MConnector             =
 | MConnectorIV           = Not Encrypted

 | Multitouch             =
 | MultitouchIV           = Not Encrypted

 | NeedService            = 
 | NeedServiceIV          = Unknown
 | NeedServiceKey         = Unknown
 | NeedServiceKBAG        =

 | PMP                    = 
 | PMPIV                  = Not Encrypted

 | RANS                   = 
 | RANSIV                 = Not Encrypted

 | RTPFirmware            = 
 | RTPFirmwareIV          = Not Encrypted

 | RecoveryMode           = 
 | RecoveryModeIV         = Unknown
 | RecoveryModeKey        = Unknown
 | RecoveryModeKBAG       = 

 | SEPFirmware            = 
 | SEPFirmwareIV          = Unknown
 | SEPFirmwareKey         = Unknown
 | SEPFirmwareKBAG        =

 | SmartIOFirmware        =
 | SmartIOFirmwareIV      = Not Encrypted

 | WirelessPower          =
 | WirelessPowerIV        = Not Encrypted
}}