This is how I think the wiring should be. I'm not sure about the resistor for the O2. Also there are some 2.2K Between the Crank and Cam signals to the Crnk/Cam GND that some ECUs need. Sounds like your running in safe mode which would leave me to believe your MAF signal is hosed to the ECU.
Here's the Pin-out for the ECU
05 Matrix XR 4WD and 03 Vibe GT
"If you want Government to solve your problems, then you are the problem!" BMSR
Trix MODS: SRI w/ AEM filter, Vibrant/Magnaflow Cat-back, Alutec Lightweight Crank Pulley
GT MODS: Cosmo SRI, DRL, Auto Stop