Difference between revisions of "Template:Keys/doc"

From The iPhone Wiki
Jump to: navigation, search
m
(35 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<noinclude><div style="font-size:smaller;">&#x2190; Go [[Template:Keys|back to the template]].</div>
 
<noinclude><div style="font-size:smaller;">&#x2190; Go [[Template:Keys|back to the template]].</div>
</noinclude>This is the ultimate key template for the [[Firmware Keys|key pages]]. When a page uses this template, it is added to the [[:Category:Key Pages|Key Pages]] category. Its syntax is described below.
+
</noinclude>This is the key template for the [[Firmware Keys|key pages]]. When a page uses this template, it is added to the [[:Category:Key Pages|Key Pages]] category.
  +
 
== Syntax ==
 
== Syntax ==
  +
If the device is not an iPhone or a cellular iPad, delete the <code>Baseband</code> parameter.
When using this, delete the ones that are not in the fw and put TODO on the ones that need to be done, otherwise they won't show up.
 
  +
  +
If the device is an Apple TV (iOS versions), set <code>Version</code> 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 <code>.dmg</code> file extension. If that firmware item does not exist in that firmware, delete its parameter section. If the firmware item is not encrypted, set <code>*IV</code> to "<code>Not Encrypted</code>" and delete the <code>*Key</code> 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)
If this is a 1.x Firmware, delete the <code>UpdateRamdiskIV</code>, <code>UpdateRamdiskKey</code>, <code>RestoreRamdiskIV</code>, <code>RestoreRamdiskKey</code> tags, and every tags between <code>AppleLogoIV</code> and <code>RecoveryModeKey</code>.
 
   
  +
For <code>DownloadURL</code>, do '''not''' place anything other than URLs to ''free'' firmwares hosted on Apple Inc.'s servers. For beta firmwares, delete the parameter.
If this is not an iPhone or a cellular iPad, delete the <code>baseband</code>-like rows.
 
 
<nowiki>{{keys</nowiki>
 
<nowiki>{{keys</nowiki>
| Version             = 
+
| Version             = 
| DisplayVersion =
+
| Build               = 
| Build               = 
+
| Device              
| Device              = 
+
| Codename            = 
| Codename            = 
+
| Baseband            = 
| Baseband            
+
| DownloadURL         = 
| DownloadURL         = 
 
 
 
| RootFS           = 
+
| RootFS           = 
| RootFSKey           = TODO
+
| 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
 
 
| NoUpdateRamdisk     = 
+
| ADCPetra =
  +
| ADCPetraIV = Unknown
| RamdiskNotEncrypted = 
 
  +
| ADCPetraKey = Unknown
  +
| ADCPetraKBAG =
 
 
| UpdateRamdisk       = 
+
| ARMFW =
  +
| ARMFWIV = Not Encrypted
| UpdateRamdiskIV     = TODO
 
| UpdateRamdiskKey    = TODO
 
 
 
| RestoreRamdisk      = 
+
| ANSF =
| RestoreRamdiskIV   = TODO
+
| ANSFIV = Not Encrypted
| RestoreRamdiskKey  = TODO
 
 
 
| AppleLogo         = TODO
+
| ANE =
| AppleLogoIV         = TODO
+
| ANEIV = Not Encrypted
  +
| AppleLogoKey        = TODO
 
  +
| AOPFirmware =
  +
| AOPFirmwareIV       = Not Encrypted
  +
  +
| AppleAVE =
  +
| AppleAVEIV = Not Encrypted
 
 
| BatteryCharging0  = TODO
+
| AppleLogo         =
  +
| AppleLogoIV         = Unknown
| BatteryCharging0IV  = TODO
 
  +
| AppleLogoKey        = Unknown
| BatteryCharging0Key = TODO
 
  +
| AppleLogoKBAG       =
 
 
| BatteryCharging1  = TODO
+
| AppleMaggie        =
  +
| AppleMaggieIV       = Not Encrypted
| BatteryCharging1IV  = TODO
 
| BatteryCharging1Key = TODO
 
 
 
| BatteryFull       = TODO
+
| AudioCodecFirmware =
  +
| AudioCodecFirmwareIV = Not Encrypted
| BatteryFullIV       = TODO
 
| BatteryFullKey      = TODO
 
 
 
| BatteryLow0       = TODO
+
| BatteryCharging0   =
| BatteryLow0IV       = TODO
+
| BatteryCharging0IV   = Unknown
  +
| BatteryCharging0Key = Unknown
| BatteryLow0Key      = TODO
 
  +
| BatteryCharging0KBAG =
 
 
| BatteryLow1       = TODO
+
| BatteryCharging1   =
| BatteryLow1IV       = TODO
+
| BatteryCharging1IV   = Unknown
  +
| BatteryCharging1Key = Unknown
| BatteryLow1Key      = TODO
 
  +
| BatteryCharging1KBAG =
 
 
| DeviceTree        = TODO
+
| BatteryFull       =
| DeviceTreeIV        = TODO
+
| BatteryFullIV       = Unknown
| DeviceTreeKey       = TODO
+
| BatteryFullKey      = Unknown
  +
| BatteryFullKBAG     =
 
 
| GlyphCharging     = TODO
+
| BatteryLow0       =
| GlyphChargingIV     = TODO
+
| BatteryLow0IV       = Unknown
| GlyphChargingKey    = TODO
+
| BatteryLow0Key      = Unknown
  +
| BatteryLow0KBAG      =
 
 
| GlyphPlugin       = TODO
+
| BatteryLow1       =
| GlyphPluginIV       = TODO
+
| BatteryLow1IV       = Unknown
| GlyphPluginKey      = TODO
+
| BatteryLow1Key      = Unknown
  +
| BatteryLow1KBAG    =
 
 
| iBEC              = TODO
+
| Dali =
| iBECIV              = TODO
+
| DaliIV        = Unknown
| iBECKey             = TODO
+
| DaliKey       = Unknown
  +
| DaliKBAG      =
 
 
| iBoot             = TODO
+
| DeviceTree         =
| iBootIV             = TODO
+
| DeviceTreeIV        = Unknown
| iBootKey            = TODO
+
| DeviceTreeKey       = Unknown
  +
| DeviceTreeKBAG      =
 
 
| iBSS              = TODO
+
| GlyphCharging     =
| iBSSIV              = TODO
+
| GlyphChargingIV     = Unknown
| iBSSKey             = TODO
+
| GlyphChargingKey    = Unknown
  +
| GlyphChargingKBAG   =
 
 
| Kernelcache       = TODO
+
| GlyphPlugin       =
| KernelcacheIV       = TODO
+
| GlyphPluginIV       = Unknown
| KernelcacheKey      = TODO
+
| GlyphPluginKey      = Unknown
  +
| GlyphPluginKBAG     =
 
 
| LLB               = TODO
+
| HapticAssets        =
| LLBIV               = TODO
+
| HapticAssetsIV      = Not Encrypted
| LLBKey              = TODO
 
 
 
| NeedService       = TODO
+
| Homer        =
| NeedServiceIV       = TODO
+
| HomerIV       = Not Encrypted
| NeedServiceKey      = TODO
 
 
 
| RecoveryMode      = TODO
+
| iBEC              =
| RecoveryModeIV      = TODO
+
| iBECIV              = Unknown
| RecoveryModeKey     = TODO
+
| iBECKey             = Unknown
  +
| iBECKBAG            =
 
 
| SEPFirmware      = TODO
+
| iBoot             =
| SEPFirmwareIV      = TODO
+
| iBootIV             = Unknown
| SEPFirmwareKey      = TODO
+
| iBootKey            = Unknown
  +
| iBootKBAG          =
<nowiki>}}</nowiki>
 
  +
  +
| iBSS              =
  +
| iBSSIV              = Unknown
  +
| iBSSKey             = Unknown
  +
| iBSSKBAG          =
  +
  +
| ISP =
  +
| ISPIV = Not Encrypted
   
  +
| Kernelcache       =
== Syntax Explanation ==
 
  +
| KernelcacheIV       = Unknown
{| class="wikitable"
 
  +
| KernelcacheKey      = Unknown
|-
 
  +
| KernelcacheKBAG    =
! style="width:10%" | Tag
 
  +
! style="width:90%" | Explanation
 
  +
| LeapHaptics        =
|-
 
  +
| LeapHapticsIV       = Not Encrypted
! Version
 
  +
| The version of the build (ex: for [[Durango 8K2 (iPhone 3GS)]], you would put <code>4.3.4</code>).
 
  +
| LiquidDetect     =
|-
 
  +
| LiquidDetectIV      = Not Encrypted
! DisplayVersion
 
  +
| Alternate version to display. For use with Apple TV firmwares. Should be in the format of "{MarketingVersion} ({InternalVersion})".
 
  +
| LLB               =
|-
 
  +
| LLBIV               = Unknown
! Build
 
  +
| LLBKey              = Unknown
| The build number.
 
  +
| LLBKBAG             =
|-
 
  +
! Device
 
  +
| LowPowerMode =
| [[#Device|See below]].
 
  +
| LowPowerModeIV = Not Encrypted
|-
 
  +
! Baseband
 
  +
| MConnector =
| The baseband (ex: page is [[Jasper 8C148 (iPad)]], you would put <code>07.10.00</code>). Leave blank if unknown. Remove if not a device with a baseband chip.
 
  +
| MConnectorIV = Not Encrypted
|-
 
  +
! DownloadURL
 
  +
| Multitouch =
| Only firmwares available on Apple Inc. owned domains. Public firmware links are available on [[Firmware]]. [[Beta Firmware|beta firmware]] links '''''must''''' be available from the [[Apple Developer|Apple Developer Center]]
 
  +
| MultitouchIV = Not Encrypted
|-
 
  +
! RootFS
 
  +
| NeedService       =
| The name of the Root FS file (without the <code>.dmg</code>)
 
  +
| NeedServiceIV       = Unknown
|-
 
  +
| NeedServiceKey      = Unknown
! RootFSKey
 
  +
| NeedServiceKBAG     =
| The key for the Root FS
 
|-
 
! NoUpdateRamdisk
 
| If this is <code>true</code>, the "Update Ramdisk" section will not be displayed. Remove if there is an update ramdisk.
 
|-
 
! RamdiskNotEncrypted
 
| If this is <code>true</code>, the [[ramdisk]]s will show "Not Encrypted" instead of "IV" and "Key" lines. Remove if the ramdisks are encrypted.
 
|-
 
! UpdateRamdisk
 
| The name of the [[Update Ramdisk]] file (without <code>.dmg</code>) (can be deleted if <code>NoUpdateRamdisk</code> is filled or it is a 1.x firmware)
 
|-
 
! UpdateRamdiskIV
 
| The IV of the [[Update Ramdisk]] (can be deleted if <code>NoUpdateRamdisk</code> is filled or it is a 1.x firmware)
 
|-
 
! UpdateRamdiskKey
 
| The Key of the [[Update Ramdisk]] (can be deleted if <code>NoUpdateRamdisk</code> is filled or it is a 1.x firmware)
 
|-
 
! RestoreRamdisk
 
| The name of the [[Restore Ramdisk]] file (without <code>.dmg</code>)
 
|-
 
! RestoreRamdiskIV
 
| The IV of the [[Restore Ramdisk]] (can be deleted if is a 1.x firmware)
 
|-
 
! RestoreRamdiskKey
 
| The Key of the [[Restore Ramdisk]] (can be deleted if is a 1.x firmware)
 
|-
 
! *
 
| The file name for the * (can be deleted if it is a 1.x firmware)
 
|-
 
! *IV
 
| The IV for the * (can be deleted if is a 1.x firmware)
 
|-
 
! *Key
 
| The Key for the * (can be deleted if is a 1.x firmware)
 
|}
 
   
  +
| PMP        =
== Device ==
 
  +
| PMPIV       = Not Encrypted
<!-- Needs to be redone -->
 
  +
{| class="wikitable"
 
  +
| RANS        =
|-
 
  +
| RANSIV       = Not Encrypted
! Value
 
  +
! Device
 
  +
| RecoveryMode       =
|-
 
  +
| RecoveryModeIV      = Unknown
| appletv21
 
  +
| RecoveryModeKey     = Unknown
| [[k66ap|Apple TV 2G]]
 
  +
| RecoveryModeKBAG   =
|-
 
  +
| appletv31
 
  +
| SEPFirmware      =
| [[j33ap|Apple TV 3G]]
 
  +
| SEPFirmwareIV      = Unknown
|-
 
  +
| SEPFirmwareKey      = Unknown
| appletv32
 
  +
| SEPFirmwareKBAG     =
| [[j33ap|Apple TV 3G]] (Rev A)
 
  +
|-
 
  +
| SmartIOFirmware =
| ipad11
 
  +
| SmartIOFirmwareIV = Not Encrypted
| [[k48ap|iPad 1G]]
 
  +
|-
 
  +
| WirelessPower =
| ipad21
 
  +
| WirelessPowerIV = Not Encrypted
| [[k93ap|iPad 2]] (Wi-Fi)
 
  +
<nowiki>}}</nowiki>
|-
 
| ipad22
 
| [[k94ap|iPad 2]] (GSM)
 
|-
 
| ipad23
 
| [[k95ap|iPad 2]] (CDMA)
 
|-
 
| ipad24
 
| [[k93aap|iPad 2]] (Wi-Fi) [Rev A]
 
|-
 
| ipad25
 
| [[p105ap|iPad mini 1G]] (Wi-Fi)
 
|-
 
| ipad26
 
| [[p106ap|iPad mini 1G]] (GSM)
 
|-
 
| ipad27
 
| [[p107ap|iPad mini 1G]] (Global)
 
|-
 
| ipad31
 
| [[j1ap|iPad 3]] (Wi-Fi)
 
|-
 
| ipad32
 
| [[j2ap|iPad 3]] (CDMA)
 
|-
 
| ipad33
 
| [[j2aap|iPad 3]] (Global)
 
|-
 
| ipad34
 
| [[p101ap|iPad 4]] (Wi-Fi)
 
|-
 
| ipad35
 
| [[p102ap|iPad 4]] (GSM)
 
|-
 
| ipad36
 
| [[p103ap|iPad 4]] (Global)
 
|-
 
| ipad41
 
| [[j71ap|iPad Air]] (Wi-Fi)
 
|-
 
| ipad42
 
| [[j72ap|iPad Air]] (Cellular)
 
|-
 
| ipad44
 
| [[j85ap|iPad mini 2G]] (Wi-Fi)
 
|-
 
| ipad45
 
| [[j86ap|iPad mini 2G]] (Cellular)
 
|-
 
| iphone11
 
| [[m68ap|iPhone 2G]]
 
|-
 
| iphone12
 
| [[n82ap|iPhone 3G]]
 
|-
 
| iphone21
 
| [[n88ap|iPhone 3GS]]
 
|-
 
| iphone31
 
| [[n90ap|iPhone 4]] (GSM)
 
|-
 
| iphone32
 
| [[n90bap|iPhone 4]] (GSM) [Rev A]
 
|-
 
| iphone33
 
| [[n92ap|iPhone 4]] (CDMA)
 
|-
 
| iphone41
 
| [[n94ap|iPhone 4S]]
 
|-
 
| iphone51
 
| [[n41ap|iPhone 5]] (GSM)
 
|-
 
| iphone52
 
| [[n42ap|iPhone 5]] (Global)
 
|-
 
| iphone53
 
| [[n49ap|iPhone 5c]] (GSM)
 
|-
 
| iphone54
 
| [[n48ap|iPhone 5c]] (Global)
 
|-
 
| iphone61
 
| [[n51ap|iPhone 5s]] (GSM)
 
|-
 
| iphone62
 
| [[n53ap|iPhone 5s]] (Global)
 
|-
 
| ipod11
 
| [[n45ap|iPod touch 1G]]
 
|-
 
| ipod21
 
| [[n72ap|iPod touch 2G]]
 
|-
 
| ipod31
 
| [[n18ap|iPod touch 3G]]
 
|-
 
| ipod41
 
| [[n81ap|iPod touch 4G]]
 
|-
 
| ipod51
 
| [[iPod touch 5G]]
 
|}
 

Revision as of 04:51, 30 September 2020

← Go back to the template.

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      =

 | Dali                 = 
 | DaliIV               = Unknown
 | DaliKey              = Unknown
 | DaliKBAG             = 

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

 | 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

 | MConnector           =
 | MConnectorIV         = Not Encrypted

 | Multitouch           =
 | MultitouchIV         = Not Encrypted

 | NeedService          = 
 | NeedServiceIV        = Unknown
 | NeedServiceKey       = Unknown
 | NeedServiceKBAG      =
 | PMP                  = 
 | PMPIV                = Not Encrypted
 | RANS                 = 
 | RANSIV               = Not Encrypted

 | RecoveryMode         = 
 | RecoveryModeIV       = Unknown
 | RecoveryModeKey      = Unknown
 | RecoveryModeKBAG     = 

 | SEPFirmware          = 
 | SEPFirmwareIV        = Unknown
 | SEPFirmwareKey       = Unknown
 | SEPFirmwareKBAG      =

 | SmartIOFirmware      =
 | SmartIOFirmwareIV    = Not Encrypted

 | WirelessPower        =
 | WirelessPowerIV      = Not Encrypted
}}