Changes

Jump to navigation Jump to search
484 bytes added ,  13:17, 17 September 2021
= Who is it for =
[[File:Stage3.png|frameless]]
= How does it work =
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 Thats cool, - but how =
== Using Brian Ledbetters VW_FLASH Tool ==
Steps
#Build your tune(cal) in tunerpro
#Copy the cal to your raspberry pi
#Pre-reqs
#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_FLASHVW_Flash) and for your tunes (/home/pi/flashfiles/tunes)
=== Copy the cal to your raspberry pi ===
<pre>
pscp C:\somedirectory\thisismytune.bin pi@raspberrypi.local:/home/pi/flashfiles/tunes/thisismytune.bin
</pre>
 
=== Pre-reqs ===
<pre>
git clone https://github.com/bri3d/VW_Flash.git
cd /home/pi/VW_Flash
python3 -m pip install -r requirements.txt
cd ~/VW_Flash/lzss
make
</pre>
Assuming you put the cal in /home/pi/flashfiles/tunes/thisismytune.bin
<pre>
cd /home/pi/VW_FLASHVW_Flashpython3 checksumsimoschecksumsimos18.py -i /home/pi/flashfiles/tunes/thisismytune.bin -o /home/pi/flashfiles/tunes/thisismytune.bin.checksummed --block 5
</pre>
Thanks to Brian and David, we can then encrypt and prepare the CHECKSUMMED file for flashing by:
<pre>
cd /home/pi/VW_FLASHVW_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 compress the file using VW's keys, and then compress encrypt 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>
</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 canthe checksum doesn't match). You can continue to build your tune off of EITHER the .bin or the .bin.checksummed file since next time you make revisions - the file will be flashed)re-checksummed anyway.
=== Flash it ===
The fun part:
<pre>
cd /home/pi/VW_FLASHVW_Flashpython3 flashsimos18.py --file /home/pi/flashfiles/tunes/thisismytune.bin.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.
 
= Getting started with a Stage X tune =
 
 
== Limiters ==
 
 
== Fueling ==
 
 
== Torque Request ==

Navigation menu