[HELP]Extractin original .nbh - myTouch 3G, Magic Android Development

Hey guys,
I was searching hours and had no luck. I've found many tools in the WinMobile section, but none of them works with the android .nbh.
This is the original ROM provided by HTC: RUU_Sapphire_Vodafone_GER_1.91.162.1_DRC92_signed_NoDriver.exe
I extracted this .exe and now have the inside "rom.nbh" and some other files. The rom.nbh is about 100MB. Now I can't get it to extract. Using "NBInfo.exe" tells me, that there is no valid bootsector. Every other program crashes while trying to extract...
Can someone please tell me, how to get this thing extracted? (I know, that exactly this rom is already rooted and outside, but only in english; and no, I don't want to flash the .exe, because of the "perfect SPL" it brings)
kind regards
Chris

Hmmm... You have searched hours and had no luck.
But solution was near)))
Unpacking nbh image: http://forum.xda-developers.com/showthread.php?t=640046

Thanks for your reply... Unfortunately... doesn't work...
I tried nearly every tool, downloaded the RUU twice, googled around... But nothing. Perhaps the structure of the nbh has changed?!
As I said, the NBInfo.exe throws "no valid boot sector", rommaster.exe tells me that endaddress is scmaller than startaddress...
this is really crazy
Hope someone can help a bit

Related

looking for an upgrade guide

hello, iv just recieved my exec and i am dying to upgrade it to jwrights rom, could someone please point me in the direction of a guide on how to do it? iv had an xda11i b4 but i cant remember how i upgraded that rom, and really dont wanna mess up my new phone!!
also if anyone can give me any tips for various other programs/upgrades that i might want/need please let me know
thankyou
and yes i have been reading the wiki, but it doesnt seem to mention jwrights rom anywhere, and im getting really confused cos in the file i downloaded there isnt any .nbf files??
Well done for reading the wiki. Nobody is likely to give you an upgrade guide because there is too much to know. I'm afraid you are just going to have to read the various threads on Universal Upgrading etc and WM6. In doing so, you will learn how to upgrade and also learn what do avoid and what to do if it all goes wrong.
The wiki isn't specific to a particular ROM - there are threads on his ROMs on Universal Mobile 6.
As for the nbf files, they are there but you're looking in the wrong place. Jwright kindly provided an installer for his ROMs. You have downloaded an exectuable. When you run that it will unpack to provide a large file in a subdirectory of whichever directory is set to be your Temp directory. Whilst the installer is running it tells you that it is unpacking - what it is doing is unpacking the installation files (including the nbf files) to another directory of your Temp directory.
Couldn't have put id better myself )
Mav
apd said:
Well done for reading the wiki. Nobody is likely to give you an upgrade guide because there is too much to know. I'm afraid you are just going to have to read the various threads on Universal Upgrading etc and WM6. In doing so, you will learn how to upgrade and also learn what do avoid and what to do if it all goes wrong.
The wiki isn't specific to a particular ROM - there are threads on his ROMs on Universal Mobile 6.
As for the nbf files, they are there but you're looking in the wrong place. Jwright kindly provided an installer for his ROMs. You have downloaded an exectuable. When you run that it will unpack to provide a large file in a subdirectory of whichever directory is set to be your Temp directory. Whilst the installer is running it tells you that it is unpacking - what it is doing is unpacking the installation files (including the nbf files) to another directory of your Temp directory.
Click to expand...
Click to collapse
Pugme said:
hello, iv just recieved my exec and i am dying to upgrade it to jwrights rom, could someone please point me in the direction of a guide on how to do it? iv had an xda11i b4 but i cant remember how i upgraded that rom, and really dont wanna mess up my new phone!!
also if anyone can give me any tips for various other programs/upgrades that i might want/need please let me know
thankyou
and yes i have been reading the wiki, but it doesnt seem to mention jwrights rom anywhere, and im getting really confused cos in the file i downloaded there isnt any .nbf files??
Click to expand...
Click to collapse
I have written this upgrade instructions the first month I joined. I made it so that computer and PDA newbies like myself would understand and follow it easily. Here it is: http://forum.xda-developers.com/showthread.php?t=269118

how can I cook a ROM by myself?

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

Extracting cab files from ROMs

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

Can someone please sign this .exe for me?

i have looked and tried for the last 2 hours to sign this stupid exe and cannot do so. i took parts from the fuze .exe and moved it into the 1.1 exe. this works on my rom where other versions gave a c++ error also the versions that did not give this error had horrid graphics. so if i can get this signed i think i may have solved a problem. i just need to be able to install via cab and it needs to be signed to do so. the file works perfectly if you just copy it to your phone manually and run it. thanks in advance
If you search for "File Editor Suite", you will find a short thread that has a zip-file with reshacker, a signer (msigner?), an unsigner, and one other gizmo that I can't recall right now.
You may need to unsign first, do your modifications, then re-sign. I think it's a pretty trivial thing to do (haven't done it myself-I just use reshacker).
Edit: you may be trying to use msigner already. If not, hope this helps.
i have tried signer.exe and signtool.exe through dos and neither worked. i will search for what you mentioned.
msigner is the same tool, did not work

[Q] Build OS doesn't create RUU_Signed.NBH

Hi,
I'm trying to recreate my original ROM and have a problem with creating the nbh file with buildOS. Whole process seems doing fine, but at the end there is no RUU_Signed.NBH file in the main directory. Last thing which buildOS do is "creating registry" and then simply show "done". Pagepool Changer doesn't start and i don't get any error message. Any idea where can be problem?
I'm noob in cooking ROMs, so if someone can create nbh file for me, it would be great. Here are my raw files:
rapidshare.com/files/409577803/Part01.raw
rapidshare.com/files/409599604/Part02.raw
Is still here anyone who can help? Thank you very much, have to reclaim my Raph.
Can't you just download the stock rom? There are a lot of them available, if you search around or check the wiki. It's a lot easier than re-building.
Thank you for your response. There was some special Czech ROM by O2 and I can't find it anywhere. Maybe they will not care about type of ROM because It's hardware malfunction but I want to be sure.

Categories

Resources