![]() |
*Exclusive* XIP Extractor v1.2
1 Attachment(s)
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 |
Quote:
Also, how are you finding the IMGFS start region? A note as well, you should rename XIP Extractor to XIPExtractor, command line tools don't work well with spaces. =p Otherwise good work! |
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 :) Any time savings is good.
|
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
|
All times are GMT -4. The time now is 05:09 PM. |
Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com