Difference between revisions of "TYPE"

From The iPhone Wiki
Jump to: navigation, search
m (upon checking, it actually is (just not for the 8900 wrapper))
Line 2: Line 2:
   
 
== Types ==
 
== Types ==
  +
=== IMG2 ===
  +
* [[AppleLogo]]: logo (0x6C6F676F)
  +
* [[BatteryCharging]]: batC (0x62617443)
  +
* [[BatteryLow0]]: batl (0x6261744C)
  +
* [[BatteryLow1]]: batL (0x6261746C)
  +
* [[DeviceTree]]: dtre (0x64747265)
  +
* [[iBoot (Bootloader)|iBoot]]: ibot (0x69626F74)
  +
* [[LLB]]: llbz (0x6C6C627A)
  +
* [[NeedService]]: nsrv (0x6E737276)
  +
* [[RecoveryMode]]: recm (0x7265636D)
  +
  +
=== IMG3+ ===
 
* [[Ramdisk]]: rdsk (0x7264736B)
 
* [[Ramdisk]]: rdsk (0x7264736B)
 
* [[AppleLogo]]: logo (0x6C6F676F)
 
* [[AppleLogo]]: logo (0x6C6F676F)

Revision as of 00:00, 8 October 2015

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. Is is compared with the second parameter of image_load (register r1[1]). If it does not match, image_load will fail and the image will not be loaded. If 0 is passed in r1, then the check is skipped.

Types

IMG2

IMG3+

References

  1. Apple on ARM __fastcall
Tango Utilities-terminal.png This firmware article is a "stub", an incomplete page. Please add more content to this article and remove this tag.