Difference between revisions of "Template:Keys"

From The iPhone Wiki
Jump to: navigation, search
m (Big fix)
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 <span id="keypage-version">{{#if: {{{DisplayVersion|}}} | {{{DisplayVersion}}}<span id="keypage-version2" style="display:none;">{{{Version}}}</span> | {{{Version}}} }}</span>
 
| title = iOS <span id="keypage-version">{{#if: {{{DisplayVersion|}}} | {{{DisplayVersion}}}<span id="keypage-version2" style="display:none;">{{{Version}}}</span> | {{{Version}}} }}</span>
 
| bodystyle = vevent
 
| bodystyle = vevent
Line 124: Line 128:
   
   
------------------------------ Root Filesystem ------------------------------
 
 
-->
 
-->
 
<h2>[[:/|Root Filesystem]]</h2>
 
<h2>[[:/|Root Filesystem]]</h2>
Line 133: Line 136:
 
}} }}</ul><!--
 
}} }}</ul><!--
   
  +
-->{{keys/helper|id=updateramdisk|header=[[Update Ramdisk]]|file={{{UpdateRamdisk|}}}|iv={{{UpdateRamdiskIV|}}}|key={{{UpdateRamdiskKey|}}}}}<!--
   
  +
-->{{keys/helper|id=restoreramdisk|header=[[ResoreRamdisk]]|file={{{RestoreRamdisk|}}}|iv={{{RestoreRamdiskIV|}}}|key={{{RestoreRamdiskKey|}}}}}<!--
 
------------------------------ Update Ramdisk ------------------------------
 
-->
 
{{#if: {{{UpdateRamdiskIV|}}} |
 
 
<h2>[[Update Ramdisk]]</h2>
 
<span class="keypage-filename" id="keypage-updateramdisk">{{#if: {{{UpdateRamdisk|}}} | {{{UpdateRamdisk}}} | XXX-XXXX-XXX }}.dmg</span>
 
{{#switch: {{{Build|}}}
 
| 1A543a
 
| 1C25
 
| 1C28
 
| 3A100a
 
| 3A101a
 
| 3A109a
 
| 3A110a
 
| 3B48b
 
| 4A93
 
| 4A102
 
| 4B1
 
| 5A147p
 
| 5A225c
 
| 5A240d = See [[Decrypting Firmwares]] for details on browsing the ramdisk's contents.
 
| #default =
 
{{#ifeq: {{{UpdateRamdiskIV|}}} | Not Encrypted | * Not Encrypted |
 
* '''IV''': <code id="keypage-updateramdisk-iv">{{{UpdateRamdiskIV}}}</code>
 
* '''Key''': <code id="keypage-updateramdisk-key">{{{UpdateRamdiskKey}}}</code>
 
}}
 
}}
 
}}<!--
 
 
 
 
 
------------------------------ Restore Ramdisk ------------------------------
 
-->
 
<h2>[[Restore Ramdisk]]</h2>
 
<span class="keypage-filename" id="keypage-restoreramdisk">{{#if: {{{RestoreRamdisk|}}} | {{{RestoreRamdisk}}} | XXX-XXXX-XXX }}.dmg</span>
 
{{#switch: {{{Build|}}}
 
| 1A543a
 
| 1C25
 
| 1C28
 
| 3A100a
 
| 3A101a
 
| 3A109a
 
| 3A110a
 
| 3B48b
 
| 4A93
 
| 4A102
 
| 4B1
 
| 5A147p
 
| 5A225c
 
| 5A240d = See [[Decrypting Firmwares]] for details on browsing the ramdisk's contents.
 
| #default =
 
{{#ifeq: {{{RestoreRamdiskIV|}}} | Not Encrypted | * Not Encrypted |
 
* '''IV''': <code id="keypage-restoreramdisk-iv">{{{RestoreRamdiskIV}}}</code>
 
* '''Key''': <code id="keypage-restoreramdisk-key">{{{RestoreRamdiskKey}}}</code>
 
}}
 
}}<!--
 
 
 
 
 
------------------------------ IMG2/IMG3 files ------------------------------
 
-->{{#switch: {{{Build|}}}
 
| 1A543a
 
| 1C25
 
| 1C28
 
| 3A100a
 
| 3A101a
 
| 3A109a
 
| 3A110a
 
| 3B48b
 
| 4A93
 
| 4A102
 
| 4B1
 
| 5A147p
 
| 5A225c
 
| 5A240d = <h2>IMG2 Files</h2>
 
See [[Decrypting Firmwares]] for details on browsing the [[IMG2 File Format|IMG2]] contents.
 
| #default = <!--
 
   
 
-->{{keys/helper|id=applelogo|header=[[AppleLogo]]|file={{{AppleLogo|}}}|iv={{{AppleLogoIV|}}}|key={{{AppleLogoKey|}}}}}<!--
 
-->{{keys/helper|id=applelogo|header=[[AppleLogo]]|file={{{AppleLogo|}}}|iv={{{AppleLogoIV|}}}|key={{{AppleLogoKey|}}}}}<!--
Line 248: Line 173:
   
 
-->{{keys/helper|id=sepfirmware|header=SEP-Firmware|file={{{SEPFirmware|}}}|iv={{{SEPFirmwareIV|}}}|key={{{SEPFirmwareKey|}}}}}<!--
 
-->{{keys/helper|id=sepfirmware|header=SEP-Firmware|file={{{SEPFirmware|}}}|iv={{{SEPFirmwareIV|}}}|key={{{SEPFirmwareKey|}}}}}<!--
 
-->}}<!--
 
   
   
   
   
------------------------------ Categories ------------------------------
 
 
-->{{#if: {{{Device|}}} | [[Category:{{#switch: {{{Device}}}
 
-->{{#if: {{{Device|}}} | [[Category:{{#switch: {{{Device}}}
 
| appletv21 = Apple TV 2G
 
| appletv21 = Apple TV 2G
Line 313: Line 235:
   
 
-->{{#if: {{{RootFS|}}} | | [[Category:Incomplete Key Pages]] }}<!--
 
-->{{#if: {{{RootFS|}}} | | [[Category:Incomplete Key Pages]] }}<!--
-->{{#if: {{{RestoreRamdisk|}}} | | [[Category:Incomplete Key Pages]] }}<!--
 
-->{{#if: {{{UpdateRamdiskIV|}}} | {{#if: {{{UpdateRamdisk|}}} | | [[Category:Incomplete Key Pages]] }} }}<!--
 
 
-->{{#ifeq: {{{RootFSKey|}}} | TODO | [[Category:Incomplete Key Pages]] }}<!--
 
-->{{#ifeq: {{{RootFSKey|}}} | TODO | [[Category:Incomplete Key Pages]] }}<!--
 
-->{{#ifeq: {{{GMRootFSKey|}}} | TODO | [[Category:Incomplete Key Pages]] }}<!-- Remove when iPhone 3G 4.0 GM (8A293) key extracted
 
-->{{#ifeq: {{{GMRootFSKey|}}} | TODO | [[Category:Incomplete Key Pages]] }}<!-- Remove when iPhone 3G 4.0 GM (8A293) key extracted
-->{{#ifeq: {{{UpdateRamdiskIV|}}} | TODO | [[Category:Incomplete Key Pages]] }}<!--
 
-->{{#ifeq: {{{RestoreRamdiskIV|}}} | TODO | [[Category:Incomplete Key Pages]] }}<!--
 
 
-- Other files checked by {{keys/helper}} --
 
-- Other files checked by {{keys/helper}} --
   
Line 325: Line 243:
 
-->{{#ifeq: {{{RestoreRamdisk|}}} | XXX-XXXX-XXX | [[Category:Pages With Incorrect Template Usage]] }}<!--
 
-->{{#ifeq: {{{RestoreRamdisk|}}} | XXX-XXXX-XXX | [[Category:Pages With Incorrect Template Usage]] }}<!--
   
--></includeonly><noinclude>{{Template:Keys/doc}}</noinclude>
+
--></includeonly><noinclude>{{keys/doc}}</noinclude>

Revision as of 18:10, 2 March 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
}}