Subaru · 2006-14

Subaru Impreza WRX GD / GR EJ255 ECU and tuning guide

The Subaru Impreza WRX GD / GR EJ255 (2006-14) runs the EJ255 (WRX / Legacy GT / Forester XT): 2.5 L B4, turbocharged, port injection, drive-by-wire throttle.

Reviewed by GAINS editorial team on 2026-11-04.

Factory ECU, pinout and chassis research on this page is shared with Subaru Impreza WRX STI GR / GV EJ257.

Years2004-14
Displacement2.5L
LayoutB4
InductionTurbocharged
InjectionPort injection
Cam controlAVCS
IgnitionCoil-on-plug
Swap demandMedium

Part of the Subaru EJ family.

Modeled power and torque

Modelled estimate, not a dyno result.

EJ255 (WRX / Legacy GT / Forester XT): stock vs common buildsmodeled

Modeled estimate, not a dyno measurement. Real results vary with fuel, weather, dyno type and build.

Stock (factory-rated peaks; shape modeled)
010020030040050001002003004005001k2k3k4k5k6khplb-ftrpm
Solid = power (hp), dashed = torque (lb-ft). Shaded bands show the modeled uncertainty. Hover for values.

Stock is anchored to the factory rating (230 hp at 5600 rpm, 235 lb-ft at 3600 rpm); the curve shape between peaks is modeled. Bolt-ons + tune (pump fuel, more boost): Stock turbo/supercharger; gains limited by compressor and fuel system.

EJ255 (WRX / Legacy GT / Forester XT) data

Platform background

The third-generation Impreza WRX (EJ255) and WRX STI (EJ257) moved the STI to Dual AVCS and drive-by-wire with SI-Drive. The WRX kept intake-only AVCS with a 50 degree range and, from late 2008, an IHI VF52 turbo. US 2008+ models use CAN-based OBD. No OEM-grade ECM pinout source was found.

Factory ECU

EnginesEJ255 (WRX), EJ257STISourced · medium12
AVCS

STI: Dual AVCS (intake and exhaust). WRX: intake AVCS with 50 deg range.

Sourced · medium21
ECU logic

32-bit ECUs: intake-only AVCS logic for 2008-14 WRX, dual AVCS for 2008-21 STI

Low confidence6
OBD protocol

US 2008+ vehicles fall under the CAN (ISO 15765-4) OBD requirement

Low confidence3

The GR/GV STI ECM manages Dual AVCS, electronic throttle with SI-Drive maps, TGVs, boost and DCCD interaction. Reflash is the dominant tuning route. A standalone must handle DBW safety monitoring and dual cam phasing, and keep the CAN messages the cluster and chassis modules expect.

Factory ECU: harness cross-reference

From the factory ECU each listed harness plugs into. The factory ECU is unplugged, not modified. Check the label and part number on your own ECU before ordering.

Subaru engine control module (ADM WRX/STI MY11-19, EJ25/EJ20 DBW)
22765AD03022765AF74122765AG233
ECU family
Subaru 22765-series 'Unit-EGI Control'
Applies to
MY11-14 GE/GH WRX & STI; MY11-15 GV/GR WRX (excl 2013); MY15-19 VA STI; ADM; manual
Not for
not non-ADM markets; not automatic; not 2013 GV/GR WRX (per Haltech)

Part numbers are USDM dealer-catalogue examples (2011 / 2014 / 2015 WRX-STI); ADM numbers not found. Supplier (Denso) not confirmed by a source.

Low confidenceE-1446
Subaru Denso ECU (ADM MY06-10 WRX / MY06-07 STI 2.5)
22611AL31022611AL330
ECU family
Subaru 22611AL-series
Applies to
ADM WRX MY06-10 and STI MY06-07 2.5 with Denso ECU
Not for
Hitachi-supplied ECU versions; non-ADM
Supplier
Denso

Same model years used both Denso and Hitachi ECUs; buyer must check maker label. 22611AL310 listed as Denso (JDM EJ20 STI 05-07); 22611AL330 (EJ25 WRX) maker not stated.

Low confidenceE-1444
Subaru ECM (EJ257, MY07 Impreza WRX STI)
22611AM41022611AM41122611AM412
ECU family
Subaru GD Impreza STI ECM (MY07)
Applies to
2007 Impreza WRX STI / STI Limited, 6MT; USDM

AM410/AM411 replaced by AM412 (2007 STI, STI Limited). Boomslang fitment also lists STI NON-USDM and WRX 2006-07 under this SKU: ambiguity, check ECU.

Sourced · mediumE-1491
Subaru ECM (EJ255, 2008-10 Impreza WRX, GE/GH)
22611AP39022611AP391
ECU family
Subaru GE/GH Impreza WRX ECM
Applies to
2008-2010 Impreza WRX, manual; USDM

Only 22611AP390 -> AP391 (2009 WRX, title "Manual") found; example only.

Low confidenceE-1491
Subaru ECM (EJ255, 2011-14 Impreza WRX, GR/GV)
22765AB20022765AB20122765AD02022765AD02122765AD02322765AF17022765AF17122765AF17222765AF74022765AF741
ECU family
Subaru GR/GV Impreza WRX ECM
Applies to
2011-2014 WRX / WRX Sport; USDM

2011: AB200 -> AB201, AD020/021 -> AD023; 2013: AF170/171 -> AF172; 2014: AF740 -> AF741 ("Turbo MT").

Sourced · mediumE-1491

Factory ECU pinout: pending

No OEM pin table is in our library yet for the EJ255 (WRX / Legacy GT / Forester XT) factory ECU. No OEM-grade source found. Required: Subaru 2008-2014 Impreza/WRX/WRX STI service manual (STIS), 'Engine Control Module (ECM) I/O signal' table for the EJ255/EJ257, plus the wiring diagram for connector numbering and wire colours. Until then, wire from the harness maker's instructions or the factory service manual.

Factory ECU pinout

No OEM-grade source found. Required: Subaru 2008-2014 Impreza/WRX/WRX STI service manual (STIS), 'Engine Control Module (ECM) I/O signal' table for the EJ255/EJ257, plus the wiring diagram for connector numbering and wire colours.

Plug-and-play harness

Route for this carS3 plug-in harness
1 · S3 plug-in2 · Factory-connector adapter3 · Wire-in

A plug-in harness built for the Haltech Nexus S3 pinout is listed for this vehicle. The ECU2 follows that published pinout, so the factory ECU is unplugged and the ECU2 plugs into the car's own loom. Nothing is written to the factory ECU. Pin-compatible per the published S3 pinout, not yet fit-tested.

MakerHarnessFitsLink
Subaru WRX / STI MY11-19 (ADM only)HT-186300MY11-14 GE/GH WRX & STI; MY11-15 GV/GR WRX (excl 2013); MY15-19 VA STI; ADM; manual$535LowestMaker ↗
Subaru WRX MY06-10HT-186370ADM WRX MY06-10 and STI MY06-07 2.5 with Denso ECU$535LowestMaker ↗
Manual 2007 - 2007 Subaru STIBF29114-S32007 Impreza WRX STI / STI Limited, 6MT; USDM$840Maker ↗
Manual 2008 - 2010 Subaru WRXBF29158-S32008-2010 Impreza WRX, manual; USDM$840Maker ↗
Manual 2011 - 2014 Subaru WRXBF29219-S32011-2014 WRX / WRX Sport; USDM$840Maker ↗
Wire-inUniversal flying lead or re-terminated factory harnessAny engine (terminate to ECU2's two Superseal 34 connectors)Universal harness from $405Maker ↗

Nexus S3 Plug n Play Adapter Harness Subaru WRX / STI MY11-19 (ADM only)

$535USD list · excl. tax
Plug-and-playManual onlyOff-road / competition onlymedium confidenceS3 fit not yet tested ⓘ
Plugs into
Subaru engine control module (ADM WRX/STI MY11-19, EJ25/EJ20 DBW) · 22765AD030, 22765AF741…
OEM part numbers
22765AD030, 22765AF741, 22765AG233
ECU
Subaru 22765-series 'Unit-EGI Control'
Confidence
low

Part numbers are USDM dealer-catalogue examples (2011 / 2014 / 2015 WRX-STI); ADM numbers not found. Supplier (Denso) not confirmed by a source.

Sources: E-1446

Fits
MY11-14 GE/GH WRX & STI; MY11-15 GV/GR WRX (excl 2013); MY15-19 VA STI; ADM; manual
Exclusions
not non-ADM markets; not automatic; not 2013 GV/GR WRX (per Haltech)
SKU
HT-186300
Maker fitment
Subaru WRX GE/GH MY11-14, WRX GV/GR MY11-15 (excl 2013), STI GE/GH MY11-14 and STI VA MY15-19; Australian-delivered only; manual only
Maker notes
kit with ECU HT-213312; ADM MY11-14 WRX only

Nexus S3 Plug n Play Adapter Harness Subaru WRX MY06-10

$535USD list · excl. tax
Plug-and-playOff-road / competition onlymedium confidenceS3 fit not yet tested ⓘ
Plugs into
Subaru Denso ECU (ADM MY06-10 WRX / MY06-07 STI 2.5) · 22611AL310, 22611AL330
OEM part numbers
22611AL310, 22611AL330
ECU
Denso · Subaru 22611AL-series
Confidence
low

Same model years used both Denso and Hitachi ECUs; buyer must check maker label. 22611AL310 listed as Denso (JDM EJ20 STI 05-07); 22611AL330 (EJ25 WRX) maker not stated.

Sources: E-1444

Fits
ADM WRX MY06-10 and STI MY06-07 2.5 with Denso ECU
Exclusions
Hitachi-supplied ECU versions; non-ADM
SKU
HT-186370
Maker fitment
Subaru WRX MY06-10 and STI MY06-07 2.5 with DENSO ECU; Australian Domestic Market only; not compatible with Hitachi ECU
Maker notes
kit HT-213311 USD 2800; ADM MY06-10 Denso only

Boomslang plug-and-play harness for Haltech Nexus S3 - Manual 2007 - 2007 Subaru STI

$840USD list
Plug-and-playManual onlyhigh confidenceS3 fit not yet tested ⓘ
Plugs into
Subaru ECM (EJ257, MY07 Impreza WRX STI) · 22611AM410, 22611AM411…
OEM part numbers
22611AM410, 22611AM411, 22611AM412
ECU
Subaru GD Impreza STI ECM (MY07)
Confidence
medium

AM410/AM411 replaced by AM412 (2007 STI, STI Limited). Boomslang fitment also lists STI NON-USDM and WRX 2006-07 under this SKU: ambiguity, check ECU.

Sources: E-1491

Fits
2007 Impreza WRX STI / STI Limited, 6MT; USDM
SKU
BF29114-S3
Maker fitment
Subaru STI; Subaru STI NON-USDM; Subaru WRX (Manual); selector years 2006-2007; SKU label: Manual 2007 - 2007 Subaru STI
Maker notes
separate SKUs exist for other Nexus models (-S2/-R3/-R5/-T1/-T2); 2007 (selector 2006-07)

Boomslang plug-and-play harness for Haltech Nexus S3 - Manual 2008 - 2010 Subaru WRX

$840USD list
Plug-and-playManual onlyhigh confidenceS3 fit not yet tested ⓘ
Plugs into
Subaru ECM (EJ255, 2008-10 Impreza WRX, GE/GH) · 22611AP390, 22611AP391
OEM part numbers
22611AP390, 22611AP391
ECU
Subaru GE/GH Impreza WRX ECM
Confidence
low

Only 22611AP390 -> AP391 (2009 WRX, title "Manual") found; example only.

Sources: E-1491

Fits
2008-2010 Impreza WRX, manual; USDM
SKU
BF29158-S3
Maker fitment
Subaru WRX (Manual); selector years 2008-2010; SKU label: Manual 2008 - 2010 Subaru WRX
Maker notes
separate SKUs exist for other Nexus models (-S2/-R3/-R5/-T1/-T2); 2008-10

Boomslang plug-and-play harness for Haltech Nexus S3 - Manual 2011 - 2014 Subaru WRX

$840USD list
Plug-and-playManual onlyhigh confidenceS3 fit not yet tested ⓘ
Plugs into
Subaru ECM (EJ255, 2011-14 Impreza WRX, GR/GV) · 22765AB200, 22765AB201…
OEM part numbers
22765AB200, 22765AB201, 22765AD020, 22765AD021, 22765AD023, 22765AF170, 22765AF171, 22765AF172, 22765AF740, 22765AF741
ECU
Subaru GR/GV Impreza WRX ECM
Confidence
medium

2011: AB200 -> AB201, AD020/021 -> AD023; 2013: AF170/171 -> AF172; 2014: AF740 -> AF741 ("Turbo MT").

Sources: E-1491

Fits
2011-2014 WRX / WRX Sport; USDM
SKU
BF29219-S3
Maker fitment
Subaru WRX (Manual); selector years 2011-2014; SKU label: Manual 2011 - 2014 Subaru WRX
Maker notes
separate SKUs exist for other Nexus models (-S2/-R3/-R5/-T1/-T2); 2011-14

Haltech and Boomslang are trademarks of their respective owners. GAINS is not affiliated with or endorsed by them.

Your GAINS system for this car · pre-release

ECU2 for the Impreza WRX GD / GR

Planned with the same rules as the configurator for this car's 4 cyl · port injection · drive-by-wire. The factory ECU is unplugged and replaced; nothing is written to it.

  • ECU2Engine controller

    4 cyl · port injection · drive-by-wire

    Full sequential fuel and spark for this 4-cylinder, and its electronic throttle, with the wideband built in.

    in designEst. availability: April 2027

    Price TBA

Add PDM2 to switch and protect chassis loads (pumps, fans, lights, accessories). Add it in the configurator →

Track days? Add the Telemetry Dongle Pro for 25 Hz GPS lap timing; it plugs into the OBD-II port, and your phone is the dash. Plan it in the configurator →

What you get

  • A screen on the ECUA 2.4-inch, 500-nit display in the lid, readable in a footwell.
  • Faults in plain words"Coolant temp sensor open circuit.
  • Drive-by-wire built inFour half-bridges run up to two electronic throttles, with pedal and throttle sensors on the ECU's own inputs and a windowed watchdog that cuts the motors in hardware on a fault.
  • S3-style harnessesConnector A and C pin functions follow the published Nexus S3 wiring diagram.
  • Powered CAN portA sealed 4-pin port on the insert carries 12 V and CAN for the PDM2 and GAINS displays: one cable per accessory.
  • GAINS insideThe on-ECU adaptive layer, the app, logging and your limits.

How it wires in

  1. Haltech S3 plug-in harness2 listed · from $535 USD listHT-186300
  2. Factory-connector → S3 adapter3 listed · from $840 USD list
  3. Wire-inAlways possible

Pin-compatible per the published S3 pinout, not yet fit-tested. Every harness option for this car ↓

ECU2 is in design; specifications may change. All GAINS hardware is pre-release concept design; nothing is for sale yet and no application is validated on a vehicle. Harness fitment is from published pinouts and not yet fit-tested.

How GAINS approaches the Impreza WRX GD / GR

Our starting method for this engine, as foundations first: get it running and drivable, then learn fuel, then the hardware-specific strategies. It is a methodology outline, not a validated calibration.

  1. 1
    Base map and first startplanned

    Start from displacement, injector data and the sensors fitted, then let the first-start learner settle cranking, idle and warm-up before any load work. The goal is a safe, running engine, not a finished calibration.

  2. 2
    Lambda targets and VE learningclosed loop on GAINS ECUs

    Air-fuel targets come from your goal (street, track, economy). The ECU then learns its fuel table cell by cell from the onboard wideband inside a signed envelope, and you approve promoting what it learned into the base map.

  3. 3
    Cam phasing (VVT)gated

    Begin with conservative overlap. Cam targets per load cell are then chosen with torque and knock in mind, keeping idle and cold overlap low for stability. Widening cam authority follows the same evidence-gated path as spark.

  4. 4
    Boost controlgated

    A closed-loop boost target by gear and goal, held inside the authority envelope, with knock protection active at boost. Raising boost authority is never automatic; it stays an expert or dyno decision.

  5. 5
    Drivability foundationsplanned

    Pedal map, tip-in and decel fuel, idle control, cold start and warm-up enrichment: the tables tuners spend hours on after the main map. Each is a strategy in the knowledge engine with its own limits.

  6. 6
    Factory load sensingfactory reference

    What the factory ECU measures load with: MAF (hot-wire / hot-film) (medium confidence)

  7. 7
    Wideband sensorhardware

    the factory sensor is already an A/F type; for tuning, fit a Bosch LSU 4.9 for the GAINS ECU's built-in controller (factory A/F sensors are not LSU-compatible)

  8. 8
    Bottom end and head sealingfactory reference

    Reported: Cast piston ringland failure and open-deck cylinder flex/head gasket failure commonly reported (Crawford, vendor). (low confidence) Limits depend on tune quality, fuel, rpm and condition and are not guaranteed.

Drivetrain

STI
  • 6-speed manual
  • Multi-mode DCCDper the 2015 STI press kit for the successor model
Low confidence5
WRX5-speed manualAUSourced · medium1

Chassis integration

Body codes
  • GE saloon, GH hatchWRX launch
  • GR widebody STI hatch
  • GV widebody saloon from MY2011
Low confidence7

Tuning notes

STI output (AU)
  • 221 kW at 6,000 rpm, 407 Nm at 4,000 rpm (6MT)
  • 8.2:1
Sourced · medium2
WRX turbo

Mitsubishi TD04 at launch (78 kPa), IHI VF52 from Dec 2008 (about 92 kPa)

Sourced · medium1
WRX output (AU, 2008-14)195 kW at 6,000 rpm, 343 Nm at 4,000 rpmSourced · medium1
Weak pointEJ257 cast-piston ringlandsSourced · medium4

Dual AVCS gives a lot of torque-curve control. When tuning, log AVCS target versus actual on both cams, since slow phasers mask as knock or airflow faults.

GAINS on the Impreza WRX GD / GR

ECU2

ECU2Full sequential fuel and spark for this 4-cylinder, and its electronic throttle, with the wideband built in.Est. availability: April 2027
Hardware fromPrice TBAPlan and compare costs

Designed so your phone is the laptop, keypad and dash

The GAINS app is designed to handle tuning, logging, gauges and switch inputs over Bluetooth, so the system needs no separate CAN keypad or display. Keypad, dash and logging views are planned; the iOS prototype runs on simulated data today.

Wideband, IMU and logging built in

An onboard Bosch LSU 4.9 wideband controller, a 6-axis IMU and onboard logging are designed into the ECU rather than sold as add-on modules.

Modular, so you buy what the engine needs

This engine runs on ECU2. PDM2 (power, body and gearbox) is optional and connects over ECU2's powered CAN port; the Telemetry Dongle Pro adds GPS lap timing from the OBD-II port.

Calibration that keeps learning

Instead of a fixed map that drifts as parts and conditions change, the ECU keeps adapting its fuel trims within limits you can see and approve in the app.

Adaptive tuning strategies

  • VE learning closed loop on GAINS ECUs

    Learns the fuel table from the onboard wideband as you drive, cell by cell, inside a signed authority envelope. Learned trims are promoted into the base map without a step in fuelling.

  • Goal-based lambda targets closed loop on GAINS ECUs

    Sets air-fuel targets from your goal (economy, response, power, safety margin) instead of a single fixed table.

  • Knock protection protection

    Listens for knock on a dedicated knock processor, pulls timing at once and restores it slowly. It only ever reduces advance.

  • Warm-up, cranking, idle and transient fuel planned

    The same learning approach applied to the tables tuners spend hours on after the main map is done.

  • Spark advance and boost authority gated

    Widening ignition advance or boost is never automatic. It stays an expert or dyno decision until validated knock detection exists for the engine family.

Already running another ECU? In advisor mode the same strategies read your logs and recommend exact table changes with the reasoning, which you apply in your ECU vendor's own software.

GAINS hardware is pre-release concept design. Simulated results only; nothing is validated on a vehicle yet.

Frequently asked

Does the 2008 STI have dual AVCS?

Yes. The GR/GV STI's EJ257 has Dual AVCS on intake and exhaust. The WRX's EJ255 kept intake-only AVCS.21

What turbo is on the 2009+ WRX?

An IHI VF52 replaced the TD04 from December 2008 (AU data).1

What compression ratio is the GR STI EJ257?

8.2:1.2

Sources

Numbered as cited above. Hover or tap a citation chip to preview it.

  1. Subaru EJ255 Engine · AustralianCar.Reviews · press · retrieved 2026-10-25
  2. Subaru EJ257 Engine · AustralianCar.Reviews · press · retrieved 2026-10-25
  3. 40 CFR 86.1806-04 On-board diagnostics (2012 edition) · US Government Publishing Office · oem · retrieved 2026-10-25
  4. Top Ten Engines - #8 Subaru EJ257 · DSPORT Magazine · press · retrieved 2026-10-25
  5. 2015 Subaru WRX STI Press Kit · Subaru of America · oem · retrieved 2026-10-25
  6. Subaru EJ engine · Wikipedia · community · retrieved 2026-10-25
  7. Subaru WRX · Wikipedia · community · retrieved 2026-10-25

Catalog data and evidence

  • Catalog data, not yet expert-reviewed.
  • No vehicle photos: illustrations only until licensed imagery is available.
  1. E-907 Haltech usage policy (sourced, high confidence)
  2. E-909 Haltech S3 adapter harness page (sourced, high confidence)
  3. E-933 Haltech S3 adapter harness page (sourced, high confidence)
  4. E-934 Boomslang identity (sourced, high confidence)
  5. E-935 Boomslang S3 catalog size (sourced, high confidence)
  6. E-900 Haltech Nexus S3 catalog (sourced, high confidence)
  7. E-941 S3 engine harness availability (inferred, medium confidence)
  8. E-1446 Subaru 2011-15 ECU (supported, medium confidence)
  9. E-1444 Subaru MY06-07 Denso vs Hitachi (supported, medium confidence)
  10. E-1491 harness ECU xref: Subaru Impreza WRX/STI ECMs (USDM) (verified, high confidence)