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.

How to correct checksum after editing GM's calibration files

Featured Replies

  • GM Car Hacking Expert
  • Author
25 minutes ago, Eric Ellison said:

Nice info Mr Troy, but if I may offer some advice the windows Calculator has a Programmer mode that easily takes the last four of Big-Endian HEX checksum(highlight all bytes except the first two of .bin file) and if you go to Bitwise menu, you use NOT function and add 1 and there’s your new checksum

image.jpg

 

Cool stuff. Thanks 

  • 2 weeks later...
  • Replies 110
  • Views 16.9k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Eric Ellison
    Eric Ellison

    Nice info Mr Troy, but if I may offer some advice the windows Calculator has a Programmer mode that easily takes the last four of Big-Endian HEX checksum(highlight all bytes except the first two of .b

  • The way I find the easiest is to set the first two bytes in the file to FF FF, calculate the big-endian 16-bit, take the last 4, i.e. 2F B5, use the Hex Calculator to do FFFF - 2FB5, giving us a resul

  • Mindaugas Cernius
    Mindaugas Cernius

    The checksum calculation can be different for everyone. For example, in BCM Opel using 16-bit Big-Endian, you need to add 8000 to the resulting result to get the correct checksum. We get Buick's check

Posted Images

I tested it and not working for me. I have the same calib file like you, change the same byte  (09 from a5 to a4) and write the same checksum to file - dps stop at 0% with error 😞

The way I find the easiest is to set the first two bytes in the file to FF FF, calculate the big-endian 16-bit, take the last 4, i.e. 2F B5, use the Hex Calculator to do FFFF - 2FB5, giving us a result of D0 4A. Fill the first two byte with that checksum and bam, it's correct.

WWW.CALCULATOR.NET

This free hex calculator can add, subtract, multiply, and divide hexadecimal values, as well as convert between hexadecimal and decimal values.

 

  • 1 month later...
  • Contributor
On 6/2/2022 at 12:26 AM, MNP said:

The way I find the easiest is to set the first two bytes in the file to FF FF, calculate the big-endian 16-bit, take the last 4, i.e. 2F B5, use the Hex Calculator to do FFFF - 2FB5, giving us a result of D0 4A. Fill the first two byte with that checksum and bam, it's correct.

WWW.CALCULATOR.NET

This free hex calculator can add, subtract, multiply, and divide hexadecimal values, as well as convert between hexadecimal and decimal values.

 

After trying guide by Troy i just stubbled upon this comment - as yes its way easier doing the way you wrote ! Thanks

  • 2 months later...

good day to you troy.

what type of software you are using to modify the calibration files?

  • GM Car Hacking Expert
  • Author
3 hours ago, mr fixing said:

good day to you troy.

what type of software you are using to modify the calibration files?

 

A hex editor 

 

  • 3 weeks later...
  • GM Car Hacking Expert
  • Contributor

im getting error using the same file as @Troy 23402917 changin the same byte... in DPS any idea? 23402917CORR

ProgramLog_hmi.Txt

  • 4 months later...
  • Contributor
On 10/27/2022 at 2:31 AM, Arbe_gtc said:

im getting error using the same file as @Troy 23402917 changin the same byte... in DPS any idea? 23402917CORR

ProgramLog_hmi.Txt 5.54 kB · 12 downloads

If it is not too late, try this one

23402917CORR_CS.bin

  • GM Car Hacking Expert
  • Contributor
22 hours ago, _mrv_ said:

If it is not too late, try this one

23402917CORR_CS.bin 441 B · 3 downloads

I already resolved it. some calibrations are calculated in little-endian, and others in bigg-endian (the HMI uses little)

 

thanks!!

  • 2 months later...
  • Contributor

How to apply this to Global Can B?

  • 4 months later...
On 3/16/2023 at 12:22 PM, Arbe_gtc said:

I already resolved it. some calibrations are calculated in little-endian, and others in bigg-endian (the HMI uses little)

 

thanks!!

Care to share exactly what you did? I'm going to try and write an app to automate it.

  • GM Car Hacking Expert
  • Contributor
1 hour ago, Vauxhall_Mark said:

Care to share exactly what you did? I'm going to try and write an app to automate it.

Open somes calibrations file of different units (BCM, IPC, HMI...) with hex editor neo. And use the checksum option, select "all document" to check the checksum of all the file and calculate Little-endian 16 and Big-endian 16. then you have results. (i dont know if there are more ecus with oter type of checksum. probably no)

If you look the result of the checksum, you can see 0000 or FFFF in 16 big, or 16 little. Only in one of them. then with this you can know if is little 16 or big 16.

You careful with this: If the result of checksum is FFFF you  dont need add nothing to correct checksum. if the result is 0000, you need add +1 to the result and in some cases, the result of the checksum must swap (i see this in K74 HMI and K26 AFL module K26 in astra K uses both types of checksum big-end 16 in some files, and little-end 16 in other.)

I cant tried all units, but check the type of checksum uses is easy.

the method for calculate the correction, we know it 😛

1 hour ago, Arbe_gtc said:

Open somes calibrations file of different units (BCM, IPC, HMI...) with hex editor neo. And use the checksum option, select "all document" to check the checksum of all the file and calculate Little-endian 16 and Big-endian 16. then you have results. (i dont know if there are more ecus with oter type of checksum. probably no)

If you look the result of the checksum, you can see 0000 or FFFF in 16 big, or 16 little. Only in one of them. then with this you can know if is little 16 or big 16.

You careful with this: If the result of checksum is FFFF you  dont need add nothing to correct checksum. if the result is 0000, you need add +1 to the result and in some cases, the result of the checksum must swap (i see this in K74 HMI and K26 AFL module K26 in astra K uses both types of checksum big-end 16 in some files, and little-end 16 in other.)

I cant tried all units, but check the type of checksum uses is easy.

the method for calculate the correction, we know it 😛

My basic excel macro calculates checksum from the endian result, that's first stage but saves a little time. 

On 10/20/2023 at 6:05 PM, Arbe_gtc said:

Open somes calibrations file of different units (BCM, IPC, HMI...) with hex editor neo. And use the checksum option, select "all document" to check the checksum of all the file and calculate Little-endian 16 and Big-endian 16. then you have results. (i dont know if there are more ecus with oter type of checksum. probably no)

If you look the result of the checksum, you can see 0000 or FFFF in 16 big, or 16 little. Only in one of them. then with this you can know if is little 16 or big 16.

You careful with this: If the result of checksum is FFFF you  dont need add nothing to correct checksum. if the result is 0000, you need add +1 to the result and in some cases, the result of the checksum must swap (i see this in K74 HMI and K26 AFL module K26 in astra K uses both types of checksum big-end 16 in some files, and little-end 16 in other.)

I cant tried all units, but check the type of checksum uses is easy.

the method for calculate the correction, we know it 😛

Got it basically working can edit any value and re-checksum.  Been testing with my HMI, enabled a few options to test Climate App, Touchpad, front camera etc. @codebuilder not as polished as yours but only a proof of concept, I'll code it up properly in visual studio when I get a chance. 

20231021_165807.jpg

  • GM Car Hacking Expert
  • Contributor
3 minutes ago, Vauxhall_Mark said:

Got it basically working can edit any value and re-checksum.  Been testing with my HMI, enabled a few options to test Climate App, Touchpad, front camera etc. @codebuilder not as polished as yours but only a proof of concept, I'll code it up properly in visual studio when I get a chance. 

20231021_165807.jpg

Hey, it does the job!!! haha, nice work :).  At least you've made a quick way to do it.

  • Contributor
On 22.10.2023 at 00:08, codebuilder said:

Эй, это делает свою работу!!! хаха, хорошая работа :). По крайней мере, вы нашли быстрый способ сделать это.

Hello, can you give me your WhatsApp or write to me?

  • Contributor
3 minutes ago, Vauxhall_Mark said:

Касательно? 

I want to buy a program for recalculating checksums

2 minutes ago, KiT71 said:

I want to buy a program for recalculating checksums

It's not really something that's ready, it basically works but just something I knocked up in a couple hours. Currently only testing on HMI files but managed to get all the options I wanted working. 

 

I can enable something on an HMI file for you if that helps? 

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

I want to buy a program for recalculating checksums

Are you hoping to modify lots of calibrations?  Not all types of modules work the same for checksums.  I've already had to figure out quite a few.

3 minutes ago, codebuilder said:

Are you hoping to modify lots of calibrations?  Not all types of modules work the same for checksums.  I've already had to figure out quite a few.

More of a proof I can do it really, I've added menus/code to calculate little and big endian. 

 

What other methods are you aware of? 

  • Contributor
6 minutes ago, codebuilder said:

Вы надеетесь изменить множество калибровок? Не все типы модулей одинаково работают с контрольными суммами. Мне уже пришлось разобраться со многими.

Yes, I would like to buy something to change the calibrations in the dashboard and more often in the comfort unit, can you give me your WhatsApp and discuss everything there?

  • 4 months later...

Hello Troy,

Hope you are doing well.

I am going to calculate the checksum of the GM BCM EPROM, I have followed the instructions outlined in this article but to no avail. Please help me to calculate the checksum of EPROM is the same steps or not. 

for more information, I have not edited the EPROM and calculated the checksum to compare the original result but result of checksum is different.

toza eprom bcm.bin

  • GM Car Hacking Expert
  • Contributor
9 minutes ago, Rustam Abdullayev said:

Hello Troy,

Hope you are doing well.

I am going to calculate the checksum of the GM BCM EPROM, I have followed the instructions outlined in this article but to no avail. Please help me to calculate the checksum of EPROM is the same steps or not. 

for more information, I have not edited the EPROM and calculated the checksum to compare the original result but result of checksum is different.

toza eprom bcm.bin 4 kB · 0 downloads

the chekcsum corrections applies to modules calibrations, no to the BCM (or other units) eeprom

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
    23
  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
kobrak16 chicking thxx VS VIPER Andy_san Firestars Dog VoltGuru saad_dubai Enterlan bright liang Arbe_gtc Lulu JandJSpeedShop PixelTheKWolf Mikluha_Maklay kosta Pasha Kamilmichu kev789 Encrypted Owner