PDA

View Full Version : prepare_imgfs for ipaq HW69xx


b0ris747
31st August 2007, 03:57 AM
Hi, after some research (German and Spanish ROM from HP, and dumped ROM from spgi), I present you a modest modification of prepare_imgfs which works with the ROMs is it supposed to.

Of course, the dumped ROM from spgi doesn't need it to be correctly extracted since it's a dump (and dumps are not encoded!)

to use it:
prepare_imgfs.exe CEOS.nbf -i (or -ipaqHW69xx)
and then to extract the content (a dump directory will be created):
viewimgfs.exe imgfs_raw_data.bin

Modifications "should" work but I cannot test it (I just did it for pleasure).

Of course: thanks itsme, mamaich and all gurus who share source code.

Modifications: rate=0x10089; step=0x10000; skip=0x89;

b0ris747
31st August 2007, 06:31 PM
USE IT AT YOUR OWN RISK...

make_imgfs.exe YOURROMFILE.nba -i (or -ipaqHW69xx)

Should work (tested by comparing a ROM with a decrypted and re-encrypted ROM => no change).

As addfile/delfile/buildimgfs works only in nosplit mode, the imgfs_removed_data.bin file could be invalid, so keep a safe backup of these data (just in case) and restore it before using make_imgfs. That way, the imgfs_removed_data.bin file will remain as valid as possible (if it's a CRC or sth like that... it could not work).

Try to make a very small modification (like a background image) to see if it works before cooking.

Good luck!

drahtman
2nd September 2007, 03:54 PM
Try to explain with more details.

Drahtman

b0ris747
2nd September 2007, 04:09 PM
Try to explain with more details.

Drahtman

I don't even have a 6915!

All I know is:
-nobody made it for 6915
-based on a correct imgfs_raw_data.bin + correct imgfs_removed_data.bin + correct ROM (for bootloader and headers), you obtain a valid ROM

now you have to find how to create a correct imgfs_raw_data.bin and a correct imgfs_removed_data.bin. More informations are available on ROM kitchen making guides (all along the threads) and one of the already found methods may work (with small modifications)

I tried to make a buildimgfs, it should work but some things in the source code are obscure to me, and doesn't permit me to validate the tool...

But you can find it by yourself... I made those tools without having the device... you have the device, you could try WITH MASSIVE PRECAUTIONS! read all ROM problem threads to be sure you cleared every possible problems! Reading is the only thing important in such operations... Then try to create a ROM, see if this ROM can be dumped as an official one...

You need to try to use USB Monitor during an upgrade to see if more informations are needed (if we could be sure imgfs_removed_data.bin is useless, it would make the thing easier)

Read, Read, Read!

Many others problems (CID Unlock) seem to have be done, but nobody shares the how to, same for ROM Dump from device...

It's just sad the 6915 community doesn't try to solve their problems by themselves... I mean the community as an ensemble...

mdelleman
5th June 2008, 09:00 AM
bumpity bump

cdguider
7th June 2008, 09:40 PM
I have did this about a 8 months ago, and got some error, my data cable is broke, so once my new one gets in I will post the results

mdelleman
7th June 2008, 11:27 PM
This doesnt extract the ROM right? This lets us play with it after? We still need to find a way to extract the ROM without errors.

cdguider
7th June 2008, 11:35 PM
Please man, If you want me to port a rom, I still need this with the errors,

This doesnt extract the ROM right? This lets us play with it after? We still need to find a way to extract the ROM without errors.

mdelleman
7th June 2008, 11:37 PM
I have backed up everything I can with awizard. It is posted in your WM6 port thread pg 3. Awizard won't let me backup the radio but I have a copy of the OS. I'm not sure how we can get all of it, no one has had any luck getting a complete backup.

cdguider
7th June 2008, 11:44 PM
I have backed up everything I can with awizard. It is posted in your WM6 port thread pg 3. Awizard won't let me backup the radio but I have a copy of the OS. I'm not sure how we can get all of it, no one has had any luck getting a complete backup.

Try this one also, post that, in the meantime I will work with your awizard os backup.