Chosen Solution
The cable is broken near the connector, can I re-solder it?
It’s not something I would recommend! If the cable is physically attached to the device can you open the device to get to the points the cable wires are connected too? If you can I would just replace the full cable.