PDA

View Full Version : Need help with ImgfsTools 2.1rc2


joestop
25th October 2008, 05:44 AM
Hi everyone,

I used ImgfsTools 2.1rc2 and NBHextract to successfully deconstruct a stock Sprint 6800 ROM image. I made my desired changes to the dump\OEM and dump\SYS folders (deleted items that I did not want) and am now trying to reconstruct the ROM.

The very first thing (as I understand) that you must do is to reconstruct the imgfs.bin file from the dump...

ImgfsFromDump.exe imgfs.bin imgfs-new.bin

It gets as far as...

ImgfsFromDump 2.1rc2
Using compression type 'XPR'!
Sector size is 0x800
Processing "OEM" as module

It runs for about 10-15 seconds then the irritating Windows "Error Report" screen that lets me know the application has crashed.

I've tried this on two different XP machines and on a Vista machine. Same thing... crashes after about 10-15 seconds.

I played around with PPCKitchen and DCD's kitchen, both successfully, and I know DCD uses ImgfsTools. The readme file in ImgfsTools is pretty well written and I followed them to the letter but apparently there's something I'm not doing right.

Oh, and I'll add that I tried to reconstruct the un-altered ROM and had the same problem... so I'm kind of ruling out that I removed something that I should not have.

TIA!
Joe

joestop
25th October 2008, 07:08 AM
Ok, so I think I figured it out...

In the readme file, it recommends that you use Bepe's Packagetool, which I did. I apparently takes the contents of the dump folder and re-organizes it packages located in dump\OEM and dump\SYS. This is great because if I want to remove a package, I don't have to search the raw dump folder for GUID's and correlating files.

Problems is, ImgfsFromDump doesn't like the new directory layout. It appears to fail when it hits any folder with a sub-folder in it (which is what Packagetool does). So it appears I have to re-organize back to the orginal dump directory format.

Is there a tool that will do this? Been searching but no luck.

TIA!
Joe

joestop
25th October 2008, 09:18 AM
I figured it out... needed to run BuidOS.exe and some other things.