From that picture it looks like your motor has spun out from the dropouts and possibly twisted and broken the motor wire loom?
From the picture its hard to see, can you inspect the cable where it leaves the motor to see if there is any damage caused by the twisting of the motor to the wires?
Hi Joelectric, thanks for your input. The motor worked with the old controller except for what appeared to be a switching of gears when throttle was applied and after testing the controller it proved to be faulty. This was the reason for my switch to KT controller/display.
However, I noticed the motor cable's heat shrink was tampered with as it used to cover the metal coil before the person changed the phase connector. The cable looks fine. I've added a picture.
The other day I had stable connection with the hall sensor pins but I still couldn't get the wheel to turn, only slight judder and readings from the motor. Each time I try to get contact with the pins and crocodile clips the connection is unstable. I have purchased a new motor cable just in case.