I purchased my Geetech I3 M201 printer some time ago, but I couldn't assemble it until now.
I finished the printer assembly, but I had to do some modifications to correct some deffects on design (or manufacturing) I guess.
After powering on everithing seemed to work OK, except when homing the X carriage. It moves opposite to the endstop, this is to the right seen from printer front, when supposed to move to left.
I managed to change the direction of displacement when using the manual control through the Repetier-Host printer settings or the LCD, but I couldn't find how to change the X direction when homing.
I've been trying to find how to do it reading a lot of messages on the forum with no success. Maybe the information is there and I've missed it.

But I concluded that there may be a problem of wiring because some other people around here had a similar problem with the Y and Z axis,
but eventually there was no answer to their questions. Or maybe I didn't understand the solution proposed.
Anyway, so far it seems to me that the two ways to solve the issue is to modify the X-motor wiring, or to change the X-direction through the firmware.
I could do the first option as it would be easier for me, but I'd like to do it by the second way, that seems feasible if I knew how to do it.
So, I would be grateful if somebody could help to give me an orientation on how to start modifying the firmware.
My board version is GTM32 Pro VB and firmware V 1.0.4. (that I could find in .bin format as the .hex format couldn't be loaded).
Thanks in advance.