ROM Cooking...a step forward... - 8525, TyTN, MDA Vario II, JasJam Software Upgradin

Hello All,
I'm new to this kitchen thing and over the last 2 weeks i have been here (in this great community) trying to learn how to become a cooker...or something like that!
Now i think it's time to ask you Cheafs to clarify me because after all this reading i'm getting a little confused....
First of all i'm a HERM200 owner and i'm very happy with it...it’s a great machine!!!
A few weeks ago i tried to install a wm6.1 rom (cooked rom) and all this reading started from here, so i installed Hard-SPL-V7 from Olipro and successful installed a cooked rom.
I also learned that to start cooking a rom I must follow these steps:
a) Get a RUU_signed.nbh: I used a original shipped WM6 ROM version
b) Extract the contents from that NBH file: I used nbhextract.exe
c) After the extraction I get some NB files and I choose the 06_OS.nb (this is WM operative system)
d) I “prepare” the 06_OS.nb to be cooked with aChef (delete or add files). This will generate a raw data BIN file.
e) Optionally I can “mount” in the local disk all the files (or the majority of them) that compose the raw bin file generated in step d) with the viewimgfs.exe tool...
f) I cook the ROM with AddFile.exe or DelFile.exe utilities
g) After all the cooking I must “close” the 06_OS.nb with aChef (option -2)
h) At the end I must compile the NB files in one NBH file that I want to flash to the device. For this I use nbhgen.exe tool.
Here is a resume of all this:
Nbhextract.exe ruu_signed.nbh (this will extract some NB files and one of them is 06_OS.nb)
java -jar achef.jar -1 06_OS.nb (this generates a imgfs_raw_data.bin file)
viewimgfs.exe imgfs_raw_data.bin (OPTIONAL. It generates a DUMP folder with all the files)
AddFile.exe FileToBeAdded.extension
DelFile.exe FileToBeDeleted.extension
java -jar achef.jar -2 06_OS.nb
nbhgen.exe ListOfNBs.txt
Then i put the resulting NBH file and the RUUWrapper.exe (Custom RUU V5.2) in the same folder and it’s ready to flash…..
At the end I’ve find some nice tools that do all this stuff and much more like “hermes rom koch v0.99” and others….
Now my doubts:
Can I cook a cooked rom?
Can I cook a Kaiser original shipped rom for my Hermes?
Can I Flash a different language cooked/original rom in my Hermes?
Where can I find base wm6.1 rom (not cooked) for Hermes?
That’s all for now!
Thanks in advance
apnaf

ola
Can I cook a cooked rom?
Yes, you can do it. It is matter of following the same steps over and over.
But over cooking may produce bad blocks. HarSPL is nice stuff right?
========
Can I cook a Kaiser original shipped rom for my Hermes?
Learn more about the structure of the files...
co relate and check if these match up... so of them in fact do match.
Many of them have built ROMS using different ROMS. it is not rocket science for them but me.
========
Can I Flash a different language cooked/original rom in my Hermes?
Yess, Google, Search, lastly ask!!
=======
Where can I find base wm6.1 rom (not cooked) for Hermes?
forum.xda-developers.com :: Look around?? Many many of them.
I am new as well but i love to read stickies!!!

Related

NBH tool V1.1 help

Hi there
does someone knows why when extracting an Athena NBH file (using NBH tool v1.1) to its NB components we get 10 NB files such as:
-ATHENA_IPL.nb
-ExtendedRom.nb
-G4IPL.nb
-PrimarySplash.nb
-Radio.nb
-RUU_signed.nbh
-SecondarySplash.nb
-SIRFBootLoader.nb
-SPL.nb
-Windows.nb
But when we need to compile the NB files back to the NBH file we have only 7 files to add such as:
-IPL
-First Splash
-OS
-Radio
-SPL
-Second Splash
-Ext. Rom
three more things
1) which device should be choosed for the compilation process ?
2) What should be the "Signature size"?
3) what is ment by "Version" the radio rom version or the operating system rom version?
many thanks in advance.
aseptic said:
Hi there
does someone knows why when extracting an Athena NBH file (using NBH tool v1.1) to its NB components we get 10 NB files such as:
-ATHENA_IPL.nb
-ExtendedRom.nb
-G4IPL.nb
-PrimarySplash.nb
-Radio.nb
-RUU_signed.nbh
-SecondarySplash.nb
-SIRFBootLoader.nb
-SPL.nb
-Windows.nb
But when we need to compile the NB files back to the NBH file we have only 7 files to add such as:
-IPL
-First Splash
-OS
-Radio
-SPL
-Second Splash
-Ext. Rom
three more things
1) which device should be choosed for the compilation process ?
2) What should be the "Signature size"?
3) what is ment by "Version" the radio rom version or the operating system rom version?
many thanks in advance.
Click to expand...
Click to collapse
Device Athena
Model ATE001
-ATHENA_IPL.nb --> IPL
-ExtendedRom.nb --> Ext
-G4IPL.nb --> IPL
-PrimarySplash.nb --> First Splash
-Radio.nb --> Radio
-SecondarySplash.nb --> Second Splash
-SIRFBootLoader.nb --> GPS
-SPL.nb --> SPL
-Windows.nb --> OS
Hi whammer, you did not answer all my questions:
1) in the NBH tool v1.1 there isn't any "ATE001" model- there is a "ATHE100" model but when you use it the IPL and SPL rows can't even be reached for input so the compiled NBH file will only have 5 internal NB files when extructed.
2) you wrote that ATHENA_IPL.nb --> IPL and in the same time that G4IPL.nb --> IPL. this must be wrong, you can't use both of them in the same compilation.
3) I think that when you extract the athena NBH file you get 10 NB files, and the NBHtool compiler should have the exact 10 rows for input to do it right.
4) what about the signature size and rom version?
many thanks
well? anybody??

Editing Atom Life Pagepool - HowTo at post #8

After months of learning and digging deep inside the Atom Life, I think now it's time for a newer Rombuild.
Cooking the imgfs is not the problem, but I didn't understand the XIP from Atom Life.
We have 2 XIP parts, compressed in SRPX format.
Grabbing them is no problem with Scoter Kitchen Tool MSFLSHTOOL.exe.
The kitchen contains 2 tools to change from SRPX to XIP and reverse.
As I described in the Atom Life Kitchen thread, repacking the XIP.bin to SRPX causes a smaler file than the source file.
The cooked OS doesn't boot.
That's the first big problem.
The second one are the two XIP sections. The first one is bigger and contains some files, the second one didn't has.
But some files are existing in both sections with different sizes.
So cooking the Atom Life XIP seems more complicated than in other devices.
Here are the 2 XIP sections. Hope someone has an Idea, how we can work with these files:
http://rapidshare.com/files/79622471/LifeXIP.rar.html
Edit:
The first problem is solved. I have compared the original XIP part with the new one in a hexeditor.
I've simply hexedited the beginning and filled the end of the new file with FF to match the needed filesize.
After comparing both, now the new file is identical.
Maybe later, we can use the space of 300kb to encrease the memory of Atom Life .
I wonder, where all the ROM-Cookers for Atom Life devices are hidden.
Another positive aspect is, now we can change the Pagepool of the Atom Life.
After changing the PP from 8MB to 4 MB, my device has a total Program memory of 52.41 MB. After a fresh setup and some tweaking with SKTools, I have, after a softreset more than 29 MB free Programmemory.
I know someone who can handle these files,and he has cooked a 18538 rom for atom life,here is the link:http://www.pdaclan.com/forum-7-1.html, btw,can you tell how to change pageing pool of life?Thanks and sorry for my poor english,hope you can understand what i mean
qq108108108 said:
I know someone who can handle these files,and he has cooked a 18538 rom for atom life,here is the link:http://www.pdaclan.com/forum-7-1.html, btw,can you tell how to change pageing pool of life?Thanks and sorry for my poor english,hope you can understand what i mean
Click to expand...
Click to collapse
Thank you for the hint.
As I can see (or guess, because I can't chinese) there are some ROMs for Atom Life. Even some Pagepool changed.
You can change pagepool only, if you extraxt the XIP, edit it and cook the new ROM and flash it.
But if there are already some ROMs, there is no need to explain, just download the OS of your choise.
I wonder, why nobody of the Rom cooker offers his work for english speaking people ?
As I can't read chinese, please can you or someone else post download links to the Atom Life ROMs of this site ?
Thank you
I want to help you,First,you should log in,use account:qq108108 password:aaaaaaaa,when you log in,simply chick the post,you will see the download link, you would not miss it!I have a problem:when I use Atom Life Simplified Kitchen - Sdh, I got a wrong message:The output sign-buffer is to smal for encrypted signs.Encryption from Unicode (UTF-8) in dodgeposition System.Text.DecoderReplacementFalback." I wonder how to solve this problem and make my rom bootable,Have you have a MSN or something,maybe we can talk about how to make a bootable using the rom Kitchen !!
qq108108108 said:
I have a problem:when I use Atom Life Simplified Kitchen - Sdh, I got a wrong message:The output sign-buffer is to smal for encrypted signs.Encryption from Unicode (UTF-8) in dodgeposition System.Text.DecoderReplacementFalback."
Click to expand...
Click to collapse
Thank you for helping
That's the same problem, I have with my german XDA Comet ROM.
Unfortunatly I have no idea to fix it.
If I find further solutions, I 'll post it.
The Atom Life WWE ROM runns fine with the kitchen. So I'll use this ROM .
I will take o look at pdaclan. Maybe google translation gives me more informations.
Bye
So can you just tell me how to change the pp please?Thank you!!
Of course
Hope I can explain it that everybody can understand. Because it's hard for me to explain thinks in a foreign language.
1. You need an original Atom Life FLASH.dio
2. remove the 12 bytes header with a hexeditor and rename the file to AL1.dio (you don't need these step, if your file is already prepared for MiniSD card flashing. Only for original ROMs from official Updates)
3. download Scoter Romkitchen.
http://rapidshare.com/files/15460590/Scoter_Kitchen_1.0.exe.html
or http://www.megashare.com/107480
4. You need the SRPX tools from this kitchen.
5. put the ROM in the SRPX folder
6. in commandline change in SRPX folder and type:
Code:
msflshtool AL1.dio -d -p 1
7. You'll get a new file called AL1.dio.part1
8. Now type:
Code:
SRPX2XIP AL1.dio.part1 xip.bin
this will produce xip.bin
The SRPX compressed XIP will be changed in the regular XIP format.
9. Locate the following hexstring with an hexeditor:
Code:
FFFFFFFFFFFFFFFF9B4FFFFF64B00000
One line below, you will see:
Code:
00008000
That's the actual pagepool from 8 MB
10. change the value to:
Code:
00004000
or an other prefered pagepoolsize. Save the file first.
11. Now the tricky part, I don't know an easier way yet.
12. type:
Code:
XIP2SRPX xip.bin
You will get a new file called: xip.bin.xiporg
13. As you can see the new file is much smaller than the original one part1.
So you must fix it with the hexeditor. You must compare the original file with the new one.
14. the beginning of the new file should look like the original one, so you must edit the values in the new one till the word SRPX.
After I take a learning lesson by my "teacher" ferryboat, I found out that steps 15 - 17 are not neccessary !! Jump to 18.
(Will edit the howto, after further compare)
15. the old file is bigger and the end is filled with the value FF.
16. just copy the FF -block and paste it to the end of the new one. Save it.
17. Compare if the new file has the same size like the old one.
18. type
Code:
msflshtool AL1.dio -r xip.bin.xiporg -p 1
19. the new file will be written in the AL1.dio ROM image.
20. put the image to the MiniSD . Bring the Atom Life in bootloader-mode and flash it.
Done and ready
You can test several pagepool sizes.
CU
scorpio16v
Thank you!!!Now I have download the new 18538 rom,BUT the Programmemory only have 22MB free,So I need to do something to make it larger.Thanks for you great work!!If you need any help,just tell me!!!And pdaclan have a new rom kitchen for atom life too.
After reading your stuff,It seem that a little bit diffcult for me to understand,But since you explain so well,I think i can make it happen!!
qq108108108 said:
After reading your stuff,It seem that a little bit diffcult for me to understand,But since you explain so well,I think i can make it happen!!
Click to expand...
Click to collapse
You need only to copy and paste the quoted commands in commandline.
The whole procedure needs only about 10 minutest from editing the ROM till to the ready flashed device.
Even the hexeditor is included in Scoter Kitchen, so you have all tools that you need.
The hexeditor in Scoter Kitchen called XVI32. For editing, just open it twice and load the original SRPX.part1 in one and the edited in the other opened instance.
At the beginning of the file, you will see the difference. Only edit the values that are different, till the text "SRPX" (you'll see it).
To copy the "FF" block, just go to the end of the edited file, you'll see where the file ends.
At the original file, there is the beginning of the "FF" block.
Go to first "FF" value,
press CTRL+B , goto the last "FF" value, press CTRL+B again, you will see the block red marked.
Go to "copy to clipboard" button and push.
Now go to the end of the new file and press the "paste from clipboard" button and save.
Hope that some of the new ROMS, tools and knowledge from PDAClan find the way to XDA-Developers, because that'll be bring "life" in the Atom Life comunity.
Thank you for YOUR help.
I hope so,The one who made the 18538 atom life rom had ask you question before.If I meet him ,I will tell him to come here and teach both of us the method to port the xip!!
Done!!Thanks for your tutor!!
I don't understand what it's mean:"cut the 12 bytes header with a hexeditor and rename it to AL1.dio". Could you please explain it more? I'm a new with Atom Life. Thank so much Mr. scorpio16v.
nhathoa said:
I don't understand what it's mean:"cut the 12 bytes header with a hexeditor and rename it to AL1.dio". Could you please explain it more?
Click to expand...
Click to collapse
Sorry, but if you don't know what an hexeditor is and how you should use it and you even can't simply rename a file, it's not the right thing for you to do these job.
Sorry, I tried to make everything you told, rename Flash.dio to AL1.dio and put AL1.dio into SRPX tools folder, then run cmd with command: msflshtool AL1.dio -p 1. Final, it show: "the file is not msflsh50 format" ??? and there is no file "AL1.dio.part1" was generated in SRPX tool folder???
Maybe I don't undersatand "cut 12 bytes header"
nhathoa said:
Sorry, I tried to make everything you told, rename Flash.dio to AL1.dio and put AL1.dio into SRPX tools folder, then run cmd with command: msflshtool AL1.dio -p 1. Final, it show: "the file is not msflsh50 format" ??? and there is no file "AL1.dio.part1" was generated in SRPX tool folder???
Maybe I don't undersatand "cut 12 bytes header"
Click to expand...
Click to collapse
Just open the file with the hexeditor and cut the first 12 bytes to remove the header of the file. than save it.
For example:
XX XX XX XX XX XX XX XX XX XX XX XX E9 FD FF 00
You must delete the XX.
So the new file beginns now with E9.
Thats only an example, maybe your file looks different at the beginning, but you must cut the header.
(XX are only placeholder. You'll see other entries in Your file)
Okok just "remove" 12 bytes header, not "cut" 12 bytes header. Now I can do that. Thank you very much.
An idea: there is a simple tool to change papetool only for "Hermes". With this tool, just load Os.nbh and set 4/6/8/12 Mb, then you will get a new OS.nbh file with papepool you want. That's so easy... You will make a tool like that? I hope so, great man.
nhathoa said:
That's so easy... You will make a tool like that? I hope so, great man.
Click to expand...
Click to collapse
I'm not a programmer or IT expert. So someone other will do that.
I was told that the guy who made 18538 ROM would make a WWE 18538 rom for atom life.So you can just wait for the new rom.Also ,he told me that if we want to edit XIP part ,just need to edit the part1.

How to Reconstruct a Raphael Dumped ROM & Reconstructed ROMs

This is the procedure to convert the dumped ROM into NBH "flashable" file. I take no responsability in any damage on your device. If you're not sure what you're doing, take time to learn some basics from wiki.
Well, i manage to reconstruct the spanish dumped rom from my Raphael. This thread is about how to reconstruct a dumped Raphael ROM, to have the original ROM that cames with your Kaiser, so you can revert to origin.
This is only the process to get back the original OS for your device, neither the SPL nor the radio ROM.
1. First of all is to Dump the ROM from your device.
Here are the proces (thanks to RezzZ)...
HTC Touch Pro DUMP:
Open a reg editor (dooFred TaskManager, TotalCommander or PHM Registry...) on your Touch Pro
Change:
HKLM\Security\Policies\Policies
valuename '00001001'was set to dword:2, change it to dword:1
After this change you need to soft reset your device.
Download itsutilsbin (http://www.xs4all.nl/~itsme/projects/xda/tools.html)
Extract the zip file and copy itsutils.dll to \windows on the Touch Pro (don't do it using ActiveSync, instead copy the file first to SD, and using TotalCommander or Resco Explorer copy from SD to \Windows).
Run (copy paste):
“pdocread.exe -l” (it’s the letter L not a 1)
you get something like:
Code:
457.75M (0x1c9c0000) DSK1:
| 3.12M (0x31f000) Part00
| 4.50M (0x480000) Part01
| 126.50M (0x7e80000) Part02
| 323.63M (0x143a0000) Part03
7.61G (0x1e6e80000) DSK7:
| 7.60G (0x1e6a80000) Part00
.....
Now run:
“pdocread -w -d DSK1: -b 0x800 -p Part00 0 0x31f000 Part00.raw”
“pdocread -w -d DSK1: -b 0x800 -p Part01 0 0x480000 Part01.raw”
“pdocread -w -d DSK1: -b 0x800 -p Part02 0 0x7e80000 Part02.raw”
“pdocread -w -d DSK1: -b 0x800 -p Part03 0 0x143a0000 Part03.raw”
notice the part before Part0X.raw is the same as you got with pdocread.exe –l, same for the name of the disk.
dumping part02 and 03 wil take some time. be patient.
After dumping the ROM you'll have 4 RAW files. Move in one folder the Part01.raw that contains the XIP and Part02.RAW that contains the IMGFS, both needed for the reconstruction process.
2. Download the WWE BaseROM to use in the reconstruction process here http://rapidshare.com/files/138980371/RUU_Raphael_HTC_WWE_1.90.405.1_Radio_Signed_Raphael_CRC_52.33.25.17_1.02.25.19_Ship.exe
3. Download the Raphael Kitchen v0.62 here, that allows to reconstruct the ROM from the dump. The Raphael Kitchen allows to cook a ROM from a dumped one and from base NBH shipped one. You need to put the NBH file from the step before in the BaseROM folder (the Shipped ROM is a huge EXE file, and you'll need WinRAR to extract the content), and put the RAW files too.
Then execute the RAPHAELKITCHEN.CMD and choose the next options from the menu it this order:
e, b (for dumped ROM),space key, c, a, press BuildOS Play icon and wait to finish, Close BuildOS, close PagePool Changer and press space to go back to main mene. As a result of this process you will have a RUU_Signed.NBH file you can flash on to your Touch Pro to go back using the F option from main menu.
Thanks to JugglerLKR for help me and the knowledge to solve the issues into reconstructed ROMs, and Alex to make a better script, and of course all the ppl make wonderfull apps that make this possible...
Cheers.
Reconstructed ROMs
List of Reconstructed ROMs
HTC SVE 1.90 Part1 and Part2 * note the RAR is a multipart file (many thanks to easycure1974 for this one)
HTC FRE 1.90.406.5 (many thanks to geek78 for this one)
HTC ESN 1.90 (recompiled light and tested by me )
HTC ITA 1.90
O2 German1.90.407.4 (many thanks to chrisge)
HTC WWE 1..90.871.3 (thanks to ruffruff)
Vodafone UK 1.90.161.5 (thanks to annonymouse)
HTC CHT 1.90.709.5
HTC GER 1.90.407.4
HTC WWE 1.90.401.1 Multilanguaje (include Czech, Slovak, Polish, Hungarian and Romanian)
HTC WWE 1.90.707.4 Asia (Thanks try for the dump)
TMobile Austria 1.69.112.6 (Thanks licht77 for the dump)
Vodafone ITA 1.90.165.5 (Thanks to TauRho for the reconstruction)
HTC Norway 1.90.409.6 (Thanks to Verbato)
HTC Russian 1.90.411.3 (Thanks to sergr)
HTC Danish 1.90.403.6 - Part1/Part2 (Thanks to danny_and_2)
HTC Egypt's 1.90.485.3 - Part1/Part2 (Thanks to microfox and karimartine)
and this one too
jcespi2005 said:
This is the procedure to convert the dumped ROM into NBH "flashable" file. I take no responsability in any damage on your device. If you're not sure what you're doing, take time to learn some basics from wiki.
Well, i manage to reconstruct the spanish dumped rom from my Raphael. This thread is about how to reconstruct a dumped Raphael ROM, to have the original ROM that cames with your Kaiser, so you can revert to origin.
This is only the process to get back the original OS for your device, neither the SPL nor the radio ROM.
1. First of all is to Dump the ROM from your device. For this you only need to go to Pof post here and follow the instructions (take care about values, cause not all devices have same ROM sizes). After dumping the ROM you'll have 4 RAW files. Take apart in one folder the Part01.raw that contains the XIP and Part02.RAW that contains the IMGFS, both needed for the reconstruction process.
2. Download the WWE BaseROM to use in the reconstruction process here http://rapidshare.com/files/138980371/RUU_Raphael_HTC_WWE_1.90.405.1_Radio_Signed_Raphael_CRC_52.33.25.17_1.02.25.19_Ship.exe
3. Download the Raphael Kitchen here, that allows to reconstruct the ROM from the dump. The Raphael Kitchen allows to cook a ROM from a dumped one and from base NBH shipped one. You need to put the NBH file from the step before in the BaseROM folder (the Shipped ROM is a huge EXE file, and you'll need WinRAR to extract the content), and put the RAW files too. Then execute the RAPHAELKITCHEN.CMD and choose the next options from the menu it this order:
e, b (for dumped ROM), c, a, press BuildOS icon and wait to finish, Close BuildOS. As a result of this process you will have a RUU_Signed.NBH file you can flash on to your Touch Pro to go back.
Thanks to JugglerLKR for help me and the knowledge to solve the issues into reconstructed ROMs, and Alex to make a better script, and of course all the ppl make wonderfull apps that make this possible...
Cheers.
Click to expand...
Click to collapse
Great walkthrough!
Is it possibly to include (optional) steps for restoring SPL and radio ROM also ?
/Rgds, Hans
HansN said:
Great walkthrough!
Is it possibly to include (optional) steps for restoring SPL and radio ROM also ?
/Rgds, Hans
Click to expand...
Click to collapse
Thanks mate
About restoring SPL, you have the needed info in the HardSPL thread http://forum.xda-developers.com/showthread.php?t=410150, for now there are only one SPL, version 1.90, so the follow the steps and you'll get the stock SPL.
About Radio ROMs, you only need to download the desired one from Wiki here http://wiki.xda-developers.com/index.php?pagename=Raphael_ExtractedRadioRoms
Cheers
Hi,
Your link for WWE BaseROM says:
"http://rapidshare.com/files/138980371/RUU_Raphael_HTC_WWE_1.90.405.1_Radio_Signed_Raphae l_CRC_52.33.25.17_1.02.25.19_Ship.exe"
but it actually points to:
"http://rapidshare.com/files/57816419/RUU_Kaiser_HTC_WWE_1.56.405.5_radio_sign_22.45.88.07_1.27.12.11_Ship.rar.html"
Is it OK?
I would like to try rebuilding my original ROM which is the 1.90.401.1 with radio 1.02.25.19
Ops, thanks for the report... i copied the post from the Kaiser thread and forget to change the link... now is corrected.
Cheers
crocodile010 said:
Hi,
Your link for WWE BaseROM says:
"http://rapidshare.com/files/138980371/RUU_Raphael_HTC_WWE_1.90.405.1_Radio_Signed_Raphae l_CRC_52.33.25.17_1.02.25.19_Ship.exe"
but it actually points to:
"http://rapidshare.com/files/57816419/RUU_Kaiser_HTC_WWE_1.56.405.5_radio_sign_22.45.88.07_1.27.12.11_Ship.rar.html"
Is it OK?
I would like to try rebuilding my original ROM which is the 1.90.401.1 with radio 1.02.25.19
Click to expand...
Click to collapse
No problem.
I get the error "Could not update itsutils.dll to the current version, maybe inuse?
Try restarting device or activesynch or maybe your device is application locked?"
I have tried two PCs and restarted my phone many times. I'm desparately wanted to backup my vodafone image before placing my own on.
Any help is greatly appreciated.
Scribe said:
I get the error "Could not update itsutils.dll to the current version, maybe inuse?
Try restarting device or activesynch or maybe your device is application locked?"
I have tried two PCs and restarted my phone many times. I'm desparately wanted to backup my vodafone image before placing my own on.
Any help is greatly appreciated.
Click to expand...
Click to collapse
Try copy the itsutils.dll to SD, and after with Total Commander, or Resco Explorer copy from SD to \Windows folder.
Remember to edit the Policy registry too and restart after do it.
Cheers
After I pressed the icon BuildOS I get an error in BuildOS:
External component has thrown an exception.
Any idea?
Thanks.
chrisge said:
After I pressed the icon BuildOS I get an error in BuildOS:
External component has thrown an exception.
Any idea?
Thanks.
Click to expand...
Click to collapse
What OS version on your PC? Do you have .NET framework 2.0?
I have tested on XP and Vista and works fine...
Cheers
Win XP with .net 2.0 on a Mac runs in Parallels.
I cooked a Rom a week ago (Version 0.5) with no Problems.
chrisge said:
Win XP with .net 2.0 on a Mac runs in Parallels.
I cooked a Rom a week ago (Version 0.5) with no Problems.
Click to expand...
Click to collapse
Strange, cause BuildOS.exe hasn't changed since v0.5
Can you give me more details about the process you did untyl you get the error? step by step, please
Cheers
After I reinstalled .net and dumped the Rom again everything works fine.
Thanks for your help...
Chris
chrisge said:
After I reinstalled .net and dumped the Rom again everything works fine.
Thanks for your help...
Chris
Click to expand...
Click to collapse
Nice
If you finally get the NBH for your ROM/Languaje, please, post the link here so i can update the second post with yours.
Cheers
Vodafone UK image.
I get my Raphael (HTC Touch Pro) on Tuesday from Vodafone UK, i'll dump and upload the RAW files if it will be of any help to anyone, i would offer to do the whole reconstruction thing but it will be the first time i would be playing with RAW files and 1) I'll probably mess it up and 2) Take me a year to do lol, would be easier for someone experienced to do it.
Just let me know.
RavenY2K3 said:
I get my Raphael (HTC Touch Pro) on Tuesday from Vodafone UK, i'll dump and upload the RAW files if it will be of any help to anyone, i would offer to do the whole reconstruction thing but it will be the first time i would be playing with RAW files and 1) I'll probably mess it up and 2) Take me a year to do lol, would be easier for someone experienced to do it.
Just let me know.
Click to expand...
Click to collapse
Upload your Part01 and Part02 RAW files and i reconstruct for you
Cheers
will this method work with the diamond? i have been trying to reconstruct the dumped rom for a few days now and cant seem to find the answer! i have succesfully dumped, just need someone to show me how to recontruct, please help.
thanks
idrisito said:
will this method work with the diamond? i have been trying to reconstruct the dumped rom for a few days now and cant seem to find the answer! i have succesfully dumped, just need someone to show me how to recontruct, please help.
thanks
Click to expand...
Click to collapse
I think is the same and the procedure is valid 100%, but can't verify cause i haven't a Diamond...

[Question] Cooking a personal Rom

Is it possible for me to cook a personal ROM? I have tried alot of ROMs here but ever since HTC's new official ROM was out (asia) , I find it really good for me. One thing i hate from the ROM compared to cooked roms are that everything is disorganised. Everything is in 1 program file. In cooked Roms, the chefs have already taken the liberty to assign each app to their appropriate folders (apps,connection,multimedia, etc)
I would like to do the same , however it takes alot of time for me to do so but I can manage that. What i really want to do is, after organising the apps to their respected folders, and installing all of my needed softwares on the phone, how do i make a complete backup of the ROM, and then save it on my computer perhaps. So then i could flash my phone with the backup ROM and the next time i were to flash my phone, everything would be there (my apps, my organised folder).
Will it be possible (i'm sure it's possible, i just need the right software / app to do it)
You're going to need a Kitchen to cook your own ROM; assuming you have a Raphael device, have a look at this thread:
Useful Links Thread
http://forum.xda-developers.com/showthread.php?t=439783
Many folks use Da_G's Kitchen ... but there are other great Chefs that have made their Kitchens avalaible.
HTH,
Thank you for the link hilaireg. It's very helpful.
After reading the available tutorials, i have a question. Most of the kitchens are using pre-existing ROMS.
I would like to use a new official HTC ROM to start with. "-HTC Touch Pro-MRII-RUU_Raphael_hTC_Asia_WWE_5.07.707.2_Radio_Signed_Raphael_52.58.25.30_1.11.25.01_Ship"
I noticed that all the tutorial require a .nb file which they say comes in the package. However, when i extracted the .exe file , a few files were extracted alongside a .nbh file. But there is no .nb file. What do i do?
arvin2212 said:
Thank you for the link hilaireg. It's very helpful.
After reading the available tutorials, i have a question. Most of the kitchens are using pre-existing ROMS.
I would like to use a new official HTC ROM to start with. "-HTC Touch Pro-MRII-RUU_Raphael_hTC_Asia_WWE_5.07.707.2_Radio_Signed_Raphael_52.58.25.30_1.11.25.01_Ship"
I noticed that all the tutorial require a .nb file which they say comes in the package. However, when i extracted the .exe file , a few files were extracted alongside a .nbh file. But there is no .nb file. What do i do?
Click to expand...
Click to collapse
You need to have NBHextract Tool it will be in include in kitchen...me too trying to cook on same build with no results. It's no easy try try that's it...
krish_nank, Is this your first time building a ROM?
If so, we're on the same boat...
I tried using NBHextract Tool but when i run the .exe a pop up cmd window comes out and then dissappears. I added the program manually in cmd, and here is what it says , but it doesn't do anything although i have place my .nbh file in the same folder with it.
"
C:\Users\xda>C:\Users\xda\NBHextract.exe
=== NBHextract v1.0
=== Extract contents from HTC NBH files
=== (c)2007 xda-developers.com
=== by: pof & TheBlasphemer based on itsme perl scripts
Usage: C:\Users\xda\NBHextract.exe <nbh file> [-v]
C:\Users\xda>
"
arvin2212 said:
organising the apps to their respected folders, and installing all of my needed softwares on the phone
Click to expand...
Click to collapse
If you just want to organize your existing app then all you have to do is go to this folder,
\\\Windows\Start Menu
This folder has all the icons for the programs. So now you can arrange/ rearrange icons, create folder and move the links to the respective folders as you see fit. Total Commander can be used for this.
If you want a way to install apps after installing a new ROM, you can use UC you can read about it here
http://forum.xda-developers.com/showthread.php?t=366337
But if you just want to build custom ROM then the easiest kitchen is Da G's. If you want a fully loaded kitchen try At0mAng - Advance Kitchen - V2
nnkumar73 said:
If you just want to organize your existing app then all you have to do is go to this folder,
\\\Windows\Start Menu
This folder has all the icons for the programs. So now you can arrange/ rearrange icons, create folder and move the links to the respective folders as you see fit. Total Commander can be used for this.
If you want a way to install apps after installing a new ROM, you can use UC you can read about it here
http://forum.xda-developers.com/showthread.php?t=366337
But if you just want to build custom ROM then the easiest kitchen is Da G's. If you want a fully loaded kitchen try At0mAng - Advance Kitchen - V2
Click to expand...
Click to collapse
Both Da_g's & AtomAng kitchen or based on some OS build we ...we want to dump a ROM & Rebuild it on our own way we want.......
krish_nank said:
Both Da_g's & AtomAng kitchen or based on some OS build we ...we want to dump a ROM & Rebuild it on our own way we want.......
Click to expand...
Click to collapse
okay, my bad. Then I am sure you have seen the ROM reconstruct thread. Hope that thread helps you.
Have a look at the first three posts in the following thread:
[TUT] Sous-Chef's Guide to Da_G's Simple Kitchen
http://forum.xda-developers.com/showthread.php?t=490787
Essentially, once you unpack the "-HTC Touch Pro-MRII-RUU_Raphael_hTC_Asia_WWE_5.07.707.2_Radio_Signed_R aphael_52.58.25.30_1.11.25.01_Ship" executable, you run a script that performs the actions required to prepare the NBH file for custom cooking.
That should get you started.
HTH,
krish_nank said:
Both Da_g's & AtomAng kitchen or based on some OS build we ...we want to dump a ROM & Rebuild it on our own way we want.......
Click to expand...
Click to collapse
With my kitchen do this...
Backup the OEM and SYS folder...
If you have the NBH file already place it in the BaseROM folder
If you do not have the NBH file then run the EXE downloaded from HTC, let it go all the way to the first install screen and dont do anything yet, go to your temp folder on the computer, dig around the folders if there are many, you will see ruu_signed.NBH, copy and paste into the BaseROM folder of kitchen.
Once NBH is in the baserom folder start my kitchen
Select 2, 1, 1 and let it do its thing
When extraction is completed and you are back at main menu select option 8, move dumped OEM/SYS from Temp
When that is done select option 6 Copy Extracted ROM XIP from Temp
When that is done your new dumped ROM is ready to be built.
Delete or do not select any duplicate packages
Clean out the new OEM/SYS folders. There is a lot of junk in there that can be removed, welcome folder, do a search in the OEM/SYS folders for *.3gp and remove the welcome movie and blah blah blah...
If you take the time to look at the folder structure of the OEM and SYS folder you should be able to figure it out pretty quickly.
If you need further help you may ask in my kitchen thread.
Hope this is a start for you guys...
nnkumar73, Thank you for your suggestion but i already known about manually doing it from the start menu folder. However it's not practical as , i would have to do it everytime i reflash my phone. If there is a new rom available, and i were to try it and somehow wanted to go back with my older ROM, i would have to do all the moving etc all again.
hilaireg once again, thank you for the link..
At0mAng, Thank you very much as well. I will follow your steps and see how it goes. I appreciate your effort of posting the right steps for it. Thank you.
DELETED.......................
Just an addition to previous posts
arvin2212 said:
C:\Users\xda>C:\Users\xda\NBHextract.exe
Click to expand...
Click to collapse
I can see u missed out the command : nbhextract ruu_signed.nbh
arvin2212 said:
3.If you do not have the NBH file then run the EXE downloaded from HTC, let it go all the way to the first install screen and dont do anything yet, go to your temp folder on the computer, dig around the folders if there are many, you will see ruu_signed.NBH, copy and paste into the BaseROM folder of kitchen.
Click to expand...
Click to collapse
The easiest way is to use any packer apps like winrar. u can extract the nbh directly. if u r using total commander will be a lot easier. just press ctrl+pg dn & u can extract the file instantly.
Thanks to everyone's help especially At0mAng,
I finally extracted the ROM. I can see aloto of files in SYS and OEM folder.
What i would like to know now is, how do i create folders (icons are not neccessary for the folders) so that i can group installed apps in them according to category? Example is, A multimedia, navigation and games folder is created and , my apps are stored in the folders according to their functions. Like GPS tool goes into navigation and so on..
To simply copy files from \Windows to another directory, you can use an initflashfiles.txt in the OEM. Syntax is:
Directory("\Windows\Start Menu\Programs\Tools"):-File("Enable Proxy.lnk","\Windows\Enable Proxy.lnk")
If you are trying to just place Start Menu items in different folders, it's a bit more complicated. There are many places that this can happen.
1) In \OEM\OEM_Lang_0409\initflashfiles.dat
You can edit this file in Notepad if you remove the ReadOnly bit in Windows. Once you've edited it in Notepad and saved it, you need to re-open it in a Hex editor and delete the first 2 bytes "ff fe". Once you delete those first 2 bytes, save the file and reset the ReadOnly flag. In this file is where I define the Folders I want to use in my "Start Menu" folder like this:
; Start Menu contents
Directory("\Windows\Start Menu")ermDir("Programs")
Directory("\Windows\Start Menu")ermDir("Settings")
Directory("\Windows\Start Menu\Programs"):-Directory("Games")
Directory("\Windows\Start Menu\Programs"):-Directory("Navigation")
Directory("\Windows\Start Menu\Programs"):-Directory("Internet")
Directory("\Windows\Start Menu\Programs"):-Directory("Multimedia")
Directory("\Windows\Start Menu\Programs"):-Directory("Office")
Directory("\Windows\Start Menu\Programs"):-Directory("Phone")
Directory("\Windows\Start Menu\Programs"):-Directory("Tweaks")
Directory("\Windows\Start Menu\Programs"):-Directory("Tools")​2) *.provxml files
You need to edit these files with a unicode editor. Personally I use EmEditor. You'll notice that in mose packages in \OEM and \SYS there is a _Lang_0409 dir that goes along with it. It's "usually" in this folder where you'll see a *.provxml file. If you open these in EmEditor you'll see that there are lots of file operations. You want to seach or the line containing the *.lnk. In that line you can set the patch of where you'd like the icon installed.
There may be other places that this happens as well, but that's just off the top of my head.
Good Luck!
-e
eras2r said:
To simply copy files from \Windows to another directory, you can use an initflashfiles.txt in the OEM. Syntax is:
Directory("\Windows\Start Menu\Programs\Tools"):-File("Enable Proxy.lnk","\Windows\Enable Proxy.lnk")
If you are trying to just place Start Menu items in different folders, it's a bit more complicated. There are many places that this can happen.
1) In \OEM\OEM_Lang_0409\initflashfiles.dat
You can edit this file in Notepad if you remove the ReadOnly bit in Windows. Once you've edited it in Notepad and saved it, you need to re-open it in a Hex editor and delete the first 2 bytes "ff fe". Once you delete those first 2 bytes, save the file and reset the ReadOnly flag. In this file is where I define the Folders I want to use in my "Start Menu" folder like this:
; Start Menu contents
Directory("\Windows\Start Menu")ermDir("Programs")
Directory("\Windows\Start Menu")ermDir("Settings")
Directory("\Windows\Start Menu\Programs"):-Directory("Games")
Directory("\Windows\Start Menu\Programs"):-Directory("Navigation")
Directory("\Windows\Start Menu\Programs"):-Directory("Internet")
Directory("\Windows\Start Menu\Programs"):-Directory("Multimedia")
Directory("\Windows\Start Menu\Programs"):-Directory("Office")
Directory("\Windows\Start Menu\Programs"):-Directory("Phone")
Directory("\Windows\Start Menu\Programs"):-Directory("Tweaks")
Directory("\Windows\Start Menu\Programs"):-Directory("Tools")​2) *.provxml files
You need to edit these files with a unicode editor. Personally I use EmEditor. You'll notice that in mose packages in \OEM and \SYS there is a _Lang_0409 dir that goes along with it. It's "usually" in this folder where you'll see a *.provxml file. If you open these in EmEditor you'll see that there are lots of file operations. You want to seach or the line containing the *.lnk. In that line you can set the patch of where you'd like the icon installed.
There may be other places that this happens as well, but that's just off the top of my head.
Good Luck!
-e
Click to expand...
Click to collapse
Somehow, i am not able to find this file , initflashfiles.dat in my OEM_Lang_0409 folder. :?
Do you have Windows Explorer setup to view all system/hidden files? (Tools->Folder Options-->View)
If using a kitchen that supports it (mine does for sure) you can create a new, blank text file in a package folder, initflashfiles.txt
it uses the same format eras2r posted above, but gets appended to initflashfiles.dat during the cooking process
in this manner you can have initflashfiles.dat changed on a per-package basis, it's also easier because you don't have to worry about the first 2 bytes etc.
e.g. \Packages\beer\initflashfiles.txt
When cooking rom check box next to package "beer"
now the contents of \Packages\beer\initflashfiles.txt get appended to initflashfiles.dat automatically during cooking, don't get applied if box is not checked
similarly this initflashfiles.txt can go in any folder in \OEM and \SYS as well
eras2r, yes , it has already been configured to show hidden files & folders
Da_G, i get what you mean, roughly. What you're saying basically is that i can manually create a txt file for initflashfiles and leave it in the packages folder?
Also i am not sure about the syntax that eras2r posted. I find it alittle well above my level of knowledge. Maybe someone can guide / explain to me regarding this?
Right right, an initflashfiles.txt can go in any subfolder under \OEM \SYS or \Packages
You can create the file with notepad, no need to worry about removing things with a hex editor or otherwise using anything other than notepad.
The syntax is as follows:
using this example to create a directory:
Code:
Directory("\Windows\Start Menu\Programs"):-Directory("Tools")
Directory("\Path\to\create\directory\in\goes\here"):-Directory("Name_Of_Directory_To_create_in_path") - essentially you're saying "Switch to the folder named \Path\to\create\directory\in\goes\here and create a new folder named Name_Of_Directory_To_create_in_path inside of it.
similar syntax to copy a file from one directory to another:
Code:
Directory("\Windows\Start Menu\Programs\Tools\"):-File("Fieldtest.lnk","\Windows\Fieldtest.lnk")
Directory("\Path\to\copy\file\in\goes\here"):-File("destination_file_name.ext","\source\path\to\filename.ext") - here you're saying "navigate to \Path\to\copy\file\in\goes\here, copy file from source \source\path\to\filename.ext, rename it to destination_file_name.ext when copying (you can use the same filename here if you don't want it renamed, renaming is useful for files that might be indexed by windows media player, or the windows help system, etc.
That should clear it up a bit, let me know if it doesnt

[Q] Make modifications to "os.nb"

I wanted to make an own Windows Phone 7 Custom Rom for my HTC HD7. Nothing special, just my own splashscreen, some special wallpapers and (of course) unlocked
But now I got more or less stuck...I extracted the .nbh file with the "NBHImageTool" (which was made by Da_G). Now, I've got a file called "os.nb" in the nb folder and a .xml file in the xml folder. But how can I make my modifications to the "os.nb"-file now?
I'd be very glad to know that
Thanks!
riginally Posted by Football
Btw, IMGFS is protected from dumping, so it will take time to extract the content and use it for HD2 for example or recook it HD7...
You can use IMGFStoDUMP or Xidump to extract the contens of OS.nb
Edit the files you like (mybe Regestrie: default.hv & user.hv)
and when you are finished repack the contens of the DUMP folder with IMGFSfromDUMP

Categories

Resources