Help Unpacking NBH - Android Software/Hacking General [Developers Only]

I was wondering if anybody knows how to unpack the nbh files that come in the RUU updates. These are for android not windows. I have seen people try to use NBHextract, but that method always gives me an error about the file not being correct.

Related

what to do with an nbh file?

Hi,
I downloaded the latest IPL_3.10.zip, but after extracting I got a file with extention .nbh. I wanted to upgrade my IPL, but don't know how to do this. Can someone explain me what's the next step?
Edit: Found it, used the RUU.zip
so i take it you've made it if you found the exe?

What type is .NBH?

Does anyone know what type of a file a .nbh is and how to make it veiwable/modifiable. If there was a way that we can mod the NBH file that I believe would be the successful way of rooting the MyTouch 3G. I will be getting one of the production devices in a week or so anyone want to have anything dumped let me know.
the nbh is a ROM and you can't flash it without a modified SPL. i'm not even sure the SPL used for android even supports the file type but any kitchen from winmo can decompile it
Not really so much an android thing but is a hardware thing of HTC. The Dream and Sappihre support these files. There is a NBH file which will take you all the way back to RC29 and also flashes back the original SPL as well. So it is my belief that if we can make a compatible NBH for the sapphire it will accomplish the end result.
Of course it will... That's what NBH files are made for. I don't think you can make one since it's signed (or something) with a key we don't have.
Ehh, i have an idea:
Some has to decompile .nbh and modify it to work on mytouch 3g.
Than you have to create a goldcard.. not sure about if viperbjk is putting sapphire into qmat..
Yeh I have tried to decode with hex editor and have not had any real luck with it at all. Looks coded. Just wondering if anyone knows how to decode would be greatly appreciated. I have tried to use some of the old Windows mobile kitchen tools.
There are lots of tools to extract NBH files, they should work if HTC hasn't changed anything...look for other devices kitchens and you'll find the tools.
Also there's a project which tries to achieve the same result under linux http://code.google.com/p/htc-flasher/.
where did you guys get an android nbh? this is odd because android is updated by placing and update.zip on the root of the sd card (among other ways) which is handled by the SPL. why wouldn't HTC just stick with nbh then?
sammypwns said:
where did you guys get an android nbh? this is odd because android is updated by placing and update.zip on the root of the sd card (among other ways) which is handled by the SPL. why wouldn't HTC just stick with nbh then?
Click to expand...
Click to collapse
android is updated by .zip but NBH is an all in one image type file that flashes htc phones to factory defaults. its usually used by the support techs to restore phones.
android/google=zip
htc =nbh
tripledes said:
There are lots of tools to extract NBH files, they should work if HTC hasn't changed anything...look for other devices kitchens and you'll find the tools.
Also there's a project which tries to achieve the same result under linux http://code.google.com/p/htc-flasher/.
Click to expand...
Click to collapse
this looks promising...i wonder if we can figure out how to resign it....
Hi,
I have just tested the HTC-Flasher and unfortunately it does not work with the DREAIMG.nbh
So i someone know how to extract and re-flash the dream NBH please help.
Bye
Herc. 8)

[HELP]Extractin original .nbh

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

[REQ] Telstra Froyo RUU Decompile

Hey guys, I'm trying to tinker with the recently-released Telstra-Branded Froyo ROM so I can check on some of the data inside and modify T-Mod to suit, but I've come across two very strange problems:
1: Extracting the update form the RUU gives me naught but a .img file which I have no clue how to open (I know it's a filesystem image, but I haven't been able to find tools to open it)
2: The OTA version of the update, while easily viewable, seems to use a .p file based patching system that I have never seen before.
If anyone can help me with these two problems by providing me with either the tools to decompile the RUU into something I can actually look at, such as tools for android's .img filesystem format, or a decrypted version of this ROM, it would be greatly appreciated.
EDIT: Nevermind, I found a copy of unYAFFS, figured it all out. just had to figure out what the filesystem on the RUU was.
Edit: I see you found it..
I know you're sorted now Muskie, but using dsixda's kitchen is also a useful tool.
http://forum.xda-developers.com/showthread.php?t=633246
Run the ruu until the menu comes up, go to your temp folder and copy the rom.zip and whack it in the kitchen.
Ben

[Q] Help rebuilding Spanish GSM Treo Pro dump

Hi,
I have an unlocked Treo Pro GSM phone and after doing a lot of reading I have managed to dump its ROM and I now have the four RAW files. However, I still can't find a way to rebuild the ROM and create a .nbh file out of them. Could someone please point me in the right direction or help me by rebuilding the ROM? I know I should only need part01 and part02.
I'm currently downloading Treo Pro kitchen and I assume it will be possible to rebuild the ROM with it, I just need some guidance. If anybody wants the RAW files please let me know and I'll upload them for you.
Thanks in advance.
Edit: Using the kitchen posted here I have managed to create a os-new.nb file by clicking on Extra Buttons and then RAWS2NBH then I got a message "Need the ROM nbmerge command? I clicked Yes then got the message Execute NbhUtils to build nbh file? I clicked Yes, the NBH Utility pops up and I select PANT100 under Target Device and finally under NBH Items I select the path of the os-new.nb file for the OS item and clicked on Build NBH! I chose the output location but after I get a message saying that it is done there is no nbh file in the location I selected.
palmerx said:
Hi,
I have an unlocked Treo Pro GSM phone and after doing a lot of reading I have managed to dump its ROM and I now have the four RAW files. However, I still can't find a way to rebuild the ROM and create a .nbh file out of them. Could someone please point me in the right direction or help me by rebuilding the ROM? I know I should only need part01 and part02.
I'm currently downloading Treo Pro kitchen and I assume it will be possible to rebuild the ROM with it, I just need some guidance. If anybody wants the RAW files please let me know and I'll upload them for you.
Thanks in advance.
Edit: Using the kitchen posted here I have managed to create a os-new.nb file by clicking on Extra Buttons and then RAWS2NBH then I got a message "Need the ROM nbmerge command? I clicked Yes then got the message Execute NbhUtils to build nbh file? I clicked Yes, the NBH Utility pops up and I select PANT100 under Target Device and finally under NBH Items I select the path of the os-new.nb file for the OS item and clicked on Build NBH! I chose the output location but after I get a message saying that it is done there is no nbh file in the location I selected.
Click to expand...
Click to collapse
could i have the .raw files for part 00 to part 3 this would help me create a thread that has all stock ROMS for referance i regret the fact that i didnt do this before because most of the links to the stock ROM are dead

Categories

Resources