Error 6.5 Endstop X Homing Failure

I have homing error on my printer.
First run
I replace both end stop switch (I have V1 hardware with mechanic end stops) with no luck
I swapped the end stops between
I swapped x axis motors with y axis motors
I check the belt tension.
Second run hard work
I dismantled the axles and clean, I mounted them back, lined up and lubricated. Movement is much smoother and quieter but the error is still there.
Now then I try to performed all axes maintenance I have several loud clicks then attempts to homing X.