Mazda MP3 with MSP swap and harness problems!

I have an mp3 with a mazdaspeed turbo swap and ecu. I have a check engine light on p2009. VTCS. How the heck do I get rid of this if I dont have the plug?! I tried hooking pigtail for solenoid to the ecu with the pins i got from the donor car. I'm not an electrician but I rang out the connection but pretty sure I'm doing something wrong. Help pleasee
 
Back