Skip to content

Commit

Permalink
Version 0.93-beta. Added support for 6Y0920843L cluster (software VQM…
Browse files Browse the repository at this point in the history
…J07HH 08.40).
  • Loading branch information
gmenounos committed Feb 27, 2024
1 parent 0a4d404 commit 5f0a28a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Cluster/VdoCluster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,9 @@ private static byte[][] GetClusterUnlockCodes(string softwareVersion)

case "VCLM09MH $00 $09": // 3BD920848E KOMBI+WEGFAHRSP VDO V03
return [[0x32, 0x31, 0x36, 0x31]];

case "VQMJ07HH 08.40": // 6Y0920843L KOMBIINSTRUMENT VDO V04
return [[0x34, 0x3F, 0x43, 0x39]];

case "VQMJ06LM 09.00": // 6Q0920903 KOMBI+WEGFAHRSP VDO V02
return [[0x35, 0x3D, 0x47, 0x3E]];
Expand Down
3 changes: 2 additions & 1 deletion Cluster/VdoKeyFinder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public static byte[] FindKey(byte[] seed)
obfu = [0x55, 0x16, 0xa8, 0x94];
break;
case 0x03 when seed[9] == 0x00:
case 0x09 when seed[9] == 0x00:
obfu = [0x98, 0xe1, 0x56, 0x5f];
break;
default:
Expand All @@ -35,7 +36,7 @@ public static byte[] FindKey(byte[] seed)
[seed[1], seed[3], seed[5], seed[7]],
obfu);

return new byte[] { 0x07, key[0], key[1], 0x00, key[2], 0x00, key[3], 0x00 };
return new byte[] { 0x07, key[0], key[1], 0x00, key[2], 0x00, key[3], 0x00, 0x00 };
}

/// <summary>
Expand Down
6 changes: 3 additions & 3 deletions kw1281test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>BitFab.KW1281Test</RootNamespace>
<LangVersion>latest</LangVersion>
<AssemblyVersion>0.92.0.0</AssemblyVersion>
<FileVersion>0.92.0.0</FileVersion>
<Version>0.92-beta</Version>
<AssemblyVersion>0.93.0.0</AssemblyVersion>
<FileVersion>0.93.0.0</FileVersion>
<Version>0.93.0-beta</Version>
<Copyright>Copyright © 2024 Greg Menounos</Copyright>
<DebugType>embedded</DebugType>
<DebugSymbols>true</DebugSymbols>
Expand Down

0 comments on commit 5f0a28a

Please sign in to comment.