Jump to content
Sign in to follow this  
ErnstJanF

[REF] Cooking info, kitchen, tools, etc..

Recommended Posts

[REF] Cooking info, kitchen, tools, etc..

So you want to build your own ROM? This is the place for you.

Please share your experience / tips with us to combine our powers!

Index:

Post #2 - Build & Dump a ROM

Post #3 - Tips and Tricks

Edited by ErnstJanF

Share this post


Link to post
Share on other sites

Dumping and Building a ROM

If you want to build your own ROM, you first need to build one. I will guide you on this.

1. Setting up the kitchen

First, you need a kitchen to work with. A kitchen is just a set of tools combined which work together.

You can find the kitchen over here

Once downloaded, unrar the file to a location you'd like. (I'm using D:\B7610kitchen for easy access).

Please note that using empty spaces inside the full path (like D:\B7610 kitchen) is not recommended!

Finally, get a ROM_DUMP.bin from a official ROM. Already cooked ROM's will not work!

Copy the ROM_DUMP.bin to the 'template folder'.

This will result in something like this:

post-591484-1280155260_thumb.png

2. Dumping your ROM

The kitchen is now ready for use! Fire up 'RomTool'.

Set the 'work folder' (top-left) to the template folder I included (or if you renamed it, choose that one).

post-591484-1280155392_thumb.png

Once done, click 'Select File'. If you followed the previous part correctly, you won't have to switch folders to see rom_dump.bin. Select it.

If checked, click the 'Run' button. RomTool will execute and start the dump-process.

If RomTool finishes, you will see this: (watch the log-area)

post-591484-1280155562_thumb.png

Next, go to the 'settings' tab, and click 'Start ExtReloc'. A new window will open, click the 'Options' tab.

Set the settings like I did below.

post-591484-1280155653_thumb.png

Once done, click 'Save Options'. Nothing happens, don't worry. Close ExtReloc but keep RomTool open!

You have now succesfully dumped a ROM into OEM/SYS folders. From here, you can do with your ROM whatever you want!

3. Building your ROM

NOTE: FOLLOW THESE STEPS AFTER YOU MADE CHANGES TO YOUR ROM!

Go back into RomTool. Select the 'Build PDA file' tab.

Set the options like I did below.

post-591484-1280155873_thumb.png

Done? Click 'Run'. Xipport will open and work on the XIP. More on this is in another post.

Next, BuildOs will open. If you added OEM's (again, switch to another post in this thread for info on OEM packages!) they will show up here.

post-591484-1280156089_thumb.png

Click the 'Play' button. Once finished, close BuildOs. RomTool will finish it's work.

Note that building a ROM takes a lot of processor power and time. If I cook a full ROM, it takes about 10 minutes on my high-end notebook.

If everything was OK, your new ROM should be in the 'Finished ROM' folder.

Edited by ErnstJanF

Share this post


Link to post
Share on other sites
Is it possible to dump a nonofficial rom? I maybe want to do some tweaking on the Daskalos Sense ROM.

Quote: "Finally, get a ROM_DUMP.bin from a official ROM. Already cooked ROM's will not work!". Try to read carefully.

Share this post


Link to post
Share on other sites
Quote: "Finally, get a ROM_DUMP.bin from a official ROM. Already cooked ROM's will not work!". Try to read carefully.

I did, but that was by selecting a .bin file. Maybe it is possible to get a .bin file instead of an .NB0, for cooked roms. It MUST somehow be possible to load custom roms into it. I bet Daskalos didn't make all of his roms in one run, by only opening the program once.

Share this post


Link to post
Share on other sites
I did, but that was by selecting a .bin file. Maybe it is possible to get a .bin file instead of an .NB0, for cooked roms. It MUST somehow be possible to load custom roms into it. I bet Daskalos didn't make all of his roms in one run, by only opening the program once.

No, it isn't.

Once a ROM is built, the RGU files are removed. There is no way to get those back.

Edit: You cán however use the dumped files again. So if any bugs exist you can easily modify the ROM again and re-build it.

Edited by ErnstJanF

Share this post


Link to post
Share on other sites
So the only way to modify custom roms is by asking the cooks for all the files?

You could try, but I think they won't share as it's their own work.

Share this post


Link to post
Share on other sites
You could try, but I think they won't share as it's their own work.

imgfsfromdump.exe crashes while building my os. any idea what could be causing this? i tried running it separately from command prompt over the dump folder - it runs fine and builds a new imgfs file.

however, when i try and use osnb it says part2 size is wrong...looks like the imgfs size is incorrect :(

any pointers?

EDIT: and yes, i have dumped from an official rom - jc2 rom.

Edited by dreamtheater39

Share this post


Link to post
Share on other sites
imgfsfromdump.exe crashes while building my os. any idea what could be causing this? i tried running it separately from command prompt over the dump folder - it runs fine and builds a new imgfs file.

however, when i try and use osnb it says part2 size is wrong...looks like the imgfs size is incorrect :(

any pointers?

EDIT: and yes, i have dumped from an official rom - jc2 rom.

You should set the 'work folder' again when building a ROM.

Share this post


Link to post
Share on other sites
You should set the 'work folder' again when building a ROM.

hey, i dont have your kitchen m8....megaupload says - "The file you are trying to access is temporarily unavailable."

can you upload onto another service? maybe mediafire?

currently i've used my old i780 kitchen with the new romtool that i downloaded form another thread.

thanks so much for helping out, really appreciate it!

Share this post


Link to post
Share on other sites
hey, i dont have your kitchen m8....megaupload says - "The file you are trying to access is temporarily unavailable."

can you upload onto another service? maybe mediafire?

currently i've used my old i780 kitchen with the new romtool that i downloaded form another thread.

thanks so much for helping out, really appreciate it!

Try it again after a minute or 2, you should be able to download it.

Our devices use different files, so imgfsfromdump won't recognize it.

Share this post


Link to post
Share on other sites
Try it again after a minute or 2, you should be able to download it.

Our devices use different files, so imgfsfromdump won't recognize it.

i've tried quite a few times all through the day, looks like megaupload has dumped on this file?

Share this post


Link to post
Share on other sites
i've tried quite a few times all through the day, looks like megaupload has dumped on this file?

I will be back tomorrow, good luck trying to cook

Share this post


Link to post
Share on other sites

Thanks for all the info! I am trying to cook a II1 wm6.1 lite rom. and have a Q.

is there a list wich oemapps can be removed? or is there a tut on inet how to to make a lite rom?

Thanks

Edit: oh *klick* Cleaning a ROM for beginners

Edited by Wackster

Share this post


Link to post
Share on other sites

hey ernst!

i finally managed to cook my rom. works really quick....i'll upload my rom in a days time...currently outside in a location where the internet sucks ass!

thanks,

San

Share this post


Link to post
Share on other sites
Thanks for all the info! I am trying to cook a II1 wm6.1 lite rom. and have a Q.

is there a list wich oemapps can be removed? or is there a tut on inet how to to make a lite rom?

Thanks

Edit: oh *klick* Cleaning a ROM for beginners

You can check XDA-Developers -> Chef's corner for cooking tips and info :(

Share this post


Link to post
Share on other sites

any tips on especially removing samsung today and widget_plus and making titanium default?

Is it possible to create to build rom with additinal titanium plugins already installed?

thx

Thunder

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.