I just replaced the engine in my 2011 Forester X Non-turbo A/T. It had 247k and a #2 cylinder misfire from low compression.
The new engine was a 2013 w/ 75k . I didn't swap the engine harness as it looked like all the wiring connectors matched
except the Coil Packs (I opted to keep the newer...