P1s toolhead plug failure

Thanks for your reply. Then can’t we replace the connector on the board and the plug on the sensor cable with some compatible but better ones?