[Q] USB host mode help request - Xoom Q&A, Help & Troubleshooting

Could someone be kind enough to explain to me how to set up/enable USB tethering from my rooted Droid Incredible (running CM7) to my rooted Xoom (HC 3.1, kernel 1.4.2, wireless only).
I made a USB host cable following this thread >http://forum.xda-developers.com/showthread.php?t=1068197
When I type : "Cd /dev/block" then "ls" on my Xoom terminal I can see "sda" for phone and "sda1" for my USB flash drive. And my phone recognizes the USB connection to my Xoom.
But when I type "busybox mount /dev/block/sda1/mnt/usbotg" on Xoom, the response is > "mount: can't read '/etc/fstab' : No such file or directory"
And while I can enable USB tethering on my phone, my Xoom doesn't recognize it (of course). My phone is also charging from the Xoom.
What can I do next to try to get this working?
Thanks, in advance.

I am also very interested in this. I have made my own USB host cable that I know is working (keyboard, mouse, etc. all work great) and I have a 4G USB dongle.
This dongle works in a fully hostless mode, meaning it does not need any drivers to run. I simply need the Xoom to recognize the ethernet over USB connection.
The dongle powers up and connects to the network, the Xoom just does not see or make use of the connection.
If I can make this work it will simply be awesome, getting 4G on my WiFi only Xoom before the 3G Xoom gets it ;-)

I use this USB host cable and it works great. Have tested it with my 750gb Oyen and 320gb WD Passport external HDD's, several usb flash drives (8-16gb), San disk USB memory card reader, and a USB keyboard.
For those having issues getting their Xoom to recognize USB storage devices here's what I've got and did to get it to work: I flashed my XOOM (3.1) to the 2.6.36.4 Tiamat_Xoom-v1.4.4-Full_Throttle Kernel and was unable to get the USBMount to recognize drives or storage at first.
I installed USB Mass Storage Watcher from the market (it's free) and it works awesome! Can mount any storage I want (NTFS, FAT16/32, HFS, HFS+, EXT2, ETX3, EXT4) with any capacity. I think this app will work with any rooted Xoom (or other devices). Under my Kernel my USB host is located under/usbOTG.
Hope this helps.

Related

[Q] Using usb to connect with another android device?

I really would like to be able to plug my droid X into my G tablet and use it as an external hard drive. This would save me loads of time swapping sdcards.
Though I don't think this is possible because most phones need drivers to be mounted as external storage.
When I do plug the DX in via microusb to usb (haven't tried miniusb yet) the DX recognizes that it is plugged in and starts charging. The DX also says that it is connected to an external device and is mounted as external storage, however on the G tablet I can not see any data when I browse to the correct location.
Has anyone else tried this and got it to work?
Hal0053 said:
I really would like to be able to plug my droid X into my G tablet and use it as an external hard drive. This would save me loads of time swapping sdcards.
Though I don't think this is possible because most phones need drivers to be mounted as external storage.
When I do plug the DX in via microusb to usb (haven't tried miniusb yet) the DX recognizes that it is plugged in and starts charging. The DX also says that it is connected to an external device and is mounted as external storage, however on the G tablet I can not see any data when I browse to the correct location.
Has anyone else tried this and got it to work?
Click to expand...
Click to collapse
When I plug my N1 to the tablet, I immediately get the USB notification on my N1. I turn on storage on the N1 and my tablet can browse the sdcard on my N1.
If you use ClockworkMod or AmonRA on your Droid, you can go into recovery mode and set the mount to USB and that should work as well.
EDIT: If you are rooted on both devices, you can use dropbear or an ssh client (like QuickSSHD) on your Droid and then ssh to it from the tablet using File Explorer or AndFTP (need to be on the same wifi for this solution to work).
I've tried this with my Droid 1 and get the same thing. The droid shows its connected, and allows me to mount usb, but when using any file explorer and browse the the usb device, it only shows an empty folder.
I've succesfully used wifi file explorer when they're on the same wifi network.
Depending on speed wifi file explorer might work perfectly!
Thanks Lordgodgeneral prscott1

[Q] USB Hosting

I bought a small micro - usb female adapter. When I plug it in, no matter what device i use it seems as those the xoom is not sending any power through it.
Ive tried
Camera
Charge Phone
usb mouse
usb wireless mouse
nothing is getting power.
Is there something i need to enable or do? Or has anyone esle has this issue? I am on 3.1....
You can not use a simple micro usb adapter cable, it has to be an OTG USB Host cable like the official Motorola camera connection kit that is now available. This is a bit expensive but readily available at your local Best Buy.
Take a look at some of the many posts on OTG cables and you can find info on cheaper cables that have been verified to work or on how to make your own.
you need a USB Host cable. Not just a regular sync cable. You can google for one or search the threads here where others have linked to confirmed working cables.
dang, thanks guys
I ordered one from ebay! hope it works
I have a question that applies here, I am on stock 3.1 Xoom WiFi/3G and just got my OTG cable, plug it in usb drive blinks like its working but where is it located on the Xoom? I've been looking around for it with Astro and File Explorer and I'm unable to find it... could someone tell me the path?
Techsniffer said:
I have a question that applies here, I am on stock 3.1 Xoom WiFi/3G and just got my OTG cable, plug it in usb drive blinks like its working but where is it located on the Xoom? I've been looking around for it with Astro and File Explorer and I'm unable to find it... could someone tell me the path?
Click to expand...
Click to collapse
i believe stock 3.1 only supports MTP, hence no USB mass storage.
http://en.wikipedia.org/wiki/Media_Transfer_Protocol
I've heard many conflicting stories, I would like some sort of confirmation rather then speculation about what will/will not work with the Moto Xoom (Stock 3.1) Wifi/3g and an OTG cable because I've seen posts saying yes and no to USB, portable HD's etc etc. Can anyone even provide me with some informative links? Everything I've searched for has been less than informative.
So, stock 3.1 Xoom is an MTP device, that is true.
However, with latest series of Tiamat custom kernels by Bigrushdog (see Android Development section) the usbOTG has been enabled. If you have already rooted and installed the proper bootloader/Tiamat kernel, then in File Expert you will find the usbOTG folder on the root directory, same level as internal sdcard and data folders. If you go up a step in sdcard, you should see your external sdcard. Is this clear?
I have rooted, using the Tiamat 1.6, I have access to the sdcard now but I am still unable to access my usb drive (thumb drive). I have an OTG usb cable and when I go into the /OTGusb its empty. The drive blinks as if its initializing but then nothing.
On a side note, I have looked through both OTGusb folders, restarted the Xoom with the OTG and usb plugged in as suggested in another post and nothing I've tried has worked in locating the usb drive.
Techsniffer said:
I have rooted, using the Tiamat 1.6, I have access to the sdcard now but I am still unable to access my usb drive (thumb drive). I have an OTG usb cable and when I go into the /OTGusb its empty. The drive blinks as if its initializing but then nothing.
Click to expand...
Click to collapse
I've found that there are two factors which may be in play here...
1. When I connect a flash drive it takes a bit of time for the directory structure to parse... It does show up in the OTGusb directory.
2. I've found that anything larger than 8GB (I've seen it stated in the forums as well) does not work (of if it does it takes forever and a day to become available)
Hope it helps...
I have same problem here. whenever I try to connect the USB with Motorola connector, it doesn't appear anything in otgusb
I'm not sure I am going to get what I want at this time with the OTG cable. My goal is to be able to use the OTG cable to connect a USB thumb drive to so I can carry additional movies, documents, etc without completely consuming the main Xoom storage.
Can the OTGusb cable support this? Do I need to wait for yet another update?
TIA

[Q] Does The XOOM Have USB Host Functionality?

I know there is a hack for it to be enabled, and I know that Honeycomb 3.1 has this built-in, but I want to make sure that it comes on the XOOM before I buy it. Meaning, can I get a Micro-USB to USB adapter and use things like USB Mouse and flash drive?
USB host is native to Honeycomb 3.1. You will need a USB host cable or the Motorola camera connection cable. Most adapters do not have all 5 pins wired out to enable host mode recognition from the xoom. But yes, it works out of the box.
It wont work out of the box to read thumb drives. It will read mice cameras keyboards.
You have to root to read external thumb drives and hard drives.
Rooting is on my todo list anyway.

[Q] Do not see thumb drive with Tiamat Xoom 2.0 "Katana"

I rooted my US WiFi Xoom 3.2 and installed the Tiamat Xoom 2.0 “Katana”. I do not see a folder under mnt\ on a thumb drive which is connected to the Xoom with a Motorola OTG adapter. Are there some steps I need to take to see the thumb drive and its contents? Thanks.
atz06 said:
I rooted my US WiFi Xoom 3.2 and installed the Tiamat Xoom 2.0 “Katana”. I do not see a folder under mnt\ on a thumb drive which is connected to the Xoom with a Motorola OTG adapter. Are there some steps I need to take to see the thumb drive and its contents? Thanks.
Click to expand...
Click to collapse
I figured it out. I installed USB Mass Storage Watcher OTG (I thought Tiamat 2.0 includes it already). I then recreated a directory mnt\USB. Plug the thumb drive to the Motorola OTG adapter, then to the Xoom. USB Mass Storage Watcher OTG loads automatically. Save and Mount the drive to mmt\USB. Hope this help.

[Q] USB Tether on Tiamat (Manta Ray with Tachi kernel)

Has anyone been able to get USB tethering to work on Tiamat Manta Ray with the Tachi kernel? If you have can you please share with me the steps you took to get it working?
Thanks
I use USB OTG watcher - there is a thread somewhere here about it but it is available from the market. It doesn't work for me if USB debug mode is on. (i.e. settings>applications>development>"USB debugging" unchecked.
USB OTG watcher lets you mount the external drive and you can then browse to it using a file manager such as ES File Explorer.
Hope this helps.
Thanks I will give it a try with USB debugging turned off. I am not sure if the USB OTG watcher will be able to help though since I am trying to connect a USB wireless dongle to my Xoom and not a flash drive. I know some people have been able to get USB tethering to work with their Android phones so I am hoping I can get it to work with my dongle.
Sorry - didn't read your question properly! I haven't tried tethering in the way you meant.
Sent from my MZ601 using XDA App
Can someone confirm the correct script to run to enable USB tethering under this kernel? I am using Scripter (included in Manta Ray) and have entered the following...
dhcpcd usb1
setprop net.dns1 8.8.8.8
When I run the script it gives me an error that interface USB1 could not be found or is invalid.
Thanks
Huckfin,
Following my mistaken response to you yesterday I tried tethering my Xoom to my laptop today. I attached the USB cable, checked my xoom was connected, and then went into Xoom settings>wireless and networking and and activated USB tethering. It worked straight off and I was able to browse etc on my laptop through my Xoom without any issues. I also checked to ensure all other networking was either off (wifi) or disconnected (network cable.)
I am on a UK 3g MZ601 Xoom with Tiamat 2.1 Hammerhead.
I'm not sure it helps solve your problem except that tethering, in my case, does seem to work without any issues.
My laptop is running Windows 7 Home Premium 64 bit.
Regards,
Sorry I am trying to USB tether in the opposite direction. You are sharing the connection from your Xoom to your PC. I have a WiFi only Xoom, so I am trying to tether my Xoom from either my cell phone or ideally a USB 4G dongle to my Xoom.
Does anyone use the USB tethering option on Tiamat's kernel?
HuckFinn said:
Does anyone use the USB tethering option on Tiamat's kernel?
Click to expand...
Click to collapse
Yes, it works for me using the script shown earlier in this thread. Could it be that you don't have the correct OTG cable? I purchased mine on ebay for a couple of bucks.
Note that I had problems tethering with Manta Ray, but stepping back to Hammerhead works just fine.
Thank you for your response, I was starting to think no one used this feature. I am slightly confused though. You said you stepped back to Hammerhead from Manta Ray. I thought Hammerhead is the newer ROM with the Tachometer kernel built in.
So just to make sure you are able to tether with Hammerhead and you had problems tethering with Manta Ray? I see a few people having issues with Hammerhead so I have been holding off for an update, plus having to wipe to update makes me a little hesitant.

Categories

Resources