Dev Blog
Forum
Wiki
About
NefMoto
>
Technical
>
Reverse Engineering
>
BMW ENET flashing communication reverse-engineering
Pages: [
1
]
« previous
next »
Author
Topic: BMW ENET flashing communication reverse-engineering (Read 5815 times)
Micki
Newbie
Karma: +0/-0
Offline
Posts: 4
BMW ENET flashing communication reverse-engineering
« on: February 27, 2025, 03:35:13 AM »
Hello,
We are talking about ENET communication in the BMW G82 during ECU programming.
In TCP communication, the PC sends a compressed binary to the car. The binary is sent in packets of 4156 bytes, of which 4102 are payload (including a special header).
The question is what type of compression is used?
Compression options such as DEFLATE, LZMA, RLE, Huffman, BWT do not give such a result, as well as compressing binaries into 7z, RAR, ZIP archives with GZIP, BZIP2, XZ compression formats.
The following data is based on observations. By changing one map in WinOLS, we listened to the communication every time.
Single and double bytes are not encoded, but starting from 3 identical bytes in a row, compression occurs.
In my opinion there is no repeatable pattern here, we have highlighted in red the confilcts compared to the pre-established previous logic.
The pictures show screenshots from WinOLS and corresponding data from WireShark.
I will be gratefull for any tips/informations according to continuing work this matter.
Logged
windel
Newbie
Karma: +0/-2
Offline
Posts: 7
Re: BMW ENET flashing communication reverse-engineering
« Reply #1 on: March 07, 2025, 09:24:14 AM »
NRV compression is used in F/G-series. Maybe it's the same for G82.
Logged
pshoey
Newbie
Karma: +0/-0
Offline
Posts: 1
Re: BMW ENET flashing communication reverse-engineering
« Reply #2 on: March 12, 2025, 01:44:45 PM »
Yes, i can confirm NRV compression is used.
Logged
Micki
Newbie
Karma: +0/-0
Offline
Posts: 4
Re: BMW ENET flashing communication reverse-engineering
« Reply #3 on: April 27, 2026, 07:23:49 AM »
Hello,
Thank you all for replies - ECU using NRV.
Maybe someone have knowledge which compression is using for 8HP76 ENET data processing(during flashing)?
The sam algo NRV for decompressing 8HP data doesn't fit well.
Thanks
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Introductions
=> General Discussion
-----------------------------
Noob Zone
-----------------------------
=> Noob Questions
=> Noob Guides and FAQs
-----------------------------
Technical
-----------------------------
=> NefMoto Software
=> Tuning
===> Documents & Helpers & How To's
===> Community Projects
=> Diagnostics
=> Flashing and Chipping
=> Cluster and Immobilizer
===> ECU EEPROM images
===> Original Cluster dumps
===> Original Cluster dump requests
=> Data Logging
=> Reverse Engineering
=> Communication Protocols
-----------------------------
ECU Files
-----------------------------
=> ECU Definition Files
===> ECU Definition File Requests
=> Original ECU Files
===> Original ECU File Requests
=> Checksum Update Requests
-----------------------------
Vehicles
-----------------------------
=> Vehicle Tech
=> Project Cars
-----------------------------
Regional
-----------------------------
=> Canadian Regional Discussion
=> US Regional Discussion
-----------------------------
Classifieds
-----------------------------
=> For Sale
=> Wanted
=> Services
-----------------------------
Miscellaneous
-----------------------------
=> Off Topic
=> Forum Tech Support
=> Bizarro Messages Posted by Bots and Spammers
Navigation
Home
Help
Login
Register
Personal Tools
May 14, 2026, 02:56:25 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced Search
Loading...