Difference between revisions of "Template:Keys"

From The iPhone Wiki
Jump to: navigation, search
m (There is no iPad4,3....)
(Removing support for old format)
Line 1: Line 1:
__NOTOC____NOEDITSECTION__<includeonly>{{#ifeq: {{FULLPAGENAME}} | {{{codename|{{{Codename|}}}}}} {{{build|{{{Build|}}}}}} ({{#switch: {{{device|{{{Device|}}}}}}
+
__NOTOC____NOEDITSECTION__<includeonly>{{#ifeq: {{FULLPAGENAME}} | {{{Codename|}}} {{{Build|}}} ({{#switch: {{{Device|}}}
 
| appletv21 = Apple TV 2G
 
| appletv21 = Apple TV 2G
 
| appletv31 = Apple TV 3G
 
| appletv31 = Apple TV 3G
Line 41: Line 41:
 
}}) | | <span style="color:red; font-weight: bold;">Incorrect metadata!</span>[[Category:Incomplete Key Pages]] }}
 
}}) | | <span style="color:red; font-weight: bold;">Incorrect metadata!</span>[[Category:Incomplete Key Pages]] }}
 
{{Infobox
 
{{Infobox
| title = iOS {{{displayversion|{{{DisplayVersion|{{{version|{{{Version|}}}}}}}}}}}}
+
| title = iOS {{{DisplayVersion|{{{Version|}}}}}}
 
| bodystyle = vevent
 
| bodystyle = vevent
 
| headerstyle = background:#ccccff; background:rgba(204,204,255,0.7);
 
| headerstyle = background:#ccccff; background:rgba(204,204,255,0.7);
Line 48: Line 48:
 
| header1 =
 
| header1 =
 
| label2 = Build
 
| label2 = Build
| data2 = {{#if: {{{build|{{{Build|}}}}}} | {{{build|{{{Build}}}}}} | [[Category:Incomplete Key Pages]] }}
+
| data2 = {{{Build|[[Category:Incomplete Key Pages]]}}}
 
| label3 = Codename
 
| label3 = Codename
| data3 = {{#if: {{{codename|{{{Codename|}}}}}} | {{{codename|{{{Codename}}}}}} | [[Category:Incomplete Key Pages]] }}
+
| data3 = {{{Codename|[[Category:Incomplete Key Pages]]}}}
 
| label4 = Device
 
| label4 = Device
| data4 = {{#switch: {{{device|{{{Device|}}}}}}
+
| data4 = {{#switch: {{{Device|}}}
 
| appletv21 = [[k66ap|Apple TV 2G]]
 
| appletv21 = [[k66ap|Apple TV 2G]]
 
| appletv31 = [[j33ap|Apple TV 3G (Original)]]
 
| appletv31 = [[j33ap|Apple TV 3G (Original)]]
Line 70: Line 70:
 
| ipad35 = [[p106ap|iPad 4 (GSM)]]
 
| ipad35 = [[p106ap|iPad 4 (GSM)]]
 
| ipad36 = [[p107ap|iPad 4 (Global)]]
 
| ipad36 = [[p107ap|iPad 4 (Global)]]
| ipad41 = iPad Air Wi-Fi
+
| ipad41 = [[j71ap|iPad Air Wi-Fi]]
| ipad42 = iPad Air Cellular
+
| ipad42 = [[j72ap|iPad Air Cellular]]
| ipad44 = iPad mini 2G Wi-Fi
+
| ipad44 = [[j85ap|iPad mini 2G Wi-Fi]]
| ipad45 = iPad mini 2G Cellular
+
| ipad45 = [[j86ap|iPad mini 2G Cellular]]
 
| iphone11 = [[m68ap|iPhone 2G]]
 
| iphone11 = [[m68ap|iPhone 2G]]
 
| iphone12 = [[n82ap|iPhone 3G]]
 
| iphone12 = [[n82ap|iPhone 3G]]
 
| iphone21 = [[n88ap|iPhone 3GS]]
 
| iphone21 = [[n88ap|iPhone 3GS]]
 
| iphone31 = [[n90ap|iPhone 4 (GSM)]]
 
| iphone31 = [[n90ap|iPhone 4 (GSM)]]
| iphone32 = [[n90bap|iPhone 4 (GSM) [Rev A]<nowiki/>]]
+
| iphone32 = [[n90bap|iPhone 4 (GSM) [Rev A]<nowiki/>]
 
| iphone33 = [[n92ap|iPhone 4 (CDMA)]]
 
| iphone33 = [[n92ap|iPhone 4 (CDMA)]]
 
| iphone41 = [[n94ap|iPhone 4S]]
 
| iphone41 = [[n94ap|iPhone 4S]]
Line 95: Line 95:
 
}}
 
}}
 
| label5 = Baseband
 
| label5 = Baseband
| data5 = {{#switch: {{{device|{{{Device|}}}}}}
+
| data5 = {{#switch: {{{Device|}}}
 
| ipad11<!-- iPad 1G -->
 
| ipad11<!-- iPad 1G -->
 
| ipad22<!-- iPad 2 GSM -->
 
| ipad22<!-- iPad 2 GSM -->
Line 119: Line 119:
 
| iphone54
 
| iphone54
 
| iphone61
 
| iphone61
| iphone62 = {{#if: {{{baseband|{{{Baseband|}}}}}} | {{#switch: {{{baseband|{{{Baseband|}}}}}}<!-- Fix for 3.0.04 mixup -->
+
| iphone62 = {{#if: {{{Baseband|}}} | {{#switch: {{{Baseband|}}}<!-- Hack for 3.0.04 mixup -->
| 3.0.04 = [[3.0.04 ({{#switch: {{{device|}}}
+
| 3.0.04 = [[3.0.04 ({{#switch: {{{Device|}}}
 
| iphone41 = MDM6610
 
| iphone41 = MDM6610
 
| #default = MDM6600
 
| #default = MDM6600
 
}})|3.0.04]]
 
}})|3.0.04]]
| #default = [[{{{baseband|{{{Baseband|}}}}}}]]
+
| #default = [[{{{Baseband|}}}]]
 
}} | [[Category:Incomplete Key Pages]] }}
 
}} | [[Category:Incomplete Key Pages]] }}
 
}}
 
}}
   
 
| belowstyle = background:#ddddff;background:rgba(221,221,255,0.7);
 
| belowstyle = background:#ddddff;background:rgba(221,221,255,0.7);
| below = {{#if: {{{downloadurl|{{{DownloadURL|}}}}}} | [{{{downloadurl|{{{DownloadURL|}}}}}} {{#switch: {{{device|{{{Device|}}}}}}
+
| below = {{#if: {{{DownloadURL|}}} | [{{{DownloadURL|}}} {{#switch: {{{Device|}}}
 
<!-- we need a way to work with beta firmwares -->
 
<!-- we need a way to work with beta firmwares -->
 
<!-- maybe {{#titleparts: {{{DownloadURL|}}} | 1 | -1 }}? But it replaces underscores with spaces...
 
<!-- maybe {{#titleparts: {{{DownloadURL|}}} | 1 | -1 }}? But it replaces underscores with spaces...
Line 173: Line 173:
 
| ipod51 = iPod5,1
 
| ipod51 = iPod5,1
 
| #default = &nbsp;
 
| #default = &nbsp;
}}_{{#switch: {{{build|{{{Build|}}}}}}
+
}}_{{#switch: {{{Build|}}}
 
<!-- builds where the version listed on the page isn't the same as the one on the IPSW -->
 
<!-- builds where the version listed on the page isn't the same as the one on the IPSW -->
 
<!-- Apple TV: display version is marketing version NOT internal version-->
 
<!-- Apple TV: display version is marketing version NOT internal version-->
Line 197: Line 197:
 
| 10B144 = 6.1
 
| 10B144 = 6.1
 
| 11A465 = 7.0
 
| 11A465 = 7.0
| #default = {{{version|{{{Version}}}}}}
+
| #default = {{{Version}}}
}}_{{{build|{{{Build}}}}}}_Restore.ipsw]{{#ifeq: {{{build|{{{Build|}}}}}} | 8A293 | {{#ifeq: {{{device|{{{Device|}}}}}} | iphone31 | | &nbsp;(Final) }}}}
+
}}_{{{Build}}}_Restore.ipsw]{{#ifeq: {{{Build|}}} | 8A293 | {{#ifeq: {{{Device|}}} | iphone31 | | &nbsp;(Final) }}}}
 
}}
 
}}
 
}}
 
}}
   
 
<h2>[[:/|Root Filesystem]]</h2>
 
<h2>[[:/|Root Filesystem]]</h2>
<span class="keypage-filename" id="keypage-rootfs">{{{rootfsdmg|{{{RootFS|XXX-XXXX-XXX}}}}}}.dmg</span>
+
<span class="keypage-filename" id="keypage-rootfs">{{{RootFS|XXX-XXXX-XXX}}}.dmg</span>
* '''Key''': <code id="keypage-rootfs-key">{{{rootfskey|{{{RootFSKey}}}}}}</code>
+
* '''Key''': <code id="keypage-rootfs-key">{{{RootFSKey}}}</code>
{{#ifeq: {{{build|{{{Build|}}}}}} | 8A293 | {{#ifeq: {{{device|{{{Device|}}}}}} | iphone31 | |
+
{{#ifeq: {{{Build|}}} | 8A293 | {{#ifeq: {{{Device|}}} | iphone31 | |
 
<h2>[[:/|Root Filesystem]] ([[Golden Master|GM]] Build)</h2>
 
<h2>[[:/|Root Filesystem]] ([[Golden Master|GM]] Build)</h2>
<span class="keypage-filename" id="keypage-gmrootfs">{{{rootfsdmg|{{{RootFS|XXX-XXXX-XXX}}}}}}.dmg</span>
+
<span class="keypage-filename" id="keypage-gmrootfs">{{{RootFS|XXX-XXXX-XXX}}}.dmg</span>
<ul><li>'''Key''': <code id="keypage-gmrootfs-key">{{{gmrootfskey|{{{GMRootFSKey|}}}}}}</code></li></ul>
+
<ul><li>'''Key''': <code id="keypage-rootfs-8a293gm-key">{{{GMRootFSKey|}}}</code></li></ul>
 
}}
 
}}
}}{{#ifeq: {{{noupdateramdisk|{{{NoUpdateRamdisk|}}}}}} | true | |
+
}}{{#ifeq: {{{NoUpdateRamdisk|}}} | true | |
   
 
<h2>[[Update Ramdisk]]</h2>
 
<h2>[[Update Ramdisk]]</h2>
<span class="keypage-filename" id="keypage-updateramdisk">{{{updatedmg|{{{UpdateRamdisk|XXX-XXXX-XXX}}}}}}.dmg</span>
+
<span class="keypage-filename" id="keypage-updateramdisk">{{{UpdateRamdisk|XXX-XXXX-XXX}}}.dmg</span>
{{#switch: {{{build|{{{Build|}}}}}}
+
{{#switch: {{{{Build|}}}
 
| 1A543a
 
| 1A543a
 
| 1C25
 
| 1C25
Line 230: Line 230:
 
| 5A240d = See [[Decrypting Firmwares]] for details on browsing the ramdisk's contents.
 
| 5A240d = See [[Decrypting Firmwares]] for details on browsing the ramdisk's contents.
 
| #default =
 
| #default =
{{#ifeq: {{{ramdisknotencrypted|{{{RamdiskNotEncrypted|}}}}}} | true | * Not Encrypted |
+
{{#ifeq: {{{RamdiskNotEncrypted|}}} | true | * Not Encrypted |
* '''IV''': <code id="keypage-updateramdisk-iv">{{{updateiv|{{{UpdateRamdiskIV}}}}}}</code>
+
* '''IV''': <code id="keypage-updateramdisk-iv">{{{UpdateRamdiskIV}}}</code>
* '''Key''': <code id="keypage-updateramdisk-key">{{{updatekey|{{{UpdateRamdiskKey}}}}}}</code>
+
* '''Key''': <code id="keypage-updateramdisk-key">{{{UpdateRamdiskKey}}}</code>
 
}}
 
}}
 
}}
 
}}
 
}}
 
}}
 
<h2>[[Restore Ramdisk]]</h2>
 
<h2>[[Restore Ramdisk]]</h2>
<span class="keypage-filename" id="keypage-restoreramdisk">{{{restoredmg|{{{RestoreRamdisk|XXX-XXXX-XXX}}}}}}.dmg</span>
+
<span class="keypage-filename" id="keypage-restoreramdisk">{{{RestoreRamdisk|XXX-XXXX-XXX}}}.dmg</span>
{{#switch: {{{build|{{{Build|}}}}}}
+
{{#switch: {{{Build|}}}
 
| 1A543a
 
| 1A543a
 
| 1C25
 
| 1C25
Line 254: Line 254:
 
| 5A240d = See [[Decrypting Firmwares]] for details on browsing the ramdisk's contents.
 
| 5A240d = See [[Decrypting Firmwares]] for details on browsing the ramdisk's contents.
 
| #default =
 
| #default =
{{#ifeq: {{{ramdisknotencrypted|{{{RamdiskNotEncrypted|}}}}}} | true | * Not Encrypted |
+
{{#ifeq: {{{RamdiskNotEncrypted|}}} | true | * Not Encrypted |
* '''IV''': <code id="keypage-restoreramdisk-iv">{{{restoreiv|{{{RestoreRamdiskIV}}}}}}</code>
+
* '''IV''': <code id="keypage-restoreramdisk-iv">{{{RestoreRamdiskIV}}}</code>
* '''Key''': <code id="keypage-restoreramdisk-key">{{{restorekey|{{{RestoreRamdiskKey}}}}}}</code>
+
* '''Key''': <code id="keypage-restoreramdisk-key">{{{RestoreRamdiskKey}}}</code>
 
}}
 
}}
}}{{#switch: {{{build|{{{Build|}}}}}}
+
}}{{#switch: {{{Build|}}}
 
| 1A543a
 
| 1A543a
 
| 1C25
 
| 1C25
Line 396: Line 396:
 
}}}}
 
}}}}
 
}}
 
}}
{{#if: {{{version|{{{Version|}}}}}} | [[Category:{{#switch: {{{device|{{{Device|}}}}}}
+
{{#if: {{{Version|}}} | [[Category:{{#switch: {{{Device|}}}
 
| appletv21 = Apple TV 2G
 
| appletv21 = Apple TV 2G
 
| appletv31 = Apple TV 3G
 
| appletv31 = Apple TV 3G
Line 436: Line 436:
 
| ipod41 = iPod touch 4G
 
| ipod41 = iPod touch 4G
 
| ipod51 = iPod touch 5G
 
| ipod51 = iPod touch 5G
}} Key Page|{{#switch: {{{build|{{{Build|}}}}}}
+
}} Key Page|{{#switch: {{{Build|}}}
  +
<!-- [[Golden Master]]s -->
 
| 5A345 = 2.0
 
| 5A345 = 2.0
 
| 7A341 = 3.0
 
| 7A341 = 3.0
Line 448: Line 449:
 
| 10A403 = 6.0
 
| 10A403 = 6.0
 
| 11A465 = 7.0
 
| 11A465 = 7.0
| #default = {{{version|{{{Version|}}}}}}
+
| #default = {{{Version|}}}
 
}}]] | }}<!--
 
}}]] | }}<!--
   
Line 457: Line 458:
 
// {{{GMRootFSKey}}} check should only be removed when the
 
// {{{GMRootFSKey}}} check should only be removed when the
 
// iPhone 3G 4.0 GM key is found.
 
// iPhone 3G 4.0 GM key is found.
-->{{#ifeq: {{{rootfskey|{{{RootFSKey|}}}}}} | TODO
+
-->{{#ifeq: {{{RootFSKey|}}} | TODO
 
| [[Category:Incomplete Key Pages]]
 
| [[Category:Incomplete Key Pages]]
| {{#ifeq: {{{gmrootfskey|{{{GMRootFSKey|}}}}}} | TODO
+
| {{#ifeq: {{{GMRootFSKey|}}} | TODO
 
| [[Category:Incomplete Key Pages]]
 
| [[Category:Incomplete Key Pages]]
| {{#ifeq: {{{restoreiv|{{{RestoreRamdiskIV|}}}}}} | TODO
+
| {{#ifeq: {{{RestoreRamdiskIV|}}} | TODO
 
| [[Category:Incomplete Key Pages]]
 
| [[Category:Incomplete Key Pages]]
| {{#ifeq: {{{updateiv|{{{UpdateRamdiskIV|}}}}}} | TODO
+
| {{#ifeq: {{{UpdateRamdiskIV|}}} | TODO
 
| [[Category:Incomplete Key Pages]]
 
| [[Category:Incomplete Key Pages]]
 
| {{#ifeq: {{{AppleLogoIV|}}} | TODO
 
| {{#ifeq: {{{AppleLogoIV|}}} | TODO
Line 524: Line 525:
   
 
// Deprecated parameters
 
// Deprecated parameters
  +
--></includeonly>
-->{{#if: {{{version|}}}{{{displayversion|}}}{{{build|}}}{{{device|}}}{{{codename|}}}{{{baseband|}}}{{{downloadurl|}}}{{{rootfsdmg|}}}{{{rootfskey|}}}{{{gmrootfskey|}}}{{{noupdateramdisk|}}}{{{ramdisknotencrypted|}}}{{{updatedmg|}}}{{{updateiv|}}}{{{updatekey|}}}{{{restoredmg|}}}{{{restoreiv|}}}{{{restorekey|}}} | [[Category:Key Pages Using Deprecated Parameters]] }}</includeonly>
 
 
<noinclude>{{Template:Keys/doc}}</noinclude>
 
<noinclude>{{Template:Keys/doc}}</noinclude>

Revision as of 00:24, 26 November 2013

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
}}