1. Unpack the system partition from an HTC ROM
What you need:
Download and install all the tools (Unyaffs it's a prompt executable, so it isn't installable)
Now you need an HTC ROM, download one at your pleasure from Conflipper
's site: http://www.shipped-roms.com/shipped/
Once you have downloaded it, right click on the ROM executable and select Extract with UniExtract in the subfolder
(v.fig1), select Isxunpack extraction
and then clik on the OK
button (v. fig2)
Now in the subfolder you have the various files which make up the executable, including data1.cab
which is the file that we are more interested in (do not delete other files).
, go to File -> Open Archive File...
and browse until select the data1.cab
. You should see something like this:
Extract from the cab only the ROM.zip
and open this file with any archives extraction software (eg WinRAR or the same ZipScan). Inside you have various .img files which make up the ROM, but for the purposes of this guide, we need only the system.img
Copy in a blank folder this file, unyaffs.exe
(you'll find it in C:\Cygwin\Bin
Now open Cygwin
from Start -> All Programs to ensure that its functions are integrated to the Windows Prompt and close it.
Open the Windows Prompt (Start -> All Programs -> Accessories) and position yourself in the folder containing the files using the cd
command or alternatively install this .reg
which allow you to open the Windows Prompt in the chosen folder by command in the context menu (Right click on the folder -> Command Prompt Here).
Now the last thing that you have to do is to give the extraction command: unyaffs system.img
Et voilą, now you have the folders containing the extracted system.