Skip to content
Install the CameraLoops App

Browse CameraLoops via the app. Learn more.

www.CameraLoops.ru

Use the CameraLoops full-screen app on your home screen with push notifications, badges and more.

To install the CameraLoops app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install the CameraLoops app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

XML config DID

Featured Replies

  • GM Car Hacking Expert
  • Contributor

Hello. I'm trying to figure out how configuration works. XML files have specific configurations, but they are divided on DID's.

 

For example:

 

DID02 which is 32 byte long

 

<ID>DID0002</ID>

      <DidNo>0002</DidNo>

      <DidDataIndicator>0000</DidDataIndicator>

      <Name>DID_02</Name>

      <Description>This DID enables or disables individual display warnings.</Description>

      <DidLength>32</DidLength>

      <DefaultValue>FFFFFFEFDFFFFC7FFFDFFFFFFF7F7EE7C7FFFFFE7F5FDFFF5FBFFEF1F7FD7D01</DefaultValue>

 

 

 

And specific parameter

 

 

<ModificationItem IDREF="DID0002">

      <Parameter>

        <ParameterName>P_ALL_WHEEL_DRIVE_OFF_ENABLE</ParameterName>

        <StartByte>3</StartByte>

        <StartBit>5</StartBit>

        <BitLength>1</BitLength>

 

 

 

My question is - where is it physically stored, where can I find these bytes (for example 32-byte long DID02)?


Car Hacking Services I Provide For General Motors Vehicles.

  • GM SPS Access (Europe)
  • GM SPS Access (USA)
  • GM Features Activation/Deactivation
  • All GM Modules Programming
  • Providing Required GM Calibrations

Solved by codebuilder

  • Replies 42
  • Views 7.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • E-Ing-X20XEV
    E-Ing-X20XEV

    HoHoHo,   I want to share many many many XML files from GTIS v32 database... Here you go. XML Files GTIS v32.zip

  • E-Ing-X20XEV
    E-Ing-X20XEV

    I used several IPC xml files and collected any information for each byte/DID. Not every xml file contains the same information. Sort them by size to start with the valuest one.

  • codebuilder
    codebuilder

    Good addition :).  Also, 1A for read, 3B for write.  I'll expand it a bit too, I have tools that read/write the entire ranges, more for cloning.  A different view than my IPC Settings app:  

Posted Images

  • GM Car Hacking Expert
  • Contributor

Read whole file and read again. After few times will understand DID flags

  • GM Car Hacking Expert
  • Contributor

You're getting not only into the byte but the bit level.  

 

That All Wheel Drive flag is flipping a bit on the 3rd byte (under FF) - it's not super easy to calculate:

<DefaultValue>FFFFFFEFDFFFFC7FFFDFFFFFFF7F7EE7C7FFFFFE7F5FDFFF5FBFFEF1F7FD7D01</DefaultValue>

 

This 3rd FF value would be modified depending on the setting.  Since it's FF currently, it would be 11111111.  If you removed the All Wheel Drive, it would become 11110111 (F7) - Note - I might have this backwards lol, going off memory.

 

 

image.png.48721971c671e7b8fa08ec39f888dccb.png

  • GM Car Hacking Expert
  • Author
  • Contributor

Okay, that helps a bit. Where is it stored? Does it interact somehow with calibration files? Or is it maybe stored inside calibration files?

Thank you for your replies!


Car Hacking Services I Provide For General Motors Vehicles.

  • GM SPS Access (Europe)
  • GM SPS Access (USA)
  • GM Features Activation/Deactivation
  • All GM Modules Programming
  • Providing Required GM Calibrations
  • GM Car Hacking Expert
  • Contributor
  • Solution
10 hours ago, exc11 said:

Okay, that helps a bit. Where is it stored? Does it interact somehow with calibration files? Or is it maybe stored inside calibration files?

Thank you for your replies!

That's a good question!  I don't have an exact answer so I'll give you my best interpretation of it.

 

I *believe* the DIDs were designed for a quick configuration.  In GM documentation it's "ECU configuration" so I believe it was meant to be the quick configuration options.  The DIDs are usually shorter data, but not always.  I don't see a ton of modules that use both..  But the calibrations are much larger and do very similar but in some cases more similar.   For example, amount of gears on a transmission isn't as nice on a short data amount with DIDs as opposed to a full bit on a calibration.  The main thing, they're not the same.  Some calibrations include a full signed OS load, but others also a configuration.  The DIDs are a "quick" config.  I figure it expanded and they ran out of room.  There's adaptive cruise in both calibration and config as an example.  

  • GM Car Hacking Expert
  • Contributor

Hello,

Configuration and calibration are different kind of shoes.

As you mentioned configuration deals with DIDs. These DIDs can be read by sending a 0x1A 0xDID# command to ECU.

It will answer with 0x5A and the whole length DID.

Decrypting is up to you - the xml file helps you with that.

In your case DID 02 is from IPC. There is also DID 03, A0, A1, A2, A3, A4, A5, A6, A7 and A8 playing in IPC configuration.

Each bit is affecting the function of the IPC (menus, indicators, messages, lamp check ...).

In calibration you enable or disable functions regarding CAN bus modules like TPMS.

 

  • Contributor
23 hours ago, exc11 said:

Hello. I'm trying to figure out how configuration works. XML files have specific configurations, but they are divided on DID's.

 

For example:

 

DID02 which is 32 byte long

 

<ID>DID0002</ID>

      <DidNo>0002</DidNo>

      <DidDataIndicator>0000</DidDataIndicator>

      <Name>DID_02</Name>

      <Description>This DID enables or disables individual display warnings.</Description>

      <DidLength>32</DidLength>

      <DefaultValue>FFFFFFEFDFFFFC7FFFDFFFFFFF7F7EE7C7FFFFFE7F5FDFFF5FBFFEF1F7FD7D01</DefaultValue>

 

 

 

And specific parameter

 

 

<ModificationItem IDREF="DID0002">

      <Parameter>

        <ParameterName>P_ALL_WHEEL_DRIVE_OFF_ENABLE</ParameterName>

        <StartByte>3</StartByte>

        <StartBit>5</StartBit>

        <BitLength>1</BitLength>

 

 

 

My question is - where is it physically stored, where can I find these bytes (for example 32-byte long DID02)?

 

Physically stored in the IPC's eeprom. Read eeprom and you will see all DIDs.

  • GM Car Hacking Expert
  • Contributor
6 hours ago, E-Ing-X20XEV said:

Hello,

Configuration and calibration are different kind of shoes.

As you mentioned configuration deals with DIDs. These DIDs can be read by sending a 0x1A 0xDID# command to ECU.

It will answer with 0x5A and the whole length DID.

Decrypting is up to you - the xml file helps you with that.

In your case DID 02 is from IPC. There is also DID 03, A0, A1, A2, A3, A4, A5, A6, A7 and A8 playing in IPC configuration.

Each bit is affecting the function of the IPC (menus, indicators, messages, lamp check ...).

In calibration you enable or disable functions regarding CAN bus modules like TPMS.

 

 

 

Good addition :).  Also, 1A for read, 3B for write.  I'll expand it a bit too, I have tools that read/write the entire ranges, more for cloning.  A different view than my IPC Settings app:

 

image.png.543d5d0b4118bb6160274df9e6101f56.png

  • Contributor
45 minutes ago, codebuilder said:

 

 

Good addition :).  Also, 1A for read, 3B for write.  I'll expand it a bit too, I have tools that read/write the entire ranges, more for cloning.  A different view than my IPC Settings app:

 

image.png.543d5d0b4118bb6160274df9e6101f56.png

Nice app. You cant calculate seed/key?

  • GM Car Hacking Expert
  • Contributor
2 minutes ago, Artur said:

Nice app. You cant calculate seed/key?

Thank you.  I can add it but I built it for a one off task so I just did it quick.  I have it in a module now though if I really wanted to add it.  

  • Contributor
1 minute ago, codebuilder said:

Thank you.  I can add it but I built it for a one off task so I just did it quick.  I have it in a module now though if I really wanted to add it.  

Let me know if you need any help with implementing or testing your app. It looks like we live close to each other.

  • GM Car Hacking Expert
  • Contributor

Hey, looks similar like my decrypting...

But I did it with a small C based program (Sorry, It's German).

I ask ECU to give me 0x00 up to 0xFF DIDs...

(0x90 - VIN and 0xB4 - Manufacturer Trace Code) removed.

ECU-Informationen_Enh.txt

  • Contributor

Nice job! I think, it is Astra J, right?

  • GM Car Hacking Expert
  • Contributor

Yes, you are right, it's Astra J.

Here is another one after upgrading IPC software to 2014 version. You can see some DIDs came additionally for the configuration of the eco menu.

It is still the same IPC hardware from 2012...

 

ECU-Informationen_Enh 2014.txt

  • Contributor

Nice!

By the way, does anyone know, which DID, byte/bit is responsible for message on Astra J IPC "DPF is clogged, do not stop the engine". I need to disable it as DPF was deleted in the ECM. Thanks.

  • GM Car Hacking Expert
  • Contributor

OK, here's early X-Mas present for you all...

Complete DID decrypting table as far as I found out.

It is from 2014 Astra J IPC with enabled Performance Menu.

Play around with enabling/disabling.

In the decrypting tables LSB comes first...

 

Greetings,

Toby

 

IPC Uplevel DID.txt

  • Contributor
22 minutes ago, E-Ing-X20XEV said:

OK, here's early X-Mas present for you all...

Complete DID decrypting table as far as I found out.

It is from 2014 Astra J IPC with enabled Performance Menu.

Play around with enabling/disabling.

In the decrypting tables LSB comes first...

 

Greetings,

Toby

 

IPC Uplevel DID.txt 31.71 kB · 1 download

Nice job @E-Ing-X20XEV. Did you generate that file using the XML?

  • GM Car Hacking Expert
  • Contributor

I used several IPC xml files and collected any information for each byte/DID. Not every xml file contains the same information. Sort them by size to start with the valuest one.

  • GM Car Hacking Expert
  • Contributor
1 hour ago, E-Ing-X20XEV said:

I used several IPC xml files and collected any information for each byte/DID. Not every xml file contains the same information. Sort them by size to start with the valuest one.

I've found the exact same thing....  I was able to turn on some other stuff or remove power steering warnings, etc.

  • Contributor
On 12/16/2023 at 1:53 PM, codebuilder said:

 

 

Good addition :).  Also, 1A for read, 3B for write.  I'll expand it a bit too, I have tools that read/write the entire ranges, more for cloning.  A different view than my IPC Settings app:

 

image.png.543d5d0b4118bb6160274df9e6101f56.png

What tools do you have or use for cloning?

  • GM Car Hacking Expert
  • Contributor
16 hours ago, E-Ing-X20XEV said:

I used several IPC xml files and collected any information for each byte/DID. Not every xml file contains the same information. Sort them by size to start with the valuest one.

i have arround 170 XMLs of different cars and type of speedometer. If can be useful...

  • GM Car Hacking Expert
  • Contributor
6 hours ago, Arbe_gtc said:

i have arround 170 XMLs of different cars and type of speedometer. If can be useful...

 

Thank you very much, if you would like to share, please zip them and upload it here, or on some freefile hoster.

Expanding knowledge is always a good thing.

I guess you have more xml files available than my 2012 offline Global TIS ever have. I queried the Global TIS database on sql level for xml files.

I got tons of xml files for all kind of ECMs, but the limit is the year 2012.

 

Thank you...

  • GM Car Hacking Expert
  • Contributor
12 hours ago, Nasstrac said:

What tools do you have or use for cloning?

I could never find much out there so I ended up building many of my own.  

  • Contributor

Thank you for your fast reply, if you going to sell any of your cloning tools please let me know

  • Contributor
3 minutes ago, codebuilder said:

I could never find much out there so I ended up building many of my own.  

Any idea whey I got this error when writing the xml configuration file " security access " is there security algorithm block I need to modify 

20231218_151321.jpg

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Popular Members

  1. hassan77h
    +hassan77h
    26
  2. Troy
    Troy
    24
  3. uglyoldbastard
    +uglyoldbastard
    12
  4. regloops
    +regloops
    10
  5. sergei petrov
    sergei petrov
    7

CameraLoops™
Powered by Art
All Trademarks appearing on this website are the property of their respective owners.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.
CameraLoops members who viewed this content
veetdoc chicking ZZZ Atika morfej pupu14 regloops bondarrenko samer ViCo2 jjagel Daniyorbekchik Duba Mateusz Lorek uglyoldbastard Usst tejiera bekatsilosani Jasper tungnv93pt