was that a little cheeky coding joke there?rkam wrote: ↑17 Aug 2023, 23:50 Github question?
Red is removed, Green is added.
Example:
Commits on Feb 22, 2022
Remove canMsgReceive, affects the latency data as it disables interru…![]()
![]()
![]()
![]()
![]()
Showing 1 changed file with 2 additions and 4 deletions.
4 red lines
2 green lines
red line 392 is removed: } while (TSC < limit && !canMsgReceive(CAN_HS, &id, reply, 0, false));
Vida CEM swapping
-
oscilloscope
- Posts: 285
- Joined: 20 May 2022
- Year and Model: 2005
- Location: uk
- Has thanked: 27 times
- Been thanked: 11 times
Re: Vida CEM swapping
-
pawelstanislaw
- Posts: 2
- Joined: 18 August 2023
- Year and Model: 2008 C30
- Location: Cracow, Poland
- Has thanked: 2 times
Hi again,
Unfortunately, the changes you suggested did not work out. Ran out of ideas, but my friend, a BMW guy, suggested that I should reset the car by disconnecting the battery or try to plug in something else to the OBD port before trying to crack CEM.
Disconnecting the battery did not work, then I plugged in some ELM327 Bluetooth interface laying in the car. Plugged in, erased DTCs, plugged my PIN cracker, and it started to crash the car electronics (key in position II). Brake failure, some pump went on, wipers started, etc. Still a bunch of 00s in output but it was the sign that it is talking with the car, even if it's talking trash.
Disconnected the battery, plugged in ELM327, and tried with the key in the position I - wipers started.
Disconnected the battery, plugged in ELM327, and tried with the key in position 0 - it started to decode the PIN.
Tried again without the key - nothing happened.
Not sure if that's the rule for 31254903 CEM, but if something not working right try to connect something else to the OBD port. And key in position 0 - probably will be safer for that pump and your wiper blades.
Thanks a lot for the project and for the help that I got. I was planning a visit to Volvo Service Center, but then I found this hack. Coded the cruise control and it works fine.

-
vtl
- Posts: 4726
- Joined: 16 August 2012
- Year and Model: 2005 XC70
- Location: Boston
- Has thanked: 114 times
- Been thanked: 606 times
Wiring to CAN bus(es) is wrong, double check it. The car does weird stuff when you reverse L and H wires or simply plug high speed CAN to low speed or vice versa.pawelstanislaw wrote: ↑20 Aug 2023, 00:52 Disconnecting the battery did not work, then I plugged in some ELM327 Bluetooth interface laying in the car. Plugged in, erased DTCs, plugged my PIN cracker, and it started to crash the car electronics (key in position II). Brake failure, some pump went on, wipers started, etc. Still a bunch of 00s in output but it was the sign that it is talking with the car, even if it's talking trash.
Disconnected the battery, plugged in ELM327, and tried with the key in the position I - wipers started.
Disconnected the battery, plugged in ELM327, and tried with the key in position 0 - it started to decode the PIN.
Tried again without the key - nothing happened.
-
dikidera
- Posts: 1304
- Joined: 15 August 2022
- Year and Model: S60 2005
- Location: Galaxy far far away
- Has thanked: 67 times
- Been thanked: 175 times
I have a question. In the CEM config you can specify if you have the extended trip computer for instant and avg fuel consumption. Does the CEM then issue a CAN command telling the DIM I have it enabled?
If so, doesn't this mean that one can issue the CAN command and enable it albeit temporarily on each car start?
The reason I think so, is because the PHM module can and does write to the DIM screen, and advertises itself via a single CAN command.
Although a bit different, in DHA on DIM I have a Write data block by offset, and under it Tripcomputer, unit. I have a hunch it may be related. But I am not sure.
UPDATE:
After googling it's apparent that Volvo did not enable the fuel trip computer for BIFUEL models, probably because of the hybrid modes of petrol and lpg/cng. Now the question is, if the functionality is still there and could be forcefully enabled or is the code entirely absent from my Denso unit.
If so, doesn't this mean that one can issue the CAN command and enable it albeit temporarily on each car start?
The reason I think so, is because the PHM module can and does write to the DIM screen, and advertises itself via a single CAN command.
Although a bit different, in DHA on DIM I have a Write data block by offset, and under it Tripcomputer, unit. I have a hunch it may be related. But I am not sure.
UPDATE:
After googling it's apparent that Volvo did not enable the fuel trip computer for BIFUEL models, probably because of the hybrid modes of petrol and lpg/cng. Now the question is, if the functionality is still there and could be forcefully enabled or is the code entirely absent from my Denso unit.
Hello everyone
I would like to thank all the participants who prepared and supported this magnificent project.
My English is not very good so I use google translate. Please forgive me if I have any errors in expression.
I prepared my circuit as in the picture. I connected it to my 2012 model XC90. It calculated the first 3 PIN codes, but could not calculate the last 3 codes with brute force. The transaction file is attached. can you help me?
thanks.
![Image]()
I would like to thank all the participants who prepared and supported this magnificent project.
My English is not very good so I use google translate. Please forgive me if I have any errors in expression.
I prepared my circuit as in the picture. I connected it to my 2012 model XC90. It calculated the first 3 PIN codes, but could not calculate the last 3 codes with brute force. The transaction file is attached. can you help me?
thanks.
- Attachments
-
- My first try.png (124.18 KiB) Viewed 1092 times
-
- circuit.jpg (238.76 KiB) Viewed 1092 times
-
My first try.txt- (77.91 KiB) Downloaded 50 times
-
vtl
- Posts: 4726
- Joined: 16 August 2012
- Year and Model: 2005 XC70
- Location: Boston
- Has thanked: 114 times
- Been thanked: 606 times
You are running an old version of the code, pull the latest from github.Bekirebu wrote: ↑05 Sep 2023, 06:12 Hello everyone
I would like to thank all the participants who prepared and supported this magnificent project.
My English is not very good so I use google translate. Please forgive me if I have any errors in expression.
I prepared my circuit as in the picture. I connected it to my 2012 model XC90. It calculated the first 3 PIN codes, but could not calculate the last 3 codes with brute force. The transaction file is attached. can you help me?
thanks.
Also I see a few problems with your hardware:
- not soldered (a lot of resistance in those pads that is particularly bad for high frequency signals)
- thick aluminum wires (I think they are aluminum or copper plated aluminum?)
- CAN pairs are not twisted... (must for differential signalling, which CAN is)
- ... and seems to have a different length (must for differential signalling)
- how noisy is your DC-DC converter?
Here's for example my cracker, which I'm not very proud of, but it cracked every uncrackable dump other folks have sent to me: copper PCB, CAT 6A Ethernet twisted pairs (500 MHz), short AWG30 (0.25 mm) wires to run signals to Teensy, very tight DIP socket. CEM and the cracker are both powered by a low noise lab power supply.
Also your model year can be cracked in a P3 way, via DiCE: viewtopic.php?p=608430#p608430
thank you so much @vtl
I have the necessary circuit elements ready. I wanted to give it a try with the simplest method, I was happy thinking it would be successful after passing the first 3 steps. I followed this thread from the first page. I knew about the cable and other features you mentioned.
Now I will immediately prepare the new circuit on the copper PCB and try again. I will share the result.
The UDS programs on the page you suggested for P3 are not available. Can it be shared again?
Respects.
I have the necessary circuit elements ready. I wanted to give it a try with the simplest method, I was happy thinking it would be successful after passing the first 3 steps. I followed this thread from the first page. I knew about the cable and other features you mentioned.
Now I will immediately prepare the new circuit on the copper PCB and try again. I will share the result.
The UDS programs on the page you suggested for P3 are not available. Can it be shared again?
Respects.
-
vtl
- Posts: 4726
- Joined: 16 August 2012
- Year and Model: 2005 XC70
- Location: Boston
- Has thanked: 114 times
- Been thanked: 606 times
Try the latest code first: https://github.com/vtl/volvo-cem-cracker
Also if you run it a few times do you get the same first 2 bytes? If only the third byte differs you could change CALC_BYTES to 2 https://github.com/vtl/volvo-cem-cracke ... er.ino#L13 and leave it running for up to 18 hours (worst case). It will brute force the rest 4 bytes.
Also if you run it a few times do you get the same first 2 bytes? If only the third byte differs you could change CALC_BYTES to 2 https://github.com/vtl/volvo-cem-cracke ... er.ino#L13 and leave it running for up to 18 hours (worst case). It will brute force the rest 4 bytes.
-
Divxet
- Posts: 10
- Joined: 4 April 2022
- Year and Model: 2003 v70n
- Location: Sweden
- Has thanked: 15 times
- Been thanked: 3 times
Hi!
Can anybody please help me with the problem to get the DICE to work with the Volvo DHA software.
I have Vida installed and the DICE is working perfect with that on my laptop but with the DHA i can´t find a way to connect the DICE to the software.
Can anybody please help me with the problem to get the DICE to work with the Volvo DHA software.
I have Vida installed and the DICE is working perfect with that on my laptop but with the DHA i can´t find a way to connect the DICE to the software.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1 Replies
- 6431 Views
-
Last post by RickHaleParker
-
- 5 Replies
- 8699 Views
-
Last post by forumoto






