Difference between revisions of "Template:Keys/doc"

From The iPhone Wiki
Jump to: navigation, search
m (Syntax Explicitation :))
(Add missing and list the ones as not encrypted that never have been.)
(72 intermediate revisions by 5 users not shown)
Line 1: Line 1:
  +
<noinclude><div style="font-size:smaller;">&#x2190; Go [[Template:Keys|back to the template]].</div>
=== Intro ===
 
This is the ultimate key template for the [[VFDecrypt Keys|key pages]]. 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.
 
  +
<br />
 
  +
If the device is an Apple TV (iOS versions), set <code>Version</code> to the marketing version with the internal version in parenthesis.
Also, if this is a 1.x Firmware, place anything in the <code>is1xfirmware</code> tag and delete the <code>updateiv</code>, <code>updatekey</code>, <code>restoreiv</code>, <code>restorekey</code> tags, and every tags between <code>AppleLogoIV</code> and <code>WTFKey</code>.
 
  +
  +
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.
  +
  +
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.
 
<nowiki>{{keys</nowiki>
 
<nowiki>{{keys</nowiki>
| version =
+
| Version             = 
| build =
+
| Build               = 
| device =
+
| Device              = 
| downloadurl =
+
| Codename            = 
  +
| Baseband            = 
  +
| DownloadURL         = 
 
 
| rootfsdmg =
+
| RootFS           = 
| rootfskey = TODO
+
| RootFSKey           = Unknown
| gmrootfsdmg =
 
| gmrootfskey = TODO
 
 
 
| noupdateramdisk =
+
| UpdateRamdisk       = 
  +
| UpdateRamdiskIV      = Unknown
| ramdisknotencrypted =
 
  +
| UpdateRamdiskKey    = Unknown
  +
| UpdateRamdiskKBAG    =
 
 
| updatedmg =
+
| RestoreRamdisk       = 
| updateiv = TODO
+
| RestoreRamdiskIV   = Unknown
| updatekey = TODO
+
| RestoreRamdiskKey  = Unknown
  +
| RestoreRamdiskKBAG  =
 
 
| restoredmg =
+
| ADCPetra =
| restoreiv = TODO
+
| ADCPetraIV = Unknown
| restorekey = TODO
+
| ADCPetraKey = Unknown
  +
| ADCPetraKBAG =
 
 
| is1xfirmware =
+
| ARMFW =
  +
| ARMFWIV = Not Encrypted
 
 
| AppleLogoIV = TODO
+
| ANE =
| AppleLogoKey = TODO
+
| ANEIV = Not Encrypted
  +
  +
| AOPFirmware =
  +
| AOPFirmwareIV       = Not Encrypted
  +
  +
| AppleAVE =
  +
| AppleAVEIV = Not Encrypted
 
 
| BatteryChargingIV = TODO
+
| AppleLogo         =
  +
| AppleLogoIV         = Unknown
| BatteryChargingKey = TODO
 
  +
| AppleLogoKey        = Unknown
  +
| AppleLogoKBAG       =
 
 
  +
| AppleMaggie        =
| BatteryCharging0IV = TODO
 
  +
| AppleMaggieIV       = Not Encrypted
| BatteryCharging0Key = TODO
 
 
 
| BatteryCharging1IV = TODO
+
| AudioCodecFirmware =
  +
| AudioCodecFirmwareIV = Not Encrypted
| BatteryCharging1Key = TODO
 
 
 
| BatteryFullIV = TODO
+
| BatteryCharging0   =
| BatteryFullKey = TODO
+
| BatteryCharging0IV   = Unknown
  +
| BatteryCharging0Key = Unknown
  +
| BatteryCharging0KBAG =
 
 
| BatteryLow0IV = TODO
+
| BatteryCharging1   =
| BatteryLow0Key = TODO
+
| BatteryCharging1IV   = Unknown
  +
| BatteryCharging1Key = Unknown
  +
| BatteryCharging1KBAG =
 
 
| BatteryLow1IV = TODO
+
| BatteryFull       =
| BatteryLow1Key = TODO
+
| BatteryFullIV       = Unknown
  +
| BatteryFullKey      = Unknown
  +
| BatteryFullKBAG     =
 
 
| DeviceTreeIV = TODO
+
| BatteryLow0       =
| DeviceTreeKey = TODO
+
| BatteryLow0IV       = Unknown
  +
| BatteryLow0Key      = Unknown
  +
| BatteryLow0KBAG      =
 
 
| GlyphChargingIV = TODO
+
| BatteryLow1       =
| GlyphChargingKey = TODO
+
| BatteryLow1IV       = Unknown
  +
| BatteryLow1Key      = Unknown
  +
| BatteryLow1KBAG    =
 
 
| GlyphPluginIV = TODO
+
| CallanFirmware =
| GlyphPluginKey = TODO
+
| CallanFirmwareIV = Not Encrypted
 
 
| iBECIV = TODO
+
| Dali =
| iBECKey = TODO
+
| DaliIV        = Unknown
  +
| DaliKey       = Unknown
  +
| DaliKBAG      =
 
 
| iBootIV = TODO
+
| DeviceTree         =
| iBootKey = TODO
+
| DeviceTreeIV        = Unknown
  +
| DeviceTreeKey       = Unknown
  +
| DeviceTreeKBAG      =
 
 
| iBSSIV = TODO
+
| GlyphCharging     =
| iBSSKey = TODO
+
| GlyphChargingIV     = Unknown
  +
| GlyphChargingKey    = Unknown
  +
| GlyphChargingKBAG   =
 
 
| KernelcacheIV = TODO
+
| GlyphPlugin       =
| KernelcacheKey = TODO
+
| GlyphPluginIV       = Unknown
  +
| GlyphPluginKey      = Unknown
  +
| GlyphPluginKBAG     =
 
 
| LLBIV = TODO
+
| HapticAssets        =
| LLBKey = TODO
+
| HapticAssetsIV      = Not Encrypted
 
 
| NeedServiceIV = TODO
+
| Homer        =
| NeedServiceKey = TODO
+
| HomerIV       = Not Encrypted
 
 
| RecoveryModeIV = TODO
+
| iBEC              =
| RecoveryModeKey = TODO
+
| iBECIV              = Unknown
  +
| iBECKey             = Unknown
  +
| iBECKBAG            =
 
 
| WTFIV = TODO
+
| iBoot             =
| WTFKey = TODO
+
| iBootIV             = Unknown
  +
| iBootKey            = Unknown
<nowiki>}}</nowiki>
 
  +
| iBootKBAG          =
  +
  +
| iBSS              =
  +
| iBSSIV              = Unknown
  +
| iBSSKey             = Unknown
  +
| iBSSKBAG          =
  +
  +
| ISP =
  +
| ISPIV = Not Encrypted
   
  +
| Kernelcache       =
=== Syntax Explicitation :) ===
 
  +
| 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. page is [[Durango 8K2 (iPhone 3GS)]], you would put <code>4.3.4</code>)
 
  +
| LiquidDetect     =
|-
 
  +
| LiquidDetectIV      = Not Encrypted
! build
 
  +
| Explains itself
 
  +
| LLB               =
|-
 
  +
| LLBIV               = Unknown
! device
 
  +
| LLBKey              = Unknown
| [[#Device|See below (v)]]<!-- Opposite of ^ -->
 
  +
| LLBKBAG             =
|-
 
  +
! downloadurl
 
  +
| LowPowerMode =
| Only PUBLIC Apple firmwares that Apple has made available to everyone for free (copy from [[Firmware]])
 
  +
| LowPowerModeIV = Not Encrypted
|-
 
  +
! rootfsdmg
 
  +
| Multitouch =
| The name of the Root FS file (W/O .DMG)
 
  +
| MultitouchIV = Not Encrypted
|-
 
  +
! rootfskey
 
  +
| NeedService       =
| The key for the Root FS
 
  +
| NeedServiceIV       = Unknown
|-
 
  +
| NeedServiceKey      = Unknown
! gmfootfsdmg
 
  +
| NeedServiceKBAG     =
| The name of the GM Root FS file (W/O .DMG)
 
|-
 
! gmrootfskey
 
| The key for the GM Root FS
 
|-
 
! noupdateramdisk
 
| If this has anything (yes, even no), the "Update Ramdisk" section will not be displayed
 
|-
 
! ramdisknotencrypted
 
| If this has anything (yes, even no), the Ramdisks will display "Not Encrypted"
 
|-
 
! updatedmg
 
| The name of the [[Update Ramdisk]] file (W/O .DMG) (can be deleted if <code>noupdateramdisk</code> is filled)
 
|-
 
! updateiv
 
| The IV of the [[Update Ramdisk]] (can be deleted if <code>noupdateramdisk</code> is filled)
 
|-
 
! updatekey
 
| The Key of the [[Update Ramdisk]] (can be deleted if <code>noupdateramdisk</code> is filled)
 
|-
 
! restoredmg
 
| The name of the [[Restore Ramdisk]] file (W/O .DMG)
 
|-
 
! restoreiv
 
| The IV of the [[Restore Ramdisk]] (can be deleted if <code>is1xfirmware</code> is filled)
 
|-
 
! restorekey
 
| The Key of the [[Restore Ramdisk]] (can be deleted if <code>is1xfirmware</code> is filled)
 
|-
 
! is1xfirmware
 
| If this is a 1.x firmware, place anything (even no) here to get a message instead of Key and IV tags.
 
|-
 
! *IV
 
| The IV for the *
 
|-
 
! *Key
 
| The Key for the *
 
|}
 
   
  +
| PMP        =
=== Device ===
 
  +
| PMPIV       = Not Encrypted
{| class="wikitable"
 
  +
|-
 
  +
| RecoveryMode       =
! key
 
  +
| RecoveryModeIV      = Unknown
! Device
 
  +
| RecoveryModeKey     = Unknown
|-
 
  +
| RecoveryModeKBAG   =
| appletv21
 
  +
| [[k66ap|Apple TV 2G]]
 
  +
| SEPFirmware      =
|-
 
  +
| SEPFirmwareIV      = Unknown
| ipad11
 
  +
| SEPFirmwareKey      = Unknown
| [[k48ap|iPad 1G]]
 
  +
| SEPFirmwareKBAG     =
|-
 
  +
| ipad21
 
  +
| SmartIOFirmware =
| [[k93ap|iPad 2]] (Wi-Fi)
 
  +
| SmartIOFirmwareIV = Not Encrypted
|-
 
  +
| ipad22
 
  +
| WirelessPower =
| [[k94ap|iPad 2]] (GSM)
 
  +
| WirelessPowerIV = Not Encrypted
|-
 
  +
<nowiki>}}</nowiki>
| ipad23
 
| [[k95ap|iPad 2]] (CDMA)
 
|-
 
| iphone11
 
| [[m68ap|iPhone 2G]]
 
|-
 
| iphone12
 
| [[n82ap|iPhone 3G]]
 
|-
 
| iphone21
 
| [[n88ap|iPhone 3GS]]
 
|-
 
| iphone31
 
| [[n90ap|iPhone 4]] (GSM)
 
|-
 
| iphone33
 
| [[n92ap|iPhone 4]] (CDMA)
 
|-
 
| ipod11
 
| [[n45ap|iPod touch 1G]]
 
|-
 
| ipod21
 
| [[n72ap|iPod touch 2G]]
 
|-
 
| ipod31
 
| [[n18ap|iPod touch 3G]]
 
|-
 
| ipod41
 
| [[n81ap|iPod touch 4G]]
 
|}
 

Revision as of 22:25, 31 March 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.

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    =

 | RestoreRamdisk       = 
 | RestoreRamdiskIV     = Unknown
 | RestoreRamdiskKey    = Unknown
 | RestoreRamdiskKBAG   = 

 | ADCPetra             =
 | ADCPetraIV           = Unknown
 | ADCPetraKey          = Unknown
 | ADCPetraKBAG         =

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

 | CallanFirmware       =
 | CallanFirmwareIV     = Not Encrypted

 | 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

 | Multitouch           =
 | MultitouchIV         = Not Encrypted

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

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

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

 | SmartIOFirmware      =
 | SmartIOFirmwareIV    = Not Encrypted

 | WirelessPower        =
 | WirelessPowerIV      = Not Encrypted
}}