Difference between revisions of "PROD"

From The iPhone Wiki
Jump to: navigation, search
m
(Fixed, see discussions for what it was)
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]].
+
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 [[Prototypes|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 (Bootloader)|iBoot]]'s <code>do_load_image(void);</code> routine that skips all tag checks if the '''PROD''' tag is not set.
 
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.

Revision as of 03:37, 7 December 2014

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.