The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Template:Keys"
m |
m (updating) |
||
Line 1: | Line 1: | ||
− | __NOTOC____NOEDITSECTION__<includeonly>{{#ifeq: {{FULLPAGENAME}} | {{{codename|}}} {{{build|}}} ({{#switch: {{{device|}}} |
+ | __NOTOC____NOEDITSECTION__<includeonly>{{#ifeq: {{FULLPAGENAME}} | {{{codename|{{{Codename|}}}}}} {{{build|{{{Build|}}}}}} ({{#switch: {{{device|{{{Device|}}}}}} |
| appletv21 = Apple TV 2G |
| appletv21 = Apple TV 2G |
||
| appletv31 = Apple TV 3G |
| appletv31 = Apple TV 3G |
||
Line 35: | Line 35: | ||
| ipod41 = iPod touch 4G |
| ipod41 = iPod touch 4G |
||
| ipod51 = iPod touch 5G |
| ipod51 = iPod touch 5G |
||
− | }}) | | <span style="color:red; font-weight: bold;">Incorrect metadata!</span>[[Category:Key Pages |
+ | }}) | | <span style="color:red; font-weight: bold;">Incorrect metadata!</span>[[Category:Incomplete Key Pages]] }} |
{{Infobox |
{{Infobox |
||
− | | title = iOS {{{displayversion|{{{version|}}}}}} |
+ | | title = iOS {{{displayversion|{{{DisplayVersion|{{{version|{{{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 44: | Line 44: | ||
| header1 = |
| header1 = |
||
| label2 = Build |
| label2 = Build |
||
− | | data2 = {{#if: {{{build|}}} | {{{build}}} | [[Category:Incomplete Key Pages]] }} |
+ | | data2 = {{#if: {{{build|{{{Build|}}}}}} | {{{build|{{{Build}}}}}} | [[Category:Incomplete Key Pages]] }} |
| label3 = Codename |
| label3 = Codename |
||
− | | data3 = {{#if: {{{codename|}}} | {{{codename}}} | [[Category:Incomplete Key Pages]] }} |
+ | | data3 = {{#if: {{{codename|{{{Codename|}}}}}} | {{{codename|{{{Codename}}}}}} | [[Category:Incomplete Key Pages]] }} |
| label4 = Device |
| label4 = Device |
||
− | | data4 = {{#switch: {{{device|}}} |
+ | | data4 = {{#switch: {{{device|{{{Device|}}}}}} |
| appletv21 = [[k66ap|Apple TV 2G]] |
| appletv21 = [[k66ap|Apple TV 2G]] |
||
| appletv31 = [[j33ap|Apple TV 3G]] |
| appletv31 = [[j33ap|Apple TV 3G]] |
||
Line 87: | Line 87: | ||
}} |
}} |
||
| label5 = Baseband |
| label5 = Baseband |
||
− | | data5 = {{#switch: {{{device|}}} |
+ | | data5 = {{#switch: {{{device|{{{Device|}}}}}} |
| ipad11 |
| ipad11 |
||
| ipad22 |
| ipad22 |
||
Line 109: | Line 109: | ||
| iphone54 |
| iphone54 |
||
| iphone61 |
| iphone61 |
||
− | | iphone62 = {{#if: {{{baseband|}}} | {{#switch: {{{baseband|}}}<!-- Fix for 3.0.04 mixup --> |
+ | | iphone62 = {{#if: {{{baseband|{{{Baseband|}}}}}} | {{#switch: {{{baseband|{{{Baseband|}}}}}}<!-- Fix 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|}}}]] |
+ | | #default = [[{{{baseband|{{{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|}}} {{#switch: {{{device|}}} |
+ | | below = {{#if: {{{downloadurl|{{{DownloadUrl|}}}}}} | [{{{downloadurl|{{{DownloadUrl|}}}}}} {{#switch: {{{device|{{{Device|}}}}}} |
<!-- we need a way to work with beta firmwares --> |
<!-- we need a way to work with beta firmwares --> |
||
− | <!-- maybe {{#titleparts: {{{ |
+ | <!-- maybe {{#titleparts: {{{DownloadUrl|}}} | 1 | -1 }}? But it replaces underscores with spaces... |
[http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23titleparts] --> |
[http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23titleparts] --> |
||
| appletv21 = AppleTV2,1 |
| appletv21 = AppleTV2,1 |
||
Line 159: | Line 159: | ||
| ipod51 = iPod5,1 |
| ipod51 = iPod5,1 |
||
| #default = |
| #default = |
||
− | }}_{{#switch: {{{build|}}} |
+ | }}_{{#switch: {{{build|{{{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 183: | Line 183: | ||
| 10B144 = 6.1 |
| 10B144 = 6.1 |
||
| 11A465 = 7.0 |
| 11A465 = 7.0 |
||
− | | #default = {{{version}}} |
+ | | #default = {{{version|{{{Version}}} |
− | }}_{{{build}}}_Restore.ipsw]{{#ifeq: {{{build|}}} | 8A293 | {{#ifeq: {{{device|}}} | iphone31 | | (Final) }}}} |
+ | }}_{{{build|{{{Build}}}}}}_Restore.ipsw]{{#ifeq: {{{build|{{{Build|}}}}}} | 8A293 | {{#ifeq: {{{device|{{{Device|}}}}}} | iphone31 | | (Final) }}}} |
}} |
}} |
||
}} |
}} |
||
− | <h2>[[:/|Root Filesystem]] ({{#if:{{{rootfsdmg|}}}|{{{rootfsdmg|}}}|XXX-XXXX-XXX}}.dmg)</h2> |
+ | <h2>[[:/|Root Filesystem]] ({{#if:{{{rootfsdmg|{{{RootFS|}}}}}}|{{{rootfsdmg|{{{RootFS}}}}}}|XXX-XXXX-XXX}}.dmg)</h2> |
− | * '''RootFS Key''': <code>{{{rootfskey|}}}</code> |
+ | * '''RootFS Key''': <code>{{{rootfskey|{{{RootFSKey}}}}}}</code> |
− | {{#ifeq: 8A293 | {{{build|}}} | {{#ifeq: {{{device|}}} | iphone31 | | |
+ | {{#ifeq: 8A293 | {{{build|{{{Build|}}}}}} | {{#ifeq: {{{device|{{{Device|}}}}}} | iphone31 | | |
− | <h2>[[:/|Root Filesystem]] ({{#if:{{{rootfsdmg|}}}|{{{rootfsdmg|}}}|XXX-XXXX-XXX}}.dmg) [<nowiki />[[Golden Master|GM]] Build]</h2> |
+ | <h2>[[:/|Root Filesystem]] ({{#if:{{{rootfsdmg|{{{RootFS|}}}}}}|{{{rootfsdmg|{{{RootFS}}}}}}|XXX-XXXX-XXX}}.dmg) [<nowiki />[[Golden Master|GM]] Build]</h2> |
− | <ul><li>'''RootFS Key''': <code>{{{gmrootfskey|}}}</code></li></ul> |
+ | <ul><li>'''RootFS Key''': <code>{{{gmrootfskey|{{{GMRootFSKey|}}}}}}</code></li></ul> |
}} |
}} |
||
− | }}{{#ifeq: {{{noupdateramdisk|}}} | true | | |
+ | }}{{#ifeq: {{{noupdateramdisk|{{{NoUpdateRamdisk|}}}}}} | true | | |
− | <h2>[[Update Ramdisk]] ({{#if:{{{updatedmg|}}}|{{{updatedmg|}}}|XXX-XXXX-XXX}}.dmg)</h2> |
+ | <h2>[[Update Ramdisk]] ({{#if:{{{updatedmg|{{{UpdateRamdisk|}}}}}}|{{{updatedmg|{{{UpdateRamdisk}}}|XXX-XXXX-XXX}}.dmg)</h2> |
− | {{#switch: {{{build|}}} |
+ | {{#switch: {{{build|{{{Build|}}}}}} |
| 1A543a |
| 1A543a |
||
| 1C25 |
| 1C25 |
||
Line 213: | Line 213: | ||
| 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|}}} | true | * Not Encrypted | |
+ | {{#ifeq: {{{ramdisknotencrypted|{{{RamdiskNotEncrypted|}}}}}} | true | * Not Encrypted | |
− | * '''IV''': <code>{{{updateiv|}}}</code> |
+ | * '''IV''': <code>{{{updateiv|{{{UpdateRamdiskIV}}}}}}</code> |
− | * '''Key''': <code>{{{updatekey|}}}</code> |
+ | * '''Key''': <code>{{{updatekey|{{{UpdateRamdiskKey}}}}}}</code> |
}} |
}} |
||
}} |
}} |
||
}} |
}} |
||
− | <h2>[[Restore Ramdisk]] ({{#if:{{{restoredmg|}}}|{{{restoredmg|}}}|XXX-XXXX-XXX}}.dmg)</h2> |
+ | <h2>[[Restore Ramdisk]] ({{#if:{{{restoredmg|{{{RestoreRamdisk|}}}}}}|{{{restoredmg|{{{RestoreRamdisk}}}|XXX-XXXX-XXX}}.dmg)</h2> |
− | {{#switch: {{{build|}}} |
+ | {{#switch: {{{build|{{{Build|}}}}}} |
| 1A543a |
| 1A543a |
||
| 1C25 |
| 1C25 |
||
Line 236: | Line 236: | ||
| 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|}}} | true | * Not Encrypted | |
+ | {{#ifeq: {{{ramdisknotencrypted|{{{RamdiskNotEncrypted|}}}}}} | true | * Not Encrypted | |
− | * '''IV''': <code>{{{restoreiv|}}}</code> |
+ | * '''IV''': <code>{{{restoreiv|{{{RestoreRamdiskIV}}}}}}</code> |
− | * '''Key''': <code>{{{restorekey|}}}</code> |
+ | * '''Key''': <code>{{{restorekey|{{{RestoreRamdiskKey}}}}}}</code> |
}} |
}} |
||
− | }}{{#switch: {{{build|}}} |
+ | }}{{#switch: {{{build|{{{Build|}}}}}} |
| 1A543a |
| 1A543a |
||
| 1C25 |
| 1C25 |
||
Line 361: | Line 361: | ||
}}}} |
}}}} |
||
}} |
}} |
||
− | {{#if: {{{version|}}} | [[Category:{{#switch: {{{device|}}} |
+ | {{#if: {{{version|{{{Version|}}}}}} | [[Category:{{#switch: {{{device|{{{Device|}}}}}} |
| appletv21 = Apple TV 2G |
| appletv21 = Apple TV 2G |
||
| appletv31 = Apple TV 3G |
| appletv31 = Apple TV 3G |
||
Line 397: | Line 397: | ||
| ipod41 = iPod touch 4G |
| ipod41 = iPod touch 4G |
||
| ipod51 = iPod touch 5G |
| ipod51 = iPod touch 5G |
||
− | }} Key Page|{{#switch: {{{build|}}} |
+ | }} Key Page|{{#switch: {{{build|{{{Build|}}}}}} |
| 5A345 = 2.0 |
| 5A345 = 2.0 |
||
| 7A341 = 3.0 |
| 7A341 = 3.0 |
||
Line 409: | Line 409: | ||
| 10A403 = 6.0 |
| 10A403 = 6.0 |
||
| 11A465 = 7.0 |
| 11A465 = 7.0 |
||
− | | #default = {{{version|}}} |
+ | | #default = {{{version|{{{Version|}}}}}} |
}}]] | }}<!-- |
}}]] | }}<!-- |
||
Line 415: | Line 415: | ||
// Thankfully, we only need to check either the IV or Key |
// Thankfully, we only need to check either the IV or Key |
||
// because to get one, you pretty much have to get the other |
// because to get one, you pretty much have to get the other |
||
− | // {{{ |
+ | // {{{GMRootFSKey}}} check should only be removed when the |
− | // |
+ | // iPhone 3G 4.0 GM key is found. |
− | -->{{#ifeq: {{{rootfskey|}}} | TODO |
+ | -->{{#ifeq: {{{rootfskey|{{{RootFSKey|}}}}}} | TODO |
| [[Category:Incomplete Key Pages]] |
| [[Category:Incomplete Key Pages]] |
||
− | | {{#ifeq: {{{gmrootfskey|}}} | TODO |
+ | | {{#ifeq: {{{gmrootfskey|{{{GMRootFSKey|}}}}}} | TODO |
| [[Category:Incomplete Key Pages]] |
| [[Category:Incomplete Key Pages]] |
||
− | | {{#ifeq: {{{restoreiv|}}} | TODO |
+ | | {{#ifeq: {{{restoreiv|{{{RestoreRamdiskIV|}}}}}} | TODO |
| [[Category:Incomplete Key Pages]] |
| [[Category:Incomplete Key Pages]] |
||
− | | {{#ifeq: {{{updateiv|}}} | TODO |
+ | | {{#ifeq: {{{updateiv|{{{UpdateRamdiskIV|}}}}}} | TODO |
| [[Category:Incomplete Key Pages]] |
| [[Category:Incomplete Key Pages]] |
||
| {{#ifeq: {{{AppleLogoIV|}}} | TODO |
| {{#ifeq: {{{AppleLogoIV|}}} | TODO |
Revision as of 21:10, 5 October 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 }}