Changes

Jump to navigation Jump to search
2,296 bytes added ,  21:23, 27 January 2021
no edit summary
= How can I contribute =
If you want to help contribute to the open source project, start by getting acquainted with the process. Check out the github repos for the flasher tool and the definitions. And reach out to webmaster@simoswiki.com
 
= That's cool, but how =
== Using Brian Ledbetters VW_FLASH Tool ==
Steps
#Build your tune(cal) in tunerpro
#Copy the cal to your raspberry pi
#Checksum the cal
#Encrypt and compress the cal to prepare it for flashing
#Flash it
 
Directions below will assume you have a directory on your pi for the flash tool (/home/pi/VW_FLASH) and for your tunes (/home/pi/flashfiles/tunes)
 
=== Copy the cal to your raspberry pi ===
 
=== Checksum the cal ===
We won't re-explain everything... Just know that your file needs to be checksummed
 
Assuming you put the cal in /home/pi/flashfiles/tunes/thisismytune.bin
<pre>
cd /home/pi/VW_FLASH
python3 checksumsimos.py -i /home/pi/flashfiles/tunes/thisismytune.bin -o /home/pi/flashfiles/tunes/thisismytune.bin.checksummed --block 5
</pre>
 
The above commands will use the -i input file to create a -o output file that's been checksummed as a --block 5 (cal block) file.
 
=== Encrypt and compress the cal to prepare it for flashing ===
Thanks to Brian and David, we can then encrypt and prepare the CHECKSUMMED file for flashing by:
<pre>
cd /home/pi/VW_FLASH
./prepareblock.sh /home/pi/flashfiles/tunes/thisismytune.bin.checksummed 5
</pre>
 
This is a bash script that will re-run the checksum checker and (if it's valid), encrypt the file using VW's keys, and then compress the file and append .flashable to it.
You'll now have a few extra files in your /home/pi/flashfiles/tunes directory. A worked example:
<pre>
pi@raspberrypi:~/VW_Flash $ ls -l /home/pi/flashfiles/tunes/
18tsi_MPI_IS38hybrid_FlexTiming_3000rpmscav_1.9bar_500nm.bin
18tsi_MPI_IS38hybrid_FlexTiming_3000rpmscav_1.9bar_500nm.bin.checksummed
18tsi_MPI_IS38hybrid_FlexTiming_3000rpmscav_1.9bar_500nm.bin.checksummed.compressed
18tsi_MPI_IS38hybrid_FlexTiming_3000rpmscav_1.9bar_500nm.bin.checksummed.flashable
</pre>
 
The .compressed file is an intermediate file that we don't really need anymore. And the original .bin file is identical to the .checksummed file (except that it can't be flashed)
 
=== Flash it ===
The fun part:
<pre>
cd /home/pi/VW_FLASH
python3 flashsimos18.py --file /home/pi/flashfiles/tunes/thisismytune.checksummed.flashable --block CAL
</pre>
 
This command will use the "flashable" file to flash it to the "CAL" block on the ECU. You can also use --block by number.

Navigation menu