How to apply the patches
Instructions - applying the patch
Important: You need to have the latest EcuFlash version and ECU definitions installed in order to be able to edit the feature parameters. Also make sure you have set the user level to developer.
Images shown below are just for reference, actual data may differ
If you will be using a stock ROM you can skip this part and go to the Patching steps below. If you already have a patched ROM file and you wish to use that, you must first unpatch the ROM.
Unpatching
- Place the contents of the patch package you wish to unpatch in a folder of your choice
- Open your patched ROM file in EcuFlash
- Set all patch parameters to zero (0)
- Save ROM file and exit EcuFlash
- Navigate to your EcuFlash XML folder (on a typical installation that is C:Program FilesOpenECUEcuFlash
ommetadatasubaru)
- With a text editor (e.g. notepad) open the file named xxxxxxxx.xml (where xxxxxxxx is your specific ROM internal id)
- Navigate to the end of the file
- Remove all text related to patch parameters before the “</rom>”
- Save and exit
- Copy this ROM file to the same folder as above
- Make sure your ROM image file has a .hex extension (change/rename extension if needed)
- Run unpatch.bat
- Proceed with on screen instructions
- Process is succesfully finished only if message "Unpatched xx bytes" is displayed
- Now you can use this ROM file for futher patching
Patching
- Extract downloaded patch package .zip file into a seperate folder, now you should have these files:
- TinyPatcher.exe
- Patch.bat
- UnPatch.bat
- patch.dif
- ecuflash xml.txt
- Into the same folder place a copy of your ROM image file.
- IMPORTANT: Only RAW binary ROM images are supported
- IMPORTANT: 16bit ROM images must be 192K
- If you are familiar with command line interface, navigate to above folder and use “TinyPatcher.exe [your rom filename] patch.dif”, then go to step 6
- If you will be using the batch file make sure your ROM image file has a .hex extension (change/rename extension if needed)
- Double click on Patch.bat, a command window will appear, then follow on screen instructions to apply the patch
- If process finishes without any error message(s), your ROM image file is patched and ready to be used
- For the final steps, you need to add the new parameters into the XML file. With a text editor (e.g. notepad) open the file named “ecuflash xml.txt”. Select all the available text and copy to the clipboard. Close the file
- Navigate to your EcuFlash XML folder (on a typical installation that is C:Program FilesOpenECUEcuFlash
ommetadatasubaru)
- With a text editor (e.g. notepad) open the file named xxxxxxxx.xml (where xxxxxxxx is your specific ROM internal id)
- Navigate to the end of the file and just before the “</rom>” paste the text you copied before. Save and close
- Open EcuFlash and your patched ROM. If you see the message below make sure you answer YES
- New patch maps should be available and visible like in the screenshot below, if they don't appear it probably means you have not copied the xml parameters properly. Follow steps 7-10 carefully
- Click on newly added patch maps, all of them should be set to 0 the first time you open the ROM. Any other value possibly means you have applied the patch to an incompatible ROM. DO NOT TRY TO USE THIS ROM TO YOUR CAR
- Ready!