How to create a RUU from .raw files Help! - Shift Development

I dumped my rom and I've only the part.raw files... how to use them to create a NBH and then a CustomRUU installer?
sorry for the question, I tried to search the forum for a guide, with no result
I need to create a liberated rom for Italian language...
A little help will be appreciated...

davidgreen said:
I dumped my rom and I've only the part.raw files... how to use them to create a NBH and then a CustomRUU installer?
sorry for the question, I tried to search the forum for a guide, with no result
I need to create a liberated rom for Italian language...
A little help will be appreciated...
Click to expand...
Click to collapse
Hi
1. Download KaiserKitchen and extract it to your harddisk.
2. Download Thaihugo uploaded WWE 1.22x as your base ROM and put the RUU_Signed.nbh (WWE 1.22x archive has it) in the BaseROM folder of KaiserKitchen
3. Copy the Part files in the same BaseROM folder of KaiserKitchen
3. There will be a batch file (I forgot its name, I am sorry) in the root folder of KaiserKitchen. Just Run that.
3a. Press e (extract)
3b. Press b (using base rom and part files)
4. follow the steps that it asks
5. press option for cooking (i think c or something) I forgot.
6. It opens the HTCRT. Select Kaiser in the options and select the NB file that it created from the base rom and your part files (basically it is Part 2 that is the language part).
7. Once it is done, it will create a RUU_Signed.nbh in the base ROM file (it lets you to chose name and folder).
I am sorry, I could not remember the exact option names. I am currently travelling. The instructions are on my home computer. The other day cmonex helped in extracting from Chinese for me. I tried to recollect our chat and presented it here. let me know how did it go. Otherwise, if you could wait till tomorrow evening (I live in CST), I could provide you correct name of batch file and options.
You can download KaiserKitchen from Kaiser sub forum here. Search for KaiserKitchen and you could get the link for it to download.
Thanks and HTH
Ram

Thanks for the help... but, I've problems with the process, please take a look at the S.S. uploaded in this thread...

Here's another SS, the updater stop working at 0% saying device not recognized in the taskbar...
I also tried using thaihugo updater with my new RUU_signed.nbh...
no result... it stop working at 2%
what's the problem?

don't use this kitchen. Use kaiserkitchen 0.3. also, the nbhutils must be olipro version, not htccrt.

here is the proper nbhutils

Related

Creating your own ROMs

I am a software developer by trade and so I hope I will be comfortable with creating my own ROM. However, I have no idea where to begin! Can anyone point me in the right direction?
on the wiki you can all read about it.
xmoo said:
on the wiki you can all read about it.
Click to expand...
Click to collapse
Thanks for the quick replu xmoo. I've had a look there before but it's not answering any questions. I have no idea what dev environment I need nor how to do it. Am I missing something or is it just my Sunday head?
you need a kitchen, in the kitchen you unpack a ROM image, you then exchange, remove or add files to the extracted ROM image. then you repack it. thats it. no programming skills involved.
and all information regarding kitchens can be found in the wiki, I did at least.
schaggo said:
you need a kitchen, in the kitchen you unpack a ROM image, you then exchange, remove or add files to the extracted ROM image. then you repack it. thats it. no programming skills involved.
and all information regarding kitchens can be found in the wiki, I did at least.
Click to expand...
Click to collapse
Thanks for the info.
I have Hard-SPL'ed my X1 and am ready for a new ROM now. I have downloaded a NBH file and used the NBHUtil to unpack it. Is this the point at which I customise the individual parts? If so what do I use to do this with the NB files?
NBHUtil is not a kitchen, its a utility only. And NB files are just the components of the NBH file, like a NB for the radio part, a NB for the OS part, a NB for ... you get the idea. The actual contents (exe, dll, eg.: files that ARE windows mobile) are encoded inside the NB's.
Search for "RaphaelKitchen" version 0.62, download that. Once you got that far, get back in here and I'll give you the config files you'll need for the RaphaelKitchen.
Instructions on how to do what: http://forum.xda-developers.com/showthread.php?t=427507
In that message, leave out the parts about dumping and get directly to the instructions for the kitchen. The actual "cooking" (thats what its called, hence its called a kitchen) comes between instructions "e, b (for dumped ROM),space key" cuz now you just unpacked the ROM and you have tons and tons of DLLs, EXEs, eg.: you unpacked the NBH in NBs and decoded the NBs to its contents.
You cook by removing and adding stuff to the respective folders.
After you did that, continue by following the post: "c, a, press BuildOS Play icon and wait to finish, Close BuildOS, close PagePool Changer and press space" which equals putting the files back together and compiling a new NBH which you can flash...
and i'm sorry but the WIKI acutally REALLY does explain all that:
http://wiki.xda-developers.com/index.php?pagename=Kaiser ROM Kitchen Tutorial
The RaphaelKitchen is a modified version of alex kitchen for the kaiser, it is essentially exactly the same.
Cheers Schaggo!
I was looking at the Xperia Wiki not the main Wiki My bad sorry.
I'll give this a go later and report back
No problem, no problem. As I said, as you start cooking, get back in here and I'll provide pre-edited config files with all the settings for the X1.
schaggo said:
No problem, no problem. As I said, as you start cooking, get back in here and I'll provide pre-edited config files with all the settings for the X1.
Click to expand...
Click to collapse
Hi, could you provide the pre-edited config files for X1? Thanks.
Ok so here's what I have done:
Download and unpacked RaphaelKitchen 0.62 as stated.
Ran it with 'e' then 'a' as the command line parameter to extract the NB files again (just to see).
Found all the NB files in BaseROM folder and a sh*tload of mixed files in the temp folder. At the root I have a couple of BIN files as well as some NB related files. dump_imgfs and dump_xip are the main folders in there with lots of bits beneath then. Is this right?
Then ran the build ROM commands as you stated. Pagepool wasn't open though(?) or couldn't see it anyway. Everything else went to plan and I got a NBH file in the end.
I expected the packages folder to be populated but nothing went in. Has this all gone to plan?
**Edit: Also never saw PagePool **
Here is the extra config you need for X1
Extract and put the files in the root of the RaphaelKitchen.
Run "X1Kitchen.CMD".
This is what I am using for "e"xtract and "c"ook a room and it's working perfectly w/ me. Other options is not tested or use by me.
I even added/modded some more files. Replace all files and run RaphaelKitchen.cmd and continue as instructed in the manual.
Cheers guys. Will try this config tonight and get back to you
In the extract ROM there are two options:
- one needs RUU_signed.nbh only
- the other one needs RUU_signed.nbh + part01.raw and part02.raw
which is the right one to choose? if b): where do i get those files?
/edit: never mind, figured it out myself
Flashing now :-D
For future reference, if some more people ask:
if you just want to unpack an existing ROM image (nbh-file) use option 1. this unpacks the file and fills up the folders with the files to cook with.
if you want to reconstruct a ROM you (or someone else) dumped from his device, chose option 2. this decodes the raw-files (dumps) according to (simply spoken, please forgive my inaccuracy ) the template which is given by the nbh-file. without the nbh-file the kitchen doesnt know how to decode the raw-files, it needs a reference file (the nbh) to do so.
hi i'm a noob to the whole wm scene and i'd like to learn how to cook my own roms as well. I've downloaded the kovsky kitchen but i can't find anywhere on how to use it. i've looked in the wiki but can't find how to use kitchens. maybe i've overlooked something. at any rate, if someone could post a link on a tutorial or any info that could get me started, it'd be greatly appreciated. thanks in advance
figurine said:
hi i'm a noob to the whole wm scene and i'd like to learn how to cook my own roms as well. I've downloaded the kovsky kitchen but i can't find anywhere on how to use it. i've looked in the wiki but can't find how to use kitchens. maybe i've overlooked something. at any rate, if someone could post a link on a tutorial or any info that could get me started, it'd be greatly appreciated. thanks in advance
Click to expand...
Click to collapse
take yer pick, but the first one looks okay!
http://www.google.com/cse?cx=000825...orial&sa=Search&cof=FORID:0&ie=utf-8&oe=utf-8
thanks! one more thing... should i backup my original rom? if so, how do i do this?
Hypercore and X1 "kovsky"
i just had to ask, well kovsky kitchen works for the experia right? so hypercore multidevice, shows no experia or kovsky config, #11 post says raphael kitchen xperia.cmd, so you can use that kitchen for x1 as well, so how do you get hypercore/X1? to work

search a way to extract the original os.nb ....

hi members,
i search for 2 hours and cannot find a way to got my original os.nb files. i like to make a rom of my original firmware bevor i flash the phone with another version.
please help me in this case or is not importend what file i take for os.nb?
if i start the KovskyKitchen there is only standing i need the part1 and 2 and one nb file, but the script like to copy files and this does not exist. in the ervius package tool+buildos you can not open the folder, without this files.
please give ma a hint.
kind regards
ju
Solution: use any rom image from here for got the missing os.nb and rename it to RUU_Signed.nbh. it must only a complete nbh - rom.

[How To] Step by step guide to Backup your Shift to nbh (All Steps!)

Please rate this thread if it was useful...
I know that stuff like this has been posted before but I have never seen a full guide begining to end on how to backup your rom so here is the complete guide (with links) beginning to end of how to backup your WM6X ROM on HTC's Shift to an NBH
To do this you will need a HTC Shift (dir), and basic knowledge of Windows Mobile, Vista, the command prompt and Syncing a WM device with a computer.
NOTE: I am NOT sure if you need HardSPL on the device to flash the ROM back onto your Shift (if someone could let me know that would be great), my guess is that you do as the created nbh will not be signed with HTC's Cert - HardSPL can be found here http://forum.xda-developers.com/showthread.php?t=406606 and is compatible with GSM Shifts only (x9500)
If anyone has any suggestions as to how this post could be improved or tell me if something needs a more in-depth explanation, let me know - Thanks.
First you will need to Liberate your shift; instructions on how to do this can be found here: http://www.modaco.com/content/windows-mobile-news/266537/liberate-your-htc-shift/ (this step will "unlock" the restrictions on windows mobile - this is not necessary but makes installing RAPI tools and other files easier later.
Download HardSPL (we are not going to install HardSPL in this post, but the download includes RAPI that is needed prior to the next step) from here: http://forum.xda-developers.com/showthread.php?t=406606
When the download has finished extract the contents and copy EnableRapi.cab to your device (To do this select Settings from the today screen > USB Tool > Options > Detach from Vista > Options Attach to Vista - yes detach is not always required but seems to solve some issues with syncing).
Your device will now appear in "My Computer"; copy the file somewhere to your device then switch to Windows mobile and run the file.
Download the latest version of itsutils from: http://www.xs4all.nl/~itsme/projects/xda/tools.html (Look under download section) then follow the instructions on http://forum.xda-developers.com/showthread.php?t=382609
After you have followed the instructions there you will have created RAW files of your Windows Mobile ROM (on the post you will notice the the code window in color - these may be different depending on your device and may need to be changed)
Now we need to convert the raw file to an nbh to do this you will need to download the shift kitchen from: http://forum.xda-developers.com/showthread.php?t=422914 then extract the files from the rar archive (using winrar, winace etc)
On some computers the below operation may fail saying "Error loading dll msvcr71.dll" so you should download and extract the attached zip file (msvcr71.zip) to the Tools directory
When you have done that put the *.raw files created by itsutils into the BaseROM directory and run the !BEGIN.cmd file
Select option 2 when asked to rebuild a ROM and follow instructions.
When the command has completed run the !COOK.cmd file; When a window appears titled BuildOS Click on the Play button and wait for the process to complete then close the BuildOS window
Follow further instructions; until another window appears, Select Shift as the "Target Device" and under "OS" select os-new.nb, then click "Build NBH!",
A window will appear asking you to save the NBH - DO NOT CHANGE THE PATH as it kept crashing when I tried to save elsewhere and call the file RUU_Signed.nbh
Copy the file RUU_Signed.nbh where you want and download and extract CustomRUU.zip (attached) to the same path
To restore the ROM all you need to do is Sync with Vista and run CustomRUU.exe
Feedback is always welcome,
Thanks,
Kris
*RESERVED*
All done! But when performing this process
BuildOS Click on the Play button and wait for the process to complete
I have Error window:
Error: File `ROM\XIP\boot.rgu` not found.
and when I click `OK` - process stops!?
What is wrong?
All done without errors!
Previous Error was under XP on D:\ with many subdirs to `shiftkitchen`.
Now all OK is under Vista with `shiftkitchen` in root of C:\
Thanks!
Little question. I am backuping original Russian ROM... an in the ending window (when I choose "Shift" and "os-new.nb") there is Language:WWE. Is there have to be something else?...
sardonix said:
All done without errors!
Previous Error was under XP on D:\ with many subdirs to `shiftkitchen`.
Now all OK is under Vista with `shiftkitchen` in root of C:\
Thanks!
Little question. I am backuping original Russian ROM... an in the ending window (when I choose "Shift" and "os-new.nb") there is Language:WWE. Is there have to be something else?...
Click to expand...
Click to collapse
When you flash your ROM it will be the Russian ROM ... the WWE setting there and the version are just what is displayed in the ROM flashing tool (CustomRUU.exe)
I had the Spanish version and used this process beginning to end - and it says WWE in the flasher but still installs the Spanish version
Kris
Kris, thanks! Believe that I`ll not have reason to use it. But with this reserved ROM it is composed to make any ROM manipulatios.
Thanks once more!
can i request this to be a stickey?
thanks
Great work i00
I have added it to the WIKI and the FAQ thread.
I confirm that you DO need to install HardSPL on the device PRIOR to flashing the ROM back onto your SHIFT.
it's work
someone got shipped UK rom backup ?
kgx said:
someone got shipped UK rom backup ?
Click to expand...
Click to collapse
Radio is here .. will upload the ROM shortley
http://rapidshare.com/files/232295760/Shift_Origional_UK_Radio.zip
Regards,
Kris
kgx said:
someone got shipped UK rom backup ?
Click to expand...
Click to collapse
Orig UK ROM can be downloaded here:
http://rapidshare.com/files/232298625/Shift_Origional_UK_ROM.zip
Regards,
Kris
Sorry when I try following your tutorial,
I have not os-new.nb file what could I do wrong?
Back-up the rom and radio files
Hi i00, absolutely great guide, thank you for the hard and tidy work!
Since I'm a beginner in this area, before doing the dump job myself, kindly ask you to advise if the dump operation leaves the Shift unchanged on the winmo side and I can use it further, i.e. it is a read-only operation OR do I need to load back (flash back) the resulting back-up files (ROM and radio)?
Thank you!
rom
Hi all
i just bought a brand new shift and want to have a back up of the ROM
I've exacted 4 parts of the rom, but unable to convert it back into a NBH
i cant seem to figure out if i need the RUU_Signed.nbh , and where do i get it from, i thought i was making RUU_Signed.nbh from the 4 raw part files.
if anyone can re upload the complete UK ROM.NHB i would be grateful
i have uploaded the 4 part files and the boot loader
www(dot)filedropper(dot)com/rawfiles
part00.raw
part01.raw
part02.raw
part03.raw
SPL.nb
also do i need hardSPL to even load the original back up rom?
thanks
is this the file i need to include in my baserom folder?
forum(.)xda-developers.com/showthread(.)php?t=1875806
Need Radio ROM GPS+Phone Modded 1.27
here is my error code:
Welcome to Kaiser ROM Kitchen
-----------------------------
Please choose the way for Kaiser ROM Kitchen to work:
Enter 1 if you want just to cook ROM
(RUU_signed.nbh required in BaseROM folder)
Enter 2 if you want to rebuild and cook dumped ROM into flashable ROM
(RUU_signed.nbh, dumped part01.raw and part02.raw required in BaseROM folder)
Please choose 1 or 2: 2
Could Not Find C:\kaiserkitchen\baserom\os.nb
Could Not Find C:\kaiserkitchen\baserom\0*.*
Path not found - C:\kaiserkitchen\temp
The system cannot find the file specified.
The system cannot find the file specified.
=== NBHextract v1.0
=== Extract contents from HTC NBH files
=== (c)2007 xda-developers.com
=== by: pof & TheBlasphemer based on itsme perl scripts
Error: Could not open 'RUU_signed.nbh'
The system cannot find the file specified.
The system cannot find the file specified.
1 file(s) copied.
1 file(s) copied.
Press any key to continue . . .

[Que Made dump - got 4 .raw files - no .nbh or .nb - What's Next?

Hello fellow HTC-ers!
I've made a dump of my Blackstone (using pdocread -l), all seems fine. Got 4 .raw files. Now, Dr. Jay in his movie says to "get" a .nbh file. From where?? I'm confused. Read several postings about IMGFS, but those didn't help me to get to the next step.
To be precise : I want to have a flashable backup of my original (NLD : Original NLD ROM - 1.14.404.3_Radio_52.49a.25.26_1.09.25.14) ROM before I install HSPL and start cooking my own. Preferably, I want to create this original flashable ROM myself, just to get familiar with the tools and the process.
Could anyone tell me where to go from here? (4 .raw files)
Thanks.
Grt., K.
ps. when I search this forum for ".nb" or "nbh" I get no hits.. Does the searchkey have to consist of a minimum number of characters?
kkoenen said:
Hello fellow HTC-ers!
I've made a dump of my Blackstone (using pdocread -l), all seems fine. Got 4 .raw files. Now, Dr. Jay in his movie says to "get" a .nbh file. From where?? I'm confused. Read several postings about IMGFS, but those didn't help me to get to the next step.
I want to create this original flashable ROM myself, just to get familiar with the tools and the process.
Could anyone tell me where to go from here? (4 .raw files)
ps. when I search this forum for ".nb" or "nbh" I get no hits.. Does the searchkey have to consist of a minimum number of characters?
Click to expand...
Click to collapse
Please read and use this very usefull tool from here: http://forum.xda-developers.com/showthread.php?t=438456
You need to download an official stock rom. Copy your part1 and part2 raw files and the RUU_signed.nbh (from the downloaded and extracted stock rom) into the baserom folder. You need to launch the BlackStoneKitchen.cmd from the rom kitchen folder and follow the on-screen instuctions: extract the content (push e then b), then re-cook it (push c then a).
thanks, tsummer.. I've downloaded the kitchen and the original stock ROM's a few weeks ago. The stock package consisted of 4 .rar files, extracting to one .exe file. No .nbh! So, where should I get it from? If I start the .exe, an application pops up, wanting to flash my device.. The thread you posted does not shed any light on where to obtain or how to extract the right .nbh file..
I really read in to this stuff, but somehow the whole "getting the .nbh-file" remains foggy to me. Please advice.
/edit : I've got a "RUU_Signed.nbh" from a zip called "Restore_Stock_SPL_114_2.zip". Is that the right one? It's 513 KB (526.193 bytes) big. Question remains : How should I extract the existing .nbh from my running ROM / Device?
Found it!
To get the .NBH file from a Stock ROM .exe file, right click the .EXE and select "Extract Files..." from your rar-quickmenu!
Wow.. took me "only" 8 hours to figure this one out...
*shame* dr.Jay does explain it in his movie "rebuilding".. ouch.
kkoenen said:
thanks, tsummer.. I've downloaded the kitchen and the original stock ROM's a few weeks ago. The stock package consisted of 4 .rar files, extracting to one .exe file. No .nbh! So, where should I get it from?
Click to expand...
Click to collapse
Open the exe with winrar and you will see the RUU_signed.nbh (this is the correct nbh). Copy this nbh into the baserom folder and use the BlackstoneKitchen.cmd.
[/QUOTE]/edit : I've got a "RUU_Signed.nbh" from a zip called "Restore_Stock_SPL_114_2.zip". Is that the right one? It's 513 KB (526.193 bytes) big. Question remains : How should I extract the existing .nbh from my running ROM / Device?[/QUOTE]
The SPL in an another issue.
I was just wondering if I wanted to re-cook a rom such as Dutty's or L26 to add one extra package is that the same procedure as above assuming I dump their rom from my device?

Need Experts Help Cooking ROM 1.14.488.3 from DUMP PLEASE

Hi there, I am trying to create a nbh file from 4 dump files. This ROM is missing in this forum and it is a stock ROM version 1.14.488.3 for middle east. I would like to share it with you and add it to the wiki page.
Now that i got my 4 raw files Part00/01/02/03.raw I downloaded the ROM kitchen. After 3 days of non stop reading, I have a few questions :
* It seems that I need also the ruu_signed.nbh file to make a ROM from dump ? (Please correct me if I am wrong). Why ?
* Can I use kwbr_ruu_signed_WWW_1.19.zip to cook 1.14 ROMs ??
* If not, where can I find the 1.14 ruu_signed_WWE.nbh file ?
* Using DUMP files from 1.14.488.3 and nbh from another 1.14 version will give me which version ? the 1.14.488.3 or the other ?
I tried to use the nbh from official ROMs and that did not help as it seems to be locked I believe which is expected.
Any help would be very apperciated. I hope to create the ROM successfully as there where lots of people asking for it on many forums.
Thanks !
BUMP
another shamless bump
To my knowledge official roms arn't protected, i think all you need to build the dump is part01/part02
you shouldnt need ruu_signed aswell as the part files so just put the 2 part files into the baseRom folder of the Kitchen(may be different depending on what kitchen your using) and run the .bat file to start
goto option extract ROM and then choose the second option(you should see Part01/Part02 mentioned),
if it doesnt make sense to you ill try and explain better but atleast something for you to get started on.
sgilesuk said:
To my knowledge official roms arn't protected, i think all you need to build the dump is part01/part02
you shouldnt need ruu_signed aswell as the part files so just put the 2 part files into the baseRom folder of the Kitchen(may be different depending on what kitchen your using) and run the .bat file to start
goto option extract ROM and then choose the second option(you should see Part01/Part02 mentioned),
if it doesnt make sense to you ill try and explain better but atleast something for you to get started on.
Click to expand...
Click to collapse
BlackStone ROM Kitchen -- Extraction Menu
-------------------------------------
(a) if you want just to extract a shipped ROM
(RUU_signed.nbh required in BaseROM folder)
(b) if you want to rebuild and cook dumped ROM into flashable ROM
(RUU_signed.nbh, dumped part01.raw and part02.raw required in BaseROM folder)
(m) back to the main menu
(x) exit
Any explanation anyone ?

Categories

Resources