MG Charger Hacking

LRBen
Posts: 608
Joined: Thu Jul 04, 2019 6:35 pm
Location: Somerset, UK
Has thanked: 121 times
Been thanked: 290 times

Re: MG Charger Hacking

Post by LRBen »

LRBen wrote: Sat Jun 07, 2025 6:26 pm Had another play with the charger today.

Managed to cut down the messages required for charging to the following:
image.png

I have yet to move this to the zombie test module to confirm. But it's looking promising so far.

I also think I have found the current limit message in 0x29C, the last two bytes.
Turns out I was very close all those months ago. The last two bytes are a voltage setpoint times by 50. Currently have a zombie build that now ramps down to this setpoint according to the voltspnt value. Still need to test that it shuts off as it ramps very slowly to the voltspnt. Will try that next time I'm at the workshop. Might need to be adjusted by a slight amount to allow zombie to shut down the charge.
Otherwise it's looking good.
User avatar
Jack Bauer
Posts: 3999
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 153 times
Been thanked: 1114 times
Contact:

Re: MG Charger Hacking

Post by Jack Bauer »

Nice work!
I'm going to need a hacksaw
AZD
Posts: 8
Joined: Fri Apr 03, 2026 7:55 am
Has thanked: 1 time

Re: MG Charger Hacking

Post by AZD »

Alright Gents,
Help is needed and will be much appreciated.
I was hoping to replace a Brusa charger on my AZD frankenstein and to wire it up as per Damien's video, but the Molex pinout on the old connector appears to be completely different with some pins just blanked off as shown in the attached photo.
Need your second opinion on what the true story is considering MG ZS schematics are impossible to find.

It is understood Damien is out of reach for mere mortals, so the only source of information, whether free or well paid, is now gone.
5b5483bf-ba4f-407b-a873-d01359371d67.jpg
chargerPinout.png
LRBen
Posts: 608
Joined: Thu Jul 04, 2019 6:35 pm
Location: Somerset, UK
Has thanked: 121 times
Been thanked: 290 times

Re: MG Charger Hacking

Post by LRBen »

AZD wrote: Fri Apr 03, 2026 9:44 am Alright Gents,
Help is needed and will be much appreciated.
I was hoping to replace a Brusa charger on my AZD frankenstein and to wire it up as per Damien's video, but the Molex pinout on the old connector appears to be completely different with some pins just blanked off as shown in the attached photo.
Need your second opinion on what the true story is considering MG ZS schematics are impossible to find.

It is understood Damien is out of reach for mere mortals, so the only source of information, whether free or well paid, is now gone.

Image
Image
MG tend to iterate component quite rapidly it seems. What is the part number for the charger you have?
User avatar
tom91
Posts: 2962
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bicester, Oxfordshire
Has thanked: 328 times
Been thanked: 847 times

Re: MG Charger Hacking

Post by tom91 »

AZD wrote: Fri Apr 03, 2026 9:44 am MG ZS schematics are impossible to find.
Not true you can get them from MG for a small fee. Provide the partnumber and I am sure someone could figure out what year of ZS it is from and then we can dig through the diagrams to find the right one.
Creator of SimpBMS
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
LRBen
Posts: 608
Joined: Thu Jul 04, 2019 6:35 pm
Location: Somerset, UK
Has thanked: 121 times
Been thanked: 290 times

Re: MG Charger Hacking

Post by LRBen »

In reverse engineering news, my zombie test module is getting very close to completion. Now that we have voltage cut off it will ramp down and stop charge via zombie. Been using it for the last few weeks without issue.
Today I tested a DC-DC fix for a bug where it would sometimes take quite a while for the DC-DC to kick in when going into run mode. Now it works in a couple of seconds every time.

Last thing to resolve is the V2L, although I still can't rule out physical wiring errors on my part there.
m.art.y
Posts: 713
Joined: Sat Jun 06, 2020 6:54 pm
Location: UK/EU
Has thanked: 38 times
Been thanked: 37 times

Re: MG Charger Hacking

Post by m.art.y »

LRBen wrote: Fri Apr 03, 2026 9:32 pm Now that we have voltage cut off it will ramp down and stop charge via zombie.
Hi, were you able to test what is the max voltage it will charge to? 😊 Will it charge 108s pack fully?
Landsi
Posts: 18
Joined: Sun Jan 28, 2024 7:10 pm
Has thanked: 15 times
Been thanked: 7 times

Re: MG Charger Hacking

Post by Landsi »

AZD, i cannot open the images you added to your post.
But did you see the callout from LRBen about a slight difference in pinout for his charger?
Just in case that is the same as yours ... But as mentioned, a part number would be very good information along with your question!
LRBen wrote: Tue Apr 22, 2025 7:30 pm I've got a Gen 2 charger from an MG5, part number EP2CCU6625A in my current project.

A slight difference in the pinout compared to the V2Lchargerpinout.png on the github, actually only figured it thanks to Damien's video. Just the pins of the hybrid can are difference. The charging wake up input also seems to have no effect. The pinout I have working is as follows:

A3: CP
A4: PT can H

B2: charge port temp +
B3: PP
B4: PT can L

D2: Charge port temp -
D3: 12v wake up

G2: hybrid Can H
G4: Gnd

H1: 12v
H2: hybrid Can L
Plan to build someday soon<TM>:

VW T3 Bus
Leaf Motor Stack incl Transaxle
Brat Industries VW Driveshaft Adapters
Model 3 55kwh Battery / MEB 58kwh Battery
Foccci CCS
Zombieverter VCU
User avatar
Bigpie
Posts: 1884
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 91 times
Been thanked: 517 times

Re: MG Charger Hacking

Post by Bigpie »

I have corrected the missing images, please use the Full Editor button and upload directly
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Outlander Compressor
Renault Kangoo 36kWh battery
FOCCCI CCS
LRBen
Posts: 608
Joined: Thu Jul 04, 2019 6:35 pm
Location: Somerset, UK
Has thanked: 121 times
Been thanked: 290 times

Re: MG Charger Hacking

Post by LRBen »

m.art.y wrote: Sat Apr 04, 2026 10:56 am Hi, were you able to test what is the max voltage it will charge to? 😊 Will it charge 108s pack fully?
Just have a 96s pack so can't test higher than that I'm afraid.
AZD
Posts: 8
Joined: Fri Apr 03, 2026 7:55 am
Has thanked: 1 time

Re: MG Charger Hacking

Post by AZD »

LRBen wrote: Wed Jun 25, 2025 7:23 pm Yes I had to connect PP to the charge socket to get it to work.
Makes me wonder if Gen1 also requires a PP wire. A bit of grey area. According to the video it either needs a clean CP which I have or some CAN messages for DC to kick off.
Can't start mine on the bench for some reason. Not before Arduino Due arrives.
AZD
Posts: 8
Joined: Fri Apr 03, 2026 7:55 am
Has thanked: 1 time

Re: MG Charger Hacking

Post by AZD »

LRBen wrote: Fri Apr 03, 2026 8:58 pm MG tend to iterate component quite rapidly it seems. What is the part number for the charger you have?
That issue is now sorted. The seller was under impression all Molex connectors are keyed and supplied the opne that fits from a different harness :roll:
The part number is ZS10BC6600A, the same exact charger seen on Damien's bench.

I am now a little stuck with trying to make the charger, erm, charge.
Once CP is grounded via 1kOhm, which is odd by itself, I do get AC and CP shown. Removing resistor send the CP voltage back from circa 3 to 6 volts and AC load dissapears. And that's how far I managed to get so far.
CAN messages
CAN messages
User avatar
manny
Posts: 195
Joined: Sun Jan 23, 2022 4:15 pm
Location: Netherlands
Has thanked: 58 times
Been thanked: 159 times

Re: MG Charger Hacking

Post by manny »

Did you look at the info on the wiki https://openinverter.org/wiki/MG_ZS_Charger

I don't know what your setup is like. But the charger needs a CP signal and the 0x29C can message to work. And the other connections in the wiki.

Here is a DBC file to see the values sent by the charger. Just change the .txt to .dbc
Attachments
MG_VZ charger.txt
(4.71 KiB) Downloaded 4 times
[DRIVING] Citroen Saxo electrique
  • Volvo ERAD motor, XC90 inverter/DCDC (custom OI board)
  • PSA battery (50kWh)
  • Foccci and MG ZS charger 6.6kW
  • Zombie VCU
AZD
Posts: 8
Joined: Fri Apr 03, 2026 7:55 am
Has thanked: 1 time

Re: MG Charger Hacking

Post by AZD »

manny wrote: Mon Apr 27, 2026 2:40 pm Did you look at the info on the wiki https://openinverter.org/wiki/MG_ZS_Charger

I don't know what your setup is like. But the charger needs a CP signal and the 0x29C can message to work. And the other connections in the wiki.

Here is a DBC file to see the values sent by the charger. Just change the .txt to .dbc
Thank you for your input. Is it now accepted the top 1mm pin in AC Aptiv connector is another HV interlock? Damien is referring to that pin as a weird one, very likely some sort of PP wire.
My setup is exactly the same as Damien's.
I am not a CAN savvy to my great shame, and I was able to send some attached trace commands manually from Kangaroo soft no to avail.
I'm now trying to sort out a SavvyCan to try sending some logs to see what happens.
Attachments
Test_trace.txt
test ASC file
(8.35 KiB) Downloaded 2 times
User avatar
manny
Posts: 195
Joined: Sun Jan 23, 2022 4:15 pm
Location: Netherlands
Has thanked: 58 times
Been thanked: 159 times

Re: MG Charger Hacking

Post by manny »

The HV interlock (might also be a PP passthrough) on the AC connector is connected to the LV connector (pin 11). it's not important. I will fix the wiki.
You have the HV interlock on the DC connector shorted?

your test file look good.
AC max current = 32A
DC max current = 2A
DC max voltage = 462V
[DRIVING] Citroen Saxo electrique
  • Volvo ERAD motor, XC90 inverter/DCDC (custom OI board)
  • PSA battery (50kWh)
  • Foccci and MG ZS charger 6.6kW
  • Zombie VCU
AZD
Posts: 8
Joined: Fri Apr 03, 2026 7:55 am
Has thanked: 1 time

Re: MG Charger Hacking

Post by AZD »

Got it, thank you. I will make that PP/HVIL redundant. My original wake up wire seems to be not needed too.
Yes, I have a jumper on DC connector. I am just trying desperately to see the load on my DC circuit made of two bulbs and a capacitor from my dead DMOC before bolt the chrger to the car.

I just have unpacked a Canable dongle that works with SavvyCan and even managed to get on the bus somehow. But this is where my knowledge ends. Will need a few month to figure out how it works.
I probably need someone on paid basis to get on my PC via remote desktop to run all CAN voodoo stuff
User avatar
manny
Posts: 195
Joined: Sun Jan 23, 2022 4:15 pm
Location: Netherlands
Has thanked: 58 times
Been thanked: 159 times

Re: MG Charger Hacking

Post by manny »

Not sure it will work without the charger seeing voltage on the DC connector
[DRIVING] Citroen Saxo electrique
  • Volvo ERAD motor, XC90 inverter/DCDC (custom OI board)
  • PSA battery (50kWh)
  • Foccci and MG ZS charger 6.6kW
  • Zombie VCU
AZD
Posts: 8
Joined: Fri Apr 03, 2026 7:55 am
Has thanked: 1 time

Re: MG Charger Hacking

Post by AZD »

I was hoping some CAN spoofing can help with that, although I am under impression from Damien's description this is very easy going charger that doesn't ask for too much to make it work
AZD
Posts: 8
Joined: Fri Apr 03, 2026 7:55 am
Has thanked: 1 time

Re: MG Charger Hacking

Post by AZD »

Just wondering if it's worth playing some other files but the 29C?

https://github.com/damienmaguire/MG-EV- ... c_can3.csv
AZD
Posts: 8
Joined: Fri Apr 03, 2026 7:55 am
Has thanked: 1 time

Re: MG Charger Hacking

Post by AZD »

manny wrote: Mon Apr 27, 2026 4:37 pm The HV interlock (might also be a PP passthrough) on the AC connector is connected to the LV connector (pin 11). it's not important. I will fix the wiki.
You have the HV interlock on the DC connector shorted?

your test file look good.
AC max current = 32A
DC max current = 2A
DC max voltage = 462V
Well, that would be too good to be true.
A real picture looks like this after feeding Damien's 29C CSV to CAN.
Perhaps you were not wrong saying it wants some DC unlike my old dead Brusa charger
Savvy traces
Savvy traces
Post Reply