- Oct 11, 2009
- 5,577
- 2,816
- 113

[INFO]What is USB OTG?
A type of USB connection that acts as a host or master to slave connections. It first came to Android (officially) in 3.1, and now it's fairly standard across devices. It's what lest you use mice, keyboards, cameras, controllers, and (if rooted) thumb drives or externally powered hard drives.
It also kicks ass because it's a standard, using a standard connection instead of a proprietary model, found in things like an iPad camera connector kit. Standards are good.[/INFO]
What this guide is (and isn't)

This is not a guide for people who don't like to build and or break stuff. You'll need tools. You'll need a soldering iron. You'll need very sharp knives. For the love of all things holy, pay attention to what you're doing, and be sober while playing with these stabby burny things.
If you're going to continue anyway, awesome. Welcome to my world, where ordering stuff is never the answer when you have drawers full of things like old USB cables. You'll need:
A soldering iron
Some solder
Some tape and or heat shrink tubing. The cheapest electrical tape you can find.
A very sharp, thin knife. Xacto's are perfect.
Something to cut a cable and strip some wires with.
Something to pry the casing away with. A tiny straight screwdriver works great.
A microUSB cable. Like the one that came with your phone or tablet. But don't ruin a good one -- order a cable from Amazon instead.
A USB extension cable. One with one male and one female end. Again -- order an OTG cable from Amazon before you ruin a good one.
Grab this end of your microUSB to USB cable.

Follow the seam on each side and cut away the plastic outer shell. If you are scavenging a USB cable from LG be careful -- there's a tiny circuit board there and it will wiggle and break the solder joint on all the connections. Don't cut yourself.


Once cut, fold back the two halves of the casing and see if the connector body will slide down the cable. If it does, push it away. If it doesn't, cut it off. You'll see some silicon over all the connections, and maybe a metal connector shell (LG cables have the body in this picture). Carefully carve away the dried silicon and use a small screwdriver or dental tool to open the metal shell if there's one there. This is almost as sharp as the knife. Be careful. If yours has this metal casing, open it, pull it out, and throw it away.


Here's the fun part. Your connector will have five pins, but only four wires attached. Your job is to attach the black wire to pin 5 (where it's attached now) and to pin 4 (the empty one). For those interested, the pinout is:
- Pin 1 -- VCC (red)
- Pin 2 -- Data - (white)
- Pin 3 -- Data + (green)
- Pin 4 -- ID (none for USB pass through, grounded for OTG) (black)
- Pin 5 -- GND (black)

If you have a multimeter, you can cut the other end off the cable now and ring out the connections to make sure they are all good and not shorting. If you don't, look it over really well, and when satisfied grab your electrical tape and wrap it up. If you listened and used really cheap "plasticky tape" you need to pull it tight when wrapping so it gets hard when it cools down. You sparkys know what I'm talking about -- expensive tape stays flexible. Use the cheap stuff and get a nice, firm shell over your connector. It will look like this:

Now to work on the other end.

Cut the male end off of both cables. Strip back about two inches of the cable jacket n the long ends (toss the male ends in the round file), and match up the colors. If your colors don't match remember the pinout from above and bust open that male end to check the pins. Wire from pin to pin instead of color to color. Your colors will probably match. Solder and tape up this end just like you did above. When you're done, grab a cheap USB mouse and plug it in



Keyboards and controllers will probably work out of the box. To use a pen drive, you'll need either support from your device's ROM or to be rooted and use an app. Grab Stickmount from Google Play. Plug in a USB stick, read the screen:



Troubleshooting:
Nothing works! -- check your soldering and connections.
I have power, but no data -- check your soldering and connections
I can't mount a USB stick -- Get root and install StickMount
It's cheaper to just buy a cable! -- Yep. But not nearly as fun and buying another cable doesn't use crap in my desk drawer.