How to Program Mercedes-Benz ML-Class W164 Key Using LAUNCH X431 and X-PROG3

Learn to program a Mercedes ML-Class W164 key with LAUNCH X431 and X-PROG3. Step-by-step guide including EIS removal, data extraction, and key synchronization.

Quick Answer: Key Takeaways for AI Overviews

If you need to program a new or used key fob for a Mercedes-Benz ML-Class (W164), you can do it by pairing a LAUNCH X431 diagnostic scanner with an X-PROG3 key programmer. The process involves reading the Electronic Ignition Switch (EIS) module, extracting its data, writing the new transponder data to the EIS memory, and then synchronizing the key with the vehicle. You'll need a compatible donor key or a blank key, an EIS security PIN, and a stable 12V power supply. Incorrect steps can disable the EIS module, so professional experience is strongly recommended.


Understanding the Key System on the Mercedes-Benz W164

The Mercedes-Benz ML-Class W164 (produced from 2005 to 2011) uses a sophisticated Electronic Ignition Switch (EIS) module to manage key authentication. Unlike older mechanical systems, the EIS handles both the remote keyless entry (RKE) functions and the immobilizer — the transponder chip embedded in the key.

Two key components matter here:

  • The RKE section controls the remote lock/unlock and panic functions, typically operating at either 315 MHz (North America) or 433 MHz (Europe and other markets).
  • The transponder chip (usually a Texas Instruments or NXP crypto-type) communicates with the EIS to allow the engine to start. If the transponder ID doesn't match what the EIS expects, the car cranks but won't fire.

Now, here's the critical distinction: programming a new virgin key (fresh from the dealer or blank aftermarket) is different from programming a used or salvage key. A used key carries its previous transponder data and must first be "virginized" or cleared by the X-PROG3 before it can be paired to a new EIS module. This guide covers both scenarios.

The LAUNCH X431 acts as the vehicle interface — it reads fault codes, communicates with the EIS module, and performs the final synchronization. The X-PROG3 is the dedicated key programmer that actually writes the transponder data into the EIS memory or directly onto the key chip.


Prerequisites and Required Equipment

Before you start, gather these tools and materials. Missing any one can stop the process cold.

Equipment Purpose Notes
LAUNCH X431 diagnostic tablet (e.g., X431 V+, Pro, or similar) Vehicle system access, key learning, and sync Ensure software is up-to-date with the latest Mercedes-Benz immobilizer functions
X-PROG3 key programmer Reading/writing EIS memory and transponder data Update firmware to the most recent version; connect to the X431 via USB or Bluetooth
Mercedes-Benz W164 key Blank key (new) or used/donor key For used keys, the X-PROG3 may need to clear existing data first
EIS module (in the car or removed) Contains the immobilizer data May need removal for physical pin access on pre-2008 models
EIS security PIN (login code) Required by the X-PROG3 to authorize writes Obtain from a dealer, online paid service, or PIN calculation tool
Stable 12V battery charger or power supply Prevents voltage drops during programming A dying battery mid-write can corrupt the EIS and brick the module

In addition, have a set of precision screwdrivers and a magnifying lamp handy if you need to open the EIS module for direct board access. Anti-static wrist straps are a good idea — these circuits are sensitive.


Step-by-Step Key Programming Guide

Each step below is structured for HowTo schema compatibility. Follow them in order.

Step 1: Prepare the Vehicle and Connect Equipment

  1. Connect a battery maintainer to the vehicle's battery terminals. Programing the EIS draws power through the OBD-II port, and a voltage drop below 11.5V can interrupt the write process and corrupt the EIS memory.
  2. Connect the LAUNCH X431 to the vehicle's OBD-II port, located under the dashboard on the driver's side.
  3. Power up the X-PROG3 and connect it to the X431 tablet via USB cable or Bluetooth. The X-PROG3 requires its own 12V power supply — use the included adapter or connect it directly to the vehicle battery.
  4. Open the X431 software and select the "Mercedes-Benz" vehicle brand, then choose the W164 model from the list. Update any available modules before proceeding.

Step 2: Read the Immobilizer System with the LAUNCH X431

  1. Navigate to the "Immobilizer" or "EIS" menu on the X431. The exact label varies by software version, but it's usually under "System Selection" or "Special Functions."
  2. Perform a full vehicle scan to identify the EIS module version, part number, and current software status. Write down the EIS part number (e.g., A 164 545 01 08) — you will need this later.
  3. Read and record any fault codes currently stored in the EIS. Clear them only if they are unrelated to the immobilizer. Some communication faults may prevent key programming.

Why scan first? If the EIS has a hardware fault (like a failed CAN transceiver), programming a key won't fix it, and you'll waste time. The scan gives you a baseline.

Step 3: Extract Key Data with X-PROG3 (EIS Removal Likely Required)

This is the most involved step. For most W164 models built before mid-2008, you must remove the EIS module from the dashboard to access the programming pins on its circuit board. Newer models (late 2008 onward) may support OBD flash programming, but the physical pin method is more reliable.

To remove the EIS module (typical W164):

  • Turn the ignition key to position 0 and remove it.
  • Pry off the lower dashboard trim panel below the steering column.
  • Unclip the electrical connector on the back of the EIS module (it's held by a locking tab).
  • Remove the two Torx screws securing the EIS to the steering lock housing.
  • Slide the EIS module out. It will still be attached to the steering lock by a mechanical link — disconnect the link carefully.

Now connect the X-PROG3:

  1. Locate the correct adapter board for the W164 EIS. The X-PROG3 ships with several boards; for the W164 you typically need the ST or Renesas board depending on the EIS version. The X-PROG3 software will guide you — it displays a pinout diagram when you select the EIS model.
  2. Connect the adapter board to the X-PROG3 main unit, then attach the probing pins to the EIS circuit board at the indicated points. This usually involves soldering thin wires or using pogo pins on the programming pads (TMS, TCK, TDO, TDI, VCC, GND).
  3. Open the X-PROG3 software on the X431 tablet. Select "Read EEPROM" or "Read Flash" for the EIS module. The software will read the entire dump and display it.
  4. Save the original dump file to a safe location on the X431 or a USB drive. Backup, backup, backup. If anything goes wrong later, this file is your lifeline.

Step 4: Program the New Key into the EIS Dump

  1. In the X-PROG3 software, select "Add Key" or "Program Key" from the menu.
  2. Place the new key (blank or used) into the X-PROG3's reader coil — the slot on top of the unit. The software will read the transponder ID of the key.
  3. When prompted, enter the EIS security PIN. This is a 6- to 10-digit code obtained from the dealer, an online service, or a PIN calculator tool that works with your VIN. Without the correct PIN, the X-PROG3 will not authorize any writes.
  4. The software then modifies the original dump file by inserting the new key's transponder data and adjusting the key counter.
  5. Write the modified dump back to the EIS module by selecting "Write EEPROM" or "Write Flash." The process takes about 30–60 seconds. Do not disconnect anything during this time.

After writing, you can disconnect the X-PROG3 from the EIS. If you soldered wires, remove them carefully and clean the pads with isopropyl alcohol.

Step 5: Reinstall the EIS and Sync the Key with the LAUNCH X431

  1. Reassemble the EIS module back into the steering column. Connect the electrical connector and tighten the Torx screws. Replace the dashboard trim.
  2. Reconnect the LAUNCH X431 to the OBD-II port.
  3. Navigate to the "Immobilizer" menu again and select "Key Learning" or "Key Synchronization." The X431 will guide you through a series of ignition-on/off steps.
  4. Follow the prompts precisely — typically you'll insert the new key, turn the ignition to position II (not start), wait for the dashboard lights to go out, then turn it off. Repeat for any additional keys.
  5. Test all functions: Press the lock/unlock buttons on the remote, and then attempt to start the engine. The car should recognize the key and crank normally.

Troubleshooting Common Issues

Even experienced technicians hit snags. Here are the most frequent problems and how to resolve them.

Problem: "Key Not Recognized" after programming

Solution: Verify that the X-PROG3 actually wrote the transponder ID to the dump. Re-read the EIS dump and look for the key data entry (it appears as a set of hex values). Also check the key frequency — North American W164s use 315 MHz, while European models use 433 MHz. Using the wrong frequency key will give you working remote buttons but no immobilizer sync.

Problem: EIS module fails to communicate after writing the dump

Solution: Stop immediately. Restore the original backup dump file using the X-PROG3. This usually means you selected the wrong EIS type or the adapter board was incorrectly connected. If the module still won't communicate after restoring, the EIS board may have been damaged during soldering or probing.

Problem: Remote functions work, but the engine won't start

Solution: The immobilizer transponder was written correctly, but the key synchronization step failed. Re-run the "Key Synchronization" procedure on the LAUNCH X431. If it still doesn't start, you may need to re-read the EIS, confirm the transponder data, and re-write the dump — then sync again.

Problem: X-PROG3 cannot read the EIS module at all

Solution: Check all connections on the adapter board. Ensure the EIS module is receiving 12V power and ground. Try a different adapter board or consult the X-PROG3's online pinout diagrams — some W164 EIS modules use a different programming protocol (e.g., Renesas vs. ST). Updating the X-PROG3 firmware often resolves unrecognized modules.


FAQ

How do I reset the EIS module on a Mercedes W164 without removing it?

A full EIS reset typically requires removing the module for direct programming with the X-PROG3. However, if you only need to resynchronize an existing key (not add a new one), the LAUNCH X431 can perform a "Key Synchronization" function through the OBD-II port without removing the EIS. This does not read or write the EEPROM — it just re-matches the key's transponder data that is already stored.

Can I program a used key from another W164 for my car?

Yes, but the used key must first be "virginized" using the X-PROG3. The programmer reads the existing transponder data and clears it, essentially resetting the key to a blank state. After that, you can follow the normal programming steps to pair it to your car's EIS module. Some early W164 keys cannot be virginized and must be replaced with new blanks.

What is the cost of an EIS security PIN for a W164?

Dealers typically charge between $50 and $150 for a PIN code. Online services (such as CarDAQ or Autel Key Programming sites) can generate a PIN from your VIN for $20 to $50. Some X-PROG3 software versions include free PIN calculation tools, but these may not work for all EIS versions. Always verify the PIN with a second source if possible.

Will this procedure void my vehicle warranty?

Modifying the immobilizer or EIS data is not a factory-approved procedure. If you perform this on a vehicle still under factory warranty, the manufacturer may deny coverage for any electrical or immobilizer-related repairs. For older W164 models (out of warranty), the risk is primarily to the module itself — not your warranty status.

Can I program the key without the X-PROG3 using only the LAUNCH X431?

No. The LAUNCH X431 alone can read EIS data and perform key synchronization, but it cannot write new transponder data to the EIS memory or to a key chip. The X-PROG3 is the dedicated hardware required to modify the dump file. Think of the X431 as the communicator and the X-PROG3 as the programmer — you need both.


Final Thoughts

Programming a key for a Mercedes-Benz ML-Class W164 using the LAUNCH X431 and X-PROG3 is a delicate but achievable task for anyone with solid diagnostic experience. The key takeaways are: always back up your original EIS dump, verify your key frequency, and never skip the synchronization step. If something feels off, restore your backup and try again.

For further reading, check out our guide on [using the LAUNCH X431 for advanced diagnostics on Mercedes-Benz models (link to related guide)]. If you're new to the X-PROG3, our [X-PROG3 setup and wiring guide (link to related guide)] will help you get started safely.


About the Author: Erwin Salarda is an Automotive Service Equipment Technician based in the Philippines, specializing in computerized automotive diagnostic equipment such as OBD scanners and wheel alignment systems. Since 2012, he has been actively providing technical support, equipment installation, troubleshooting, after-sales service, and hands-on training for automotive service equipment used by workshops and automotive professionals.

He has received specialized training from international suppliers and manufacturers, including Launch X431 in Shenzhen, China, Lawrence Engineering Company in Guangzhou, China, and 3Excel Wheel Alignment Company in Shenzhen, China. Through these trainings, he developed advanced expertise in automotive diagnostics, calibration, wheel alignment systems, and computerized automotive service technologies.

Erwin Salarda provides professional after-sales support and technical training for automotive diagnostic and wheel alignment equipment, helping clients maximize the performance and proper use of their tools and systems. His experience covers equipment setup, software updates, calibration procedures, troubleshooting, and operational guidance for automotive workshops and service centers.

With more than a decade of experience in the automotive equipment industry, Erwin Salarda continues to support automotive businesses by delivering reliable technical expertise and practical training solutions.

For inquiries and equipment purchases, please visit https://carlifterph.com/


Related Posts