Toyota Corolla and Matrix code P0171: system too lean with cold temperatures. The most common cause of this is a failing intake manifold gasket that leaks when it is cold.
Learn about the 2005-2008 Toyota Corolla and Matrix code P0741 (Torque Converter Clutch Solenoid Performance), and the most recent ECM replacement recall.