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.
Step 2: Tools
Most of the tools should be available almost within hands reach.
-Small Precision Screwdriver (Flathead)
-Reading Glasses (these come in real handy when you need two free hands to solder but they are
-Desoldering Tool of Choice
Step 3: Desoldering
Dedsolder the points that need to be replaced.
Step 4: Soldering
At this point, your leads should be desoldered and ready to be attached.
Take the soldering iron and solder away. Make sure that you have some way of magnifying the leads. This is where I used my reading glasses. I don't use them, they're my step-dad's. But they magnify the leads pretty well and make them a heck of a lot easier to see.
Step 5: Reassembly
Reattach the two halves of plastic that you pried off in step 2; making sure that you don't wiggle the circuit board during reassembly. Then wrap the plastic and circuit board in electrical tape until you can make a suitable housing for the board.
Step 6: Test & Relax
Make sure that you test the drive after reassembly. You want to check for any shorts. If there are any, disassemble the drive and find the shorts repeating steps 3-6 until fixed.
This was bugging me all day. If it has or happened to you, you know the feeling, and when you're done you can relax. At least until you have to make a new housing for it. Which is a different Instructable almost entirely.