i know its a silly question but due to my past history on ranging and lumpy engine running, have you checked the ECU does not have any water in the box, check below the board.
my engine did the same as urs, was water earthing the board, started ok but ranged and lumpy at low revs. cheers