Hacked Pendrive

About: I have some interest in electronic. you can find me at https://www.facebook.com/theTechWorks

I got a new phone which is Samsung Galaxy on 7 and it has very less memory. So I decided to buy a OTG pen drive which cost me 500 rupees. But I have lots of pendrive. Now they are not of any use. So I decided to buy a OTG cable. It also cost me hundred bucks. So I decided to make my own OTG pen drive from my old one.

Step 1: Requirements

Parts required to make this OTG pendrive are:-
1. USB cable
2. pendrive
Tools required to make this OTG pendrive are:-
1. wire cutter
2. solder
3. Soldering Iron

Step 2: Schetematic Diagram

Step 3: Preparing the Micro USB

There are 5 pins in micro USB 2 pins are on one side and 3 pins are on another site. I assigned the pin numbers in the diagram. you can find it on Google also. And there are 4 pins on USB male port. We have to connect pin 4 with 5. The picture micro USB has the pin numbered, 1 is red 5 volt, 2 is green data-, 3 is white data +, 4 is USB OTG ID, 5 is black ground. The picture male USB has the pin numbered, 1 is red 5 volt, 2 is green data -, 3 is white data +, and 4 is black ground.

Step 4: Preparing Pen Drive

Open the outer shell of the pendrive. Just be there be careful. You can damage the pendrive if you are not in precaution mode.

Step 5: Wiring

It is very simple to wire up. Just go through the schematic diagram. And you will be able to get your own on the go OTG pendrive. Place all the components inside the shell of the pendrive and wrap it with some electrical tape. In my case I used velpore hypoallergenic and latex free surgical paper tape.

Step 6: Finished Product

These are the previews of how it will be look like. Now it's time to check whether it is working or not.

Step 7: Testing

In the first pic when I didn't inserted the OTG pendrive its showing device storage and SD card. In the second image when I inserted the OTG pendrive its showing device storage, SD card and USB storage A. USB storage A stands for OTG pen drive first. You can see in image third when I open storage settings its showing USB OTG storage which is of 4 GB. Can use more than 4 GB it's totally depends on you.

Step 8: Enjoy

Why should we remember this OTG cable if we have an personal OTG pendrive which we can carry anywhere. Here we are carrying OTG cable along with a pen drive now we have our own OTG pen drive so we don't need it.
Hope you like it.



    • Toys Contest

      Toys Contest
    • Safe and Secure Challenge

      Safe and Secure Challenge
    • PCB Contest

      PCB Contest

    6 Discussions


    2 years ago

    It would not working with at least half of phones and tablets, because it needs kernel compiled with usb2ttl adapter's support or you should have kernel sources to compile kernel module by youself. It's not very complicated, but it's hard to find kernel sources. Most companies doesn't share it. You are lucky if you has popular phone from samsung for example or sony.
    At the other side there are a lot of arduino clones. Most of them has ftdi controller for usb2ttl support, but I seen few with cp2101. So, you should also know what kernel module you need.

    If you can just plug arduino to the phone and ttl is working, other steps is obliviously and you are lucky.


    2 years ago

    What is an OTG? Sorry I'm not that sophisticated!!

    2 replies
    Tech WorksKrazyK4

    Reply 2 years ago

    USB On-The-Go, often abbreviated to USB OTG or just OTG. It allows USB devices, such as digital audio players or mobile phones, to act as a host, allowing other USB devices, such as USB flash drives, digital cameras, mice or keyboards, to be attached to them. Use of USB OTG allows those devices to switch back and forth between the roles of host and client. For instance, a mobile phone may read from removable media as the host device, but present itself as a USB Mass Storage Device when connected to a host computer.