BMW Garage BMW Meets Register Today's Posts
BMW M5 F90 (2018+) General Forums Engine, Exhaust, Drivetrain, Tuning Modifications    ISTA Tuning Detection

Post Reply
 
Thread Tools Search this Thread
      07-09-2022, 06:29 AM   #1
m_fife
First Lieutenant
m_fife's Avatar
United_States
123
Rep
339
Posts

Drives: 2018 M5
Join Date: Jan 2013
Location: USA

iTrader: (0)

ISTA Tuning Detection

There has been a lot of speculation in many threads on how BMW detects tuning flash and piggybacks. In this thread (https://f90.bimmerpost.com/forums/sh....php?t=1932870) I got the idea to run the tune detection job in ISTA on my M5 and review the logs, as I am not (and have not) been tuned I've got no issue running the job.

Before we get into the log files I want to give a quick background on how BMW does tune detection it is a 2-step process. The first happens the moment they plug the car in and ISTA downloads the FASTA data. An initial tuning check is run, if this flags as tuning possible I believe it will add TDX03 to the Vehicle Order (VO). This is similar to the TD1/TB1/TG1/TE1 process with Audis.

If the initial tuning check suspects tuning, the tech will run ABL-DIT-AS1214_TD_BASIC (See screenshots). This will conduct a detailed data pull from every module in the car, it took 30 minutes on my car over ENET (may be faster with an ICOM).

When everything is done ISTA will compile a .zip.log data package containing many log files. The most relevant file is the IstaOperation log. It contains both the initial operation (in cleartext) and the data dump (raw data). So here we go:

Initial Check:
2022-07-08 12:34:06.940 INFO [T] ISTA: [16] ABL_GEN_AG9999_TD_IDENT.Datenauslesen_und_Auswerte n_VM() - LogStatement. StructuredString: Tuning detection suspicion criteria (Pre). StructureElementValues: tuning suspicion code :000000000000 0: engine ecu CAL-ID | CVN:9CF5E197 | 9CF5E197 (WH: 39318 / MM: False / low-Ilevel: False)
1: engine ecu BTLD CAL-ID | CVN:F29CDEE9 | F29CDEE9
1: engine ecu SWFK CAL-ID | CVN:9277591A | 9277591A
1: engine ecu SWFL CAL-ID | CVN:11F09478 | 11F09478
2: tuning DTCs detected in engine fault memory:no DTC found
3: tuning DTCs detected in engine secondary fault memory :no DTC found
4: programing counter engine ecu: (job answer | threshold):2 | 7.613 5: programing counter engine ecu: (calculated):2
6: calculated reprogramming engine ecu: (calculated):no flashback
7: max. temperatures in the exhaust line (TOXIPRE | TPRE): DDE8 diesel only
8: plug and play variante suspected : V1, FS: 0 / 7, IS: 0 / 5 |
8: plug and play DTCs suspected :FS: - ; IS: - |
9: speed average in relation to operating hours [km | 6 min digit | km/h]:26130 | 39318 | 6.64581107889516
10: PE [det | all]:0 | 2
11: manual detection or exclusion :- x: reason for TDX03:no reason

As for the raw data I'm going to need some help from some computer science gurus as I don't know how to do the raw byte - hexadecimal thing. If someone wants to help out I can send you the logs. I do know that once the data has been pulled it is uploaded to BMW and viewed online using a system called FBM (https://www.e90post.com/forums/showthread.php?t=651281).

I was initially going to upload the logs to the world but 1. they are too large for BimmerPost (IstaOperation log is 28mb) and I've removed my VIN from all the files, but I'm pretty sure it is stored in the raw data somewhere.

I hope this was informative for everyone and someone can help out with the detailed check.
Attached Images
  
__________________
2018 Alpine White ///M5
Appreciate 4
onfireX53618.50
ZulaM580.00
Holset274.00
FSociety3812.50
      07-09-2022, 07:49 AM   #2
onfireX5
Brigadier General
3619
Rep
4,532
Posts

Drives: F90M5,F85X5M
Join Date: Jul 2015
Location: Va

iTrader: (0)

Cool info.

Is your M5 bone stock ?
Appreciate 0
      07-09-2022, 07:55 AM   #3
m_fife
First Lieutenant
m_fife's Avatar
United_States
123
Rep
339
Posts

Drives: 2018 M5
Join Date: Jan 2013
Location: USA

iTrader: (0)

Quote:
Originally Posted by onfireX5 View Post
Cool info.

Is your M5 bone stock ?
Yes.
__________________
2018 Alpine White ///M5
Appreciate 0
      07-09-2022, 07:59 AM   #4
onfireX5
Brigadier General
3619
Rep
4,532
Posts

Drives: F90M5,F85X5M
Join Date: Jul 2015
Location: Va

iTrader: (0)

Would be killer to see the same test with a basic , No obd2 plug box like RaceChip to see if it actually flags it at the end.

Cool stuff.
Appreciate 0
      07-09-2022, 08:14 AM   #5
crypto
...
crypto's Avatar
1471
Rep
1,308
Posts

Drives: 2022 M5 CS
Join Date: Oct 2011
Location: Northern Virginia

iTrader: (1)

You can send me the log and I'll try and make sense of any encoded data. If it's just hex encoded (base16) then it's a super trivial to decode.
__________________
Current: 2022 M5 CS
Past: 2021 M550i (BSM)
Past: 2010 535 xDrive (Alpine White)
Appreciate 0
      07-09-2022, 10:18 AM   #6
m_fife
First Lieutenant
m_fife's Avatar
United_States
123
Rep
339
Posts

Drives: 2018 M5
Join Date: Jan 2013
Location: USA

iTrader: (0)

Quote:
Originally Posted by crypto View Post
You can send me the log and I'll try and make sense of any encoded data. If it's just hex encoded (base16) then it's a super trivial to decode.
PM Sent
__________________
2018 Alpine White ///M5
Appreciate 0
      07-09-2022, 03:42 PM   #7
DrivenAgain
MFJWADE
120
Rep
351
Posts

Drives: 2018 BMW M5
Join Date: Dec 2020
Location: MD

iTrader: (0)

you can be flagged an denied by boost increase alone, bmw doesnt have to see a tune
__________________
2018 M5 Singapore Grey CCBs/Utku Noa E45 ECU/xHP TCU/PG-Intake/PG-Lower Downpipes
Appreciate 0
      07-09-2022, 04:23 PM   #8
m_fife
First Lieutenant
m_fife's Avatar
United_States
123
Rep
339
Posts

Drives: 2018 M5
Join Date: Jan 2013
Location: USA

iTrader: (0)

Quote:
Originally Posted by DrivenAgain View Post
you can be flagged an denied by boost increase alone, bmw doesnt have to see a tune
That pretty obvious. The bigger question we are trying to solve is the Piggy backs that report stock boost to the DME. I want to nail down all the parameters that are monitored.
__________________
2018 Alpine White ///M5
Appreciate 0
      07-09-2022, 05:11 PM   #9
onfireX5
Brigadier General
3619
Rep
4,532
Posts

Drives: F90M5,F85X5M
Join Date: Jul 2015
Location: Va

iTrader: (0)

This pic in your post is also interesting. Would love to see that test on a RaceChip car but with the bypass plug in the harness.
Attached Images
 
Appreciate 2
      07-09-2022, 10:22 PM   #10
Maverik259
Major General
Maverik259's Avatar
United_States
4140
Rep
7,160
Posts

Drives: F90 M5 / F15 50i
Join Date: Jun 2017
Location: Virginia

iTrader: (1)

Garage List
2020 BMW M5  [10.00]
2014 X5 50i  [0.00]
Quote:
Originally Posted by onfireX5 View Post
This pic in your post is also interesting. Would love to see that test on a RaceChip car but with the bypass plug in the harness.
I have ISTA and RC. Haven't a clue how to run this test though haha. Haven't used ISTA on the M yet.
__________________
'07 Yamaha R1 (sold)
'06 C55 AMG (sold)
‘?20 M5, MP Carbon Pro Spoiler, MP Carbon Diffuser, MP Black grille and gills, MP Carbon Mirrors, CF side sills, 789M w/ Ti studs, eventuri, Dinan X pipe
'14 X5 50i (wife’s now)
Appreciate 1
      07-09-2022, 10:57 PM   #11
onfireX5
Brigadier General
3619
Rep
4,532
Posts

Drives: F90M5,F85X5M
Join Date: Jul 2015
Location: Va

iTrader: (0)

Quote:
Originally Posted by Maverik259 View Post
I have ISTA and RC. Haven't a clue how to run this test though haha. Haven't used ISTA on the M yet.
You can do it !
Appreciate 0
      07-10-2022, 09:31 AM   #12
m_fife
First Lieutenant
m_fife's Avatar
United_States
123
Rep
339
Posts

Drives: 2018 M5
Join Date: Jan 2013
Location: USA

iTrader: (0)

Quote:
Originally Posted by Maverik259 View Post
I have ISTA and RC. Haven't a clue how to run this test though haha. Haven't used ISTA on the M yet.
Based on ISTA 4.36

1. Operations -> New -> Read Out Vehicle Data -> Continue Identification
2. Vehicle Management
3. Service Functions
4. Power Train -> Engine Electronics -> Automated Engine Tuning Test
5. Yes -> Continue

Once ABL is completed:

6. Operations -> Active
7. Select the active Operation -> Close operation
8. Close Operation -> OK

Log Files are created in two locations:

FASTA Data (This is the log for the initial scan of the car when it is identified:

\ISTA\FASTAOut\ ***VIN***_DATETIME.BEHDAT (and/or FSTDAT).
These files can be viewed in the Ista Protocol Viewer. I have found that there is more information (specifically tuning information) that is contained in the file that IS NOT shown in the protocol viewer.

ISTA Log Files:

\ISTA\Logs\ DATE_F90_VIN.zip.log (Change to .zip and uncompress). The files you are looking for are listed in the initial post.

Can't wait to see the comparison!
__________________
2018 Alpine White ///M5
Appreciate 0
      07-10-2022, 11:34 AM   #13
onfireX5
Brigadier General
3619
Rep
4,532
Posts

Drives: F90M5,F85X5M
Join Date: Jul 2015
Location: Va

iTrader: (0)

Quote:
Originally Posted by m_fife View Post
Based on ISTA 4.36

1. Operations -> New -> Read Out Vehicle Data -> Continue Identification
2. Vehicle Management
3. Service Functions
4. Power Train -> Engine Electronics -> Automated Engine Tuning Test
5. Yes -> Continue

Once ABL is completed:

6. Operations -> Active
7. Select the active Operation -> Close operation
8. Close Operation -> OK

Log Files are created in two locations:

FASTA Data (This is the log for the initial scan of the car when it is identified:

\ISTA\FASTAOut\ ***VIN***_DATETIME.BEHDAT (and/or FSTDAT).
These files can be viewed in the Ista Protocol Viewer. I have found that there is more information (specifically tuning information) that is contained in the file that IS NOT shown in the protocol viewer.

ISTA Log Files:

\ISTA\Logs\ DATE_F90_VIN.zip.log (Change to .zip and uncompress). The files you are looking for are listed in the initial post.

Can't wait to see the comparison!
Boom ! There it is ! Plug in the bypass and run it !
Appreciate 0
      07-10-2022, 12:16 PM   #14
m_fife
First Lieutenant
m_fife's Avatar
United_States
123
Rep
339
Posts

Drives: 2018 M5
Join Date: Jan 2013
Location: USA

iTrader: (0)

Quote:
Originally Posted by onfireX5 View Post
Quote:
Originally Posted by m_fife View Post
Based on ISTA 4.36

1. Operations -> New -> Read Out Vehicle Data -> Continue Identification
2. Vehicle Management
3. Service Functions
4. Power Train -> Engine Electronics -> Automated Engine Tuning Test
5. Yes -> Continue

Once ABL is completed:

6. Operations -> Active
7. Select the active Operation -> Close operation
8. Close Operation -> OK

Log Files are created in two locations:

FASTA Data (This is the log for the initial scan of the car when it is identified:

\ISTA\FASTAOut\ ***VIN***_DATETIME.BEHDAT (and/or FSTDAT).
These files can be viewed in the Ista Protocol Viewer. I have found that there is more information (specifically tuning information) that is contained in the file that IS NOT shown in the protocol viewer.

ISTA Log Files:

\ISTA\Logs\ DATE_F90_VIN.zip.log (Change to .zip and uncompress). The files you are looking for are listed in the initial post.

Can't wait to see the comparison!
Boom ! There it is ! Plug in the bypass and run it !
While it will be interesting to see the results I still would never recommend leaving it in. See #11 from the original post "manual detection."

Additionally, the tune detection went from version 21 to 22 from 4.35 to 4.36 so we need to know what version is being used.
__________________
2018 Alpine White ///M5
Appreciate 0
      07-10-2022, 01:47 PM   #15
Maverik259
Major General
Maverik259's Avatar
United_States
4140
Rep
7,160
Posts

Drives: F90 M5 / F15 50i
Join Date: Jun 2017
Location: Virginia

iTrader: (1)

Garage List
2020 BMW M5  [10.00]
2014 X5 50i  [0.00]
Quote:
Originally Posted by m_fife View Post
Quote:
Originally Posted by onfireX5 View Post
Quote:
Originally Posted by m_fife View Post
Based on ISTA 4.36

1. Operations -> New -> Read Out Vehicle Data -> Continue Identification
2. Vehicle Management
3. Service Functions
4. Power Train -> Engine Electronics -> Automated Engine Tuning Test
5. Yes -> Continue

Once ABL is completed:

6. Operations -> Active
7. Select the active Operation -> Close operation
8. Close Operation -> OK

Log Files are created in two locations:

FASTA Data (This is the log for the initial scan of the car when it is identified:

\ISTA\FASTAOut\ ***VIN***_DATETIME.BEHDAT (and/or FSTDAT).
These files can be viewed in the Ista Protocol Viewer. I have found that there is more information (specifically tuning information) that is contained in the file that IS NOT shown in the protocol viewer.

ISTA Log Files:

\ISTA\Logs\ DATE_F90_VIN.zip.log (Change to .zip and uncompress). The files you are looking for are listed in the initial post.

Can't wait to see the comparison!
Boom ! There it is ! Plug in the bypass and run it !
While it will be interesting to see the results I still would never recommend leaving it in. See #11 from the original post "manual detection."

Additionally, the tune detection went from version 21 to 22 from 4.35 to 4.36 so we need to know what version is being used.
Hmm Good point. I don't have the most up to date I guess. Mines older. So assume I could've run the test?
__________________
'07 Yamaha R1 (sold)
'06 C55 AMG (sold)
‘?20 M5, MP Carbon Pro Spoiler, MP Carbon Diffuser, MP Black grille and gills, MP Carbon Mirrors, CF side sills, 789M w/ Ti studs, eventuri, Dinan X pipe
'14 X5 50i (wife’s now)
Appreciate 0
      07-10-2022, 01:50 PM   #16
Boosted_8
Captain
436
Rep
749
Posts

Drives: M550i
Join Date: Apr 2021
Location: UK

iTrader: (0)

Thank so much for taking the time to post. As per the other thread I'm struggling to think what is measurable as proof of a piggy running. There's so many other scenarios that could ask for a few more pounds of boost from the ECU e.g. operation at high altitude. I expect it's going to be difficult to pin down a smoking gun. I imagine the best they can do is look at waste gate duty. Injector duty and grammes per second of air as a circumstance for consistent extra output from the engine.
Appreciate 0
      07-10-2022, 02:09 PM   #17
m_fife
First Lieutenant
m_fife's Avatar
United_States
123
Rep
339
Posts

Drives: 2018 M5
Join Date: Jan 2013
Location: USA

iTrader: (0)

Quote:
Originally Posted by Boosted_8 View Post
Thank so much for taking the time to post. As per the other thread I'm struggling to think what is measurable as proof of a piggy running. There's so many other scenarios that could ask for a few more pounds of boost from the ECU e.g. operation at high altitude. I expect it's going to be difficult to pin down a smoking gun. I imagine the best they can do is look at waste gate duty. Injector duty and grammes per second of air as a circumstance for consistent extra output from the engine.
You gotta think outside the box. We are talking upwards of $40k for a blown engine and BMW is not going to shell that out lightly. They know the family values for every sensor in that engine. It is all mapped out. They've tested in every environment - desert, sub zero, city roads, and of course the ring. They know every inch of that car from 0-30 city driving all the way to probably beyond the limit on the track. Anything that is considered out of family could be grounds for warranty denial. We are trying to determine what values are collected initially and with the followup scan. My next question is what triggers all the tuning codes referenced in the initial scan.
__________________
2018 Alpine White ///M5
Appreciate 0
      07-11-2022, 10:30 AM   #18
Boosted_8
Captain
436
Rep
749
Posts

Drives: M550i
Join Date: Apr 2021
Location: UK

iTrader: (0)

Quote:
Originally Posted by m_fife View Post
You gotta think outside the box. We are talking upwards of $40k for a blown engine and BMW is not going to shell that out lightly. They know the family values for every sensor in that engine. It is all mapped out. They've tested in every environment - desert, sub zero, city roads, and of course the ring. They know every inch of that car from 0-30 city driving all the way to probably beyond the limit on the track. Anything that is considered out of family could be grounds for warranty denial. We are trying to determine what values are collected initially and with the followup scan. My next question is what triggers all the tuning codes referenced in the initial scan.
I'm onboard

Points of interest
1) As per the scanning description in the screen shots above: Load, how is the ECU evaluating it? In the last ECU I poked around inside (Mazda) the logic flow was as follows -

2) Exhaust gas opacity, is that jargon for how rich and hot the exhaust emissions are? I assume this is a combo input from o2 and EGT sensors?
Attached Images
 
Appreciate 0
      07-11-2022, 04:50 PM   #19
Boosted_8
Captain
436
Rep
749
Posts

Drives: M550i
Join Date: Apr 2021
Location: UK

iTrader: (0)

Oh almost for got. 3) The description also states: The Drivetrain only accepts a maximum defined torque input. This one could be pretty clear cut by asking the TCU what its witnessing as the input nm / ftlbs
Appreciate 1
M5 London337.00
      10-25-2022, 04:40 AM   #20
ziomur
Registered
0
Rep
1
Posts

Drives: Bmw 316d Touring
Join Date: Oct 2022
Location: Italy

iTrader: (0)

Hi guys, i'm new here. I need , if possible, know some info about how work automated tuning test. I'm from Italy. I see from italian forums that original FASTA is downloaded from German server and match with local FASTA car. I'd like know which flags, registers, etc are compared. If automated is "passed" with no tuning, the operator can decide to procede with manual test or bypass it and owerwrite the ECU? Thank you so much if someone will answer.

Best regards.
zio

P.s. have patience with my language ^_^
Appreciate 0
      10-26-2022, 04:54 PM   #21
m_fife
First Lieutenant
m_fife's Avatar
United_States
123
Rep
339
Posts

Drives: 2018 M5
Join Date: Jan 2013
Location: USA

iTrader: (0)

Quote:
Originally Posted by ziomur View Post
Hi guys, i'm new here. I need , if possible, know some info about how work automated tuning test. I'm from Italy. I see from italian forums that original FASTA is downloaded from German server and match with local FASTA car. I'd like know which flags, registers, etc are compared. If automated is "passed" with no tuning, the operator can decide to procede with manual test or bypass it and owerwrite the ECU? Thank you so much if someone will answer.

Best regards.
zio

P.s. have patience with my language ^_^
If the automated test passes there is no reason for the tech to run the manual test. While we were able to download the FASTA data we were unable to decipher it so far due to possible encryption or proprietary language.
__________________
2018 Alpine White ///M5
Appreciate 1
ziomur0.00
      10-26-2022, 08:40 PM   #22
pbonsalb
Lieutenant General
5234
Rep
10,616
Posts

Drives: 18 F90 M5, 99 E36 M3 Turbo
Join Date: Feb 2011
Location: New England

iTrader: (4)

When I plug in my Launch x431 PAD V, it says tune suspected. I have a tune. It’s a high level tool but BMW factory is higher level so I don’t know how you would fool the BMW tool.
Appreciate 1
ziomur0.00
Post Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 05:05 AM.




m5post
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
1Addicts.com, BIMMERPOST.com, E90Post.com, F30Post.com, M3Post.com, ZPost.com, 5Post.com, 6Post.com, 7Post.com, XBimmers.com logo and trademark are properties of BIMMERPOST