a strand of usb cable is yellow not black
The cable colours will vary from cable to cable. Use a continuity checker or ohmmeter to determine which wire is connected to which pin on the plug.

http://pinouts.ru/Slots/USB_pinout.shtml