No trigger on x after full movement

Seems, I missed an important fact: Is your Ender really based on a 4.2.7 board? Seems unusual.

Try replacing the relevant parts of your printer.cfg from klipper/config/generic-creality-v4.2.7.cfg at master · Klipper3d/klipper · GitHub. From your original config keep:

  • [printer] section
  • position_endstop
  • position_max
  • [mcu]