Plug [Q] Need help in fixing my broken tablet cable.

Need help in fixing my samsung galaxy tab 2 7.0 charging/usb cable

Here's my situation,

1. I own original cable and soon tossed it away because the cable has got snapped wires and I find it difficult to solder to the pcb board.

2. I bought another cable, but again, it's having charging issues after 4 months or usage. I'm started to think that these type of cable is easily broken. So I wanted to fix the cable myself by open it up and resoldering the snapped wires in order to save money. The 2nd cable I bought has got no pcb board attached inside. Just pins and solderings.

For now, I just want to be able to charge using the original charger and be able to transfer data files using my pc. So I need help to someone to tell me which wire (color) is attached to which pins. 4 different colors, Black, Red, White and Green. Thanks before.

Here's the look of the 2nd cable when I open it up (removed the remaining snapped wires)
Attached Thumbnails
Click image for larger version

Name:	IMG-20140113-00471123.jpg
Views:	236
Size:	255.2 KB
ID:	2516472