This will show you how to fix the pins on the USB port of a flash drive.
Step 1: Disassemble the drive
You'll want to disassemble the flash drive with a small precision screwdriver. Gently prying at the seams of the casing until the circuit board is exposed. Then pull the plastic off and make sure that the USB leads are exposed.