Problem solved!!
Seems like both the firmwares i tried were sending the motor a signal they didn't like, i tried the ramps14 test code and it worked so i tried the official version of marlin and they all seem to be working fine!
Seems like both the firmwares i tried were sending the motor a signal they didn't like, i tried the ramps14 test code and it worked so i tried the official version of marlin and they all seem to be working fine!