Newbie needs help with doing a small change to an existing ROM - Tilt, TyTN II, MDA Vario III Windows Mobile ROM De

I read the guides in this website, but need some extra guidance of how to achieve the following (if it is possible):
Let's say that one of the chefs cooked a ROM that I really like (let's call it "ROM X"), but there is one change that I would like to do to the ROM, for example, let's say I would like to delete the OEM package for the dialer that he used, and use an OEM package for a different dialer.
I understand that I need to do the following:
1. First I need to flash "ROM X" to my kaiser.
2. Now I need to dump "ROM X" from my kaiser, to my hard drive. At the end I get the 4 raw files.
Now comes the stage I'm not sure how to accomplish: I want to load the cooking applet of the kitchen software, and have all the database from the 4 raw files (of "ROM X") appear, so I can make the needed change in the OEM package, and continue to create the ROM. I understand that I need to somehow extract the information from the raw files, to something that the cooking applet of the kitchen software could use, but I'm not sure how...
Can anyone provide a bit of guidance ?
Thank you very much.
Btw, I've seen the following thread which deals with how to reconstruct a dumped ROM, but it doesn't deal with how to make changes to the ROM during the reconstruction process, rather the ROM you create, is simply a 100% duplicate of the ROM you dumped, and this is not what I'm trying to achieve...
http://forum.xda-developers.com/showthread.php?t=337066

Related

How to Cook a Rom

Okay after reading through a few threads on XDA I thought I might take a stab at writing a Simple tutorial of the knowledge I know of cooking a rom
Step 1: Download a kitchen of your choice I think the Kitchens from Matt are the best to use only my recommendion
Step 2: Download the OEM packages you'll need..Leave them in a different folder then the Kitchen right now..
Step 3: Make a OEM folder in the kitchen folder if theres not one already and place it in the kitchen folder
Step 4: Take the OEM packages from the desktop and drag the ones needed for your rom
Step 5: Click Build OS check the files your going to have in your ROM to be built..if it errors look at where it errored and check the OEM package to see if it meets the standered below
Step 6: Now add any thing you need to edit in the dump or replace files (EX: Welcome Screen, themes, initflashfiles.dat file ect)
Step 7: Now run the CreateROM.bat once finished you'll have a new file in the temp folder
Step 8: In the kitchen there will be a nb2nbf_wizard.exe if not search the forums..open that model ID will say Wizard.. change the language to WWE then on the bottom you'll see empty fields..those are self explanatory pick OS for the ROM then locate the file in the TEMP folder of the Kitchen
Step 9: Now once its finished translating where ever the output direction was it will be your file to flash, now move that to the RUU and flash and say Hello to your own Cooked rom
PS Steps will varies from Kitchen to kitchen but this covers the jist of basic ones
nows for the complex parts how to make an OEM package...Information from double_ofour
Step 1: Vist http://www.famkruithof.net/uuid/uuidgen the Create UUIDs of another type should be set to Version 4: random then a code like this "6bfb7458-6a83-450a-9da5-b5feabba8335" will be made
Step 2: make the code the name of the 2 text files you have in the OEM package folder, Change one Text file extension to RGU and the other DSM
Step 3: now the RGU is where the Reg hacks are the first line MUST be REGEDIT4 then you list your Reg hacks.. in the formate like this
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD]
"TaskManager"="1_5_29968_1"
Step 4: Leave a space after the last reg hack and save as UNICODE
Step 5: add any files to the OEM package Folder they will be put in the /Windows directory
to make an extension into the programs folder you should edit the initflashfiles.dat
How to edit the initflashfiles- Should be done between useing the Build OS and Create Rom
Step 1: open the file with note pad
Step 2: remove any lines that aren't needed..sometimes you'll see likes to create a folder for a shortcut when your not using the program
Step 3: add a line to create a shortcut for a program from your own OEM package...Most packages here already do it for you
sigh I'm tired of typing but theres a basic out line of what cooking a rom consists of..feel free to add anything I might of missed
Just thought I'd help out anyone looking to cook a rom and needs a little guide
Please don't ask for help here..I'm not text support..I think there shoul dbe one thread for all cooking questions..you guys could even use the thread when i asked for help
PS again thanks to all the people here at XDA that made cooking simple easy even ifs making a OEM pack or a fix or even a kitchen thank you all
thanks ANTC!!!
thanks dude! can we have pictures too? (what the heck - had to ask )
thanks this is EXACTLY what I was looking for
mattk_r said:
thanks dude! can we have pictures too? (what the heck - had to ask )
Click to expand...
Click to collapse
sigh..sure once i can release my full touch rom using your kitchen
so no deal matt...lol not like you need a tut how to make a rom...maybe you could help with the cam issue to for my rom
everytime I click buildos.exe I get an error. No matter what folder I try it in, it just wont work.
How do I dump an official rom?
maybe some one can help you with the dump question its hard for me to put into words since core does it by it self
and th build os problem is something to take up with the maker of ur kitchen try doing a windows update you may need sp2 or net framework
I suggest making this thread sticky, removing all unnecessary posts, including this one and transform it into an How To thread. Where everybody can post tutorials on different aspects of rom cooking.
dferreira said:
How do I dump an official rom?
Click to expand...
Click to collapse
Same you do with an unofficial one lol The difference is that you won't find any missing files and that means less work for you.
anichillus said:
I suggest making this thread sticky, removing all unnecessary posts, including this one and transform it into an How To thread. Where everybody can post tutorials on different aspects of rom cooking.
Same you do with an unofficial one lol The difference is that you won't find any missing files and that means less work for you.
Click to expand...
Click to collapse
It won't dump using your kitchen... Try the last oficial RUU Prodigy of WM5 and you'll see that it seems to be protected, since it can't extract the 8004000 :s
anichillus said:
I suggest making this thread sticky, removing all unnecessary posts, including this one and transform it into an How To thread. Where everybody can post tutorials on different aspects of rom cooking.
Same you do with an unofficial one lol The difference is that you won't find any missing files and that means less work for you.
Click to expand...
Click to collapse
Coming from you thats a huge compliment..
what can i do if i want to add programs like TNT, i have few apps compared to mfrazz's build or TNT and now if i add 1 more program in my kitchen it crashes the buildimgfs.exe, anything i can do to add more? i am using faria's kitchen tool
nycelitemaster said:
what can i do if i want to add programs like TNT, i have few apps compared to mfrazz's build or TNT and now if i add 1 more program in my kitchen it crashes the buildimgfs.exe, anything i can do to add more? i am using faria's kitchen tool
Click to expand...
Click to collapse
Try using Core kitchen that should do the trick
hopefully as a newbie I can make my own rom with this
and please do help me if i encounter any problems
thanks in advance
Personally, I would suggest doing a topic like this in the Wiki. Then have a topic here that is stickied to point to the Wiki entry.
Here's a page I started for the Faria Kitchen last May. http://wiki.xda-developers.com/index.php?pagename=FPRK_Cooking_Instructions
You could take what ANTC posted and merge with the info I provided and come up with a nice generic page for cooking )most of the kitchens work the same since they all use basically the same set of tools).
Here's a page on making OEM packages that da_jojo added on:
http://wiki.xda-developers.com/index.php?pagename=FPRK_Creating_ROM_Packages
BTW: If you do the instructions in the Wiki then any / all of us can help maintain it (where posts here can only be maintained by the original poster).
i think this is good for those who already know how to cook, but too brief for beginners who know little about cooking a rom.
My problem when building the rom is when it is finished this error comes up
"c:\DocumentsandSetting\M541378\ApplicationData\hIqInc\PPC-BuildOS\9.05.3.0Temp\ROM\XIP"
so in my ROM folder there is no XIP, I create the folder, and I re-create, it and then the XIP folder erases. I have no idea why this happens? Can anyone please help....
Updating rom image USING FARSTONE DRIVE CLONE
Hi all i'm new at the forum, i would like to know if i can create an image with farstone drive clone of all the programs i have and configurations and then upload it to the phone?? I would like that even if i have to perform a hard-reset on the device it would still have all the progs and configurations created on the image uploaded.
Any suggestions are welcomed!!!!!
hi, I am a newbbiess... i am totally not understand what do u mean by kitchen... but i am intrested in generate a ROM myself.. please advice..

how can I cook a ROM by myself?

You never told anybody how to do it and then you complain of constant requests
I don't want to cook Wm6 I just want to change some files in my current WM5 Rom!
Could you please tell me how can I do it?
It does not need to be told how to do it, but told how to search ! A lot of people here know how to do it, just GOOGLE it !
sorry, I've already searched... Maybe I'm searching badly!
Could you please help me?
Basically you need to extract the ROM installer, you will find an nbf file in it, then get an NBF file converter, to convert it into some sort of editable format, then you start cooking the ROM, placing whatever you want, and in the end, convert it back into NBF
Hello,
You might find something useful here:
http://www.modaco.com/index.php?showtopic=255064
It would be more helpful if people genuinely try to help others instead of directing them to Google.
A
hey
if you can wait a day or two, i will write up a nice simple guide for everyone and have it stickied
i will also provide links to the tools required. it really isnt as difficult as some people thing! it just LOOKS difficult!
and we are a community here, so lets just help rather than-use the fricking search!lol. we were all n00bs once!
duke_stix said:
hey
if you can wait a day or two, i will write up a nice simple guide for everyone and have it stickied
i will also provide links to the tools required. it really isnt as difficult as some people thing! it just LOOKS difficult!
and we are a community here, so lets just help rather than-use the fricking search!lol. we were all n00bs once!
Click to expand...
Click to collapse
if all were like you ...
I know it isn't but in so much amount of infos it's not easy to find ones that apply to your device or even thing you wanna do!
Need help too
Yea, Please..my probs are the reconverting my data into a .nb->nbf file...after flashing My phone hangs in First Bootscreen...please help!Only Reflashing helps...i really want to cook a rom by myself.
Ive used THIS kitchen...but it is for Wizard-devices only....but i think,it can be used for Tornado,too.
as far as we tried we could not make a proper dump of the wm5 tornado...
but i did manage to build a rom kitchen with wm6 for the tornado...this was a whileago and the base rom is the same as the current available...if ther is enougth request i may be inclined to update the RK and release it.
to get you started here is some pointers.... you can use the same tools from the wizard, imgfs tools.
When I use nb2nbf_wizard.exe, is this created nk.nbf flashable for my Tornado (german XDA Phone aka HTC Douton)?
There is an nb2nbf_Tornado File out there,too, but my Phone stuck in first BootScreen.If i use the Wizard-Tools here and use the nb2nbf_Tornado,(by retyping the Start Adress from 8004000(for Wizard) to 8204000 (for Tornado)) it works well fine, Flashing works well,too,but stuck in first Screen every time.Ive only delete the Solitaire-Folder,but it dont work for me..maybe you have more luck!Or...faria may Post a RomKitchen exclusive for our lovely Tornado..
Have you removed the first two bytes of the initflashes.dat? When not, it can't be booting correctly! That was my mistake when I started to cook my own ROM's for my HTC Prophet (XDA Neo)!
What?
really?I may think,it is only needed after a Registryedit....thank you.!
edit:did not work...
arpy said:
There is an nb2nbf_Tornado File out there,too, but my Phone stuck in first BootScreen.If i use the Wizard-Tools here and use the nb2nbf_Tornado,(by retyping the Start Adress from 8004000(for Wizard) to 8204000 (for Tornado)) it works well fine, Flashing works well,too,but stuck in first Screen every time.Ive only delete the Solitaire-Folder,but it dont work for me..maybe you have more luck!Or...faria may Post a RomKitchen exclusive for our lovely Tornado..
Click to expand...
Click to collapse
i have the same problem like you.
I've made a nk.nbf from the *.nb files with nb2nbf_tornado.exe.
I've also extracted *.nb (OS, IPL, SPL, etc) from nk.nbf from windows mobile 6 alpha and then 'translated' those nb files with nb2nbf_tornado.exe. Same result: succesfull flash, stuck in first screen every time..
so not the "initflashes.dat" file is guilty..
...and nobody out there may help us?
arpy, it seems that if I include only OS without IPL & SPL in nb2nbf, all are OK..
But still with my modified OS does not get over the first splash screen.. maybe i've done smth wrong. In dump folder, I've added some files (some overwritten), i've removed some files, modified initflashfiles.dat (last line blank, + removed the two first bytes with winex), modified the hv files (saved in unicode standard, first line REGEDIT4, last line blank.. complied: no errors). replaced carrier_splash and shutdown
that's all what I've modified ...
edit:
arpy, try to translate only the OS module with nb2nbf_tornado. and tell me the result. also, tell me what changes you've made
edit2: found this: http://forum.xda-developers.com/showthread.php?t=298327 . improved tools
edit3: i've dumped my modified OS module with tadzio's ImgfsTools and discovered that initflashfiles.dat had the two bytes that i've removed with win hex.. what the?!
i've removed again, and run the whole build rom process again , but this time with tadzio's ImgfsTools.
Same result.. (stuck in first screen)
Maybe i've modified something wrong.
edit4: i've repeated the whole process and OS module flash and work ok . I haven't tried yet with all modules, only OS. I think I've made some mistakes when trying to replace drivers.
@DSF
Can you post a Step-By-Step Solution?I want to figure out my prob...which tools do you use?And how?May you Post your ROM?
well, i will post summary. i hope to release a "tornado romcook kitchen" and more detailed steps these days.
here is my OS module:
http://rapidshare.com/files/45915194/RUU.rar.html
right now i'm trying to figure out how to make the sd driver from iphone/other roms to work on my custom rom. every time i try other sd driver, i cannot view the card.
i'm using the tadzio's ImgfsTools (see link in my previous post).
steps:
- download typho5.exe, ImgfsTools, nb2nbf_tornado (you can get them by searching via gogole)
- copy all those files in the same folder, eg: ROMDEV
- copy nk.nbf in ROMDEV
Commands:
1) typho5.exe -x nk.nbf
2) imgfsfromnb.exe 82040000-OS.nb imgfs_raw_data.bin
3) imgfstodump.exe imgfs_raw_data.bin
Now the OS files are dumped in dump folder. Do the changes (delete, copy, modify, etc). When editing registry and initflashfiles.dat file, perform the important steps describeb at http://www.molski.biz/romcooking.html (turn off word wrap and use UNICODE in notepad, etc). If you're dune with those things do next:
4) imgfsfromdump imgfs_raw_data.bin imgfs_new.bin
5) imgfstonb imgfs_new.bin 82040000-OS.nb 82040000-OS_final.nb
if no error occured in the whole process, run 6) nb2nb_tornado.
There, chose the nb files, OS will be 82040000-OS_final.nb and not 82040000-OS.nb. Don't forget to use the correct image name. (eg: for 82040000-OS_final.nb chose OS)
The language, oem, operator version, cid can be left blank.
When you're done, press translate.
Copy the generated nk.nbf file in the rom update folder (RUU), execute ROMUpdateUtility.exe and follow the normal flash steps..
That's all.
Thanks to all those ppl that made this possible
PS: if you flash only the OS module (without IPL & SPL), even if the update proces crashes, you will not 'brick' your phone . Mine happen to crash on 2%.. i transpired instantly
kartam said:
You never told anybody how to do it and then you complain of constant requests
I don't want to cook Wm6 I just want to change some files in my current WM5 Rom!
Could you please tell me how can I do it?
Click to expand...
Click to collapse
Actually, I have some files about how to cook a rom, but they all Chinese, and may be useless for you.
DSF: the way you describe works with the tornado. thx. ive testest
an usefull app to edit initflashfiles.dat and the registry files is "notepad2".

A few questions to all you chefs out there

I have been toying with the idea recently of brewing a ROM that is entirely my own, something that fits my needs perfectly. However, I am having trouble figuring how to go about doing so.
1. Basically, what I want to do is to start with a stock AT&T ROM, strip everything out of it, then only add back in what I use. It would seem simple enough, however what gets me is that when I extract the AT&T ROM, most of the applications seem to be contained within the OEMAPPS folder, with no simple way to sort through it. Sure I could just delete the folder and re add what I want, but thats not exactly what I had in mind. I would really like to pull out all the apps from that folder into their own individual folders so that I can keep anything if I feel like it while not having to keep everything. Does anyone know how to do this, or if there is any way other than doing it manually?
2. If I want to have registry tweaks installed on the ROM, what is the best way to go about doing so?
3. I have been searching and searching, but I cannot seem to figure out where the image that appears after the device splash screen is stored. Can someone point me in the right direction? I know Alex has his own custom image. EDIT: I am referring to the Welcome Screen.
4. When I previously cooked ROMs using the kitchen, it seems to retain the version number of the ROM that I based mine off of. Does anyone know the reason for this?
Yeah, a lot of questions I know, but once I get my ROM finished, I'll be sure to release it here.
Best thing I can recommend to you is try Alex's ROM Cooking tutorial. His ROM is AT&T ROM stripped. All apps are in OEM format so you can re-add as needed. The process of stripping the OEM apps is complicated and you need to find all files associated with a certain program.
Alex already did this so why do it again? You get a fully stripped ROM.
For the registry tweaks take a look at the OEM Packages included with Alex's ROM Cooking tutorial. There are several registry tweaks he has included so you can take a look at it and create you own from that.
The splash/welcome screen is called welcomehead.96.png. It's in the \Windows folder. You can cook your own by replacing the file in "SYS\Redist_dpi_96_resh_240_resv_320" folder if you use Alex's ROM tutorial. It's probably the same for other ROMS if you extracted your own but I haven't tried this. I replaced it so each time I create a ROM it's already there.
As for the ROM version you can change it (I think). In the OEM folder there's an OEMVERSION that contains a .provxml file. You can edit that and you'll see a version number.
Hope that helps.
Right, I know Alex has already released a completly stripped down version, but I really just want to cook something entirely of my own. Not that I dislike Alex's package, but I really would just like to do the work entirely by myself so that I can know all of the changes that were made, and how they were done. It gives me the kind of flexibility that I would like. Also, Alex has made some of his own changes to his UltraClean, so I don't have the level of control that I want.

Extracting cab files from ROMs

Hi,
I have tried a few ROMs and I need a combination of them when it comes to built in application!
I tried to serach and research this but still could not understand how you can extract CAB files from an existing Kaiser ROM if I have the ROM in .nbh format.
I am new to Kaiser and never used the ROM Kitchen before. I used to have HTC Prophet before so I am still used to the old ways of changging "Extended Memory" contents and the config file for it.
Thanks for your help.
Be not afraid of the new ways...
Steel77 said:
Hi,
I have tried a few ROMs and I need a combination of them when it comes to built in application!
I tried to serach and research this but still could not understand how you can extract CAB files from an existing Kaiser ROM if I have the ROM in .nbh format.
I am new to Kaiser and never used the ROM Kitchen before. I used to have HTC Prophet before so I am still used to the old ways of changging "Extended Memory" contents and the config file for it.
Thanks for your help.
Click to expand...
Click to collapse
A couple of suggestions....
1) Read slowly, deliberately, an multiple times to ensure you are not missing details.
2) If you don't understand something specific, ask the specific question on this forum and we are better armed to assist.
3) Don't be afraid to just try and run the SW after reading carefully. It's not painful or anything just to jump in and run the software (just don't load it on your phone until you are confident in the results). The worse that happens is you run it over. Since you are extracting for the 1st time, I suggest you follow the instructions EXACTLY. I don't care if it tells you to lift your leg and bark like a dog, just do it! Also, to get a feel for the quality of your results, extract a cab that you already have and compare after you're done.
Cheers and good luck!

How to make a CAB ?

Hello,
I dumped the factory ROM of my Kaiser (part00.raw, part01.raw... ).
I would want to extract from it some applications that are useful for me, and reinstall them on my new ROM (Schap 4.31).
So, is there a tutorial about a method to do CAB file ?
I don't want to use ROM cooking for now.
Sorry of my questions, I'm a novice !
;-)
Thanks in advance.
Pascal
What you have is simply raw data. The eaiser thing to do wold have been to pull the cabs out of windows FIRST, then just install them. If you want to make cabs out of the OEM's just using raw data, I hope you have a lot of time on your hands, particularly if you've never done this.
The first step for constructing cabs out of OEM raw data is to reconstruct the rom. I suggest starting with this excelent guide by jcespi2005. SEE HERE: http://forum.xda-developers.com/showthread.php?t=337066
Once you've recontructed the data you'll need to pull out all the OEM data including the .rgu & .dsm files. You'll then need to create an initiaflash file with the location references for the contents of the program.
Once you've done all that you can think about making the OEM into a cab.
It' much easier (if the proggies your looking for were part of cutomization & were originally cab files) to find the cab or ask people with that original rom to post the cab.
If they did indeed start as cab files you can find them in windows already as cabs. If you're trying to cook your own rom & want the programs as an OEM package or if they were already an OEM package, you'll need to reconstruct, extract, & then compile for a cab.
If you tell me what proggie you want I can most likely point you to it as a cab already.
Visual Studio has a template for it.

Categories

Resources