Post Reply

[how to] usb otg

OP kailashpchhabria

29th April 2012, 04:26 AM   |  #1  
OP Senior Member
Flag Bangalore
Thanks Meter: 41
 
241 posts
Join Date:Joined: Dec 2011
More
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://forum.xda-developers.com/show....php?t=1450298 for giving the basic idea.

Thanks to hellcat82 for his software NTFS Mount found at http://forum.xda-developers.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/d...ach.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-Ho...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-Mini...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-U...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.
Attached Thumbnails
Click image for larger version

Name:	usbhost_2.jpg
Views:	1588
Size:	44.8 KB
ID:	1030195  
Attached Files
File Type: apk NTFSMount1_2.apk - [Click for QR Code] (204.8 KB, 468 views)
Last edited by kailashpchhabria; 29th April 2012 at 04:28 AM.
The Following 2 Users Say Thank You to kailashpchhabria For This Useful Post: [ View ]
4th May 2012, 02:14 PM   |  #2  
Junior Member
Thanks Meter: 4
 
13 posts
Join Date:Joined: Jan 2011
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
The Following 2 Users Say Thank You to aka.karasawa For This Useful Post: [ View ]
6th May 2012, 06:44 PM   |  #3  
OP Senior Member
Flag Bangalore
Thanks Meter: 41
 
241 posts
Join Date:Joined: Dec 2011
More
Quote:
Originally Posted by aka.karasawa

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.
6th November 2012, 02:02 AM   |  #4  
dormankenneth's Avatar
Member
Thanks Meter: 5
 
72 posts
Join Date:Joined: Jan 2010
More
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.
22nd January 2013, 10:57 PM   |  #5  
Member
Thanks Meter: 3
 
32 posts
Join Date:Joined: Dec 2010
Quote:
Originally Posted by aka.karasawa

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

Tried this... it didn't work
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes