2004 Nissan-Datsun Frontier Base, StandardFACTORY OEM SERVICE PROCEDURE

With GST

  1. Start engine and warm it up to normal operating temperature.
  2. Turn ignition switch OFF and wait at least 5 seconds.
  3. Disconnect mass air flow sensor harness connector. Then restart and run engine for at least 3 seconds at idle speed.
  4. Stop engine and reconnect mass air flow sensor harness connector.
  5. Select "MODE 7" with GST. Make sure DTC P0102 is detected.
  6. Select "MODE 4" with GST and erase the DTC P0102.
  7. Start engine again and run it for at least 10 minutes at idle speed.
  8. Select "MODE 7" with GST. The 1st trip DTC P0171 should be detected at this stage, if a malfunction exists. If so, go to DIAGNOSTIC PROCEDUREΒ .
  9. If it is difficult to start engine at step 8, the fuel injection system has a malfunction.
  10. Crank engine while depressing accelerator pedal. If engine starts, go to DIAGNOSTIC PROCEDUREΒ . If engine does not start, visually check for exhaust and intake air leak visually.
Fig 1: Disconnecting Mass Air Flow Sensor Harness Connector
G00854464Courtesy of NISSAN MOTOR CO., U.S.A.
Factory Service Tools

Use the Manual With the Right Hardware

Pair factory procedures with proven DIY tools so the instructions are easier to execute.

Disclosure: Verified tool recommendations may earn an affiliate commission at no cost to you.

When to See a Mechanic

Stop DIY work and contact a certified mechanic immediately if any of the following apply:

  • β€’ You smell fuel, burning insulation, or see smoke.
  • β€’ Brakes feel soft, pull hard to one side, or make grinding noises.
  • β€’ The engine overheats, stalls repeatedly, or misfires under load.
  • β€’ You are missing required tools, torque specs, or safe lifting equipment.
  • β€’ You are not confident in the next step or safety outcome.