Well, the last picture in the previous post was wrong (it should be deleted as you read this) this is the correct wiring for the motor board:
Then I removed the old electronics from the original front panel:
and attached the ones from the new x4 yellow panel, they fit like a glove in the buttons area, the display cabinet needs to be enlarged a few milimeters, here you can see it attached:
Now I have only one problem remaining to be solved: I cannot regulate the speed in mach 3, fiddled with the spindle settings but I can't make it work, or it goes way up to 3500rpm or if I put a pwm value of around 2000 it goes to around 2600rpm but I cant change the speed.
Downloaded profiles from syil usa and also tried the ones I use for the x4+ but none of them seem to work.
Im sure the problem is Mach3 related, but Im lost, Im sure Im missing something obvious
Any pointer will be greatly appreciated.