Login Register

Vida CEM swapping

A mid-size luxury crossover SUV, the Volvo XC90 made its debut in 2002 at the Detroit Motor Show. Recognized for its safety, practicality, and comfort, the XC90 is a popular vehicle around the world. The XC90 proved to be very popular, and very good for Volvo's sales numbers, since its introduction in model year 2003 (North America). P2 platform.
Post Reply
vtl
Posts: 4724
Joined: 16 August 2012
Year and Model: 2005 XC70
Location: Boston
Has thanked: 114 times
Been thanked: 604 times

Re: Vida CEM swapping

Post by vtl »

gnalan wrote: 26 Apr 2022, 18:16 Also '++i' doesn't need to make a copy of 'i' first like 'i++' does.
Integer variable is not an object, C does not do copies.
gnalan wrote: 26 Apr 2022, 18:16

Code: Select all

Mine...
    if ((n & 1) ^ ((k >> i) & 1))
That 'i' should be 1.

vtl
Posts: 4724
Joined: 16 August 2012
Year and Model: 2005 XC70
Location: Boston
Has thanked: 114 times
Been thanked: 604 times

Post by vtl »

alevol wrote: 27 Apr 2022, 06:40 How do you get ~860 pin/sec? I am getting stable 440 pins/sec using VTL's the most recent build.
There are "fast" and "slow" CEMs. You have a "slow" one.
alevol wrote: 27 Apr 2022, 06:40 I could also not compile VTL's seed-gen.c utility. I was trying to compile with devc++ and with VScode as well. It could not find dependencies.
55b94239eeefc.jpeg
55b94239eeefc.jpeg (63.86 KiB) Viewed 554 times

alevol
Posts: 31
Joined: 4 August 2021
Year and Model: 2005 S60
Location: Finland
Has thanked: 6 times
Been thanked: 3 times

Post by alevol »

Thanks vtl!
vtl wrote: 27 Apr 2022, 07:08 55b94239eeefc.jpeg
haha, i thought the same. I could run the Virtual Machine. Sounds like a plan.

vtl
Posts: 4724
Joined: 16 August 2012
Year and Model: 2005 XC70
Location: Boston
Has thanked: 114 times
Been thanked: 604 times

Post by vtl »

alevol wrote: 27 Apr 2022, 07:21 haha, i thought the same. I could run the Virtual Machine. Sounds like a plan.
I've heard that in recent windows versions they've added Linux shell or something, based on Ubuntu. You may want to try compiling it there.

alevol
Posts: 31
Joined: 4 August 2021
Year and Model: 2005 S60
Location: Finland
Has thanked: 6 times
Been thanked: 3 times

Post by alevol »

I am kinda conservative Windows user running multiple Win7 laptops. I have Ubuntu experience also,
Thanks, vtl !

User avatar
gnalan
Posts: 968
Joined: 21 July 2020
Year and Model: 2001 S60
Location: Ohio
Has thanked: 557 times
Been thanked: 135 times

Post by gnalan »

vtl wrote: 27 Apr 2022, 06:56
gnalan wrote: 26 Apr 2022, 18:16

Code: Select all

Mine...
    if ((n & 1) ^ ((k >> i) & 1))
That 'i' should be 1.
Why 1? For the 64 bit seed/pin combo I want the bit to match the for loop, so that's why it's set as i and not 1. I'm not checking the same bit each time through the loop.
2001 S60, B5244S, AW55-50SN, FWD (Sold)
Cancer/Illness/Caregiver Support Thread

User avatar
RickHaleParker
Posts: 7129
Joined: 25 May 2015
Year and Model: See Signature below.
Location: Kansas
Has thanked: 8 times
Been thanked: 958 times

Post by RickHaleParker »

vtl wrote: 27 Apr 2022, 07:24 I've heard that in recent windows versions they've added Linux shell or something, based on Ubuntu.
Windows Subsystem for Linux.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
1998 C70, B5234T3, 16T, AW50-42, Bosch Motronic 4.4, Special Edition package.
2003 S40, B4204T3, 14T twin scroll AW55-50/51SN, Siemens EMS 2000.
2004 S60R, B8444S TF80 AWD. Yamaha V8 conversion
2005 XC90 T6 Executive, B6294T, 4T65 AWD, Bosch Motronic 7.0.

alevol
Posts: 31
Joined: 4 August 2021
Year and Model: 2005 S60
Location: Finland
Has thanked: 6 times
Been thanked: 3 times

Post by alevol »

vtl wrote: 27 Apr 2022, 07:24 I've heard that in recent windows versions they've added Linux shell or something, based on Ubuntu. You may want to try compiling it there.
I've created a virtual machine, installed Ubuntu there. After installing gcc, the code compiled like a charm. Now i need to understand how to use it :)

vtl
Posts: 4724
Joined: 16 August 2012
Year and Model: 2005 XC70
Location: Boston
Has thanked: 114 times
Been thanked: 604 times

Post by vtl »

alevol wrote: 27 Apr 2022, 13:43 I've created a virtual machine, installed Ubuntu there. After installing gcc, the code compiled like a charm. Now i need to understand how to use it :)

Code: Select all

 * $ gcc -Ofast -o seed-gen seed-gen.c
 * $ ./seed-gen --seed "8f ca 96" --key "19 30 48" --pps 866
pps is pins per second for your CEM.

User avatar
charlie13
Posts: 46
Joined: 23 March 2022
Year and Model: 2009 XC70
Location: Krakow
Has thanked: 8 times
Been thanked: 18 times

Post by charlie13 »

SEED 9d e6 5e, PIN 00 00 ff f9 b4, KEY e2 d5 5d, 440 pins/s
SEED 2d c5 cd, PIN 00 00 ff fb 6c, KEY 03 38 68, 440 pins/s
SEED 3c 17 0e, PIN 00 00 ff fd 24, KEY 7f 45 3e, 440 pins/s
SEED b3 26 b0, PIN 00 00 ff fe dc, KEY c9 d9 42, 440 pins/s
hash collision found
SEED b6 cb 58, PIN 00 00 ff ff ff, KEY 68 4d 50, 292 pins/s
Resetting all ECUs.
CAN_HS ---> ID=000ffffe data=ff c8 00 00 00 00 00 00
CAN_LS ---> ID=000ffffe data=ff c8 00 00 00 00 00 00

Post Reply
  • Similar Topics
    Replies
    Views
    Last post