I've been skimming through this forum page for a couple years now and finally decided to join the page.
Little bit of a backstory to help describe my issue: I bought my pathfinder just over 2 years ago and it has been great until about a year ago when I started chasing my issue. First thing that happened was a dancing speedo needle. Didn't think much of it for a few weeks till it finally stopped working and of course gave me a code. Finally looked into it and remachined the gear at the T case. When the speedo wasn't working is when I noticed a loss of power between 2k RPM and 3k RPM, most likely paranoia. I've replaced plugs, wires, distributor, fuel filter, cleaned and tested MAF sensor. This had helped a bit with performance but didn't resolve my symptom. At some point around this time I had a code for a crankshaft position sensor so I replaced that. Car drove fine but still with loss of power between 2k and 3k.
Out of the blue, I started getting a very rough idle and blue/white smoke out the tail pipe once the engine was warm but it would go away. The rough idle started happening more often and at times would stall. No codes every came up. After some research I decided to replace the 2 front 02 sensors which helped but than started getting codes intermittently for both sensors but never had performance issues. Most likely due to cheap sensors. I had tested my fuel pressure as well as regulator and both checked out. I pulled the plug and replaced the pump anyway. Still having the same issues. One morning on my way to work, the engine decided to die like the key was switched off. Got a P1320 code. Had an issue starting my engine but once I did, she ran fine. That code had came up 2 more times and one being just yesterday morning after doing a 100 mile trip the night before. Took a little bit to get her fired up but once she did, she ran fine.
I have many years of experience as a mechanic and I am completely stumped with this. Wish I still had access to those diagnostic machines. The codes I have had since I've owned the car have been for both front 02 sensors, MAF, P1320, usual knock sensor, CPS and speedo. The codes that keep coming up are 02 sensors (which I plan to replace next week), MAF which has been cleaned and tested ok and knock sensor. Next week I plan on replacing the cheap 02 sensors and putting my old distributor back in to see if anything changes.
If anybody cane shine some light on this, I would be extremely grateful. These issues have been limiting my driving adventures which has been quite the buzzkill and I got that whole pesky California smog
Thank you!

