• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

WM6 Cooking Lessons ;) ?

Search This thread

rvbcrs

Retired Moderator
Jan 28, 2005
271
0
Zutphen
una.ramonvanbruggen.nl
Hi!

I was wondering if the WM5 Rom editing tools still work with a WM6 Rom, I was trying to add some dll's to the WM6 rom to make it work on my Prophet (Sound dll is wrong). I first umpacked the rom with prepare_imgfs.exe then viewimgfs.exe I replaced the files in the dump directory and then tried to repacked with buildimgfs.exe but it displays one line of junk on the commandline and that's it. So the questions are:

1. Can the Rom editing tools be used on a WM6 Rom
2. What orther options are there to change files in a not flashed .nba file?

Thanks,

Ramon
 

risidoro

Senior Member
Sep 9, 2005
509
2
Italy
www.webalice.it
extract OS.nb from nk.nbf using: typho5.exe -x nk.nbf

prepare_imgfs.exe OS.nb -nosplit

viewimgfs.exe imgfs_raw_data.bin

...modify "dump" directory as you need...

BuildImgfs.exe

make_imgfs.exe OS.nb -nosplit

-----------------------

replace OS.nb with the name of the OS part.
do not forget the -nosplit option in prepare_imgfs and in make_imgfs.

bye
 

Attachments

  • typho5.zip
    624.5 KB · Views: 578

_Nomad_

Senior Member
Nov 16, 2006
327
5
www.oquinena.com
Just to clarify, I'm using
Code:
typhoonnbfdecode to get 80040000-OS.nb
prepare_imgfs 80040000-OS.nb -nosplit
viewimgfs imgfs_raw_data.bin

make the changes without removing any of the files created in the dumping process then

Code:
buildimgfs
make_imgfs 80040000-OS.nb -nosplit

after that use nb2nbf_tornado to make a new nk.nbf
 

rvbcrs

Retired Moderator
Jan 28, 2005
271
0
Zutphen
una.ramonvanbruggen.nl
Just to clarify, I'm using
Code:
typhoonnbfdecode to get 80040000-OS.nb
prepare_imgfs 80040000-OS.nb -nosplit
viewimgfs imgfs_raw_data.bin

make the changes without removing any of the files created in the dumping process then

Code:
buildimgfs
make_imgfs 80040000-OS.nb -nosplit

after that use nb2nbf_tornado to make a new nk.nbf

I'm doing the exact same thing, but at this step:

make_imgfs 80040000-OS.nb -nosplit

It goes wrong it fails without an error message..
 

vippie

Senior Member
Nov 14, 2006
576
8
Just learning a bit of ROM-cooking atm. Got a little problem, hope someone can help me get further:

When I add files to the "dump" dir and try running "BuildImgfs.exe" it lists the files nicely, but "imgfs_raw_data.bin" doesn't change date or time, nor does it change size.

What am I doing wrong?
 

risidoro

Senior Member
Sep 9, 2005
509
2
Italy
www.webalice.it
Just learning a bit of ROM-cooking atm. Got a little problem, hope someone can help me get further:

When I add files to the "dump" dir and try running "BuildImgfs.exe" it lists the files nicely, but "imgfs_raw_data.bin" doesn't change date or time, nor does it change size.

What am I doing wrong?

It's NORMAL, go on. I don't know why the date doesn't change, i was confused too the first time i cooked a rom, but i can say it's completely normal.
 

ClassicalDonkey

Senior Member
May 5, 2006
710
8
40
Leeds
extract OS.nb from nk.nbf using: typho5.exe -x nk.nbf

prepare_imgfs.exe OS.nb -nosplit

viewimgfs.exe imgfs_raw_data.bin

...modify "dump" directory as you need...

BuildImgfs.exe

make_imgfs.exe OS.nb -nosplit

-----------------------

replace OS.nb with the name of the OS part.
do not forget the -nosplit option in prepare_imgfs and in make_imgfs.

bye

Thank you you are a star, i have it working now!!! the auto thing that was made does not work!!!
 

rvbcrs

Retired Moderator
Jan 28, 2005
271
0
Zutphen
una.ramonvanbruggen.nl
the autothing?!? Where is it? I've never heard of it!

BTW: i'm happy you succeeded in cooking your first(?) rom! Happy cooking! :)

bye

I forgot to thank you too risidoro ;) You really helped me out here! I suceded to cook my first rom hehehe.. nothing special some extra files.. but still hehe.. Now I like to know how I can change registry settings, do I have to change them from the extended_rom or is there a way to do it in the ROM?

Thanks again to all who helped out!
 

baarod

Senior Member
Aug 3, 2006
131
0
I forgot to thank you too risidoro ;) You really helped me out here! I suceded to cook my first rom hehehe.. nothing special some extra files.. but still hehe.. Now I like to know how I can change registry settings, do I have to change them from the extended_rom or is there a way to do it in the ROM?

Thanks again to all who helped out!

Now you need to learn how to create cabs and autorun them from ext_rom. That's what does all that AFAIK. Chefs -- is there any other way? Can you modify the seed hives directly?
 

cellneuron

Senior Member
Nov 6, 2006
418
34
I would like to know how to modify the hives too. I saw a tutorial somewhere, but I can't find it now.