How to add or replace files in NBH file ? - Windows Mobile Software Development

Hi,
can someone explain to me how I can add or replace a file in a nbh file so I can flash it to my device ?
I am not a cook, but only want to customize existing roms to my own needs so I can install my cabs during install and need for instance to add the sdconfig.txt
I did several searches, but did not found what I was looking for.
So I hope someone can guide me here with a little help.

I was looking for the same but peoples told me its not so easy like we think because 1st you need to Dump the ROM extract it then edit it and make it again in nbh pack to be flashed also mostly the coocked rom`s are locked this mean its not posible to edit them.

tsalta said:
I was looking for the same but peoples told me its not so easy like we think because 1st you need to Dump the ROM extract it then edit it and make it again in nbh pack to be flashed also mostly the coocked rom`s are locked this mean its not posible to edit them.
Click to expand...
Click to collapse
There is an app around that lets you do exactly what you're looking to do. I don't remember what it's called but it definitely does exist. Keep looking and if I find it I'll post a link here.
EDIT::: Here it is - http://forum.xda-developers.com/attachment.php?attachmentid=159179&d=1235143207

Related

silly quick

yea i got a quick question, as i have noticed some rom cookers out there ptu there roms in an exe file. i am wanting to kno, how to decompile the exe so that i may get the ruu wrapper and nbh file, i cant find the right tool, i just want to customize the roms a lil more for myself, can anyone help me ?
alleyezondisromo said:
yea i got a quick question, as i have noticed some rom cookers out there ptu there roms in an exe file. i am wanting to kno, how to decompile the exe so that i may get the ruu wrapper and nbh file, i cant find the right tool, i just want to customize the roms a lil more for myself, can anyone help me ?
Click to expand...
Click to collapse
winrar......
thank u custel
IZarc is free and works as well.

Ripping .cabs from other ROMS

I have searched for the last 2 hours and cannot come up with a good answer.
I have a collection of various ROMS that people have cooked up, for instance Blinky and others. There are some items I would like to grab from these ROM sets and either make my own or install a ROM and install these other file individually from the .cab files.
I guess the question is how would I go about tearing apart the .nbh file so I could get what I wanted from it?
ThanX in advance.
Use ROMDonalds kitchen to extract whatever you want out a ROM. Use the signature link before to search for the Kitchen!

Samsung i780 kitchen - release 0.1 BETA

DEPRECATED VERSION: USE 0.2 BETA INSTEAD
PLEASE NOTICE THAT THIS KITCHEN IS A VERY EARLY BETA AS IT HAS NOT BEEN DEEPLY TESTED
*** USE IT AT YOUR OWN RISK! I ASSUME NO RESPONSIBILITY! ***
Hi guys,
after many days of testing I'm releasing my kitchen for i780.
It is very basic: no gui, only batch Windows scripts.
What you can do with this kitchen:
A) Convert your Part02.raw dumped rom to bin flashable PDA rom
B) Create a dump folder to cook your own rom and recreate a bin flashable PDA file.
Please notice that there's no tool included to edit, add or delete modules and files from rom dump.
You must use one of the tools available here in forum to do this or do this by hand.
Donwload the zip file and extract everything.
READ CAREFULLY THE README FILE IN THE ZIP ARCHIVE
This file explains how the procedures work and what you need.
PLEASE TEST THIS KITCHEN AND REPORT YOUR RESULTS
I thank chaimd for his bintonb0 tool, tadzio for his tools and Juggler for conv3 sourcecode.
I also thank Topogigi for his original procedure.
I modified conv3 tool to make it work with i780 rom files and made split and merge tools.
If you want to try this kitchen, I thank you!
[FONT=&quot]If any guru in the forum wants to make a gui for this kitchen or insert tools for module, file and registry editing (like the ones you can find in other kitchens), it would be appreciated.[/FONT]
Issue 1: it seems there's a problem with Part02.raw conversion. It screws up connection settings. Problem is being investigated.
[Partial solution]: it seems that this problem is due to both size and language: I used an English rom to convert an Italian Part02.raw.
Using an Italian rom seems to solve the problem. But you must check the new rom size: if it's too big it gets cut down and it doesn't work.
Amazing Thank you very much!
inertiax3 said:
Amazing Thank you very much!
Click to expand...
Click to collapse
wheres the download link ?
Everything's online now!
Have a good time and let me know!
Thank you very much
And is it possible to use it for create a .bin flashable phone rom ?
sorry for a noobie question.
with this kitchen, can i cook a wm6.1 by replace all the wm6 files with wm6.1 files?
Thanks famucs i have tried your procedure.
It's all ok but i nedd to split i780_XIHA7_Rev12.img in tree part loader, pda and phone.
Can You help me?
sorry for my terrible english.
tatoone said:
Thanks famucs i have tried your procedure.
It's all ok but i nedd to split i780_XIHA7_Rev12.img in tree part loader, pda and phone.
Can You help me?
sorry for my terrible english.
Click to expand...
Click to collapse
thats easy .. heres how to do it
fire up mirage on ur pc and chose the eboot+phone+pda option and select ur file ..
then dont connect the samsung to pc.. instead use file explorer on pc nd go to c and copy the three files to some other folder.. cancel the mirage on pc then
ruffruff said:
sorry for a noobie question.
with this kitchen, can i cook a wm6.1 by replace all the wm6 files with wm6.1 files?
Click to expand...
Click to collapse
i was thinking the same thing.. ? if you try let me know too !
zohaer21 said:
i was thinking the same thing.. ? if you try let me know too !
Click to expand...
Click to collapse
I love your footer about the 8502 being a mistake. I also own one. what a dissappointing and relatively useless machine it is, and I can't find a buyer...
I have tried with dump of HC1 italian but I have more problems.
The more little is the desappear of office folder but most important is the deseppear of remote connection e wifi connection.
tatoone said:
I have tried with dump of HC1 italian but I have more problems.
The more little is the desappear of office folder but most important is the deseppear of remote connection e wifi connection.
Click to expand...
Click to collapse
That's interesting:
can you tell me exactly what rom did you use as a base?
ruffruff said:
sorry for a noobie question.
with this kitchen, can i cook a wm6.1 by replace all the wm6 files with wm6.1 files?
Click to expand...
Click to collapse
Don't think you can.
In another thread, people were talking about a xip part needed to switch from wm6 to wm6.1
famusc said:
That's interesting:
can you tell me exactly what rom did you use as a base?
Click to expand...
Click to collapse
I have the the loader and the phone of i780DXHC4 english.
I have processed a dump of italian rom version i780XIHC1 with yor software.
Peraphs the dump of italian rom is broken??
tatoone said:
I have the the loader and the phone of i780DXHC4 english.
I have processed a dump of italian rom version i780XIHC1 with yor software.
Peraphs the dump of italian rom is broken??
Click to expand...
Click to collapse
No, I think there's a problem with payload update.
Thanks i will try it
where to get the part02.raw from ? i wanna work with dh4 rom ?
thanks
Convert Part02.raw to .bin
Hello famusc,
Thanks for your effort to create a kitchen for the i780! I wanted to create a backup of my Dutch i780-rom (PDA: i780XKHA3) and I managed to dump part00.raw, part01.raw and part02.raw.
Now I wanted to convert part02.raw to a flashable .bin file so I could reflash this Dutch rom if I want to go back to factory defaults, but the warnings make me a bit scary to test the .bin I created, so I wanted to ask some questions first:
-The .bin has to be as large as possible, I have the i780pda_WWE_test2.bin which is 78.512 kB and my Part02.raw is 79.104 kB. The .bin I get when the conversion is finished has a size of 78.512 kB. Does this mean some data of my original dump is lost? (I kinda understand your conversion tool replaces the part02.raw file of a flashable .bin rom with another part02.raw which in my case is the Dutch part., but is all the information still in it?)
-My second question is if it is a problem if I used an English .bin with a Dutch .raw?
If you could please anwer my questions I would be very happy, because I have seen some requests for Dutch i780 roms and it might come in handy for other languages, because in this rom Windows Live Messenger is included (and obviously working). So maybe someone can extract it.
If you are interested I could upload the .raw files i have dumped and maybe you or someone else can create a flashable Dutch rom from it (or extract WLM if it is needed).
Grtz,
Manchurian
Manchurian said:
Hello famusc,
Thanks for your effort to create a kitchen for the i780! I wanted to create a backup of my Dutch i780-rom (PDA: i780XKHA3) and I managed to dump part00.raw, part01.raw and part02.raw.
Now I wanted to convert part02.raw to a flashable .bin file so I could reflash this Dutch rom if I want to go back to factory defaults, but the warnings make me a bit scary to test the .bin I created, so I wanted to ask some questions first:
-The .bin has to be as large as possible, I have the i780pda_WWE_test2.bin which is 78.512 kB and my Part02.raw is 79.104 kB. The .bin I get when the conversion is finished has a size of 78.512 kB. Does this mean some data of my original dump is lost? (I kinda understand your conversion tool replaces the part02.raw file of a flashable .bin rom with another part02.raw which in my case is the Dutch part., but is all the information still in it?)
-My second question is if it is a problem if I used an English .bin with a Dutch .raw?
If you could please anwer my questions I would be very happy, because I have seen some requests for Dutch i780 roms and it might come in handy for other languages, because in this rom Windows Live Messenger is included (and obviously working). So maybe someone can extract it.
If you are interested I could upload the .raw files i have dumped and maybe you or someone else can create a flashable Dutch rom from it (or extract WLM if it is needed).
Grtz,
Manchurian
Click to expand...
Click to collapse
Thank you for using my kitchen.
First of all I ask you to use version 0.2 BETA: it contains some important corrections in conv3 tool.
Now:
1) Part02.raw is usually bigger than required. So we are interested into its shrinked size. I think that your 78512K bin file should be good.
In 0.2 kitchen it is explained how to check bin size is enough for new data.
2) It's not clear whether you'll have problem with a bin of a different language than raw file. As for my experience, I always got connection problem when I used a different language bin. You can try and then have a look at connection settings and at wifi Internet-Work settings. If you find no connection defined or you can't connect through wifi, than it doesn't work.
You should use a Dutch bin to be sure you'll have no problem.
Hope I helped you,
Bye
Hi, Thank You for your I780 Kitchen ,
this is first time i build a rom,
may i know that where can i found the file
part02.raw?
Thank You for reply =)

I780 important please...

hi can someone help to finf jump adresses of bintonb0.txt to fill input.txt? i am preparing 12mb pp size rom. when i finish it i will release it.
thanks
View attachment i780bintonb0.zip
I'd made a tool to automate this. Attached here....i think ironeagle is using this to generate input.txt using this for his roms, so should work
cheers
dreamtheater39 said:
I'd made a tool to automate this. Attached here....i think ironeagle is using this to generate input.txt using this for his roms, so should work
cheers
Click to expand...
Click to collapse
woooow thanks bro i will use it now!!
editing registry
hi dreamtheather93;
my 12mb pp size untouched pdxbi1 rom is ready i will upload here soon.however i wanna learn how can i delete unnecesarry programs from rom like cnn or rss reader? how can i delete registry of these programs from rom? and last one, i knwo cab extractor and it produces everything when u extract cab file like nitflashfiles.txt, option.xml, .dsm and .rgu for the kitchen ROM. but how can i add these settings to rom? i know too much questions but i like rom cooking and i wanna learn it
once you've dumped your rom and segregated them into OEM/SYS folders, you'll see most of your packages in your OEM folder, sometimes some cooks put them into SYS folders too!
So, find the proggie, and just get rid of the whole folder with the app.
To edit registry, open the corresponding .rgu file in the folder in notepad and edit it.
I use PackageCreator2.7 by ervius to create packages, pretty nice and simple to use...search for it!
To build the OS/rom, I use PkgToolsBuildOS-5.3
I'm still stuck at a problem myself and i haven't found the time yet to get it working....
good luck m8, looking forward to your roms! cheers
dreamtheater39 said:
once you've dumped your rom and segregated them into OEM/SYS folders, you'll see most of your packages in your OEM folder, sometimes some cooks put them into SYS folders too!
So, find the proggie, and just get rid of the whole folder with the app.
To edit registry, open the corresponding .rgu file in the folder in notepad and edit it.
I use PackageCreator2.7 by ervius to create packages, pretty nice and simple to use...search for it!
To build the OS/rom, I use PkgToolsBuildOS-5.3
I'm still stuck at a problem myself and i haven't found the time yet to get it working....
good luck m8, looking forward to your roms! cheers
Click to expand...
Click to collapse
thanks a lot buddy i will try i hope i will manage to do it.if not at least i try my chance by the way how to segregate the rom into oem/sys? coz when i use efn's kitchen it only dumps the rom.also i tried i900 kitchen and when i segregate the rom i found some dsm. missing files. is these dsm file important?
use PkgToolsBuildOS-5.3 Package_Tools tab to do this...
dreamtheater39 said:
use PkgToolsBuildOS-5.3 Package_Tools tab to do this...
Click to expand...
Click to collapse
thanks a lot ! i am sure that i make u bored coz of my questions well i seaerched google and i found it but all of them has virus.do uhave one without virus?

auto configuration tool diy

Well, I've seen many chefs who use this tool to install various programs. How can I utilize this tool? I have searched all over to no avail
I'm assuming you mean the User Configuration (UC) feature. If not, then I apologise. I did a search and found an old thread explaining it here.
steviewevie said:
I'm assuming you mean the User Configuration (UC) feature. If not, then I apologise. I did a search and found an old thread explaining it here.
Click to expand...
Click to collapse
Nah thats not it, but thanks for trying =P
What i'm looking for is how to use the customization tool that comes up after flashing a rom. In several roms after the first boot it will say Wait a few minutes for customization to complete or something like that. I'm looking for a tut explaining how to use this tool to cook certain programs into my rom without converting them into ext, Thanks for your help though Stevie.
ok, I thought that was it, UC can be used to run cabs and stuff. But sorry for my misunderstanding, hope you find it soon !
husker91 said:
Nah thats not it, but thanks for trying =P
What i'm looking for is how to use the customization tool that comes up after flashing a rom. In several roms after the first boot it will say Wait a few minutes for customization to complete or something like that. I'm looking for a tut explaining how to use this tool to cook certain programs into my rom without converting them into ext, Thanks for your help though Stevie.
Click to expand...
Click to collapse
I'm not sure about your kitchen, but when I used the JoshKoss/TwoPumpChump Kaiser kitchen to cook ROMs, you would place all the applications in a special folder and create a text file called config.txt in that special folder pointing to the location of all your .cabs. You would then cook the ROM, and all the .cabs in that folder would end up in \Windows on the device after a flash. On first boot, it would install all of the .cabs you'd referenced in that file.
I would check in your kitchen's thread, as there will probably be questions from people like you. Try searching for config_operator.txt, config_PT.txt, or config_AP.txt in that kitchen's thread. Alternatively, you could very politely PM a ROM cooking veteran like NRGZ28 or joshkoss (or another chef) and ask how to do this. Sorry I couldn't be more specific to your, but hopefully that'll point you in the right direction.
DaveTheTytnIIGuy said:
I'm not sure about your kitchen, but when I used the JoshKoss/TwoPumpChump Kaiser kitchen to cook ROMs, you would place all the applications in a special folder and create a text file called config.txt in that special folder pointing to the location of all your .cabs. You would then cook the ROM, and all the .cabs in that folder would end up in \Windows on the device after a flash. On first boot, it would install all of the .cabs you'd referenced in that file.
I would check in your kitchen's thread, as there will probably be questions from people like you. Try searching for config_operator.txt, config_PT.txt, or config_AP.txt in that kitchen's thread. Alternatively, you could very politely PM a ROM cooking veteran like NRGZ28 or joshkoss (or another chef) and ask how to do this. Sorry I couldn't be more specific to your, but hopefully that'll point you in the right direction.
Click to expand...
Click to collapse
exactly what I needed to know, Thank you very much. I'm using ervius visual kitchen but the config.txt and such work in a similar manner. Thanks again

Categories

Resources