I also having this problem with my Hyundai elite I20. My head light is also blew up 4 time in a year & finally gave my car to my nearest Hyundai dealer. They check out the problem and put my headlight for free as I was having warranty. Now my headlights are working good and hadn't replace the bulb since a year.
This was my experience, as you have Hyundai Sonata , either you should check out your nearest Hyundai dealer or here I am attaching you a video if you want to alone solve out this problem/issue of head light.
U need a good mechanic. Ask around for recommendations from folks you know. What ever you do stay away from the dealer unless you absolutely have no choice.
Filling up the gas tank can stir up the fuel fumes. You may need to check your evap system? I can't rule out bad gas?
When the problem is ongoing, have a helper crank it while you check for spark at the plugs. If spark everywhere, use a gage and check proper fuel pressure and fuel injector pulse. With intermittent issues, need to test when problem is ongoing. How long since a tune-up? Any applicable trouble codes?
Problems at higher rpms, the basics, you check for a blockage of some kind, fuel--air--exhaust.
code p 0320 refers to crankshaft position sensor (CKP)/ engine speed (RPM) sensor --circuit malfunction===causes wiring---CKP/RPM sensor--ECM
from your statement of moving coil wires and it temporarily fixed the fault , I suspect wiring failure to the tacho( RPM sensor) as the RPM sensor works of coil impulses
by moving wires you may be altering the circuit fault for the CKP sensor
take it to an accredited service center for a proper diagnosis
Certain conditions must be met for the monitors to set on obd systems. If you can't get a test to run and set, find out via scanner which monitors are not set. The manufacturer may have a list of conditions required. For example a certain test may require two drive cycles, or driving the engine to normal operating temp twice. Now imagine if a temp sensor isn't functioning correctly. That test may never run.
One way is to cut key sense wire coming out of ignition.it is a wire that send a signal to car computer when key is in ignition. Another way is check driver door pin switch to be sure it is not broken .
If you verified both bulbs are good by moving them from one side to the other with the same result then it will be the contact or wire at the back of the bulb. it will not be a switch or fuse. just a bad contact or wire.
have you tried locking and unlocking the car with the remote. How about locking and unlocking the drivers front door with the key? I’m happy to assist further over the phone at https://www.6ya.com/expert/jeremy_d728a59f986299fa
The problem I think your have is the anti thief thinks there trying to steal it your remote controll has to have a good battery to disarm it I think lock the car then click on the remote if you have one then try starting it should work good luck
follow the exhaust system from engine back you will see a short cylinder with a wire on top the first one is your upstream which is the one before the cat converter keep following and the next one will be after the converter downstream one
Definition of Diagnostic Trouble Code P0166
Category:
Powertrain
Definition:
O2 Sensor Circuit No Activity Detected Bank 2 Sensor 3Note: This definition of P0166 is applied to all manufacturers
Definition of Diagnostic Trouble Code P0167
Category:
Powertrain
Definition:
O2 Sensor Heater Circuit Bank 2 Sensor 3Note: This definition of P0167 is applied to all manufacturers