To obtain your registration code, please send an email to [email protected]
Thread Rating:
  • 39 Vote(s) - 3.08 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Mercedes HB2 File Format

1
Hello,

does anyone got information about the Mercedes .HB2 (HUBIN_FORMAT_V02) file format?

Thank you very much.

Best regards
Thanks given by:
2
Hi,
the .HB2 File is a container very similar to .kwi files.
Unfortunately it is not the same as kwi so the kwi Tools (unparser and so on) do not work.

The first section of the file contains commands to delete and create directories and so on.
The second section contains the filenames and the "address" of the file inside the container (address means the offset of the particular file and the size of the file)
The third section contains the files, parsed together to one big binary.

There are some Tools to copy parts of a file to a single file. I used sfk171.exe.
If you scoll down in a HB2 File until you see a Filename, you will see the Offset (in Hex) of the file inside the HB2 Container and the Filesize (in Hex)of the file.
Theese two Values are the bytes directly before the filename (read the Hex values backwards).
Example:
D0 06 02 00 6A 55 0F 00 54 47 57 30 43 32 34 30 32 5F 41 70 70 6C 69 2E 62 69 6E ; Ð...jU..TGW0C2402_Appli.bin
Blue: Offset
Green: Filesize
Red: Filename
The File TGW0C2402_Appli.bin has a size of 0F 55 6A (1004906 bytes) and resides at File Offset 02 06 D0 (132816 decimal)

If you want to extract the File, you can use sfk171 to do that.
sfk171 partcopy Telematics.HB2 132816 1004906 TGW0C2402_Appli.bin -yes

It is a shitty job to parse out all the File-Values as I did not find out yet, how the 3 Sections are marked.
I would have written a extraction Tool but i can not identify the start and the end of the "Index section 2" (i know, there must be an identification mark that separates the sections)

You can get a full example of a Telematics.hb2 file and extract it.
You will see, that you can parse out the bootloader binaries, the Firmware binaries for the bios, telematics gateway, the HDD image files, the images (pictures) and the nk.bin files.
The nk.bin files contains the OS Files (Windows CE). you can extract them with dumprom tool (Example: dumprom.exe Spinel_SWDL_002000_Dx-HW_NK.bin -d <foldername>


More via PM

CU,
D-Info

P.S.
Our latest conversation was not so friendly,
so let's start from the beginning :-)
3
I found a way to parse the files from files.
But the file for my NTG4 doesn't contain images for the menu views.
I was hoping to find a way to change the brown to silver in the menus.
Also after I get my display working and rig up to update the comand on the table I'll try to change the language to Finnish (just because I think it's possible and this is hobby for me).
Also after I have the files edited I'll create a program to shift the files to new position since the file sizes might change.

But if someone has knowledge how to change langue or the colors of the main view I would really appriciade some co-operation.
Also if someone knows more about the files how they work and what they do, would be cool to know.

Here is the parser, password after thanks+reps and PM.

Attached Files
.txt

MBRF_HV02_Parser_V0.1.txt

154
70 bytes
4
Aless91, I tried to send PM but it says your quote is full

thanks
Thanks given by:
5
(03-26-2017, 06:25 PM)McDj85 Wrote: I found a way to parse the files from files.

Here is the parser, password after thanks+reps and PM.

Wrote in PM.
Thanks given by:
6
(03-26-2017, 06:25 PM)McDj85 Wrote: I found a way to parse the files from files.
But the file for my NTG4 doesn't contain images for the menu views.
I was hoping to find a way to change the brown to silver in the menus.
Also after I get my display working and rig up to update the comand on the table I'll try to change the language to Finnish (just because I think it's possible and this is hobby for me).
Also after I have the files edited I'll create a program to shift the files to new position since the file sizes might change.

But if someone has knowledge how to change langue or the colors of the main view I would really appriciade some co-operation.
Also if someone knows more about the files how they work and what they do, would be cool to know.

Here is the parser, password after thanks+reps and PM.


do you know the name of file there was comand ntg45 stern startup logo? and post again link for parser tool because it down.
Thanks given by:
7
Can u fix the download?
Thanks given by:
8
Can you please send me this file?
Thanks given by:
9
Someone please, reupload parser? Author did not answer 4th month.
Thanks given by:

Possibly Related Threads…

Mercedes Benz
Replies: 0
Views: 147
10-19-2026, 09:29 AM
Users browsing this thread: