*Exclusive* XIP Extractor v1.2
This is a small tool that will extract the XIP from a HTC payload nb file. This is based of no2chem’s method. As of right now i have only tested it on carrier roms so please leave feedback and bugs.
Quote:
Code:
XIP Extractor v1.2 Requires .net v2 Available at the bottom of this post, and in my folder on the ftp Version 1.2 r1 ------------- Fixed : Xipport loading bug Version 1.2 ----------- Added : support for different xipport location Changed : 05_OS.nb.payload is now the input file Optimized : Fixed a double conversion to int Version 1.1 ----------- Added : -x launches xipport (if located in the same folder) after extracting XIP Changed : File name is now XIPExtract.exe for cli convenience Fixed : now -2 is default Version 1.0 ----------- Initial release -f specifies the payload file -o specifies the dump output file -1 dumps XIP1 -2 dumps XIP2 Future Versions --------------- * merge GetStartLoc.exe with the xipextract.exe Last edited by zeurx; 12-01-2007 at 12:13 PM. Reason: New Version! |
This post has been thanked 1 times. |
|
||||
its the second file, which is viewimgfs.c but stripted to just output the start location. and yeah i found when i was going to use it i renamed it :$. anyways a new version with the support to launch xipport when finished will be uploaded very very soon
|
|
||||
Nice, this is similar to the method I've been using. If it reliably does what we do by hand with a hex editor then it saves a few minutes
![]()
__________________
www.ppckitchen.org
Before criticizing someone, first walk a mile in his shoes... Then when you criticize him, you'll be a mile away and have his shoes. |
|
||||
just wondering what method do you use, i may incorporate it if its much different
|
|
||||
Quote:
Open Winhex or xvi32 Most devices have 2 XIP sections: XIP1 & XIP2. Search for the following hex Code:
FE 03 00 EA 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Code:
FE 03 00 EA 00 00 00 00 00 00 00 00 00 00 00 00 00 00 The rom structure looks like this: |---Header, bootloader, etc---|---XIP1---|---XIP2---|---IMGFS---|... |
|
||||
I take it that the start of the imgfs is the same for every htc rom? and is this the way imgfstonb uses to find the start?
|
|
||||
as for the start location of the imgfs, do we need to take the F8 AC 2C 9D offset and - it by 0x40000? doing this will get you the same as imgfstonb. or dose these FF need to goto the XIP2
|
|
||||
Quote:
Quote:
|
|
||||
i have been cross referencing it and the only iv been getting the same numbers is by - 0x40000 to the offset, which puts me into padding FF's is there really that much padding in the XIP2, oh and i find like 3 instenses of F8 AC 2C 9D
|
![]() |
|
|
|