2006 NISSAN ALMERA, 1.6 AUTO, WOULD JUST SWING AND NOT START BUT AFTER PLAYING WITH KEYS A LOT IT WOULD TAKE, SOMEONE CHANGED THE COLD START VALVE BUT IT STILL DOES THIS, JUST SWINGS, AND AFTER PLAYING WITH KEYS, LOCKING & UNLOCKING CAR TURNING IGNITION ON IT TAKES (ONLY AFTER A WHILE)
We need more information than those you have written to be able to suggest what could be wrong and what to check. It could be the immobilozer/security system that is causing the problem but that is only a guess. Check the link below for information on how to go about checking for source of probem. If you keep changing components without diagnosing the problem, you are might be going to be wasting a lot of time and money plus the disappointment.
Whoever changed the cold start valve hoping it would solve the problem don't seem to understand the basics of the engine operating system.