The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "TYPE"
(Reorganized into tables, updated information) |
HappyMac3920 (talk | contribs) m (Changed a few things) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | The '''TYPE''' tag is a 32-bit unsigned integer (<code>uint32_t</code>) that, when viewed in little-endian format, states the type of firmware image the IMG2/[[IMG3 File Format|IMG3]]/[[IMG4 File Format|IMG4/IM4P]] file is. This |
+ | The '''TYPE''' tag is a 32-bit unsigned integer (<code>uint32_t</code>) that, when viewed in little-endian format, states the type of firmware image the IMG2/[[IMG3 File Format|IMG3]]/[[IMG4 File Format|IMG4/IM4P]] file is. This value is passed to <code>load_selected_image</code> and then <code>[[Image load|image_load]]</code> early in the [[BootROM|SecureROM]] boot process, where a non-NULL pointer check is performed. |
== Types == |
== Types == |
||
Line 56: | Line 56: | ||
| Alamo |
| Alamo |
||
| almo |
| almo |
||
+ | | |
||
|- |
|- |
||
| ANE Firmware |
| ANE Firmware |
||
| anef |
| anef |
||
+ | | |
||
|- |
|- |
||
| AOP |
| AOP |
||
| aopf |
| aopf |
||
+ | | |
||
|- |
|- |
||
| [[AppleLogo]] |
| [[AppleLogo]] |
||
| logo |
| logo |
||
+ | | Used during boot |
||
|- |
|- |
||
| Audio Codec Firmware |
| Audio Codec Firmware |
||
| acfw |
| acfw |
||
+ | | |
||
|- |
|- |
||
| AVE Firmware |
| AVE Firmware |
||
| avef |
| avef |
||
+ | | |
||
|- |
|- |
||
| [[BatteryCharging0]] |
| [[BatteryCharging0]] |
||
| chg0 |
| chg0 |
||
− | | Charging indicator (bright) |
+ | | Charging indicator (bright), used in the battery low screen |
|- |
|- |
||
| [[BatteryCharging1]] |
| [[BatteryCharging1]] |
||
| chg1 |
| chg1 |
||
− | | Charging Indicator (dim) |
+ | | Charging Indicator (dim), used in the battery low screen |
|- |
|- |
||
| [[BatteryFull]] |
| [[BatteryFull]] |
||
| batF |
| batF |
||
+ | | Only used in China to indicate battery status while device is off. |
||
|- |
|- |
||
| [[BatteryLow0]] |
| [[BatteryLow0]] |
||
| bat0 |
| bat0 |
||
− | | Empty battery |
+ | | Empty battery, used in the battery low screen |
|- |
|- |
||
| [[BatteryLow1]] |
| [[BatteryLow1]] |
||
| bat1 |
| bat1 |
||
− | | Red composed onto empty battery |
+ | | Red composed onto empty battery, used in the battery low screen |
|- |
|- |
||
| CFELoader |
| CFELoader |
||
Line 97: | Line 104: | ||
| [[Dali]] |
| [[Dali]] |
||
| dali |
| dali |
||
+ | | |
||
|- |
|- |
||
| [[DeviceTree]] |
| [[DeviceTree]] |
||
| dtre |
| dtre |
||
+ | | |
||
|- |
|- |
||
− | | Diags |
+ | | [[Diags]] |
| diag |
| diag |
||
+ | | |
||
|- |
|- |
||
| EngineeringTrustCache |
| EngineeringTrustCache |
||
| dtrs |
| dtrs |
||
+ | | |
||
|- |
|- |
||
| Environment Variables |
| Environment Variables |
||
| ienv |
| ienv |
||
+ | | |
||
|- |
|- |
||
| FDR Trust Object for AP |
| FDR Trust Object for AP |
||
| fdrt |
| fdrt |
||
+ | | |
||
|- |
|- |
||
| FDR Trust Object for SEP |
| FDR Trust Object for SEP |
||
| fdrs |
| fdrs |
||
+ | | |
||
|- |
|- |
||
| [[GlyphCharging]] |
| [[GlyphCharging]] |
||
| glyC |
| glyC |
||
+ | | Used in the battery low screen |
||
|- |
|- |
||
| [[GlyphPlugin]] |
| [[GlyphPlugin]] |
||
| glyP |
| glyP |
||
+ | | Used in the battery low screen |
||
|- |
|- |
||
| GPU Firmware |
| GPU Firmware |
||
| gfxf |
| gfxf |
||
+ | | |
||
|- |
|- |
||
| Homer |
| Homer |
||
| homr |
| homr |
||
+ | | |
||
|- |
|- |
||
| Hypervisor |
| Hypervisor |
||
| hypr |
| hypr |
||
+ | | |
||
|- |
|- |
||
| [[iBEC]] |
| [[iBEC]] |
||
| ibec |
| ibec |
||
+ | | |
||
|- |
|- |
||
| [[iBoot (Bootloader)|iBoot]] |
| [[iBoot (Bootloader)|iBoot]] |
||
| ibot |
| ibot |
||
+ | | |
||
|- |
|- |
||
| iBootTest |
| iBootTest |
||
| itst |
| itst |
||
+ | | |
||
|- |
|- |
||
| [[iBSS]] |
| [[iBSS]] |
||
| ibss |
| ibss |
||
+ | | |
||
|- |
|- |
||
| Input Device |
| Input Device |
||
| ipdf |
| ipdf |
||
+ | | |
||
|- |
|- |
||
| iSpoof(?) |
| iSpoof(?) |
||
| ispf |
| ispf |
||
+ | | |
||
|- |
|- |
||
| [[Kernelcache|KernelCache]] |
| [[Kernelcache|KernelCache]] |
||
| krnl |
| krnl |
||
+ | | |
||
|- |
|- |
||
| LeapHaptics |
| LeapHaptics |
||
| lphp |
| lphp |
||
+ | | |
||
|- |
|- |
||
| [[LLB]] |
| [[LLB]] |
||
| illb |
| illb |
||
+ | | |
||
|- |
|- |
||
| LoadableTrustCache |
| LoadableTrustCache |
||
| ltrs |
| ltrs |
||
+ | | |
||
|- |
|- |
||
| LowPowerWallet0 |
| LowPowerWallet0 |
||
| lpw0 |
| lpw0 |
||
+ | | Used in the battery low screen with power reserve enabled, allowing the iPhone to still use transit cards when the iPhone is off. |
||
|- |
|- |
||
| LowPowerWallet1 |
| LowPowerWallet1 |
||
| lpw1 |
| lpw1 |
||
+ | | Used in the battery low screen with power reserve enabled, allowing the iPhone to still use transit cards when the iPhone is off. |
||
|- |
|- |
||
| LowPowerWallet2 |
| LowPowerWallet2 |
||
| lpw2 |
| lpw2 |
||
+ | | Used in the battery low screen with power reserve enabled, allowing the iPhone to still use transit cards when the iPhone is off. |
||
|- |
|- |
||
| Mac EFI |
| Mac EFI |
||
| mefi |
| mefi |
||
+ | | Used only on T2 Macs |
||
|- |
|- |
||
| [[Maggie Firmware]] |
| [[Maggie Firmware]] |
||
| magg |
| magg |
||
+ | | |
||
|- |
|- |
||
| Multitouch Firmware |
| Multitouch Firmware |
||
| mtfw |
| mtfw |
||
+ | | |
||
|- |
|- |
||
| [[NeedService]] |
| [[NeedService]] |
||
| nsrv |
| nsrv |
||
+ | | |
||
|- |
|- |
||
| OSRamdisk |
| OSRamdisk |
||
| osrd |
| osrd |
||
+ | | |
||
|- |
|- |
||
| PEHammer |
| PEHammer |
||
Line 191: | Line 228: | ||
| PersonalizedDMG |
| PersonalizedDMG |
||
| pdmg |
| pdmg |
||
+ | | |
||
|- |
|- |
||
| PERTOS |
| PERTOS |
||
Line 202: | Line 240: | ||
| PMP |
| PMP |
||
| pmpf |
| pmpf |
||
+ | | |
||
|- |
|- |
||
| [[Restore Ramdisk|RestoreRamDisk]] |
| [[Restore Ramdisk|RestoreRamDisk]] |
||
| rdsk |
| rdsk |
||
+ | | |
||
|- |
|- |
||
| RBM |
| RBM |
||
Line 212: | Line 252: | ||
| [[RecoveryMode]] |
| [[RecoveryMode]] |
||
| recm |
| recm |
||
+ | | Used when device is in [[Recovery Mode]] |
||
|- |
|- |
||
| RestoreDeviceTree |
| RestoreDeviceTree |
||
| rdtr |
| rdtr |
||
+ | | |
||
|- |
|- |
||
| RestoreKernelCache |
| RestoreKernelCache |
||
| rkrn |
| rkrn |
||
+ | | |
||
|- |
|- |
||
| RestoreLogo |
| RestoreLogo |
||
| rlgo |
| rlgo |
||
+ | | Same as appleLogo |
||
|- |
|- |
||
| RestoreOS |
| RestoreOS |
||
| rosi |
| rosi |
||
+ | | |
||
|- |
|- |
||
| RestoreSEP |
| RestoreSEP |
||
Line 231: | Line 276: | ||
| RestoreTrustCache |
| RestoreTrustCache |
||
| rtsc |
| rtsc |
||
+ | | |
||
|- |
|- |
||
| RTP |
| RTP |
||
| rtpf |
| rtpf |
||
+ | | |
||
|- |
|- |
||
| SCE |
| SCE |
||
| scef |
| scef |
||
+ | | |
||
|- |
|- |
||
| [[Secure Enclave Processor|SEP]] |
| [[Secure Enclave Processor|SEP]] |
||
| sepi |
| sepi |
||
+ | | |
||
|- |
|- |
||
| SmartIOFirmware |
| SmartIOFirmware |
||
| siof |
| siof |
||
+ | | |
||
|- |
|- |
||
| StaticTrustCache |
| StaticTrustCache |
||
| trst |
| trst |
||
+ | | |
||
|- |
|- |
||
| System Locker |
| System Locker |
||
| lckr |
| lckr |
||
+ | | |
||
|- |
|- |
||
| TSYS Tester |
| TSYS Tester |
||
| tsys |
| tsys |
||
+ | | |
||
|- |
|- |
||
| WCHFirmwareUpdater |
| WCHFirmwareUpdater |
||
| wchf |
| wchf |
||
+ | | |
||
|- |
|- |
||
| Wireless Charging |
| Wireless Charging |
||
| wchf |
| wchf |
||
+ | | |
||
+ | |- |
||
+ | | [[Chime|Boot Chime]] |
||
+ | | aubt |
||
+ | | Raw audio file |
||
+ | |- |
||
+ | | [[Chime|Accessibility Chime]] |
||
+ | | auac |
||
+ | | Raw audio file |
||
+ | |- |
||
+ | | [[Chime|Attach Chime]] |
||
+ | | aupr |
||
+ | | Raw audio file |
||
+ | |- |
||
+ | | Aux Kernel Cache |
||
+ | | auxk |
||
+ | | |
||
+ | |- |
||
+ | | Base System Trust Cache |
||
+ | | bstc |
||
+ | | |
||
+ | |- |
||
+ | | x86 Base System Trust Cache |
||
+ | | xbtc |
||
+ | | |
||
+ | |- |
||
+ | | Base System Volume Root Hash |
||
+ | | csys |
||
+ | | |
||
+ | |- |
||
+ | | System Volume Root Hash |
||
+ | | isys |
||
+ | | |
||
+ | |- |
||
+ | | x86 System Volume Root hash |
||
+ | | xsys |
||
+ | | |
||
+ | |- |
||
+ | | System Volume Canonical Metadata |
||
+ | | msys |
||
+ | | Compressed gzip file |
||
+ | |- |
||
+ | | x86 System Volume Canonical Metadata |
||
+ | | xsys |
||
+ | | Compressed gzip file |
||
+ | |- |
||
+ | | Unknowns |
||
+ | | ibdt, ansf (ANS (Storage Controller) Firmware?), rans, ciof, dcpf, tmuf, rpmp, lpol, rtmu, rcio, rdcp, nsrv |
||
+ | | |
||
|- |
|- |
||
|} |
|} |
Latest revision as of 10:30, 21 July 2022
The TYPE tag is a 32-bit unsigned integer (uint32_t
) that, when viewed in little-endian format, states the type of firmware image the IMG2/IMG3/IMG4/IM4P file is. This value is passed to load_selected_image
and then image_load
early in the SecureROM boot process, where a non-NULL pointer check is performed.
Contents
Types
IMG2
Name | Type |
---|---|
AppleLogo | logo |
BatteryCharging | batC |
BatteryLow0 | batl |
BatteryLow1 | batL |
DeviceTree | dtre |
iBoot | ibot |
LLB | llbz |
NeedService | nsrv |
RecoveryMode | recm |
IMG3+
Name | Type | Notes |
---|---|---|
Any | 0x00
|
Represents any image type |
ACIBT | acib | ACI Bluetooth |
ACIWIFI | aciw | ACI WiFi |
Alamo | almo | |
ANE Firmware | anef | |
AOP | aopf | |
AppleLogo | logo | Used during boot |
Audio Codec Firmware | acfw | |
AVE Firmware | avef | |
BatteryCharging0 | chg0 | Charging indicator (bright), used in the battery low screen |
BatteryCharging1 | chg1 | Charging Indicator (dim), used in the battery low screen |
BatteryFull | batF | Only used in China to indicate battery status while device is off. |
BatteryLow0 | bat0 | Empty battery, used in the battery low screen |
BatteryLow1 | bat1 | Red composed onto empty battery, used in the battery low screen |
CFELoader | cfel | Silicon Validation [1] CFE loader |
Dali | dali | |
DeviceTree | dtre | |
Diags | diag | |
EngineeringTrustCache | dtrs | |
Environment Variables | ienv | |
FDR Trust Object for AP | fdrt | |
FDR Trust Object for SEP | fdrs | |
GlyphCharging | glyC | Used in the battery low screen |
GlyphPlugin | glyP | Used in the battery low screen |
GPU Firmware | gfxf | |
Homer | homr | |
Hypervisor | hypr | |
iBEC | ibec | |
iBoot | ibot | |
iBootTest | itst | |
iBSS | ibss | |
Input Device | ipdf | |
iSpoof(?) | ispf | |
KernelCache | krnl | |
LeapHaptics | lphp | |
LLB | illb | |
LoadableTrustCache | ltrs | |
LowPowerWallet0 | lpw0 | Used in the battery low screen with power reserve enabled, allowing the iPhone to still use transit cards when the iPhone is off. |
LowPowerWallet1 | lpw1 | Used in the battery low screen with power reserve enabled, allowing the iPhone to still use transit cards when the iPhone is off. |
LowPowerWallet2 | lpw2 | Used in the battery low screen with power reserve enabled, allowing the iPhone to still use transit cards when the iPhone is off. |
Mac EFI | mefi | Used only on T2 Macs |
Maggie Firmware | magg | |
Multitouch Firmware | mtfw | |
NeedService | nsrv | |
OSRamdisk | osrd | |
PEHammer | hmmr | PE Hammer test |
PersonalizedDMG | pdmg | |
PERTOS | pert | PE RTOS environment |
PHLEET | phlt | Silicon Validation PHLEET test |
PMP | pmpf | |
RestoreRamDisk | rdsk | |
RBM | rbmt | Silicon Validation RBM test |
RecoveryMode | recm | Used when device is in Recovery Mode |
RestoreDeviceTree | rdtr | |
RestoreKernelCache | rkrn | |
RestoreLogo | rlgo | Same as appleLogo |
RestoreOS | rosi | |
RestoreSEP | rsep | rsep is also present in sepboot |
RestoreTrustCache | rtsc | |
RTP | rtpf | |
SCE | scef | |
SEP | sepi | |
SmartIOFirmware | siof | |
StaticTrustCache | trst | |
System Locker | lckr | |
TSYS Tester | tsys | |
WCHFirmwareUpdater | wchf | |
Wireless Charging | wchf | |
Boot Chime | aubt | Raw audio file |
Accessibility Chime | auac | Raw audio file |
Attach Chime | aupr | Raw audio file |
Aux Kernel Cache | auxk | |
Base System Trust Cache | bstc | |
x86 Base System Trust Cache | xbtc | |
Base System Volume Root Hash | csys | |
System Volume Root Hash | isys | |
x86 System Volume Root hash | xsys | |
System Volume Canonical Metadata | msys | Compressed gzip file |
x86 System Volume Canonical Metadata | xsys | Compressed gzip file |
Unknowns | ibdt, ansf (ANS (Storage Controller) Firmware?), rans, ciof, dcpf, tmuf, rpmp, lpol, rtmu, rcio, rdcp, nsrv |
References
This firmware article is a "stub", an incomplete page. Please add more content to this article and remove this tag. |