Difference between revisions of "PROD"

From The iPhone Wiki
Jump to: navigation, search
m
Line 1: Line 1:
  +
The '''PROD''' ('''PRODuction''') tag is a bit value that denotes if a firmware is for production devices or not. When set to <code>true</code>, the firmware is designated to be installed onto production devices. When set to <code>false</code>, the firmware is typically incomplete and designed for [[User:sonny722|internal devices]].
Denotes if the firmware image should be used on a production mode device or not. This is set to 1 on personalized + release firmware images (complete images that have ECID included and such), while set to 0 on yet-to-be-personalized images. This is probably to prevent production devices from running them, since Apple wants iTunes to phone home for every restore, but at the same time will not affect their debug devices, because there is a check in iBoot's do_load_image(); routine that will skip all tag checks if it is running on a debug device.
 
   
  +
This is most likely to prevent production devices from running internal firmwares as Apple wants [[iTunes]] to "phone home" for every restore, but at the same time, not affect their internal debug devices. This is acomplished through [[iBoot (Bootloader)|iBoot]]'s <code>do_load_image(void);</code> routine that skips all tag checks if the '''PROD''' tag is not set.
  +
  +
== C-pseudocode for <code>do_load_image()</code> ==
  +
if (flags.prod)
  +
do_load_image();
  +
  +
{{stub|firmware}}
 
[[Category:Firmware Tags]]
 
[[Category:Firmware Tags]]

Revision as of 21:44, 24 December 2012

The PROD (PRODuction) tag is a bit value that denotes if a firmware is for production devices or not. When set to true, the firmware is designated to be installed onto production devices. When set to false, the firmware is typically incomplete and designed for internal devices.

This is most likely to prevent production devices from running internal firmwares as Apple wants iTunes to "phone home" for every restore, but at the same time, not affect their internal debug devices. This is acomplished through iBoot's do_load_image(void); routine that skips all tag checks if the PROD tag is not set.

C-pseudocode for do_load_image()

if (flags.prod)
    do_load_image();
Tango Utilities-terminal.png This firmware article is a "stub", an incomplete page. Please add more content to this article and remove this tag.