After the airbox repair the weather was bad for two days. I did not get to fly the airplane until I went up with an Aerostar and another RV. 15 min after high speed flying I heard a big bang. I immediate fall back and check the engine parameters. Everything was running fine. I called lead to cut short the flight and return to land. Ground run seemed to be normal. The 2nd morning I took the airplane out and fly it. Engine was not as smooth as before. Maybe this was just psychological. I did a circuit in the pattern and landed. Before shutting down the engine I did mag check again. Suddenly two big bang and engine run rough. I shut the engine and don't remember whether it was on mag or on electronic ignition (EI). Another try and engine run rough. It won't run on EI. Pull the propeller and sensor board and magnets are fine. No sign of wear. Borrowed another controller and same as before. Due to the installation, it is take time to remove dsub connectors. The process took a lot of time. After three days, finally I found the source of the problem: a broken insulation on a sensor wire. It is due to my wire securing method. The engine vibration caused the signal wire to rub the ground wire around it inside the insulated cable. Eventually a piece of the insulation broke and the signal was grounded. Initially it was momentary and caused the timing issue thus backfire and loud bang. After fixing the broken insulator engine run smooth again. Of course I changed the cable securing method. Since the EI vendor will not sell me a cable and I can only buy the entire sensor board assembly I am considering the risk of current wire broke vs new installation error and board failure.