Notices
Audio & Electronics Use this forum to discuss audio and electronic upgrades for your Mercedes-Benz.
Sponsored by:
Sponsored by: Innova

Modifying .dat files (engineering mode)

Thread Tools
 
Search this Thread
 
Rate Thread
 
Old Oct 11, 2009 | 05:36 PM
  #1  
jkv11503's Avatar
Thread Starter
Member
 
Joined: Dec 2007
Posts: 121
Likes: 0
From: USA
2005 E320
Modifying .dat files (engineering mode)

I realize that the Engineering Mode is no longer available once the HU software has been updated to a certain version. However, I suspect that Mercedes didn't get rid of the Engineering Mode completely, but rather made it more difficult for us to access.

I have a copy of the latest Service Update CD so I thought I would look inside it to see what I could find. There are several .dat files which contain information referencing the Engineering Mode. Yes, that is the same mode that is reported to be gone forever.

I'm viewing these files using Hex Workshop Hex Editor which means that I am unable to view the code as it was actually written. I have to filter thru all of the code to look for clues that are readable.

Here's a sample of what I've found:

************************************************** ********

e.A.d.~.o.O&n.i...h......2W..yY..@...yY./.n.n......./.n.n......./...n.t...$.~.o...n./.n.n.......NULLPTR != mPanelPtr....DCW211high\Becker\MMIControl\Engineer ing\private\CRBEngineeringFunctionController.cpp.. .Welcome to..ENGINEERING MODE..../././././././.O"

n.......NULLPTR != mPanelPtr....DCW211high\Becker\MMIControl\Engineer ing\private\CRBEngineeringDisplayController.cpp... .NULLPTR != mDecisionPanelPtr....Driver Distraction..Region code.Backdoors...PgUp....PgDn..../././././././.O"..n.mC

......A...~.o.O&..n....`..o.NULLPTR != pKeyCode.DCW211high\Becker\MMIControl\Navi\NavComm on\private\CXDCW211HNavTrippleKeyCode.cpp..******* ************************************************** ******.* Adding a new key to the current key code combination..KEY_RELEASE.KEY_REPEAT..KEY_PRESS...* KeyCode: 0x%02X; KeyState: %s.** Checking if the key should be added to the current key code combination..*** Key found in mask at position %i and was inserted...*** Key pressed at %u...** Checking if the key should be removed from the current key code combination..*** Key found in combination at position %i and is removed....../././././././.O"..n.jCkS.N.O@.d....NI... ...+...I....J.K@..:+..za.q.a.i..G.HA.d..G.FA.d.a.q .a.a.`........B...B.....B.B.=f.A.d.a.q.a.`....'.>. 7A.d...8..F,..D`..3..a.1...a.1.q..6@.!...f..4K.d.V ..3K.d...x...8..*,..(`.....{.a.`.... .+.!A.d...8...,.......`...a.1...a.1.q.!...f..!M.d. ..x...8...,...`.....A.d.....A.d.....A.d.~.o.O&n.m. l.k.j.i...h...0........,...4...H............... .......,...8...X..................D........* Checking if a key code was pressed....* Comparing the key code fields:....** Index: %d; mKeyCodesSearch = %u, mKeyCodesMask = %u..*** Current key code does not fit!..*** Key codes are matching! Check the time interval.....**** Actual time: %u; stored time: %u; difference: %u...***** Key code matches!.***** Key code does NOT match!../././././.O"..n.jC.;.;@.d...

..// Project : Harman Car Multimedia System........// (c) copyright 2002........// BECKER GmbH........// All rights reserved........//........// File : RBUserVersionInfo.h........// Description: Build information for Engineering Mode........// This file is generated automaticaly by Version.exe........//........// Author : Lars Thomas (Xcc Software AG)........// Date : 04.02.2002........// Comment : Modified Mid Version........//.

************************************************** ********

This is just a very small sample of what is available in these .dat files. I've already proven that Mercedes' files can be successfully modified as I have recently changed one the NAV disc's files so that my default voice is a British woman even though I have a USA system.

This Service disc, however, is proving to be a bit more difficult for me. I'm hoping that some of you software developers can help me figure out how to sift through all of the code and find the missing pieces to this puzzle.

Is anybody up for the challenge? Please share your thoughts or comments. Thanks.

Last edited by jkv11503; Oct 11, 2009 at 06:02 PM.
Reply
Old Oct 11, 2009 | 10:56 PM
  #2  
pinebaron's Avatar
MBWorld Fanatic!
15 Year Member
Photogenic
Photoriffic
Liked
 
Joined: May 2007
Posts: 1,252
Likes: 18
From: Blaine, WA
07 E320 Bluetec
Sure; I'm game. I have had success in decompiling code; in the old days I could decompile anything.
Reply
Old Oct 12, 2009 | 09:53 AM
  #3  
jkv11503's Avatar
Thread Starter
Member
 
Joined: Dec 2007
Posts: 121
Likes: 0
From: USA
2005 E320
Originally Posted by pinebaron
Sure; I'm game. I have had success in decompiling code; in the old days I could decompile anything.
Excellent. Do you have a copy of the Mercedes Comand HU Service CD (W211 589 14 22 00)?

By the way, I don't think we actually need to modify the code, but rather just find a way to decipher it to determine if the Engineering Mode "keycodes" are indeed present as I suspect they are.
Reply
Old Oct 12, 2009 | 10:03 AM
  #4  
amdeutsch's Avatar
Administrator
MBWorld Ambassador

Photogenic
Photoriffic
Shutterbug
 
Joined: Sep 2002
Posts: 15,769
Likes: 37
From: www.Traben-Trarbach.de
MPG+ ROLFCOPTER
Originally Posted by jkv11503
...... I've already proven that Mercedes' files can be successfully modified as I have recently changed one the NAV disc's files so that my default voice is a British woman even though I have a USA system.......
Looked through your posts but couldn't find where you listed this. Would you mind re-listing it for the benefit of the membership.
Reply
Old Oct 12, 2009 | 10:20 AM
  #5  
jkv11503's Avatar
Thread Starter
Member
 
Joined: Dec 2007
Posts: 121
Likes: 0
From: USA
2005 E320
Originally Posted by amdeutsch
Looked through your posts but couldn't find where you listed this. Would you mind re-listing it for the benefit of the membership.
No problem. I just did the language mod this past weekend and I haven't yet had a chance to post my notes. I've been too busy trying to figure out this enginneering mode puzzle. I'll try to get something posted later today in a new thread.

Here are the instructions: https://mbworld.org/forums/audio-ele...step-step.html

Last edited by jkv11503; Oct 13, 2009 at 12:55 PM. Reason: added link
Reply
Old Oct 14, 2009 | 09:01 PM
  #6  
Preet's Avatar
Senior Member
15 Year Member
 
Joined: Jan 2007
Posts: 338
Likes: 4
From: Canada, Ontario, Brampton
E63 AMG W211 & W203 Sport Pkg
Finally I am glad to see somebody trying to figure this out it’s about time, I wish I can help but I am not too good with programming and software side. Keep up the good work and keep us posted.
Reply
Old Oct 19, 2009 | 07:12 PM
  #7  
Preet's Avatar
Senior Member
15 Year Member
 
Joined: Jan 2007
Posts: 338
Likes: 4
From: Canada, Ontario, Brampton
E63 AMG W211 & W203 Sport Pkg
Any update
Reply
Old Oct 20, 2009 | 12:26 PM
  #8  
jkv11503's Avatar
Thread Starter
Member
 
Joined: Dec 2007
Posts: 121
Likes: 0
From: USA
2005 E320
Nothing yet. Will post update as soon as we have more information. Maybe this weekend.
Reply
MB World Stories

The Best of Mercedes & AMG

story-0

7 Craziest Things AMG Gas Ever Built

 Verdad Gallardo
story-1

New Electric Mercedes-AMG GT 4-Door Coupe Unveiled: 10 Things You Need to Know

 Verdad Gallardo
story-2

6 Mercedes Models That Did NOT Age Well (But Are Somehow Still Cool)

 Verdad Gallardo
story-3

Manual Mercedes? 6 Times Sindelfingen Let Drivers Have All The Fun

 Verdad Gallardo
story-4

Mercedes SLR McLaren 722 S Is Extremely Rare Example Modified by McLaren

 Verdad Gallardo
story-5

8 Classic Boxy Mercedes Designs That Have Aged Like Fine Wine

 Verdad Gallardo
story-6

Flawlessly Restored Mercedes 190E Evo II Heads to Auction

 Verdad Gallardo
story-7

Electric Mercedes C-Class Unveiled: 11 Things You Need to Know

 Verdad Gallardo
story-8

Mercedes EQS Gets A Major Update: Everything You Need to Know

 Verdad Gallardo
story-9

5 Underrated Mercedes-Benz Models That Don't Get the Love They Deserve

 Verdad Gallardo
Old Oct 20, 2009 | 08:34 PM
  #9  
Preet's Avatar
Senior Member
15 Year Member
 
Joined: Jan 2007
Posts: 338
Likes: 4
From: Canada, Ontario, Brampton
E63 AMG W211 & W203 Sport Pkg
Cool good luck!
Reply
Old Oct 20, 2009 | 10:50 PM
  #10  
rob13572468's Avatar
PREMIUM SPONSOR
 
Joined: Mar 2007
Posts: 615
Likes: 3
From: Chicago, IL
ML350, Lotus Elise
Originally Posted by jkv11503
I realize that the Engineering Mode is no longer available once the HU software has been updated to a certain version. However, I suspect that Mercedes didn't get rid of the Engineering Mode completely, but rather made it more difficult for us to access.

I have a copy of the latest Service Update CD so I thought I would look inside it to see what I could find. There are several .dat files which contain information referencing the Engineering Mode. Yes, that is the same mode that is reported to be gone forever.

I'm viewing these files using Hex Workshop Hex Editor which means that I am unable to view the code as it was actually written. I have to filter thru all of the code to look for clues that are readable.

Here's a sample of what I've found:


************************************************** ********

e.A.d.~.o.O&n.i...h......2W..yY..@...yY./.n.n......./.n.n......./...n.t...$.~.o...n./.n.n.......NULLPTR != mPanelPtr....DCW211high\Becker\MMIControl\Engineer ing\private\CRBEngineeringFunctionController.cpp.. .Welcome to..ENGINEERING MODE..../././././././.O"

n.......NULLPTR != mPanelPtr....DCW211high\Becker\MMIControl\Engineer ing\private\CRBEngineeringDisplayController.cpp... .NULLPTR != mDecisionPanelPtr....Driver Distraction..Region code.Backdoors...PgUp....PgDn..../././././././.O"..n.mC

......A...~.o.O&..n....`..o.NULLPTR != pKeyCode.DCW211high\Becker\MMIControl\Navi\NavComm on\private\CXDCW211HNavTrippleKeyCode.cpp..******* ************************************************** ******.* Adding a new key to the current key code combination..KEY_RELEASE.KEY_REPEAT..KEY_PRESS...* KeyCode: 0x%02X; KeyState: %s.** Checking if the key should be added to the current key code combination..*** Key found in mask at position %i and was inserted...*** Key pressed at %u...** Checking if the key should be removed from the current key code combination..*** Key found in combination at position %i and is removed....../././././././.O"..n.jCkS.N.O@.d....NI... ...+...I....J.K@..:+..za.q.a.i..G.HA.d..G.FA.d.a.q .a.a.`........B...B.....B.B.=f.A.d.a.q.a.`....'.>. 7A.d...8..F,..D`..3..a.1...a.1.q..6@.!...f..4K.d.V ..3K.d...x...8..*,..(`.....{.a.`.... .+.!A.d...8...,.......`...a.1...a.1.q.!...f..!M.d. ..x...8...,...`.....A.d.....A.d.....A.d.~.o.O&n.m. l.k.j.i...h...0........,...4...H............... .......,...8...X..................D........* Checking if a key code was pressed....* Comparing the key code fields:....** Index: %d; mKeyCodesSearch = %u, mKeyCodesMask = %u..*** Current key code does not fit!..*** Key codes are matching! Check the time interval.....**** Actual time: %u; stored time: %u; difference: %u...***** Key code matches!.***** Key code does NOT match!../././././.O"..n.jC.;.;@.d...

..// Project : Harman Car Multimedia System........// (c) copyright 2002........// BECKER GmbH........// All rights reserved........//........// File : RBUserVersionInfo.h........// Description: Build information for Engineering Mode........// This file is generated automaticaly by Version.exe........//........// Author : Lars Thomas (Xcc Software AG)........// Date : 04.02.2002........// Comment : Modified Mid Version........//.

************************************************** ********

This is just a very small sample of what is available in these .dat files. I've already proven that Mercedes' files can be successfully modified as I have recently changed one the NAV disc's files so that my default voice is a British woman even though I have a USA system.

This Service disc, however, is proving to be a bit more difficult for me. I'm hoping that some of you software developers can help me figure out how to sift through all of the code and find the missing pieces to this puzzle.

Is anybody up for the challenge? Please share your thoughts or comments. Thanks.


you are on the right track... but its not going to be anywhere as easy as the nav voice mod... im pretty sure that mb made a code change to remove the engineering menu so you are going to have to disassemble the base code which is i believe ARM machine code... (the telematics software was written in C++ but since its compiled there is no source code to look through)

that means break out the telematics update dvd into individual files and reverse them in a program like IDA Pro... once you do that you can find those same references to the engineering menu as above and then find the code sections that reference them....
Reply
Old Oct 21, 2009 | 12:25 AM
  #11  
jkv11503's Avatar
Thread Starter
Member
 
Joined: Dec 2007
Posts: 121
Likes: 0
From: USA
2005 E320
Originally Posted by rob13572468
you are on the right track... but its not going to be anywhere as easy as the nav voice mod... im pretty sure that mb made a code change to remove the engineering menu so you are going to have to disassemble the base code which is i believe ARM machine code... (the telematics software was written in C++ but since its compiled there is no source code to look through)

that means break out the telematics update dvd into individual files and reverse them in a program like IDA Pro... once you do that you can find those same references to the engineering menu as above and then find the code sections that reference them....
Thanks for the tips. As you suggested, I've taken a look at the DAT file using IDA. I can see certain patterns where the keycode info should be listed, but I'm not sure what to make of it all. I'll keep trying.
Reply
Old Oct 21, 2009 | 03:02 PM
  #12  
jkv11503's Avatar
Thread Starter
Member
 
Joined: Dec 2007
Posts: 121
Likes: 0
From: USA
2005 E320
The keycode to access the Engineering Mode was posted in a seperate thread.... https://mbworld.org/forums/audio-ele...ring-menu.html

I don't know how many models this keycode applies to; however, I can confirm that it works on the '05 W211 with the HU service (software) update.

Will keep looking for a way to access the Secret Menu.

Last edited by jkv11503; Oct 21, 2009 at 03:05 PM.
Reply
Old Oct 21, 2009 | 09:18 PM
  #13  
rob13572468's Avatar
PREMIUM SPONSOR
 
Joined: Mar 2007
Posts: 615
Likes: 3
From: Chicago, IL
ML350, Lotus Elise
no problem.. here ill give you the 30 second tutorial on exactly how to find the code you want... (i do reverse engineering for a living)

The easiest way to find it is to follow the button presses. so first you need to find how the buttons are mapped to the inputs on the processor. To do this you basically need to open up a comand and use an ohmmeter to probe the circuit between the actual button and the processor (e.g. put one lead on the switched side of the button and then move the other around the leads on the processor looking for the resistance to drop when the button is pressed. this allows you to know that button X terminates at pin # Y on the processor. Then you get the manual for the processor from the manufacturers site and look up the pin # and see what port name that it is assigned to. Do this for each button used to get into engineering mode...

Once thats done you go back into IDA (preferrably with the older firmware first) and look for each instance where those same port values are read by the processor and at each point is potential code of interest. Then you follow through the code to look for a instructions that specifically check for the same combination of buttons and see where that code goes. That will be the engineering mode entry routine. then look at the newer firmware to see whats different in that same area...
Reply
Old Oct 22, 2009 | 12:22 PM
  #14  
jkv11503's Avatar
Thread Starter
Member
 
Joined: Dec 2007
Posts: 121
Likes: 0
From: USA
2005 E320
Originally Posted by rob13572468
...To do this you basically need to open up a comand and use an ohmmeter to probe the circuit between the actual button and the processor (e.g. put one lead on the switched side of the button and then move the other around the leads on the processor looking for the resistance to drop when the button is pressed. this allows you to know that button X terminates at pin # Y on the processor...
Care to donate your Comand for the good of the forum?

Seriously, thanks for the 30-second lesson. The instructions sound pretty straightforward; however, I'm not too keen on opening up my Comand. Maybe someone here has a spare unit that they can use for testing purposes. In the meantime, I'll keep poking around the code in hopes of making a miraculous discovery.
Reply
Old Oct 27, 2009 | 05:33 AM
  #15  
rob13572468's Avatar
PREMIUM SPONSOR
 
Joined: Mar 2007
Posts: 615
Likes: 3
From: Chicago, IL
ML350, Lotus Elise
Originally Posted by jkv11503
Care to donate your Comand for the good of the forum?

Seriously, thanks for the 30-second lesson. The instructions sound pretty straightforward; however, I'm not too keen on opening up my Comand. Maybe someone here has a spare unit that they can use for testing purposes. In the meantime, I'll keep poking around the code in hopes of making a miraculous discovery.
ahh... i actually have lots of command units laying around.. just not one from an E...
Reply
Old Oct 27, 2009 | 09:50 AM
  #16  
jkv11503's Avatar
Thread Starter
Member
 
Joined: Dec 2007
Posts: 121
Likes: 0
From: USA
2005 E320
Originally Posted by rob13572468
ahh... i actually have lots of command units laying around.. just not one from an E...
If you have a chance, take a look through your supplies and see if you have a W203 (C-class?) Comand. It appears to use the same code to access the engineering mode as does the W211 (E-class). Perhaps it is also the same for the secret menu.
Reply
Old Oct 27, 2009 | 08:05 PM
  #17  
pinebaron's Avatar
MBWorld Fanatic!
15 Year Member
Photogenic
Photoriffic
Liked
 
Joined: May 2007
Posts: 1,252
Likes: 18
From: Blaine, WA
07 E320 Bluetec
Originally Posted by jkv11503
If you have a chance, take a look through your supplies and see if you have a W203 (C-class?) Comand. It appears to use the same code to access the engineering mode as does the W211 (E-class). Perhaps it is also the same for the secret menu.
Rob has probably decompiled software for all Command units and has all the answers. I think he just wants you to have fun
Reply
Old Nov 1, 2009 | 08:47 PM
  #18  
Mackhack's Avatar
Banned
 
Joined: Feb 2008
Posts: 0
Likes: 118
What OS is used in our COMANDs?
Reply
Old Nov 4, 2009 | 04:50 AM
  #19  
rob13572468's Avatar
PREMIUM SPONSOR
 
Joined: Mar 2007
Posts: 615
Likes: 3
From: Chicago, IL
ML350, Lotus Elise
Originally Posted by pinebaron
Rob has probably decompiled software for all Command units and has all the answers. I think he just wants you to have fun
nah, i havent done much with the comand firmware yet... theres only so many hours in the day... but... it is on the list of things for me to look at
Reply
Old Nov 4, 2009 | 04:51 AM
  #20  
rob13572468's Avatar
PREMIUM SPONSOR
 
Joined: Mar 2007
Posts: 615
Likes: 3
From: Chicago, IL
ML350, Lotus Elise
Originally Posted by jkv11503
If you have a chance, take a look through your supplies and see if you have a W203 (C-class?) Comand. It appears to use the same code to access the engineering mode as does the W211 (E-class). Perhaps it is also the same for the secret menu.
I have a W203 command but its not the same hardware as the W211... the W203 is the MCS2 unit and has the AGW built in whereas the W211 does not...
Reply
Old Nov 4, 2009 | 04:52 AM
  #21  
rob13572468's Avatar
PREMIUM SPONSOR
 
Joined: Mar 2007
Posts: 615
Likes: 3
From: Chicago, IL
ML350, Lotus Elise
Originally Posted by Mackhack
What OS is used in our COMANDs?
it depends on what platform... mostly UNIX/QNX RTOS but some variants are linux and others are WIN CE
Reply
Old Nov 4, 2009 | 12:43 PM
  #22  
Mackhack's Avatar
Banned
 
Joined: Feb 2008
Posts: 0
Likes: 118
I found out it is VXworks OS.
Reply
Old Nov 26, 2009 | 06:48 PM
  #23  
Preet's Avatar
Senior Member
15 Year Member
 
Joined: Jan 2007
Posts: 338
Likes: 4
From: Canada, Ontario, Brampton
E63 AMG W211 & W203 Sport Pkg
Any update?
Reply
Old Nov 26, 2009 | 09:46 PM
  #24  
jkv11503's Avatar
Thread Starter
Member
 
Joined: Dec 2007
Posts: 121
Likes: 0
From: USA
2005 E320
Originally Posted by Preet
Any update?
I got nothin'.
Reply

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 


You have already rated this thread Rating: Thread Rating: 0 votes,  average.


All times are GMT -4. The time now is 10:46 PM.

story-0
7 Craziest Things AMG Gas Ever Built

Slideshow: Sometimes AMG builds fast sedans. Other times, it builds twin-turbo V12 land missiles and six-wheeled off-road monsters.

By Verdad Gallardo | 2026-05-26 17:59:58


VIEW MORE
story-1
New Electric Mercedes-AMG GT 4-Door Coupe Unveiled: 10 Things You Need to Know

Slideshow: Mercedes-AMG's new electric GT 4-Door Coupe trades combustion for software, synthetic noise, and more than 1,100 horsepower.

By Verdad Gallardo | 2026-05-20 20:08:15


VIEW MORE
story-2
6 Mercedes Models That Did NOT Age Well (But Are Somehow Still Cool)

Slideshow: Not every Mercedes design becomes timeless, some feel stuck in the era they came from.

By Verdad Gallardo | 2026-05-12 18:09:07


VIEW MORE
story-3
Manual Mercedes? 6 Times Sindelfingen Let Drivers Have All The Fun

Slideshow: Yes, Mercedes built manual cars, and some of them are far more interesting than you'd expect.

By Verdad Gallardo | 2026-05-02 12:36:58


VIEW MORE
story-4
Mercedes SLR McLaren 722 S Is Extremely Rare Example Modified by McLaren

Slideshow: A one-of-one U.S.-spec Mercedes-Benz SLR McLaren Roadster became even rarer after a factory-backed transformation at McLaren's headquarters.

By Verdad Gallardo | 2026-04-29 11:19:28


VIEW MORE
story-5
8 Classic Boxy Mercedes Designs That Have Aged Like Fine Wine

Slideshow: Before curves took over, Mercedes mastered the art of the straight line, and some of those shapes still look right today.

By Verdad Gallardo | 2026-04-25 12:05:49


VIEW MORE
story-6
Flawlessly Restored Mercedes 190E Evo II Heads to Auction

Slideshow: The 190E Evolution II shows how a homologation necessity became a six-figure collector icon.

By Verdad Gallardo | 2026-04-22 17:53:47


VIEW MORE
story-7
Electric Mercedes C-Class Unveiled: 11 Things You Need to Know

Slideshow: Mercedes is turning one of its core nameplates electric, and the details show just how serious this shift is.

By Verdad Gallardo | 2026-04-21 13:58:06


VIEW MORE
story-8
Mercedes EQS Gets A Major Update: Everything You Need to Know

Slideshow: Faster charging, longer range, and a controversial steer-by-wire system define the latest evolution of Mercedes-Benz EQS.

By Verdad Gallardo | 2026-04-15 10:35:34


VIEW MORE
story-9
5 Underrated Mercedes-Benz Models That Don't Get the Love They Deserve

Slideshow: These overlooked Mercedes-Benz models never got the spotlight, but they quietly delivered more than most remember.

By Verdad Gallardo | 2026-04-13 19:35:45


VIEW MORE