USB cable construction
Solder the wire to the USB plug
Mark the corresponding strand at the other end of the thread also in red. You can tell by the text written on one of the two strands. You can also use an ohmmeter.
Put super glue and plug the cover
Solder the other end of the wire