Difference between revisions of "Extracting firmware"

From freemyipod.org
Jump to: navigation, search
m (Reverted edits by Owixyze (talk) to last revision by User890104)
Line 1: Line 1:
----
 
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
 
=[http://abaviteha.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=
 
----
 
=[http://abaviteha.co.cc CLICK HERE]=
 
----
 
</div>
 
 
The tool for extracting iPod firmware is called extract2g. Extract2g can be found on the freemyipod SVN at  
 
The tool for extracting iPod firmware is called extract2g. Extract2g can be found on the freemyipod SVN at  
 
http://svn.freemyipod.org/tools/extract2g/. The Windows and the Linux versions can be built with a simple make command. Extract2g supports all of the Nanos and the 5G and 6G iPods (haven't tested any others). If the output says something similar to "Extracting from osos.fw," you should be fine.
 
http://svn.freemyipod.org/tools/extract2g/. The Windows and the Linux versions can be built with a simple make command. Extract2g supports all of the Nanos and the 5G and 6G iPods (haven't tested any others). If the output says something similar to "Extracting from osos.fw," you should be fine.
  
 
To obtain a list of availible files, type in:
 
To obtain a list of availible files, type in:
&lt;pre>extract2g -l dump.img&lt;/pre>
+
<pre>extract2g -l dump.img</pre>
 
Please note that "dump.img" can be replaced with whatever your dump file is named. To actually extract the firmwares, type in:
 
Please note that "dump.img" can be replaced with whatever your dump file is named. To actually extract the firmwares, type in:
&lt;pre>extract2g -A dump.img&lt;/pre>
+
<pre>extract2g -A dump.img</pre>
 
You should now have 3 files:
 
You should now have 3 files:
 
*osos.fw
 
*osos.fw
Line 22: Line 14:
  
 
To list the files, type in:
 
To list the files, type in:
&lt;pre>extract2g -l -4 dump.img&lt;/pre>
+
<pre>extract2g -l -4 dump.img</pre>
 
To extract all files, type in:
 
To extract all files, type in:
&lt;pre>extract2g -A -4 dump.img&lt;/pre>
+
<pre>extract2g -A -4 dump.img</pre>
 
You should now have 9 files:
 
You should now have 9 files:
 
*appl.fw
 
*appl.fw
Line 36: Line 28:
 
*rsrc.fw
 
*rsrc.fw
 
These are your extracted firmware images. To learn more about these, please visit the [[Firmware]] page. If you need more information about using extract2g, type in:
 
These are your extracted firmware images. To learn more about these, please visit the [[Firmware]] page. If you need more information about using extract2g, type in:
&lt;pre>extract2g - -help&lt;/pre>
+
<pre>extract2g - -help</pre>
 
===Removing header===
 
===Removing header===
 
Also if you are using the osos.fw outputted by extract2g in iLoader you need to remove the 2 KiB header from it:
 
Also if you are using the osos.fw outputted by extract2g in iLoader you need to remove the 2 KiB header from it:
&lt;pre>dd if=osos.fw of=osos.out bs=2048 skip=1&lt;/pre>
+
<pre>dd if=osos.fw of=osos.out bs=2048 skip=1</pre>
 
Or alternatively, under Windows open osos.fw in HxD and select 'select block' from the edit menu, select from 0x0 to 0x7FF, then delete this region and save.
 
Or alternatively, under Windows open osos.fw in HxD and select 'select block' from the edit menu, select from 0x0 to 0x7FF, then delete this region and save.
  

Revision as of 02:15, 24 November 2010

The tool for extracting iPod firmware is called extract2g. Extract2g can be found on the freemyipod SVN at http://svn.freemyipod.org/tools/extract2g/. The Windows and the Linux versions can be built with a simple make command. Extract2g supports all of the Nanos and the 5G and 6G iPods (haven't tested any others). If the output says something similar to "Extracting from osos.fw," you should be fine.

To obtain a list of availible files, type in:

extract2g -l dump.img

Please note that "dump.img" can be replaced with whatever your dump file is named. To actually extract the firmwares, type in:

extract2g -A dump.img

You should now have 3 files:

  • osos.fw
  • aupd.fw
  • rsrc.fw

On Nano 4G, you should use the -4 or --4g-compat option in order to dump the correct data from the firmware. This option is considered as a workaround, because the Nano 4G firmwares are detected as Nano 3G's, but the offset is different.

To list the files, type in:

extract2g -l -4 dump.img

To extract all files, type in:

extract2g -A -4 dump.img

You should now have 9 files:

  • appl.fw
  • bdhw.fw
  • bdsw.fw
  • chrg.fw
  • diag.fw
  • disk.fw
  • lbat.fw
  • osos.fw
  • rsrc.fw

These are your extracted firmware images. To learn more about these, please visit the Firmware page. If you need more information about using extract2g, type in:

extract2g - -help

Removing header

Also if you are using the osos.fw outputted by extract2g in iLoader you need to remove the 2 KiB header from it:

dd if=osos.fw of=osos.out bs=2048 skip=1

Or alternatively, under Windows open osos.fw in HxD and select 'select block' from the edit menu, select from 0x0 to 0x7FF, then delete this region and save.

Then put osos.out into /iLoader/osos.fw

Helpful pages

http://home.gna.org/linux4nano/download/crypto_synth-1.0.pdf

http://www.ipodlinux.org/wiki/Firmware