PDA

View Full Version : How to make XDF file



exceedbeyond
08-15-2020, 06:31 AM
Can anyone share any references they have used to learn how to make an XDF file?

B52Bombardier1
08-15-2020, 03:39 PM
Its complicated and I have never done it. But I'm told that the XDF file is a "mapping" of the internal structure of the BIN operating system so that we can then see it and make changes. One of two possible programs for doing this is needed - "IDA Pro" or "Ghidra". IDA Pro is supposedly very expensive and Ghidra, though free, lacks certain features that IDA Pro has. Certainly some skill here would be required.

There are also brute force "compare" methods between a known and unknown BIN file attempting to see differences in the hexadecimal code. Very tedious.

None of this is easy and it is basically a reverse engineering process. However, I absolutely thank everybody that suffered through the creation of the XDF files we have in this community. They have skills that I likely will never acquire and have months of effort tied up in each XDF.

Rick

exceedbeyond
08-15-2020, 04:33 PM
Hey thanks for the reply and info! I have heard its crazy meticulous. Maybe thats why there are not tutorials readily available like other subject matter. I hadnt heard of programs you mentioned. I will definitely take a look into those. Maybe one day I can make a contribution to tuning culture. Thanks again!

B52Bombardier1
08-15-2020, 04:40 PM
Your interest in XDF file creation has stirred my interest. There are books on using IDA Pro and I think I will now buy one.

Rick

exceedbeyond
08-15-2020, 07:19 PM
If I could offer or someone offered an in depth tutorial on that, that would be huge contribution, I think.

In-Tech
08-15-2020, 08:57 PM
Disassembling and tracing isn't as hard as it is time consuming. It goes much better when at least 10 people are picking areas and working. Otherwise it can be soooo overwhelming of a task. These are such huge files nowadays. IDA is a very powerful tool, just learning that is daunting.

B52Bombardier1
08-16-2020, 01:37 AM
If I could offer or someone offered an in depth tutorial on that, that would be huge contribution, I think.

It never, ever ceases to amaze me when I search for something on You Tube. But type in "IDA Pro" on You Tube and you will find quite a lot on file disassembly using that program. I will have to take a look at those videos and I did buy an IDA Pro book on EBay. Learning shall occur.

Rick

exceedbeyond
08-16-2020, 02:36 AM
Im going with Ghidra for now. Indeed, learning will occur :)

Snoman002
08-17-2020, 01:19 AM
If you start work on an XDF let me know. There are a few efforts around to centralize development work and it would be best for all of us if we find a way to work collaboratively.

exceedbeyond
08-23-2020, 07:26 AM
I have started some work on an XDF. I am using Ghidra. I am below novice right now, and have been desperately trying to find people willing to share any info regarding this process. Once I can get past the cloak of mystery I plan to share my findings. If I import and bin file, and select the Motorola 32bit 680020 language, and select Analyze file, select Window-->"Decompile", "Disassembled View", "Listing". I see some info, just not sure what to make of it yet. I am using Ghidra 9.1.2.

dzidaV8
08-24-2020, 12:10 PM
What PCM are you disassembling? Ghidra currently does not support CPU32 specific opcodes so the disassembly of any P01, P59, P04 and so on will not be complete. The best way to start disassembling is to find PID jump table and start marking variables from there. When you know what is RPM, MAP, ECT etc. then it's fairly easy to find the main tables. The scalar values and flags are much harder to figure out.

exceedbeyond
08-29-2020, 01:46 AM
Well when I say I am new this., I am new new to this. I don't know how to tell what PCM I am on. I just know it came from Chevy 1999 2500 2WD truck, based on the VIN. I did do the "Read Entire PCM" option with PCMHammer to create .bin file. I have numbers on the PCM's sticker as well. I have been researching how I can tell since you posted. I was hoping to return with a more informed answer for you. I know enough to know I need a bin file, and XDF (I have TurnerPro installed), but just wanting to understand it more from the making of the bin and XDF aspect.