Introduction: Make a USB OTG Host Cable. the Easy Way!

Picture of Make a USB OTG Host Cable. the Easy Way!

I have been in the market for an OTG cable, otherwise known as a host cable for some time and I have found that the only places that seem to sell them are online only. This is not a problem half the time. I tend to do a fair amount of online shopping but for this product I was left looking for an alternative. Some sellers sold them cheap while the wait time could be as high as 30 days and others sold them for a lot more than what they are worth while the wait time was 2 days. I was looking for a middle ground. When I say a lot more I really mean you are paying more for the product than what it's worth. For those of you who don't know what a USB OTG (on the go) host cable is, it is a simple modified USB cord that has a female (most of the time) USB port on one end and a micro male USB on the other end. The types of connections on each end can differ. This cord acts as a USB port for your phone or tablet and it enables you to use external devices such as a keyboard or mouse via the female USB connector on your phone. This cord is a must have for those who want the most out of their smart phone or tablet. It works by connecting an unused pin in the micro end, to ground. Like I said it is a simple modification. Some phones and tablets do not support this function so it is wise to search the web to find if your device is compatible with this function. I explained a little as to why I was looking for an alternative to buying one online and let me go a little more in depth as to why I chose the DIY route. The top two reasons are, it would be cheaper and I wouldn't have to wait for it, You can make one for under 2 dollars with stuff you more than likely have lying around your house!

With my cable I can now use a keyboard, an xbox 360 controller and flash drives on my galaxy note 2 without any rooting. I can also use mice and other USB hardware.

Step 1: What You Will Need

You will need a Micro USB cable (in my case), a USB female port (took one off an old charger), a hobby knife, solder and hot glue and about 30 minutes of your time.

Step 2: Cutting Into the USB Micro End and Making It a Host

Picture of Cutting Into the USB Micro End and Making It a Host

I used a cheap dollar store USB cord and I'm glad I did. The cheaper the cord the easier it is to cut and mod. Take a hobby knife and carefully cut the seam and pry back the rubber. Then You can remove the USB micro male connector. You can cut it off or you can work within the wire. After You can see the micro USB connector you have to take it apart to reveal the 5 pins.There is a metal case around the pins that make the shape of the connector. Mine had an easy clasp that I lifted with my knife then slowly removed. Once you see the 5 pins you have to solder the pin next to ground to ground. A little solder bridge is all that is needed. If you don't know the pinout you can look at the picture I included or you can go by the color coded wire. There are four wires inside a normal USB cord and the colors are red, black, white and green. These colors help identify their connection. Red is 5volt+, black is Gnd -, white is data - and green is data +. Some cords use different colors but the connections can still be identified by using the image to help with pin out. The picture I included has the pins numbered, 1 is red 5 volts+, 2 is white data -, 3 is green data +, 4 is not used unless its an OTG cable and 5 is Gnd, black. You have to connect pin 5 to 4. When pin 4 is connected to pin 5, Ground, it allows a pass through that enables your phone to use external devices. That is all that is needed to turn your micro USB into a host cable. After pin 4 and 5 are soldered together you can place the metal case back on and give it a quick test. I tested mine on an old phone before using it on my note. Once you plug it into your phone you should get a message saying "usb connector connected' or something similar. You don't even have to have anything connected to it to get that message. If you removed the wires to mod the pins you can solder them back onto the connector and move to the next step

Step 3: Adding a Femal USB Port.

Picture of Adding a Femal USB Port.

In order to give you the option of using this as a USB port you need to add a female USB port to the other end of the cable. My cable had a male connector so all you have to do is replace that with a female connector. I also decided to shorten the cord for ease of carry. Simply cut off the male connector, strip and tin the four wires and solder them to the USB female port. Follow my picture for correct wire placement or search for the pinout.

Step 4: Insulate and Make It Stronger

Picture of Insulate and Make It Stronger

By now your cord is complete but in order to increase the life time of the cord you want to strengthen the wires and connections with some hot glue and electrical tape and you are finished!

I hope you enjoyed and thanks for reading!


cjkessler (author)2017-12-12

Would it be a similar process for the iPhone cable?

AboTafesh made it! (author)2017-11-28


But it was difficult dealing with the small pins.

JulianH50 (author)2017-07-27

Very useful and informative, thank you. I just converted a £0.50 micro USB 10cm extension cable to OTG and it works perfectly for attaching accessories to my Galaxy Note II.

BrianH26 (author)2017-06-24

I just started using VRidge for using my G3 as VR screen.
For this I use USB tethering from the phone to the PC. Would it be possible to splice a wall charger into the data cable so the phone gets charged at the same time?
I was thinking that connecting the charger cable in parallel would work?
Red to red for example. At least then I could use my phone in VR and have it charging from the the same time.

nelie jane (author)2017-03-30

Hi friends, I have an ipad mini and since it's almost full in memory, can i just use the OTG usb female host cable adapter to transfer my photos and videos to into my hard disk? thank you :-)

Gabriel RodrigoP (author)2017-02-21

Thanks! I made it.

BaddyK (author)2016-11-20

I am trying to make one but the wires are as follows- two bare wires(silver), two red wires, white and green. And I am confused which one is vcc and which is gnd

T.J.AmandaJ (author)2016-11-10

can i splice the cord and connect the two wires ?

MathiasP1 made it! (author)2016-11-04

Thanks, this'll do til the real thing arrives


EsyrrowT (author)2014-10-09

My company (Shenzhen Hinsung Electronics Co., Ltd.) can make USB OTG Cables with USB Power ( They are cheap and high quality. And our delivery time is within 15 days. Does anyone have interest in reselling our OTG cables?

awesomersause (author)EsyrrowT2016-09-03

Shure how would we work this out?

EsyrrowT (author)awesomersause2016-10-08

Sorry to reply you so late. Do you have an email adress?

daddyoti (author)EsyrrowT2016-01-23

Yes, here in Southern California Orange County.

If you need an independent rep here, send me the particulars to and we can arrange a dialog.

Thank you,
S. Tito Bombaci

EsyrrowT (author)daddyoti2016-10-08

Sorry to see your reply so late.

Do you need me to send you the particulars?

Please contact me if you need. :)

My email is

SunshineC (author)EsyrrowT2016-03-13

Is there an OTG for the 40pin adapter for an ASUS Transformer?

JersonG (author)SunshineC2016-03-25

SunshineC (author)JersonG2016-03-26


out-of-the-box (author)EsyrrowT2014-10-09

I've tried to make and otg with power but can't seem to figure it out. I ran the 5volts positive in parallel with the otg positive and ground. and had no luck. any suggestions?

This is what I would do: So when you have micro usb otg to the phone (which I call A for now), female usb to connect your device (usb drive, mouse etc) to(call B for now) and male usb to get the power from (call C for now). I would make the following connections A to B as described in this instructable but cut the 5V line between A and B, then connect the ground from C to B (and so automaticly also A) and the 5V from C to B, in that way all grounds are connected, data goes between A and B, and the power for your device at B will be taken from the 5V line of C and back to both grounds.

If you would be so kind as to draw a simple sketch to help illustrate your point I would be appreciative. I think I understand your point.

Here you go ;)

If you're saying just add 5 volts or an external power supply to the micro usb with host. That simply won't work. I've tried. Now I have been reading up on this an apparently you need a specific resistance between sense and ground to acheive both.

GabeN1 (author)2016-05-23

I had to make one for my Orange Pi(Knockoff Rasbery Pi) I already have one but the USB connector is at an angle with the HDMI and I can't use.

PramodS10 made it! (author)2015-10-01

This Is Awesome On My Galaxy Core Prime

ChaslasherH (author)PramodS102016-05-17

Since when did the core prime have USB host mode, mine doesn't?

PramodS22 (author)ChaslasherH2016-05-17

This Is My Version

armando55 (author)2016-05-03

Hi, I was wondering how did u get the metal case off to make the solder bridge.

armando55 (author)armando552016-05-03

Nvm i got it

markejenks made it! (author)2016-04-21

Thanks! This is what I needed.

elliott2234317 (author)2016-01-24

could you do the same for a micro usb to micro usb cable or micro usb to usb c?

Ali bhai jhudo. (author)2015-11-08

i will try it.

shimil (author)2015-08-14

I Simplified than it is to be.........!

photobomber (author)2015-07-09

Yeah he really means it when he says the cheaper the better. Just took apart an HTC cable, one of the pins fell out and the rest got crazy bent. Great instructable tho!

Floating Karma Devd (author)2015-06-07

thanks for the simple yet comprehensive tutorial

keep up the good hack!

Floating Karma Devd (author)2015-06-07

mprzybyl (author)2015-05-01

that's a male usb?

srgeorge1 (author)2015-01-29

I did this and I put it all together before I tested it. It works.. But my phone says it isn't charging, which makes no sense because I'm not sending any power into the phone I just plugged in to flash drive. It like connects it then it will randomly disconnect. I think it might be a short or something. Could someone help me with this? If so please email me at It would help alot

_xXJuanXx_ (author)srgeorge12015-04-05

you might not wanna put your email out for anyone to see just sayin

NoshGonzales (author)2015-04-01

It is bad that my micro usb only has 4 pins? I am sure it should have 5. Do you think it is because I got it from the dollar store?

That could be the reason. I have found cheap ones with 5 pins.

DigimobileC (author)2015-03-06

MikeH10 (author)2015-01-25

Thanks for the images and easy to follow directions. No stores around my have this cable nor did I feel like waiting a month to get one! Funny how all you need a simple solder joint..

RuiS1 (author)2015-01-18

I have a cable with a female type A in one side which I connected a standart USB cable connected to a smartphone and a mini5b type on the other side which I connected to a PS3 controller. Shouldn't this have the same effect as an OTG cable? The only difference is that I use the system backwards... why doesn't it work?

this is one cable

this is the other

out-of-the-box (author)RuiS12015-01-18

You wouldn't be using anything backwards. The reason why it isn't working is because there is no host connection. The 4th pin on the microusb has to be grounded in order to host external devices. I have a micro host to usb mini that I too use on a play station 3 controller for my phone

jamnutz (author)2014-12-10

excellent, I really appreciate this one and plan on using the hell outa this one

oal-sadri (author)2014-07-08

thats great. thanks berat bro.....!!!

janw (author)2014-06-09

great instructable again!

out-of-the-box (author)janw2014-06-10

Thanks Jan! glad you think so. :)

MAAC1 made it! (author)2014-06-09

thanks for the idea.

out-of-the-box (author)MAAC12014-06-10

no problem!

About This Instructable




Bio: My name is Taylor, I am an electrical repair tech by day and an engineer by night, after work or free time.
More by out-of-the-box:Relay Controlled Work Light Easy way to make a dual flash drive! (micro USB and normal USB)Make a Professional OTG Cable From Scratch!
Add instructable to: