Subaru · 2008-14

Subaru Impreza WRX STI GR / GV EJ257 ECU and tuning guide

The Subaru Impreza WRX STI GR / GV EJ257 (2008-14) runs the EJ257 (STI): 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 GD / GR EJ255.

Engine: EJ257 (STI)

Years2004-21
Displacement2.5L
LayoutB4
InductionTurbocharged
InjectionPort injection
Cam controlAVCSdual from 2008
IgnitionCoil-on-plug
Swap demandMedium

Part of the Subaru EJ family.

Modeled power and torque

Modelled estimate, not a dyno result.

EJ257 (STI): 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)
010020030040050060070001002003004005006001k2k3k4k5k6khplb-ftrpm
Solid = power (hp), dashed = torque (lb-ft). Shaded bands show the modeled uncertainty. Hover for values.

Stock is anchored to the factory rating (305 hp at 6000 rpm, 290 lb-ft at 4000 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.

EJ257 (STI) 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 ECM (EJ257, 2011-21 WRX STI, GR/GV/VA)
22765AF18022765AF18122765AF18222765AF75022765AF751
ECU family
Subaru GR/GV/VA WRX STI ECM
Applies to
2011-2021 WRX STI, 6MT; USDM
Not for
non-USDM STI see BF29149-S3

Examples: 22765AF180/181 -> AF182 (2013 STI), AF750 -> AF751 (2014 STI); 2010 STI 22765AA941 also listed. Other years not looked up.

Sourced · mediumE-1491
Subaru ECM (EJ257, 2008-21 WRX STI, non-USDM)Part numbers not yet sourced.
ECU family
Subaru GR/GV/VA WRX STI ECM (non-USDM)
Applies to
2008-2021 WRX STI non-USDM (JDM/EDM/ADM), manual
Not for
USDM STI see BF29115-S3

Non-USDM numbers not available from US dealer catalogues. For reference USDM 2008-09 STI = 22611AN350/AN351 ().

Low confidenceE-1491

Factory ECU pinout: pending

No OEM pin table is in our library yet for the EJ257 (STI) 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 ↗
Manual 2011 - 2021 Subaru STIBF29115-S32011-2021 WRX STI, 6MT; USDM$840Maker ↗
Manual 2008 - 2021 Subaru STI NON-USDMBF29149-S32008-2021 WRX STI non-USDM (JDM/EDM/ADM), manual$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

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

$840USD list
Plug-and-playManual onlyhigh confidenceS3 fit not yet tested ⓘ
Plugs into
Subaru ECM (EJ257, 2011-21 WRX STI, GR/GV/VA) · 22765AF180, 22765AF181…
OEM part numbers
22765AF180, 22765AF181, 22765AF182, 22765AF750, 22765AF751
ECU
Subaru GR/GV/VA WRX STI ECM
Confidence
medium

Examples: 22765AF180/181 -> AF182 (2013 STI), AF750 -> AF751 (2014 STI); 2010 STI 22765AA941 also listed. Other years not looked up.

Sources: E-1491

Fits
2011-2021 WRX STI, 6MT; USDM
Exclusions
non-USDM STI see BF29149-S3
SKU
BF29115-S3
Maker fitment
Subaru STI (Manual); selector years 2011-2021; SKU label: Manual 2011 - 2021 Subaru STI
Maker notes
separate SKUs exist for other Nexus models (-S2/-R3/-R5/-T1/-T2); 2011-14

Boomslang plug-and-play harness for Haltech Nexus S3 - Manual 2008 - 2021 Subaru STI NON-USDM

$840USD list
Plug-and-playManual onlyhigh confidenceS3 fit not yet tested ⓘ
Plugs into
Subaru ECM (EJ257, 2008-21 WRX STI, non-USDM)
ECU
Subaru GR/GV/VA WRX STI ECM (non-USDM)
Confidence
low

Non-USDM numbers not available from US dealer catalogues. For reference USDM 2008-09 STI = 22611AN350/AN351 (E-1491).

Fits
2008-2021 WRX STI non-USDM (JDM/EDM/ADM), manual
Exclusions
USDM STI see BF29115-S3
SKU
BF29149-S3
Maker fitment
Subaru STI; Subaru STI NON-USDM (Manual); selector years 2008-2021; SKU label: Manual 2008 - 2021 Subaru STI NON-USDM
Maker notes
separate SKUs exist for other Nexus models (-S2/-R3/-R5/-T1/-T2); non-USDM 2008+

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 STI GR / GV

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 harness1 listed · from $535 USD listHT-186300
  2. Factory-connector → S3 adapter2 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 STI GR / GV

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: MotoIQ: brittle hypereutectic ring lands with high top ring are the first failure even with mild detonation; case flex, head gaskets and rod bearing starvation above ~7,500 rpm also cited. (medium 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 STI GR / GV

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-934 Boomslang identity (sourced, high confidence)
  4. E-935 Boomslang S3 catalog size (sourced, high confidence)
  5. E-900 Haltech Nexus S3 catalog (sourced, high confidence)
  6. E-941 S3 engine harness availability (inferred, medium confidence)
  7. E-1446 Subaru 2011-15 ECU (supported, medium confidence)
  8. E-1491 harness ECU xref: Subaru Impreza WRX/STI ECMs (USDM) (verified, high confidence)