My tool to cook WM6.1 ROM - HTC Startrek

Share my tool I use to cook WM6.1 ROMs for myself. Maybe some one needs this.
Steps:
1. Unpack the tool attached.
2. Use NBH tool((not part of my tool)) get your windows.nb file and put it in folder build with name changed to OS.nb.
3. Execute 1. OSDump.bat and 2. HVDump.bat to dump your rom.
4. Do your changes...
5. Use G'Reloc.exe tool to relocate the modules.(need to change dump folder name to sys and change it back when completed).
6. Execute 3. HVMake.bat and 4. OSMake.bat to build your rom.
7. Use HTC Rom Tool(not part of my tool) to generate nbh file
8. Use PagePool_Changer.exe to set the PagePool size.
9. Flash you cell phone.

uniface said:
3. Execute 1. OSDump.bat and 2. HVDump.bat to dump your rom.
Click to expand...
Click to collapse
Can i use this to dump wm 5 rom ?

支持你楼主,感谢你的无私奉献,呵呵,北京

Thanks for this, uniface.
Anyway, without checking all the tools and without understanding llmmjj's post by now, just a question: Where do get the OS (ie. WM 6.1) itself? I mean it's not kinda "freeware", and shouldn't it be built especially for the StarTrek?

parhelioz said:
Thanks for this, uniface.
Anyway, without checking all the tools and without understanding llmmjj's post by now, just a question: Where do get the OS (ie. WM 6.1) itself? I mean it's not kinda "freeware", and shouldn't it be built especially for the StarTrek?
Click to expand...
Click to collapse
Check posts from Erofich(also known as pArtizAn)!

Related

Cooking my own ROM..any smart people here?

Hi folks!
I've got a few questions..
Dont burn me down with *search wiki* TRUST ME, I DID!..I didn't even want to start a thread.
I use "Der Hermes Rom Koch v0.99.6.1* It works great! *but it doesnt open (for example) 04_ExtROM.nb, I get the error; "...Critical Error: Couldn't create imgfs_raw_data.bin"
But what I wanted to know is;
#1 How can I make an extended rom .nb (with my own files (.CAB's))
#2 And when I want to edit an OS.nb, how do I know what the normal (os wm6) files are and how do I know what file's to remove that are added in the OS.nb, by another person.
*hope you understand my questions
*I really used search!!!!
Bram87 said:
#1 How can I make an extended rom .nb (with my own files (.CAB's))
Click to expand...
Click to collapse
At the moment there is no "autmatic" tool to create a ExtROM nb file, you can put what you want on your unlocked extROM folder and then use rbmc command from bootloader to dump the ExtROM, capture the output and reconstruc it with xxd (unix tool), but this is a very manual process and a Pain-in-the-Ass(tm). HOWEVER AnDim announced he'll release writing support for his ExtROM tool soon, see here:
http://forum.xda-developers.com/showthread.php?t=303049
Bram87 said:
#2 And when I want to edit an OS.nb, how do I know what the normal (os wm6) files are and how do I know what file's to remove that are added in the OS.nb, by another person.
Click to expand...
Click to collapse
There are several methods to do this, probably someone with more experience than me can tell u more clever methods, for a simple one, you can use bepe's package tool, and all that is not converted to a RK package means has been manually added to the rom by the person who did it.
pof said:
At the moment there is no "autmatic" tool to create a ExtROM nb file, you can put what you want on your unlocked extROM folder and then use rbmc command from bootloader to dump the ExtROM, capture the output and reconstruc it with xxd (unix tool), but this is a very manual process and a Pain-in-the-Ass(tm). HOWEVER AnDim announced he'll release writing support for his ExtROM tool soon, see here:
http://forum.xda-developers.com/showthread.php?t=303049
There are several methods to do this, probably someone with more experience than me can tell u more clever methods, for a simple one, you can use bepe's package tool, and all that is not converted to a RK package means has been manually added to the rom by the person who did it.
Click to expand...
Click to collapse
I learn more every day!.. many thx!

How To: Atom Series Extended Rom Cooking

For Atom / Atom Pure / Atom Exec: Use WinImage Version 8.1 or similar program to edit IMG file. There are many programs that can do it.
Do not touch folders found in this image file. Programs that depend on these folders are: FM Radio, AutoConfig, WirelessManager, Camera, Equalizer, Album (life), ImageEditor (life)
The version of the Extended Rom is taken from the text file:
061020_AL1ARCWWE_EX0604.txt
The name is picked up versionCPAapplet.cpl (found in Settings->System Info)
So far, I did not encounter any problems changing the version numbers
The default folder name for this partition on your device is \_QHiddenPartition\ However, when we unlock this hidden partition at device runtime, we can not use the same folder name to install programs and lock it afterwards.
Normally, I used this partition to place the cabs I want to install at hard reset. This is no longer a problem with the cooked ATOM/ATOM EXEC ROMs we made because, serialzs introduced MortScript to do the automatic installation of cabs found in \_QHiddenPartition\ and \cabs\ folder found in storage card.
It is not necessary, however, to unlock the hidden partition just to edit the contents at device runtime. You can always use Total Commander to browse this partion by keying \_QHiddenPartition\ on the location bar.
For ATOM LIFE users, you can simply remove the 12-byte header of IMG file, and WinImage 8.1 can be used to edit the file. You need to restore the 12-byte header prior to flashing your device again.
tj your are very kind ^^;
Last time i ask.you say search.
i use search but still confuse cause alot of topic.
but now you posted this info.
THANKS YOU
thank you,i'm trying to cook and release WM 7.0 tonight. j/k
How to remove or add programs being install in order??? I found that del *.cab to remove the programs and copy *.cab to auto install the programs from extended rom. But i don't know the file where listed the programs is able install in the extended rom at hard reset. In the past,when i cooked BA rom, i remember that i can edit the file include the paths of the cabs I want to auto install at flash rom or hard reset.
jiggs said:
For Atom / Atom Pure / Atom Exec: Use WinImage Version 8.1 or similar program to edit IMG file. There are many programs that can do it.
Do not touch folders found in this image file. Programs that depend on these folders are: FM Radio, AutoConfig, WirelessManager, Camera, Equalizer, Album (life), ImageEditor (life)
The version of the Extended Rom is taken from the text file:
061020_AL1ARCWWE_EX0604.txt
The name is picked up versionCPAapplet.cpl (found in Settings->System Info)
So far, I did not encounter any problems changing the version numbers
The default folder name for this partition on your device is \_QHiddenPartition\ However, when we unlock this hidden partition at device runtime, we can not use the same folder name to install programs and lock it afterwards.
Normally, I used this partition to place the cabs I want to install at hard reset. This is no longer a problem with the cooked ATOM/ATOM EXEC ROMs we made because, serialzs introduced MortScript to do the automatic installation of cabs found in \_QHiddenPartition\ and \cabs\ folder found in storage card.
It is not necessary, however, to unlock the hidden partition just to edit the contents at device runtime. You can always use Total Commander to browse this partion by keying \_QHiddenPartition\ on the location bar.
For ATOM LIFE users, you can simply remove the 12-byte header of IMG file, and WinImage 8.1 can be used to edit the file. You need to restore the 12-byte header prior to flashing your device again.
Click to expand...
Click to collapse
cdmavn said:
How to remove or add programs being install in order??? I found that del *.cab to remove the programs and copy *.cab to auto install the programs from extended rom. But i don't know the file where listed the programs is able install in the extended rom at hard reset. In the past,when i cooked BA rom, i remember that i can edit the file include the paths of the cabs I want to auto install at flash rom or hard reset.
Click to expand...
Click to collapse
The script runs through all cabs present in the the two locations stated above. You don't have to edit any list like you do for AutoRun in BA. Also, AutoRun does not work with cab installation that require user interaction. Now, as for your question regarding the order they go - it's alphabetical.
Hi jiggs!!
You awesome! I have added my operator in autoconfig list, all work fine, now I have all settings for my operator!
THANKS A LOT!!
interesting in rom cooking, thats what i.m always thinking about,.
but i'm afraid to do this, i'm afraid i'll bring my atom unusable,.
thanks anyway jiggs,.
ex.image said:
Hi jiggs!!
You awesome! I have added my operator in autoconfig list, all work fine, now I have all settings for my operator!
THANKS A LOT!!
Click to expand...
Click to collapse
Pls post your settings for others, too. Thanks.
jiggs said:
For ATOM LIFE users, you can simply remove the 12-byte header of IMG file, and WinImage 8.1 can be used to edit the file. You need to restore the 12-byte header prior to flashing your device again.
Click to expand...
Click to collapse
how do you remove 12-byte header?
ichanz said:
how do you remove 12-byte header?
Click to expand...
Click to collapse
Open the file with an HEX-editor, cut the first 12 bytes and save the file. That's all.
You can use "XVI32". This Hex-editor is included in the original Scooter-ROMkitchen.
Hi all,
I use remotePROTECT as a security measure on my Atom - I find the program great.
It will be even better if I place it in extROM (hidden partition) so that it will install again upon hard reset.
I've followed the instructions that come with the software - they require me to place the program's CAB file in the extROM along with the setupE file.
I tried that - did a hard reset and nothing happened - didn't install.
I have an O2 Atom with an official ROM release installed.
Is there anything else I need to do? I note there is an Autoinst.dat file in the hidden partition, but it's encrypted or gibberish so I can't do much with it.
If I've overlooked anything can someone please suggest what I can do to make this do what I want - install itself again after hard reset.
Thanks in advance.
Avocado said:
Hi all,
I use remotePROTECT as a security measure on my Atom - I find the program great.
It will be even better if I place it in extROM (hidden partition) so that it will install again upon hard reset.
I've followed the instructions that come with the software - they require me to place the program's CAB file in the extROM along with the setupE file.
I tried that - did a hard reset and nothing happened - didn't install.
I have an O2 Atom with an official ROM release installed.
Is there anything else I need to do? I note there is an Autoinst.dat file in the hidden partition, but it's encrypted or gibberish so I can't do much with it.
If I've overlooked anything can someone please suggest what I can do to make this do what I want - install itself again after hard reset.
Thanks in advance.
Click to expand...
Click to collapse
If you have read the first post carefully, then you will understand that this won't work because the built-in AutoInstall of the official ROM restricts to signed CABs only as defined by list with no known format as of this date. That's why we have cooked ROMs to bypass this and created another AutoInstall script. There are work arounds for your purpose but definitely this solution is not for you. You have to do some research on this forum.
Anyone knows how to change or create new network settings. I found xml files in network folder and asked if there is a way to have my personal network settings like auto sms delivery or auto configure vms numbers or ...
vocian said:
Anyone knows how to change or create new network settings. I found xml files in network folder and asked if there is a way to have my personal network settings like auto sms delivery or auto configure vms numbers or ...
Click to expand...
Click to collapse
you need to secure this from your operator.
although you can edit the xml files with notepad, I don't know if the GUID found there is important. you can also generate your own GUID to have a unique value.
select the existing xml that best fit your requirements and edit it. you can't edit the cabs found in the networks because they are signed. you need to provision your own cabs. it's more like provisioning certificates using cabs.
jiggs said:
you need to secure this from your operator.
although you can edit the xml files with notepad, I don't know if the GUID found there is important. you can also generate your own GUID to have a unique value.
select the existing xml that best fit your requirements and edit it. you can't edit the cabs found in the networks because they are signed. you need to provision your own cabs. it's more like provisioning certificates using cabs.
Click to expand...
Click to collapse
thank you very much indeed. I found xml files for defualt operator and also txt file wich list this operators. Gussed that first input my operator to that list and then create new xml. but i figured if any guide for what all of this xml comands mean and the whole format.
and another question : how to edit or change cabs? I have a background of programming with c++ and visual basic.net. Is it possible for me to create my own cab without too much effort? and with which compiler ?
tnx
jiggs said:
It is not necessary, however, to unlock the hidden partition just to edit the contents at device runtime. You can always use Total Commander to browse this partion by keying \_QHiddenPartition\ on the location bar.
Click to expand...
Click to collapse
Jiggs,
I am using an atom life, I fould that I could not browse the extended rom with Total Commander. In my memory, I should be able to use TC to browse the extended rom on my ATOM EXEC. Do you know what I am doing wrong?
By the way, is it possible to unhide the extended rom?
vocian said:
thank you very much indeed. I found xml files for defualt operator and also txt file wich list this operators. Gussed that first input my operator to that list and then create new xml. but i figured if any guide for what all of this xml comands mean and the whole format.
and another question : how to edit or change cabs? I have a background of programming with c++ and visual basic.net. Is it possible for me to create my own cab without too much effort? and with which compiler ?
tnx
Click to expand...
Click to collapse
use PocketPC Installation Creator to create cabs.
hh93220 said:
Jiggs,
I am using an atom life, I fould that I could not browse the extended rom with Total Commander. In my memory, I should be able to use TC to browse the extended rom on my ATOM EXEC. Do you know what I am doing wrong?
Click to expand...
Click to collapse
You must simply type \_QHiddenPartition in Total Commander to switch to Extended ROM.
Btw: It's described in the Atom Wiki. You should read it.
By the way, is it possible to unhide the extended rom?
Click to expand...
Click to collapse
Yes:
hit me
scorpio16v said:
Open the file with an HEX-editor, cut the first 12 bytes and save the file. That's all.
You can use "XVI32". This Hex-editor is included in the original Scooter-ROMkitchen.
Click to expand...
Click to collapse
Thanks!! The problem resolve after I remove the first 12 bytes.
For AtomLife ExtRom.img.
Anyone was successful to flash editted ExtRom.img of AtomLife with DSUU? If possible, could you please show me few experience to Update ExtRom via DSUU.
Ex: Remove 12bytes header/edit(add or remove anything can do)/restore 12bytes header. Then replace new ExtRom.img in \Window\temp\ExtRom.img and delete \Window\temp\FLASH.DIO while completed extract of DSUU running. Then imitate DSUU instruction. Is it right? This way, I cuccessed to new Flash.dio for AtomLife.

How To: Modify a ROM.

Over the coming days, I shall be writing more below as a tutorial for ROM cooking/Modification.
First, you will need a ROM kitchen. For ease of use, I would recommend Inteks Neokit which can be found here.
Next you will need a base ROM (any Prophet ROM will do) many can be found here.
Now, load neokit and then select the "Select nb/nbf" option. Select the ROM you want to modify and then click "dump rom". This will deconstruct the ROM and put all the files included in the ROM into a single directory.
If you know the files you want to change (such as images) you can simply find them in the "dump" folder (click on the "..." button on neokits main screen) and replace them with the files you want.
If you want to add a program, you can do it two ways:
Create an OEM Package.
Install a CAB after the flashing of the ROM.
If you want to change the registry, the "default.rgu user.rgu" tab must be selected.
To change shorcuts, you will need to edit the "initflashfiles.dat".
After modifying the ROM, you will need to build it back up so that you can flash it. Go to the main screen and click "build ROM" click yes, and then you will have to wait for this to complete.
Now you need to turn the *.nb files into a *.nbf. Follow the instructions in neokit for this.
This will be updated with more detail when I have the time to do so.
If you have any questions do not hesitate to ask as I and others will be willing to help.
What can be safely removed?
Below are the names of packages that can be removed without causing instabilities. Having said that, the may dramatically reduce the functionality of a ROM. The best way to find out what ca be removed is to try it yourself, flash it and see if anything works/doesn't work and then build on it from there. Post your findings here and help someone else!
Internet Explorer-Related Packages
Browsing--Base for IE
Browsing_DPI_96--Images related to IE
Browsing_Lang_XXX (where XXX is the region code) Can be removed or replaced for localisation.
BROWSINGCORE--This might cause instabilities to the OS as lots of programs rely on these files
Also reserved.
Thanks...
It's really helped...
What files I can remove for more space?
amaleena said:
What files I can remove for more space?
Click to expand...
Click to collapse
This question can't be answered, it is a bit the same as "How do I get to Amsterdam?" Without telling us where you are!
How can anyone tell you what is to be removed in your ROM if we don't know what files are there in the first place? This can be different depending on wich ROM you use; some are allready "cleaned out" while others are stuffed to the max.
But above all, it is up to you to decide what you will sacrifice to create more space. The challengeing part of this game is to try, explore and discover and experience that overwhelming satisfaction when a plan comes through!!
So, my advice: don't bother to refrase your question but just go for it yourself....
rondol1 said:
This question can't be answered, it is a bit the same as "How do I get to Amsterdam?" Without telling us where you are!
How can anyone tell you what is to be removed in your ROM if we don't know what files are there in the first place? This can be different depending on wich ROM you use; some are allready "cleaned out" while others are stuffed to the max.
But above all, it is up to you to decide what you will sacrifice to create more space. The challengeing part of this game is to try, explore and discover and experience that overwhelming satisfaction when a plan comes through!!
So, my advice: don't bother to refrase your question but just go for it yourself....
Click to expand...
Click to collapse
I agree with that, however from personal experience I think a short list of things that can be removed might be helpful...
Is it possible to change only the language of a rom? How can i Do it?
l3v5y said:
I agree with that, however from personal experience I think a short list of things that can be removed might be helpful...
Click to expand...
Click to collapse
That right!.I mean list of files that can be removed safely.Example, If I would like to remove Microsoft word. I should remove file1.exe,file2.dll,...etc.
Sorry for my poor English.
xfounder said:
Is it possible to change only the language of a rom? How can i Do it?
Click to expand...
Click to collapse
You have to overwrite the MUI files, change some paths in the Regsitry (default.hv and user.hv, konvert them first) and change the paths in the initflashfiles.dat! That's all!
l3v5y said:
Over the coming days, I shall be writing more below as a tutorial for ROM cooking/Modification.
First, you will need a ROM kitchen. For ease of use, I would recommend Inteks Neokit which can be found here.
Next you will need a base ROM (any Prophet ROM will do) many can be found here.
Now, load neokit and then select the "Select nb/nbf" option. Select the ROM you want to modify and then click "dump rom". This will deconstruct the ROM and put all the files included in the ROM into a single directory.
If you know the files you want to change (such as images) you can simply find them in the "dump" folder (click on the "..." button on neokits main screen) and replace them with the files you want.
If you want to add a program, you can do it two ways:
Create an OEM Package.
Install a CAB after the flashing of the ROM.
If you want to change the registry, the "default.rgu user.rgu" tab must be selected.
To change shorcuts, you will need to edit the "initflashfiles.dat".
After modifying the ROM, you will need to build it back up so that you can flash it. Go to the main screen and click "build ROM" click yes, and then you will have to wait for this to complete.
Now you need to turn the *.nb files into a *.nbf. Follow the instructions in neokit for this.
This will be updated with more detail when I have the time to do so.
If you have any questions do not hesitate to ask as I and others will be willing to help.
Click to expand...
Click to collapse
From my rom is *.nbh not nb or nbf, what next?
What device is that from?
*.nbh files can be read using this: http://forum.xda-developers.com/showthread.php?t=377514
l3v5y said:
What device is that from?
*.nbh files can be read using this: http://forum.xda-developers.com/showthread.php?t=377514
Click to expand...
Click to collapse
HTC p3600, Trinity
The tools I mention in the first post are designed purely for the HTC Prophet... I have no idea about what to do for a Trinity...
l3v5y said:
Over the coming days, I shall be writing more below as a tutorial for ROM cooking/Modification.
First, you will need a ROM kitchen. For ease of use, I would recommend Inteks Neokit which can be found here.
Next you will need a base ROM (any Prophet ROM will do) many can be found here.
Now, load neokit and then select the "Select nb/nbf" option. Select the ROM you want to modify and then click "dump rom". This will deconstruct the ROM and put all the files included in the ROM into a single directory.
If you know the files you want to change (such as images) you can simply find them in the "dump" folder (click on the "..." button on neokits main screen) and replace them with the files you want.
If you want to add a program, you can do it two ways:
Create an OEM Package.
Install a CAB after the flashing of the ROM.
If you want to change the registry, the "default.rgu user.rgu" tab must be selected.
To change shorcuts, you will need to edit the "initflashfiles.dat".
After modifying the ROM, you will need to build it back up so that you can flash it. Go to the main screen and click "build ROM" click yes, and then you will have to wait for this to complete.
Now you need to turn the *.nb files into a *.nbf. Follow the instructions in neokit for this.
This will be updated with more detail when I have the time to do so.
If you have any questions do not hesitate to ask as I and others will be willing to help.
Click to expand...
Click to collapse
hi l3v5y :Moderator,
I was a new member of xdaDef...
i'd ever cook the rom base on the RK at PDAMobiz.com..
But i got the prob. about how to add the program into the OEM package 'coz some programs i got that contained the old version.
Anyway i used the package creator 5.5 to do create it into the OEM file...
after that i can collect the program in OEM and can build OS but after upping the ROM ....
it;s got HANG.... Oh no..
I tried many many time to change something but i didn't have the knowledge about RM..
could u pls. suggest me by e-mail how to cook the rom by myself after i d/l the SYS, OEM, and XIP of "CE 5.2.19960 (issue form HTC Raphael) ported for ELF"..
I wanna be a rom cooker asap....
Best Regards,
JoeMan
[email protected]
Also another suggestion:
When removing one or more software you should also remove the setting in initflashfiles.dat and the registry in default/user.rgu, that's call clean remove.
When adding softs, also include adding path and registry also.
For better removing or adding soft you should look inside their cab (I use WinCE cab manager)
legedug said:
Also another suggestion:
When removing one or more software you should also remove the setting in initflashfiles.dat and the registry in default/user.rgu, that's call clean remove.
When adding softs, also include adding path and registry also.
For better removing or adding soft you should look inside their cab (I use WinCE cab manager)
Click to expand...
Click to collapse
WOW..... LEGEDUG..... a rom master now....
legedug said:
Also another suggestion:
When removing one or more software you should also remove the setting in initflashfiles.dat and the registry in default/user.rgu, that's call clean remove.
When adding softs, also include adding path and registry also.
For better removing or adding soft you should look inside their cab (I use WinCE cab manager)
Click to expand...
Click to collapse
Thaks for yr suggestion....
But it is my hard understanding..
could u pls. show me the example?
i'll try it...
Regards,
JoeMan
Thank's dioxda2 for teasing me
But I'm a learning by doing,
Still too far away from being a rom master
monjikung said:
Thaks for yr suggestion....
But it is my hard understanding..
could u pls. show me the example?
i'll try it...
Regards,
JoeMan
Click to expand...
Click to collapse
Oke
For instance, you want to add smsbackup in your rom
Open smsbackup.cab with wince cab
There are 2 files (exe and dll), 1 shortcut (lnk) and 4 registry entry
So, you should add 3 files (exe. dll, and lnk) to dump folder (adding fiile from neokit tools from Inteks)
Adding some initflash.dat with some path (where do you want to put the link file)
Adding 4 registry key in default or user.rgu
For removing, the process will be reversing.
Hope this will help you
I think you should try practicing.

Anyone have official WM6.1 OS only ROM from VZW?

Does anyone have just the OS ROM portion of the new VZW MR1 update? If so could you link it or explain how you disassemble the NBH file? What tools did you use and do you know of a good thread to learn to make your own kitchen?
Yes, I have searched for these. Kitchen one just returns too many results. The Stock OS querry returns too many unrelated posts. I have seen it floating around before.
Any help is appreciated with any portion of this post.
Thanks!
scrosler said:
Does anyone have just the OS ROM portion of the new VZW MR1 update? If so could you link it or explain how you disassemble the NBH file? What tools did you use and do you know of a good thread to learn to make your own kitchen?
Yes, I have searched for these. Kitchen one just returns too many results. The Stock OS querry returns too many unrelated posts. I have seen it floating around before.
Any help is appreciated with any portion of this post.
Thanks!
Click to expand...
Click to collapse
First, you need to extract the self-extracting EXE that Verizon/HTC made.
Download the utility called NBHUtil. This will extract the NBH file and create NB files. In order to compile the individual files into an NBH again, use NBHGen, found in the kitchen under tools, with the following schema...
***Sample
TITA1000
00000000
VZW2.09
USA
200,0_SPL.nb
600,1_Splash.nb
601,2_SubSplash.nb
900,New_ExtROM.nb
300,3_Radio.nb
400,4_os-new.nb
*** End Sample
1 - is the phone model. Must be written as TITA1000
2 - CID
3 - Version
4 - Region Code
5 - 10 - these are the individual files.
first 3 digits is the area of memory to write the file. These MUST be as the sample. Then a comma and the "File Name". In order to create an NBH file that only has one, just delete the other lines. For OS only make it like this...
** OS Only
TITA1000
00000000
DCD_3.2.6
USA
400,4_os-new.nb
*** End OS Only
Edit: Forgot to explain NBHGen. It is a command line utility. Create the "Sample" text above and name it ****.txt (whatever you want to call it). Then run in CMD prompt..... nbhgen ****.txt. All the files must be in the same directory. If it finds the txt file, and the nb files, it will successfully create the NBH file as Ruu_signed.nbh
** OS Only
TITA1000
00000000
DCD_3.2.6
USA
400,4_os-new.nb
*** End OS Only
Click to expand...
Click to collapse
This isn't a dcd rom so why would you call it DCD_3.2.6? Should be whatever the output from nbhextract gives.
gc14 said:
This isn't a dcd rom so why would you call it DCD_3.2.6? Should be whatever the output from nbhextract gives.
Click to expand...
Click to collapse
Yes. I am aware... it's just a sample. You can call it whatever you want. Obviously don't use somebody's "Copyrighted" name. LOL.
gc14 said:
This isn't a dcd rom so why would you call it DCD_3.2.6? Should be whatever the output from nbhextract gives.
Click to expand...
Click to collapse
Thank you both very much. This is the info I needed. I want to delve into making my own kitchens. This is what I needed.
Thank you both!
nitro66215 said:
First, you need to extract the self-extracting EXE that Verizon/HTC made.
Download the utility called NBHUtil. This will extract the NBH file and create NB files. In order to compile the individual files into an NBH again, use NBHGen, found in the kitchen under tools, with the following schema...
Edit: Forgot to explain NBHGen. It is a command line utility. Create the "Sample" text above and name it ****.txt (whatever you want to call it). Then run in CMD prompt..... nbhgen ****.txt. All the files must be in the same directory. If it finds the txt file, and the nb files, it will successfully create the NBH file as Ruu_signed.nbh
Click to expand...
Click to collapse
Quick Question. I noticed the NBH tool you posted as the ability to make and NBH files as well as tear them down. Would you use the NBH Gen program to generate NBH files over this NBHUtil that you posted?
EDIT: Nevermind! I built my first OS only ROM from these two tools. My next question is how do I break the OS.NBH or NB down into the actual kitchen files. I would assume that is the next step to creating your own kitchen, correct? Long ago on my Apache I used the DogGuy Kitchen maker with success. I tried that the other day and it made a mess of my Titan, hehe. Any suggestions? Alos, I would prefer to learn command line if at all possible. I hate GUI's. Yes I really did say that. I hate GUI's.
These tools are in the kitchen as well. There is a readme attached.
scrosler said:
Quick Question. I noticed the NBH tool you posted as the ability to make and NBH files as well as tear them down. Would you use the NBH Gen program to generate NBH files over this NBHUtil that you posted?
EDIT: Nevermind! I built my first OS only ROM from these two tools. My next question is how do I break the OS.NBH or NB down into the actual kitchen files. I would assume that is the next step to creating your own kitchen, correct? Long ago on my Apache I used the DogGuy Kitchen maker with success. I tried that the other day and it made a mess of my Titan, hehe. Any suggestions? Alos, I would prefer to learn command line if at all possible. I hate GUI's. Yes I really did say that. I hate GUI's.
Click to expand...
Click to collapse
I've used the NBH tool to build it... but it came out funky. So I just use the NBHGen utility
nitro66215 said:
I've used the NBH tool to build it... but it came out funky. So I just use the NBHGen utility
Click to expand...
Click to collapse
Ok, same thing here. Otherwise everything is working exactly as you described. Thanks.
Will try the the IMAGEFS tool now.
This is too easy... So far...
Another question but sort of off topic. Is there a way to grab a ROM NB or NBH file from my phone? If so would it bring back all the custom apps and settings?

Search for kitchen

Hi,
I have been using a few kitchens but none of them can dump its own generated ROM back, what I did is:
1. use this kitchen to create RUU_SIGNED.NBH.
2. use this kitchen to dump from NBH file just created.
3. No OEM and SYS directory are created or the directory are created but no files inside.
Can anyone recommend a kitchen which can have files sorted to OEM and SYS in step 3?
Why
HTC_FUZE said:
Hi,
I have been using a few kitchens but none of them can dump its own generated ROM back, what I did is:
1. use this kitchen to create RUU_SIGNED.NBH.
2. use this kitchen to dump from NBH file just created.
3. No OEM and SYS directory are created or the directory are created but no files inside.
Can anyone recommend a kitchen which can have files sorted to OEM and SYS in step 3?
Click to expand...
Click to collapse
Hey HTC_FUZE, Why do you want/need to dump your own ROM? Surely if you have the kitchen - the OEM and SYS are already there! Why don't you just recook with the changes that you want to make to it?
If your trying to dump somebody else's ROM then it may be protected. Some chefs protect their ROMs from being dumped.
Secc
just in case my hdd is dead or files corrupted, so I still have chance to extract rom from my phone and get the same dump as before
Ahhhh...
HTC_FUZE said:
just in case my hdd is dead or files corrupted, so I still have chance to extract rom from my phone and get the same dump as before
Click to expand...
Click to collapse
My best advice to you is to do what i do BACK UP!!! When i first started i never backed my kitchen up, then i lost my whole kitchen, had to start from scratch!! Now, every couple of builds i backup the whole kitchen to a rar and save on a external drive.
A few weeks ago my working kitchen got corrupted somehow, i just restored the rar, imported the new build and was cooking again in no time - without the backup, i'd be knackered!!!
Secc
The OEM folders unfortunately end up in the SYS folder when you dump them. Simply pull them out and put them into the OEM folder and you're set. Something to do with the kitchens recreating the DSM's incorrectly.
@jwzg:
Correct; unfortunately, most kitchens strip the .DSM/.RGU during ROM compilation. Ervius tried to implement a method to preserve the .DSM/.RGU for decompilation but it didn't work as he'd hoped.
@HTC_FUZE:
You need to backup your working kitchen; unfortunately there's no other way. I usually do the following:
File copy the kitchen to a backup HDD
File copy the compiled .NBH I used on the device to a backup HDD
.RAR the kitchen
You could go one extra step and burn the lot to a CD/DVD.
HTH,
This is what I am doing now. However, I would like to have such a kitchen I mentioned. I found one of the ROMs I downloaded can be dumped and sorted like official ROM. I may ask him which kitchen he uses.
I have a Wizard ROM which can be dumped like this. It was made with with an old kitchen that is incompatible with newer devices.
jwzg said:
I have a Wizard ROM which can be dumped like this. It was made with with an old kitchen that is incompatible with newer devices.
Click to expand...
Click to collapse
Hi, Jwzg:
If it is working with Fuze, I would like to have it. Could you give me it? Thanks

Categories

Resources