DME virginisation & re-use

mrscalex

Zorg Guru (IV)
Supporter
British Zeds
3rd Party Trader
Joined
Jun 10, 2016
Points
165
Location
Swindon & Swansea
Having successfully cloned an EWS onto a used module (and added some new keys) I thought I'd have a go at doing the same with a DME.

If you have to replace either unit this results in an eye-watering bill if you go the traditional route by using the dealership. Thousands not hundreds. Both modules sit at the heart of the car's security system and are designed to be very difficult to replace.

The reality is the necessary programming kit can be acquired cheaply so a DIY approach is possible, if you are prepared to spend a huge amount of time learning how. I spent about 60 hours getting my head round the EWS. The DME is effectively a bolt on to that knowledge so fortunately I've only spent about 10 hours on that so far.

The DME seems to require a different approach to the EWS. With the EWS you download the memory from the old unit and upload it onto a new unit. It doesn't work in the same way as for example with an ABS module where you can just download the details from the DME. I'm not too sure what happens if the old EWS is fried! All mine are backed up now anyway.

The DME requires the ISN (security keys) to be zeroed. And the VIN to be entered in. On fitting, the EWS recognises its chum's amnesia and supplies the data to the DME which writes it away. That bit is more like an ABS code but the difference is the ABS module doesn't have to be reset, the DME does. That process is more commonly referred to as virginisation.

I'm pretty certain I know what cable, software and procedure I need to do to make this happen. But if anyone has done this before it would be helpful to compare notes before I waste a load of time and possibly brick a DME into the bargain.

It seems one has to sign-up to the Z3 magic circle to be in receipt of this knowledge. So understood if you would prefer to discuss over a PM.

Anyhow, if I can get my head round this I plan to sell virginised DMEs for £75 or less, so not just cheaper than BMW but also compared with the ECU specialists who want £200+ for the service alone. You can pay £50+ for a used DME on ebay that is only fit to be used as a doorstop without virginisation (or EWS delete but that's a different story).

There aren't too many things that can kill a Z3. But stuffed up DMEs and EWSs are high on the list (if relatively rare) because of the traditional costs involved. So hopefully this project will help save a few cars :)
 

Sean d

Zorg Expert (I)
Supporter
British Zeds
Joined
Sep 29, 2015
Points
201
Location
Lincolnshire
Model of Z
Z3 2.8
Wish I was a foot taller as that went straight over my head, good luck though Robert, I'm sure you will crack it.
 

mrscalex

Zorg Guru (IV)
Supporter
British Zeds
3rd Party Trader
Joined
Jun 10, 2016
Points
165
Location
Swindon & Swansea
Wish I was a foot taller as that went straight over my head, good luck though Robert, I'm sure you will crack it.
It just takes ages reading up that's all. Anyone who can use a spanner or do the stuff you do could master it.

The trouble is the info is all secret squirrel and scattered and hidden over the internet. And especially with the EWS 90% of what you read is complete cr*p.
 

Redline

Zorg Expert (I)
British Zeds
Joined
Mar 10, 2015
Points
208
Location
Nuneaton
Model of Z
E89 20i msport
Don’t pretend to know what EWS and DME are, but, I get the concept of what you are doing.

I can see this can be the saviour of a car for much less than the bmw option.
What I read behind this is the possibility of reading data off systems before they fail and keep the data stored in case it’s needed in future. A bit of insurance if you like. Is that possible or an option?

To get up and running you need a programmed EWS and a blank DME.

Not quite sure about turning something that wasn’t a virgin back into one though - how does that work? :whistle:
 

t-tony

Zorg Expert (II)
Supporter
British Zeds
#ZedShed
Joined
Dec 31, 2013
Points
226
Location
Torksey Lock,Lincoln, England
Model of Z
E89 Z4 23i Auto
Don’t pretend to know what EWS and DME are, but, I get the concept of what you are doing.

I can see this can be the saviour of a car for much less than the bmw option.
What I read behind this is the possibility of reading data off systems before they fail and keep the data stored in case it’s needed in future. A bit of insurance if you like. Is that possible or an option?

To get up and running you need a programmed EWS and a blank DME.

Not quite sure about turning something that wasn’t a virgin back into one though - how does that work? :whistle:
Now, there could be some money in that Ian.:thumbsup:

Tony.
 

Redline

Zorg Expert (I)
British Zeds
Joined
Mar 10, 2015
Points
208
Location
Nuneaton
Model of Z
E89 20i msport

mrscalex

Zorg Guru (IV)
Supporter
British Zeds
3rd Party Trader
Joined
Jun 10, 2016
Points
165
Location
Swindon & Swansea
Just what I was thinking - a Z3 databank
Having a backup is not the only way to solve the issue. But the other way is the expensive one with BMW. So I agree a backup could make the difference between the car being economical to repair or not.

A backup of the EWS is actually more important than the DME. I’m not aware of a way of recreating the EWS on the fly. But the DME can be ‘re-identified’ through this virginisation process and using a DME dump from another similar car. But it’s probably still quicker and easier to have a full dump of your own DME.

I will report back when I know my way around this sufficiently.

But I’ve already saved myself a wad of cash from diagnosing a failed EWS and cloning it myself. I had no backup but I could still access the old module. It was just the starter relay that was knackered.
 

mrscalex

Zorg Guru (IV)
Supporter
British Zeds
3rd Party Trader
Joined
Jun 10, 2016
Points
165
Location
Swindon & Swansea
As data is only 1s and 0s, is there any way to store the data on a hard-disk, memory card, or similar?

That would be a winner-winner-chicken-dinner:thumbsup:.
For sure. And they are not big files either.

My EWSs are just little files on my hard drive.
 

mrscalex

Zorg Guru (IV)
Supporter
British Zeds
3rd Party Trader
Joined
Jun 10, 2016
Points
165
Location
Swindon & Swansea
For anyone to do this they would need to remove their EWS or DME and either buy their own hardware (and setup free software) to do the job or persuade someone on the forum to do it as a service. No point me offering it as I'd only let people down by not getting round to it with all the stuff I'm already in to. Once you've got the file you just store it on your drive (and hopefully onto your backup system too).

From what I can tell the DME is quite easy to backup. It needs a £10 cable and some software. Plus a little courage opening it up and briefly patching a pin to put it into a mode to allow read/write. It's also arguably easier to remove from the car than the EWS. I'll update this thread when I've done it to say how it went.

The real deal with the DME is the modding of parameters to carry out a performance tune. And that's the main reason you'll see people on other forums getting into this. I'm not interested in that though.

The gap in the market is for someone to provide a reset/cloned second-hand unit ready to drop straight in for a modest amount as existing 3rd party services are typically £200+ and that's without the hardware.

The EWS needs £50 worth of hardware (AK90 for example). Is a little more awkward to remove. And considerably more courage removing the conformal coating (lacquer to stop damp ingress) from the pins on the chip. Then some patience and jiggling to get the chip clamp to make contact with the now exposed pins.

The same kit is also used for programming keys. You just need to find someone to supply and cut a key for you (£15-£30 a time), find a donor PCB (£5-£10 for an old key - throw the rest away) and buy the right £5 transponder. I think I've done 3 now.

If I'm selling an EWS or DME I'll happily clone the old module onto the one I'm selling for a small additional charge. I'm looking at £75 or less for either module including the software programming. The modules on their own would be say £30 and £50 respectively if I was selling the hardware only. But like that they are as much use a choclate teapot as they need the programming.

So depending on final price I'm charging up to £45 for the programming. But compare that with the £200+ anyone else charges. If I ever sold 2 I'd be amazed so the idea financially is just to pay for the hacking hardware and to turn modules which are otherwise doorstops into something that has value so I can actually sell them.

And of course to help stop people on this forum getting ripped off for hundreds or even thousands of pounds.
 

mrscalex

Zorg Guru (IV)
Supporter
British Zeds
3rd Party Trader
Joined
Jun 10, 2016
Points
165
Location
Swindon & Swansea
Here is my EWS backup folder (multiple backups made while I got the hang of it). Each 1K or less in size!

upload_2018-5-1_19-17-49.png
 

Redline

Zorg Expert (I)
British Zeds
Joined
Mar 10, 2015
Points
208
Location
Nuneaton
Model of Z
E89 20i msport
As data is only 1s and 0s, is there any way to store the data on a hard-disk, memory card, or similar?

That would be a winner-winner-chicken-dinner:thumbsup:.
It’s only binary data. Just need a file format as a container. A .bin file is simplest as it won’t have any file formatting contained within it.
Binary data can be packed/unpacked in to other formats like .txt with other programs.

It can also be stored in databases - that makes sense because you can keep all the metadata associated with the file too. Or created a binary file format that you can pac and unpack yourself.
 

mrscalex

Zorg Guru (IV)
Supporter
British Zeds
3rd Party Trader
Joined
Jun 10, 2016
Points
165
Location
Swindon & Swansea
It’s only binary data. Just need a file format as a container. A .bin file is simplest as it won’t have any file formatting contained within it.
Binary data can be packed/unpacked in to other formats like .txt with other programs.

It can also be stored in databases - that makes sense because you can keep all the metadata associated with the file too. Or created a binary file format that you can pac and unpack yourself.
For me it makes sense just to keep it in the format that the program doing the read/write requires. As per my previous post they take up virtually no space and just sit happily in a folder.
 

roadvoyager1

Zorg Guru (III)
British Zeds
Joined
Dec 1, 2013
Points
128
Location
Shotley Bridge
Model of Z
2.8ltr
Having read this and understood maybe 50% of it keeping a back-up of your vehicles data seems to be a good idea. Is there any way of reading this data and making a back-up using the INPA software?
I am sure if it was that easy you would have done it, but thought I would ask.
 

Redline

Zorg Expert (I)
British Zeds
Joined
Mar 10, 2015
Points
208
Location
Nuneaton
Model of Z
E89 20i msport
For me it makes sense just to keep it in the format that the program doing the read/write requires. As per my previous post they take up virtually no space and just sit happily in a folder.
When it’s just your own data I’d agree.
As a lapsed developer and systems guy I used to do this kind of stuff. In the end, data is just data.
 

mrscalex

Zorg Guru (IV)
Supporter
British Zeds
3rd Party Trader
Joined
Jun 10, 2016
Points
165
Location
Swindon & Swansea
When it’s just your own data I’d agree.
As a lapsed developer and systems guy I used to do this kind of stuff. In the end, data is just data.
You sound like just the man to run the sperm bank or whatever we’re calling it :)

I’ll help get you trained up on using the hardware ;)
 

Brian H

Zorg Expert (I)
Supporter
British Zeds
Scottish Zeds
Joined
Dec 5, 2011
Points
205
Location
Killin
Model of Z
E36/7 3.0i - E85 Z4///M
Well done for investing some time in to this, I’m sure as the cars are aging we will need this type on service/component. :thumbsup:
 

Lee

Zorg Guru (V)
British Zeds
M Power
#ZedShed
Joined
Mar 26, 2014
Points
193
Location
Basingstoke
Model of Z
Z4 Coupe 3.0si
There's a few people that offer this service through Ebay, Very handy for bypassing the EWS system after engine swaps and save all the agro running wires to the fuel pump etc. The z3 shares its ECU platform with the E36 which has a huge drift following you'll be better off combing the skidders forums for all the info on the details.
 
Top