New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
pof
Old
#1  
pof's Avatar
Retired Moderator - OP
Thanks Meter 37
Posts: 3,562
Join Date: Mar 2005
Location: Barcelona

 
DONATE TO ME
Default NBH format used in Hermes (TyTN) roms

NOTE: I've already posted this into the Development & Hacking forum, but got no reply yet. As it is an Hermes specific topic it is probably better to place it here, sorry for reposting if you've already read this.


The available original shipped ROMs for the HTC Hermes have .nbh files with the RUU, instead of the usual .nbf files found in other HTC rom updates.

By now, there are two shipped ROMs available, containing:
  • HERMIMG_Dopod_1.23.707.1_SHIP.nbh
    hermimg_QtekNOR_1.18.255.3_Ship.nbh
So, it seems that the usual nk.nbf file is no longer used by the Hermes RUU

I cannot extract the various rom components (ExtROM, OS, IPL/SPL, SplashScreen, GSM radio, etc...) out of these files using the usual TyphoonNbfTool, however mamaich's prepare_imgfs finds the imgfs and dumps it apparently ok, but it cannot be read using viewimgfs or itsme's rdmsflsh.pl, so I guess the dumped file is invalid.

Anybody knows about this new format?
is it possible to convert it to nk.nbf so we can cook our own roms?
Would it be possible for example to extract the radio rom from Dopod and replace it on QtekNOR rom?
 
efjay
Old
#2  
Senior Member
Thanks Meter 61
Posts: 1,544
Join Date: Nov 2004
I think we will have to wait for the rom guru's to advise on this. I hope this would be possible so we can get the best rom possible.
Dell Venue Pro, it's alive!
 
pof
Old
#3  
pof's Avatar
Retired Moderator - OP
Thanks Meter 37
Posts: 3,562
Join Date: Mar 2005
Location: Barcelona

 
DONATE TO ME
I've tried to decode.nbh files with alpinenbfdecode.pl, himalayanbfdecode.pl and typhoonnbfdecode.pl. None of them works, so this must be a completely new format.

Opening nbh files in hex heditor shows interesting strings, but I don't know how to procede to identify each part and decompress or decrypt it...
 
jerrry
Old
#4  
jerrry's Avatar
Member
Thanks Meter 1
Posts: 82
Join Date: May 2006
Is it possible to decrypt Extended_ROM of HTC TyTN? I'v found a great extRom, but I can't upgrade my ExtRom because I have only borrowed tytn from my friend and Iam looking for one special aplicattion which is included in this. Any solutions ? Thanks
 
pof
Old
#5  
pof's Avatar
Retired Moderator - OP
Thanks Meter 37
Posts: 3,562
Join Date: Mar 2005
Location: Barcelona

 
DONATE TO ME
Jerry, you can unlock & unhide the ExtRom just with a registry tweak, look here:

http://wiki.xda-developers.com/index..._Unhide_Extrom
 
TheBlasphemer
Old
#6  
Senior Member
Thanks Meter 1
Posts: 100
Join Date: Jan 2006
Downloading a ROM now to experiment
If I crack it, you guys better donate something to my get-theblasphemer-a-hermes-too-fund :P (yet to set up that fund though )
 
bydandie
Old
#7  
Senior Member
Thanks Meter 0
Posts: 168
Join Date: Jul 2004
Mate if you crack it I'll be donating to your fund!
Smartphone Moderator
4WinMobile.com
 
TheBlasphemer
Old
#8  
Senior Member
Thanks Meter 1
Posts: 100
Join Date: Jan 2006
Hmmm, a very weird file format indeed :S
All files start with "R000FF\r", next 16 bytes of what appears to be random data.
After that it consists of several blocks.
Each block starts with a header:
4-bytes block-length
4-bytes footer-length
1-byte always 1
After that follows the actual data (block-length bytes) + a footer, which appears to be random data but which I suspect to be some kind of checksum
 
pof
Old
#9  
pof's Avatar
Retired Moderator - OP
Thanks Meter 37
Posts: 3,562
Join Date: Mar 2005
Location: Barcelona

 
DONATE TO ME
I'm uploading a full USB log of a complete ROM-flash here:

ftp://xda:xda@ftp.xda-developers.com/Hermes/Technical/

Watch for the file Dopod2-FullRomUpgrade.txt.gz, when it is full uploaded it will be around 102Mb.

This is from this ROM file:

HER_DopodAsia_1237074_1060010_WWE_SHIP.exe

______
EDIT: Upload finished.
 
pof
Old
#10  
pof's Avatar
Retired Moderator - OP
Thanks Meter 37
Posts: 3,562
Join Date: Mar 2005
Location: Barcelona

 
DONATE TO ME
I created a wiki page with all the info we have about NBH format:

http://wiki.xda-developers.com/index...ame=Hermes_NBH


XDA PORTAL POSTS

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more