Difference between revisions of "Template:Keys"

From The iPhone Wiki
Jump to: navigation, search
m (you people need to tell me these things...)
m (pulling out code)
Line 1: Line 1:
__NOTOC____NOEDITSECTION__<includeonly>{{#ifeq: {{FULLPAGENAME}} | {{{Codename|}}} {{{Build|}}} ({{#switch: {{{Device|}}}
+
__NOTOC____NOEDITSECTION__<includeonly>{{#ifeq: {{FULLPAGENAME}} | {{{Codename|}}} {{{Build|}}} ({{keys/helper|{{{Device|}}}) | | <span style="color:red; font-weight: bold;">Incorrect metadata!</span>[[Category:Incomplete Key Pages]] }}
| appletv21 = AppleTV2,1
 
| appletv31 = AppleTV3,1
 
| appletv32 = AppleTV3,2
 
| ipad11 = iPad1,1
 
| ipad21 = iPad2,1
 
| ipad22 = iPad2,2
 
| ipad23 = iPad2,3
 
| ipad24 = iPad2,4
 
| ipad25 = iPad2,5
 
| ipad26 = iPad2,6
 
| ipad27 = iPad2,7
 
| ipad31 = iPad3,1
 
| ipad32 = iPad3,2
 
| ipad33 = iPad3,3
 
| ipad34 = iPad3,4
 
| ipad35 = iPad3,5
 
| ipad36 = iPad3,6
 
| ipad41 = iPad4,1
 
| ipad42 = iPad4,2
 
| ipad44 = iPad4,4
 
| ipad45 = iPad4,5
 
| iphone11 = iPhone1,1
 
| iphone12 = iPhone1,2
 
| iphone21 = iPhone2,1
 
| iphone31 = iPhone3,1
 
| iphone32 = iPhone3,2
 
| iphone33 = iPhone3,3
 
| iphone41 = iPhone4,1
 
| iphone51 = iPhone5,1
 
| iphone52 = iPhone5,2
 
| iphone53 = iPhone5,3
 
| iphone54 = iPhone5,4
 
| iphone61 = iPhone6,1
 
| iphone62 = iPhone6,2
 
| ipod11 = iPod1,1
 
| ipod21 = iPod2,1
 
| ipod31 = iPod3,1
 
| ipod41 = iPod4,1
 
| ipod51 = iPod5,1
 
}}) | | <span style="color:red; font-weight: bold;">Incorrect metadata!</span>[[Category:Incomplete Key Pages]] }}
 
 
{{Infobox
 
{{Infobox
 
| title = iOS {{{DisplayVersion|{{{Version|}}}}}}
 
| title = iOS {{{DisplayVersion|{{{Version|}}}}}}
Line 70: Line 30:
 
| ipad35 = [[p106ap|iPad 4 (GSM)]]
 
| ipad35 = [[p106ap|iPad 4 (GSM)]]
 
| ipad36 = [[p107ap|iPad 4 (Global)]]
 
| ipad36 = [[p107ap|iPad 4 (Global)]]
| ipad41 = [[j71ap|iPad Air Wi-Fi]]
+
| ipad41 = [[j71ap|iPad Air (Wi-Fi)]]
| ipad42 = [[j72ap|iPad Air Cellular]]
+
| ipad42 = [[j72ap|iPad Air (Cellular)]]
| ipad44 = [[j85ap|iPad mini 2G Wi-Fi]]
+
| ipad44 = [[j85ap|iPad mini 2G (Wi-Fi)]]
| ipad45 = [[j86ap|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]]
Line 128: Line 88:
 
}}
 
}}
   
  +
<!-- we need a way to work with beta firmwares
  +
maybe {{#titleparts: {{{DownloadURL|}}} | 1 | -1 }}? But it replaces underscores with spaces...
  +
[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|}}} {{#switch: {{{Device|}}}
+
| below = {{#if: {{{DownloadURL|}}} | [{{{DownloadURL|}}} {{keys/helper|{{{Device|}}}}}_{{#switch: {{{Build|}}}
<!-- we need a way to work with beta firmwares -->
 
<!-- maybe {{#titleparts: {{{DownloadURL|}}} | 1 | -1 }}? But it replaces underscores with spaces...
 
[http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23titleparts] -->
 
| appletv21 = AppleTV2,1
 
| appletv31 = AppleTV3,1
 
| appletv32 = AppleTV3,2
 
| ipad11 = iPad1,1
 
| ipad21 = iPad2,1
 
| ipad22 = iPad2,2
 
| ipad23 = iPad2,3
 
| ipad24 = iPad2,4
 
| ipad25 = iPad2,5
 
| ipad26 = iPad2,6
 
| ipad27 = iPad2,7
 
| ipad31 = iPad3,1
 
| ipad32 = iPad3,2
 
| ipad33 = iPad3,3
 
| ipad34 = iPad3,4
 
| ipad35 = iPad3,5
 
| ipad36 = iPad3,6
 
| ipad41 = iPad4,1
 
| ipad42 = iPad4,2
 
| ipad44 = iPad4,4
 
| ipad45 = iPad4,5
 
| iphone11 = iPhone1,1
 
| iphone12 = iPhone1,2
 
| iphone21 = iPhone2,1
 
| iphone31 = iPhone3,1
 
| iphone32 = iPhone3,2
 
| iphone33 = iPhone3,3
 
| iphone41 = iPhone4,1
 
| iphone51 = iPhone5,1
 
| iphone52 = iPhone5,2
 
| iphone53 = iPhone5,3
 
| iphone54 = iPhone5,4
 
| iphone61 = iPhone6,1
 
| iphone62 = iPhone6,2
 
| ipod11 = iPod1,1
 
| ipod21 = iPod2,1
 
| ipod31 = iPod3,1
 
| ipod41 = iPod4,1
 
| ipod51 = iPod5,1
 
| #default = &nbsp;
 
}}_{{#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-->

Revision as of 22:35, 11 January 2014

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