Your observation about the battery is correct, at least for now, and until testing points to it later.
Your assumption about the oil is not correct. The starting system has no idea of the oil's condition. They do not talk with each other!
There is a clinker in your thinker about the knock sensor. First of all, that circuit wont prevent the engine from cranking or from running. Second, diagnostic fault codes never say to replace a part or that one is bad. They only indicate the circuit or system that needs further diagnosis, or the unacceptable operating condition. When a part is referenced in a fault code, that part is actually the cause of that code about half of the time. First we have to rule out wiring, connector terminal, and mechanical problems associated with that part.
The next problem is I really do not know what the symptom is or which system we need to look at. You said the engine stalled while it was running. That suggests a running problem. I do not know what a "wants to start" noise sounds like, so we could be talking about a starting system problem. Clarify whether the starter is cranking the engine at normal speed, or if not, exactly what kind of noise you are hearing.
Sunday, October 7th, 2018 AT 7:58 PM