[how to] usb otg

Search This thread

kailashpchhabria

Senior Member
Dec 4, 2011
243
43
Bangalore
This will enable you to use USB on the go (OTG) feature that comes with Android 3.1 on our Jetstream. However, I for one don't think its truly on the go because you do need an external power source for it to work. But it allows me to connect my hard disk and work with it without the intervention of a computer which is more than great for me. But would surely like it if you could directly plug in a pen drive (not yet possible I think as far as I could search).

I have note made any of these, have just researched, tried a lot and managed to get it to work on my Jetstream and am just compiling the steps and methods I followed here.

Thanks to sztupy for his thread http://xdaforums.com/showthread.php?t=1450298 for giving the basic idea.

Thanks to hellcat82 for his software NTFS Mount found at http://xdaforums.com/showpost.php?p=13337600

Pre-requisites:
1. Must be rooted with Superuser and Busybox loaded
2. NTFS Mount software (use version 1.2 as 1.3 has some issues with Busybox as per the above mentioned thread and personal experience) - alternate is USB Mount by the same developer available on the Play store at https://play.google.com/store/apps/details?id=au.dach.drivemount (however I have not had success with it)

Hardware Requirements:
1. USB OTG Cable. Can be found at http://www.ebay.com/itm/Micro-USB-H...370670?pt=PDA_Accessories&hash=item3a731ccdae
Just a sample, costs around $ 2. I got mine from a local hardware store for Rs. 300 ($6)
2. USB Y cable. Can be found at http://www.ebay.com/itm/USB-2-0-Min...552?pt=LH_DefaultDomain_0&hash=item1e624b8dd0
Just a sample, costs around $ 2. I had one lying around at home.
3. USB Charger. Can be found at http://www.ebay.com/itm/Black-Plug-...er_MP3_Player_Accessories&hash=item1c254df23a
Just a sample, cousts again around $ 2. I got mine from a local hardware store for Rs. 170 ($3)
4. USB Hub (OPTIONAL) - this will enable you to connect more than 1 device at a time. If plan on using this, then you can get one with an external power source and skip the USB Charger.

Procedure:
1. 1st, after obtaining root, confirm that USB Host more is enabled on the Jetstream by checking the build.prop under /system using Root Explorer found towards the end of the screen. It should read as:
# support USB Host
rp.usb_host = 1
If not, then you must enable it by allowing R/W mode.

2. Next step would be to set up the hardware in the right manner. Note this must be done before connecting anything to the tablet.
The USB Y cable comes with 2 male USB ports and a single female USB port. The USB device to be connected must be attached to female port. The USB power charger must be attached to the side Male port and the USB OTG (micro USB to USB female) goes to the main Male port. With this all necessary connections are made. Refer to the attached picture (thanks to sztupy again) for details on other ways of connecting and using including with USB Hub (I personally have not tried the hub).

3. Put on the power source that is connected to the entire system and in case the external hard disk also uses one, that needs to be put on as well.

4. Lastly, connect the Micro USB cable with all the above connected to it to the tablet.

5. In order for the device to read/write or access the USB storage, next step depends on if the device is FAT32/NTFS
a) for FAT32 - you can go to the settings, storage and scroll down to USB storage. You will be able to see the details of the connected hardware and can click on Mount to mount and use. Unmount later to disconnet.
b) for NTFS - you must open NTFS Mount software. From the drop down list of devices, select a device (mine always shows sda1) and click on mount. Unmount from here itself later when done.

By following this, you would be able to access your USB external storage (pen drive/hard disk) with ease from your tablet directly.

Note: in order to access the files, you must use Root Explorer/Astro File Manager.
FAT32 device appear under USB folder of sdcard (i.e inbuilt memory)
NTFS devices appear under /mnt/sda1

Attachments:
1. usbhost_2.jpg - a diagram with the detailed setup (thanks to sztupy)
2. NTFSMount1_2.apk - NTFS Mount (thanks to hellcat82)

Hope this helps.
 

Attachments

  • usbhost_2.jpg
    usbhost_2.jpg
    44.8 KB · Views: 2,362
  • NTFSMount1_2.apk
    204.8 KB · Views: 1,629
Last edited:

aka.karasawa

Member
Jan 18, 2011
13
4
Is it truly necessary to have the OTG usb cable? I currently have a powered hub. Shouldn't I be able to use the provided JetStream usb cable and tie the devices together through the hub?

Sent from my HTC PG09410 using xda premium
 

kailashpchhabria

Senior Member
Dec 4, 2011
243
43
Bangalore
Is it truly necessary to have the OTG usb cable? I currently have a powered hub. Shouldn't I be able to use the provided JetStream usb cable and tie the devices together through the hub?

Sent from my HTC PG09410 using xda premium

Hi, sorry for delay, was out for an exam.

I don't know if or not it will work. As I said I have just researched and seen what others have implemented and put it together.

Perhaps you could try and let us all know because I don't have a USB Hub (powered or otherwise) and hence have not tried it out.
 

dormankenneth

Senior Member
Jan 21, 2010
74
5
This all seems a little much for OTG support considering it was just plug and play with my SGS2 and also my SGS4G. I am hoping to see some more development in this area as this type of support is nice to have on a tablet of this caliber.;)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    This will enable you to use USB on the go (OTG) feature that comes with Android 3.1 on our Jetstream. However, I for one don't think its truly on the go because you do need an external power source for it to work. But it allows me to connect my hard disk and work with it without the intervention of a computer which is more than great for me. But would surely like it if you could directly plug in a pen drive (not yet possible I think as far as I could search).

    I have note made any of these, have just researched, tried a lot and managed to get it to work on my Jetstream and am just compiling the steps and methods I followed here.

    Thanks to sztupy for his thread http://xdaforums.com/showthread.php?t=1450298 for giving the basic idea.

    Thanks to hellcat82 for his software NTFS Mount found at http://xdaforums.com/showpost.php?p=13337600

    Pre-requisites:
    1. Must be rooted with Superuser and Busybox loaded
    2. NTFS Mount software (use version 1.2 as 1.3 has some issues with Busybox as per the above mentioned thread and personal experience) - alternate is USB Mount by the same developer available on the Play store at https://play.google.com/store/apps/details?id=au.dach.drivemount (however I have not had success with it)

    Hardware Requirements:
    1. USB OTG Cable. Can be found at http://www.ebay.com/itm/Micro-USB-H...370670?pt=PDA_Accessories&hash=item3a731ccdae
    Just a sample, costs around $ 2. I got mine from a local hardware store for Rs. 300 ($6)
    2. USB Y cable. Can be found at http://www.ebay.com/itm/USB-2-0-Min...552?pt=LH_DefaultDomain_0&hash=item1e624b8dd0
    Just a sample, costs around $ 2. I had one lying around at home.
    3. USB Charger. Can be found at http://www.ebay.com/itm/Black-Plug-...er_MP3_Player_Accessories&hash=item1c254df23a
    Just a sample, cousts again around $ 2. I got mine from a local hardware store for Rs. 170 ($3)
    4. USB Hub (OPTIONAL) - this will enable you to connect more than 1 device at a time. If plan on using this, then you can get one with an external power source and skip the USB Charger.

    Procedure:
    1. 1st, after obtaining root, confirm that USB Host more is enabled on the Jetstream by checking the build.prop under /system using Root Explorer found towards the end of the screen. It should read as:
    # support USB Host
    rp.usb_host = 1
    If not, then you must enable it by allowing R/W mode.

    2. Next step would be to set up the hardware in the right manner. Note this must be done before connecting anything to the tablet.
    The USB Y cable comes with 2 male USB ports and a single female USB port. The USB device to be connected must be attached to female port. The USB power charger must be attached to the side Male port and the USB OTG (micro USB to USB female) goes to the main Male port. With this all necessary connections are made. Refer to the attached picture (thanks to sztupy again) for details on other ways of connecting and using including with USB Hub (I personally have not tried the hub).

    3. Put on the power source that is connected to the entire system and in case the external hard disk also uses one, that needs to be put on as well.

    4. Lastly, connect the Micro USB cable with all the above connected to it to the tablet.

    5. In order for the device to read/write or access the USB storage, next step depends on if the device is FAT32/NTFS
    a) for FAT32 - you can go to the settings, storage and scroll down to USB storage. You will be able to see the details of the connected hardware and can click on Mount to mount and use. Unmount later to disconnet.
    b) for NTFS - you must open NTFS Mount software. From the drop down list of devices, select a device (mine always shows sda1) and click on mount. Unmount from here itself later when done.

    By following this, you would be able to access your USB external storage (pen drive/hard disk) with ease from your tablet directly.

    Note: in order to access the files, you must use Root Explorer/Astro File Manager.
    FAT32 device appear under USB folder of sdcard (i.e inbuilt memory)
    NTFS devices appear under /mnt/sda1

    Attachments:
    1. usbhost_2.jpg - a diagram with the detailed setup (thanks to sztupy)
    2. NTFSMount1_2.apk - NTFS Mount (thanks to hellcat82)

    Hope this helps.
    2
    Is it truly necessary to have the OTG usb cable? I currently have a powered hub. Shouldn't I be able to use the provided JetStream usb cable and tie the devices together through the hub?

    Sent from my HTC PG09410 using xda premium