Difference between revisions of "Template:Keys"

From The iPhone Wiki
Jump to: navigation, search
(eh, revert)
m (ids)
Line 1: Line 1:
 
__NOTOC____NOEDITSECTION__<includeonly>{{#ifeq: {{FULLPAGENAME}} | {{{Codename|}}} {{{Build|}}} ({{keys/device|{{{Device|}}}}}) | | <span style="color:red; font-weight: bold;">Incorrect metadata!</span>[[Category:Incomplete Key Pages]] }}
 
__NOTOC____NOEDITSECTION__<includeonly>{{#ifeq: {{FULLPAGENAME}} | {{{Codename|}}} {{{Build|}}} ({{keys/device|{{{Device|}}}}}) | | <span style="color:red; font-weight: bold;">Incorrect metadata!</span>[[Category:Incomplete Key Pages]] }}
 
{{Infobox
 
{{Infobox
| title = iOS {{{DisplayVersion|{{{Version}}}}}}
+
| title = iOS <span id="keypage-version">{{#if: {{{DisplayVersion|}}} | {{{DisplayVersion}}}<span id="keypage-version2" style="display:none;">{{{Version}}}</span> | {{{Version}}} }}</span>
 
| 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 8: Line 8:
 
| header1 =
 
| header1 =
 
| label2 = Build
 
| label2 = Build
| data2 = {{{Build}}}
+
| data2 = <span id="keypage-build">{{{Build}}}</span>
 
| label3 = Codename
 
| label3 = Codename
| data3 = {{{Codename}}}
+
| data3 = <span id="keypage-codename">{{{Codename}}}</span>
 
| label4 = Device
 
| label4 = Device
| data4 = {{#switch: {{{Device}}}
+
| data4 = <span id="keypage-device">{{#switch: {{{Device}}}
 
| appletv21 = [[k66ap|Apple TV 2G]]
 
| appletv21 = [[k66ap|Apple TV 2G]]
 
| appletv31 = [[j33ap|Apple TV 3G (AppleTV3,1)]]
 
| appletv31 = [[j33ap|Apple TV 3G (AppleTV3,1)]]
Line 60: Line 60:
 
| ipod51 = [[n78ap|iPod touch 5G]]
 
| ipod51 = [[n78ap|iPod touch 5G]]
 
| #default = [[Category:Incomplete Key Pages]]
 
| #default = [[Category:Incomplete Key Pages]]
}}
+
}}</span>
 
| label5 = Baseband
 
| label5 = Baseband
 
| data5 = {{#switch: {{{Device|}}}
 
| data5 = {{#switch: {{{Device|}}}
Line 94: Line 94:
 
| iphone62
 
| iphone62
 
| iphone71
 
| iphone71
| iphone72 = {{#switch: {{{Baseband}}}
+
| iphone72 = <span id="keypage-baseband">{{#switch: {{{Baseband}}}
 
| 1.0.11 = [[1.0.11 ({{#ifeq: {{{Device|}}} | iphone41 | MDM6610 | MDM9600 }})|1.0.11]]
 
| 1.0.11 = [[1.0.11 ({{#ifeq: {{{Device|}}} | iphone41 | MDM6610 | MDM9600 }})|1.0.11]]
 
| 3.0.04 = [[3.0.04 ({{#ifeq: {{{Device|}}} | iphone41 | MDM6610 | MDM6600 }})|3.0.04]]
 
| 3.0.04 = [[3.0.04 ({{#ifeq: {{{Device|}}} | iphone41 | MDM6610 | MDM6600 }})|3.0.04]]
 
| #default = [[{{{Baseband}}}]]
 
| #default = [[{{{Baseband}}}]]
}}{{#if: {{{Baseband|}}} | | [[Category:Incomplete Key Pages]] }}
+
}}</span>{{#if: {{{Baseband|}}} | | [[Category:Incomplete Key Pages]] }}
 
}}
 
}}
   
Line 105: Line 105:
 
[http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23titleparts] -->
 
[http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23titleparts] -->
 
| belowstyle = background:#ddddff;background:rgba(221,221,255,0.7);
 
| belowstyle = background:#ddddff;background:rgba(221,221,255,0.7);
| below = {{#if: {{{DownloadURL|}}} | [{{{DownloadURL}}} {{keys/device|{{{Device}}}}}_{{#switch: {{{Build}}}
+
| below = {{#if: {{{DownloadURL|}}} | <span id="keypage-download">[{{{DownloadURL}}} {{keys/device|{{{Device}}}}}_{{#switch: {{{Build}}}
 
<!-- Apple TV builds where the marketing version is not the same as the one on the IPSW -->
 
<!-- Apple TV builds where the marketing version is not the same as the one on the IPSW -->
 
| 8M89 = 4.1
 
| 8M89 = 4.1
Line 116: Line 116:
 
| 9B206f = 5.0
 
| 9B206f = 5.0
 
| #default = {{{Version}}}
 
| #default = {{{Version}}}
}}_{{{Build}}}_Restore.ipsw]{{#ifeq: {{{Build}}} | 8A293 | {{#ifeq: {{{Device}}} | iphone31 | | &nbsp;(Final) }}}}
+
}}_{{{Build}}}_Restore.ipsw]{{#ifeq: {{{Build}}}-{{{Device}}} | 8A293-iphone31 | | &nbsp;(Final) }}</span>
 
}}
 
}}
 
}}
 
}}
Line 129: Line 129:
 
<span class="keypage-filename" id="keypage-rootfs">{{#if: {{{RootFS|}}} | {{{RootFS}}} | XXX-XXXX-XXX }}.dmg</span>
 
<span class="keypage-filename" id="keypage-rootfs">{{#if: {{{RootFS|}}} | {{{RootFS}}} | XXX-XXXX-XXX }}.dmg</span>
 
<ul><li>'''Key''': <code id="keypage-rootfs-key">{{{RootFSKey}}}</code></li>
 
<ul><li>'''Key''': <code id="keypage-rootfs-key">{{{RootFSKey}}}</code></li>
{{#ifeq: {{{Build|}}} | 8A293 | {{#ifeq: {{{Device|}}} | iphone31 | |
+
{{#ifeq: {{{Build}}}-{{{Device}}} | 8A293-iphone31 | |
 
<li>'''GM Key''': <code id="keypage-rootfs-8a293gm-key">{{{GMRootFSKey|}}}</code></li>
 
<li>'''GM Key''': <code id="keypage-rootfs-8a293gm-key">{{{GMRootFSKey|}}}</code></li>
}}
 
 
}}</ul><!--
 
}}</ul><!--
   

Revision as of 00:41, 30 January 2015

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