good morning Hans,
as I understand the situation,
you have a mk2/s
your printer used to work,
you replaced the bearings, and your printer now doesn't work.
the Mk2 relies upon physical endstop switches.
there is an option, in the configuration menu on the LCD, called
Show End Stops.
select this, and then see if moving your X and Y axis, by hand, easily activates the switches.
in my case, I fitted Igus to my Y axis, and they seem to have tightened up over a time, and the Y axis now jams... so I intend to replace the Igus with LM8uu bearings, when I fit my mk52 12volt heatbed.
other things which may give problems are incorrect cable management, preventing or making full travel of the axis difficult, or overtightened u bolts on the y axis bearings
if you want to test the Z axis, you will need to have the pinda probe, at least 3mm above the heatbed and then touching a piece of metal against the tip of the pinda, should cause the displayed value to change.
I have no idea why your X axis tries to home to the right!, mine homes to the left.
the original prusa stepper motor wires have a clip on them, to stop them being inserted the wrong way round, if you have a non prusa plug, it may be back to front
I try to make suggestions that I believe to be well founded and safe,You should understand the context and ensure you are happy that they are safe before attempting to apply my suggestions,
what you do, is YOUR responsibility.