Engine: EJ257 (STI)
Part of the Subaru EJ family.
Modeled power and torque
Modelled estimate, not a dyno result.
Modeled estimate, not a dyno measurement. Real results vary with fuel, weather, dyno type and build.
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
- Load sensing
- MAF (hot-wire / hot-film)
- O2 sensor
- wideband A/F (UEGO)
- Closed loop
- Not yet sourced
- Block
- aluminium
- Rods / pistons
- cast hypereutectic, high top ring (MotoIQ); MY19 new stronger alloy (Wikipedia)
- Reported limit
- ~340 hp conservative stock bottom end on pump gas (MotoIQ); ~350-400 whp ringland threshold (Crawford, vendor)
- Factory
- 2004-06 STI: side-feed; 2007+ STI: top-feed · 565 cc/min
- Impedance
- high (saturated)
- Direct-fit upgrades
- 7 maker-listed
- Knock
- 22060AA111 (2005 STI)|22060AA100
- MAP / MAF
- 22627AA380 (2006 STI)|22627AA490 (2008-14 STI)
- O2 (upstream)
- wideband A/F sensor
Platform background
The GD saloon and GG wagon brought the WRX to the US for 2002 (EJ205, then EJ255 for 2006-07) and the STI for 2004 (EJ257, 6-speed, DCCD). Other markets kept the 2.0 litre EJ207 STi until 2005-07. The engines moved to coil-on-plug ignition, tumble generator valves and, from the GD.II update, intake AVCS. A community transcription of the 2002 USDM WRX ECM pinout from Subaru wiring documentation is reproduced below at low confidence.
Factory ECU
EJ205 (WRX 2001-05), EJ255 (US WRX 2006-07; AU WRX 2005-07), EJ207 (STi JP/UK/AU 2001-05), EJ257 (US STI 2004-07, AU 2005-07)
Sourced · medium1324The GD-era ECM handles MAF load, adaptive knock control, wastegate duty, TGV motors and position sensors, IAC, EVAP, fan relays and the fuel pump controller. Reflash is the dominant tuning route. Standalone conversions must replace the fuel pump controller drive and TGV logic (or delete the TGVs), and on STIs, interface with DCCD and DBW.
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.
- 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.
- ECU family
- Subaru GD Impreza STI ECM (MY04)
- Applies to
- 2004 Impreza WRX STI, 6MT; USDM
AJ243 supersedes AJ240-AJ242 per dealer catalogue. Supplier not stated by catalogue.
- ECU family
- Subaru GD Impreza STI ECM (MY05-06)
- Applies to
- 2005-2006 Impreza WRX STI, 6MT; USDM
AJ930/AJ931 = 2005 STI; AL370 = 2006 STI. Supplier not stated by catalogue.
- 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.
Factory ECU pinout: pending
No OEM pin table is in our library yet for the EJ257 (STI) factory ECU. A community transcription of the 2002 USDM WRX (EJ205) ECU pinout exists; it will be published once verified against Subaru STIS / factory service documentation for the exact model year and market. Until then, wire from the harness maker's instructions or the factory service manual.
Factory ECU pinout
A community transcription of the 2002 USDM WRX (EJ205) ECU pinout exists; it will be published once verified against Subaru STIS / factory service documentation for the exact model year and market.
Plug-and-play harness
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.
| Maker | Harness | Fits | Link | |
|---|---|---|---|---|
| Subaru WRX MY06-10HT-186370 | ADM WRX MY06-10 and STI MY06-07 2.5 with Denso ECU | $535Lowest | Maker ↗ | |
![]() | Manual 2004 - 2004 Subaru STIBF29112-S3 | 2004 Impreza WRX STI, 6MT; USDM | $840 | Maker ↗ |
![]() | Manual 2005 - 2006 Subaru STIBF29113-S3 | 2005-2006 Impreza WRX STI, 6MT; USDM | $840 | Maker ↗ |
![]() | Manual 2007 - 2007 Subaru STIBF29114-S3 | 2007 Impreza WRX STI / STI Limited, 6MT; USDM | $840 | Maker ↗ |
| Wire-in | Universal flying lead or re-terminated factory harness | Any engine (terminate to ECU2's two Superseal 34 connectors) | Universal harness from $405 | Maker ↗ |
Nexus S3 Plug n Play Adapter Harness Subaru WRX MY06-10
- 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 2004 - 2004 Subaru STI
- Plugs into
Subaru ECM (EJ257, MY04 Impreza WRX STI, GD) · 22611AJ240, 22611AJ241…
- OEM part numbers
- 22611AJ240, 22611AJ241, 22611AJ242, 22611AJ243
- ECU
- Subaru GD Impreza STI ECM (MY04)
- Confidence
- high
AJ243 supersedes AJ240-AJ242 per dealer catalogue. Supplier not stated by catalogue.
Sources: E-1492
- Fits
- 2004 Impreza WRX STI, 6MT; USDM
- SKU
- BF29112-S3
- Maker fitment
- Subaru STI (Manual); selector years 2004-2004; SKU label: Manual 2004 - 2004 Subaru STI
- Maker notes
- separate SKUs exist for other Nexus models (-S2/-R3/-R5/-T1/-T2); 2004

Boomslang plug-and-play harness for Haltech Nexus S3 - Manual 2005 - 2006 Subaru STI
- Plugs into
- Fits
- 2005-2006 Impreza WRX STI, 6MT; USDM
- SKU
- BF29113-S3
- Maker fitment
- Subaru STI (Manual); selector years 2005-2006; SKU label: Manual 2005 - 2006 Subaru STI
- Maker notes
- separate SKUs exist for other Nexus models (-S2/-R3/-R5/-T1/-T2); 2005-06

Boomslang plug-and-play harness for Haltech Nexus S3 - Manual 2007 - 2007 Subaru STI
- 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)
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 GD
Planned with the same rules as the configurator for this car's 4 cyl · port injection · cable or drive-by-wire. The factory ECU is unplugged and replaced; nothing is written to it.
- Price TBA
ECU2Engine controller
4 cyl · port injection · cable or 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
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
- Haltech S3 plug-in harness1 listed · from $535 USD listHT-186370
- Factory-connector → S3 adapter3 listed · from $840 USD list
- 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 GD
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.
- 1Base 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.
- 2Lambda 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.
- 3Cam 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.
- 4Boost 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.
- 5Drivability 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.
- 6Factory load sensingfactory reference
What the factory ECU measures load with: MAF (hot-wire / hot-film) (medium confidence)
- 7Wideband 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)
- 8Bottom 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
Chassis integration
Tuning notes
Cast pistons with weak ringlands are the usual failure point when pushed
Sourced · medium5The EJ205 is open deck with cast rods and no piston oil jets, so it is best kept to moderate boost. The EJ257 is semi-closed deck but uses cast pistons. The top-mount intercooler heat-soaks, so log IAT on repeated pulls.
Popular swaps
- EJ257 short block or long block into GD WRX
- Requires matching ECU (AVCS, DBW) and wiring
GAINS on the Impreza WRX STI GD
ECU2
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
Where is the crank sensor on the 2002 WRX ECU?
Per a community transcription of Subaru documentation: crank sensor +/- on B2/B11, cam sensor +/- on B1/B10, shared shield on B21. Verify against the factory manual.6
Does the 2002 WRX have AVCS?
No. Intake AVCS arrived with the GD.II update from November 2002 (2004 MY in most markets).1
What turbo does the GD WRX use?
A Mitsubishi TD04L, with a factory target of about 93 kPa (13.5 psi).1
Sources
Numbered as cited above. Hover or tap a citation chip to preview it.
- Subaru EJ205 Engine · AustralianCar.Reviews · press · retrieved 2026-10-25
- Subaru EJ207 Engine · AustralianCar.Reviews · press · retrieved 2026-10-25
- Subaru EJ255 Engine · AustralianCar.Reviews · press · retrieved 2026-10-25
- Subaru EJ257 Engine · AustralianCar.Reviews · press · retrieved 2026-10-25
- Top Ten Engines - #8 Subaru EJ257 · DSPORT Magazine · press · retrieved 2026-10-25
- 2002 WRX ECU pinouts (transcribed from Subaru wiring/service documentation by a NASIOC member) · NorthUrsalia.com · community · retrieved 2026-10-25
- Subaru EJ engine · Wikipedia · community · retrieved 2026-10-25
- 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.
- E-933 Haltech S3 adapter harness page (sourced, high confidence)
- E-934 Boomslang identity (sourced, high confidence)
- E-935 Boomslang S3 catalog size (sourced, high confidence)
- E-900 Haltech Nexus S3 catalog (sourced, high confidence)
- E-941 S3 engine harness availability (inferred, medium confidence)
- E-1444 Subaru MY06-07 Denso vs Hitachi (supported, medium confidence)
- E-1492 harness ECU xref: Subaru 2004 Impreza STI/WRX (verified, high confidence)
- E-1491 harness ECU xref: Subaru Impreza WRX/STI ECMs (USDM) (verified, high confidence)
- E-1493 harness ECU xref: Subaru 2006 Impreza (verified, high confidence)


