[Q] enable USB Host Mode? - Motorola Droid X2

Figured I would ask this since I can not find anything anywhere for the X2 and the usb host mode. I found a really cool app in the market to control my canon t3i from the phone but I have to be able to turn on USB Host Mode. I can't find anything about it on the phone at all.
I am rooted using - http://forum.xda-developers.com/showthread.php?t=1315711 - that thread but I am still using the stock ROM.
Do I need to put a different ROM on in order to do the USB Host Mode?
Is it even possible to turn it on?

KnightRid said:
Figured I would ask this since I can not find anything anywhere for the X2 and the usb host mode. I found a really cool app in the market to control my canon t3i from the phone but I have to be able to turn on USB Host Mode. I can't find anything about it on the phone at all.
I am rooted using - http://forum.xda-developers.com/showthread.php?t=1315711 - that thread but I am still using the stock ROM.
Do I need to put a different ROM on in order to do the USB Host Mode?
Is it even possible to turn it on?
Click to expand...
Click to collapse
PC mode possibly? could be debugginf mode? try all the modes we have if one works then there you go. I have never heard of USB host mode

Here is the link - http://forum.xda-developers.com/showthread.php?t=1202082 to the DSLR program I am talking about. Something about some phones can enable the USB host for communication between the phone and external devices while others cant.

I'm assuming you aren't sure how to enable USB Host mode? If that is correct, here is how to ensure it's enabled. This will work if you are on stock or a custom ROM (unless the custom ROM removed it which I doubt):
Click the Menu button and select Settings
Scroll down until you see Applications and select it
Select the Developer menu item in the Application settings menu you are currently in.
Ensure USB Debugging is checked. This is necessary and important.
After that, you can pull down the notification bar and you should see a "USB connection" option. You can select that and you'll get a new window with radio button choices. Mine has the following (running Eclipse 1.3):
PC Mode
USB Mass Storage
Phone as Modem
Charge Only
PC Mode allows you to access the SD Care from Windows and within ADB shell. In this mode, it allows access to what is on your internal and external SD card in the same window.
USB Mass Storage mode means that it will mount the internal and external SD cards as separate drives on your windows machine and your phone won't have access to them until you either disconnect the phone from the PC or else, go to a different USB mode.
Phone as Modem - I never use this but it allows you to use your phone as a modem for your PC. Ahh, the old days of modems. I remember running 300 baud. When I went to 1200 baud, I thought I was styling!
Charge Only - In this mode, it's only using the USB connection as a charger. You won't have access to the sd cards from within Windows, but they will be accessible from your phone.
It sounds like you want the "USB Mass Storage" mode from what you've stated.
Hopefully this helps.

KnightRid said:
Figured I would ask this since I can not find anything anywhere for the X2 and the usb host mode. I found a really cool app in the market to control my canon t3i from the phone but I have to be able to turn on USB Host Mode. I can't find anything about it on the phone at all.
I am rooted using - http://forum.xda-developers.com/showthread.php?t=1315711 - that thread but I am still using the stock ROM.
Do I need to put a different ROM on in order to do the USB Host Mode?
Is it even possible to turn it on?
Click to expand...
Click to collapse
First of all you need a kernel which has usb host mode enabled and a terminal.

You can check out this for information on USB OTG cables:http://tech2.in.com/how-to/accessor...sb-otg-cable-for-an-android-smartphone/319982
As, Levprez has pointed out you will need a kernel (not a ROM!) with USB OTG support.
Once, you have USB OTG support (and it is enabled) you can plug a device into the normal usb connector on the USB OTG cable...if it works at all...it should detect and setup the device like normal.

I recently test OTG support on my DX2, and it appears to be working. (firmware is 4.5.1A-DTN-150-30, kernel is 2.6.32.9-00005-g2440aba)
To verify status of USB OTG support, check if /proc/config.gz (compessed configuration file used for building kernel that currently installed in device) has 'CONFIG_USB_TEGRA_OTG=y' in it. If so, your kernel supports otg mode.
However, in order to connect usb device to phone you need a special otg cable with support of external +5V power. Phone itself doesn't provide required power for connected devices, which may be bad - you need additional power source for usb devices - or good - while connecting other devices you can also charge phone from external source.
Initially supported various HIDs (keyboards, mice and some gamepads) and mass storage devices (flash drives, external hdds and such), though flash drives require manual mounting within scripts or terminal emulator and, obviously, require root. Alternatively, you can add other drivers (because it's linux and source code of kernel available) to support any device you need, for example drivers for other android device xD

Droid x2 to control camera
Levprez said:
First of all you need a kernel which has usb host mode enabled and a terminal.
Click to expand...
Click to collapse
hi please let me know if you figure this out? because i also have a droid x2 and a rebel t3i and have the same idea in mind! it works on my transformer prime, but that is too big to be useful on the go. I don't think too many devices support the usb host mode except very new ones?

Related

USB is very complicated??

Hey.
I just got this phone, and man I cant get to USB mass storage!!
I got it to work once, but until then it is not working at all......
The USB icon keeps going on and off on the phone and I dont know how to fix this.....
Any help please?
awaisuk said:
Hey.
I just got this phone, and man I cant get to USB mass storage!!
I got it to work once, but until then it is not working at all......
The USB icon keeps going on and off on the phone and I dont know how to fix this.....
Any help please?
Click to expand...
Click to collapse
If you are on Windows: Samsung drivers installed?
Did you try different USB port?
Is USB debugging enabled? Settings->Applications->Development
What are the USB settings on the phone? Settings->Applications->USB settings
Mass storage mode doesn't work for me on Win 7 x64 I just use the media player setting and it works the same way as mass storage should.
It works for me just fine. One time it did do the flickering USB icon thing, but that turned out to be because the cable that I was using was going bad. It sounds like this may be what's going on in your case?
I clipped this from a post I made a few months ago...
Stresa said:
For those of you having a problem with Windows 7 recognizing your Vibrant ... here is how I fixed it on my system.
*Note: You do not need to load any special USB drivers for your phone to be recognized in Mass Storage mode in Windows 7.
*Warning: You follow these instructions at your own risk ... no screaming at me if you try it and something gets screwed up!
1) Navigate your way into the Device Manager / Universal Serial Bus Controller
2) Uninstall the device(s) "USB Root Hub" (My system had 2 listed)
3) You will lose mouse and keyboard control (because you just removed the USB Hubs)
4) Reset your PC and allow Windows to boot normally.
5) Go back to the device manager and wait for all of the "!" marks to go away as windows re-installs the USB Hubs and reinitializes all of your devices.
6) Make sure your Vibrant is in mass storage mode and has USB debugging OFF
7) Plug in your Vibrant via the USB cable and be amazed as windows recognizes your device and assigns the drive letters. After you select the mount option on your phone you will have normal access via windows explorer.
Hope this helps some of you out there !!!
~Stresa
Click to expand...
Click to collapse
Sent from Samsung Vibrant
Thanks for that I tried, but I still cant get anything to work!!
So frustrating.....whats wrong with this?

ICS and USB debug/Mass storage

With the new ICS firmware (and I don't know if its all ICS) you need to turn off debug in order to use Mass Storage.
Is there any application or other way around this? It gets a little annoying to always have to do this.
Titanium backup needs debugging on for some of my apps and if not using mass storage mode the phone connects via MTP mode which is very slow
I would willingly pay for an app/widget that does the following
Once pressed turns off debug and asks you to plug in USB for mass storage.
Prior to disconnecting the USB cable you select to disconnect which then un-mounts the storage and then turns back on debug
figure should be easy to make for some dev out there
Anyone have an idea on this?
Guess no one out there has an idea
Hmm, for me the only difference running ICS and checking or unchecking dev option/USB debugging is whether or not I can manually unmount the phone in Windows, it always connects as a media device and I have no otion to turn that off.
Mediamonkey takes forever when my phone is connected as MTP (say 15 minutes to build the sync list?), and the only real option to use it to send fresh music to my phone WAS connecting it as mass storage (15 SECONDS for the sync list).
So I would really really appreciate any hints on how to get my S2 to connect as mass storage. It's the official ROM rooted using Chainfires respective kernel.
Ciddy said:
Hmm, for me the only difference running ICS and checking or unchecking dev option/USB debugging is whether or not I can manually unmount the phone in Windows, it always connects as a media device and I have no otion to turn that off.
Mediamonkey takes forever when my phone is connected as MTP (say 15 minutes to build the sync list?), and the only real option to use it to send fresh music to my phone WAS connecting it as mass storage (15 SECONDS for the sync list).
So I would really really appreciate any hints on how to get my S2 to connect as mass storage. It's the official ROM rooted using Chainfires respective kernel.
Click to expand...
Click to collapse
Or at least an app that selects and deselects the option automatically as I mention above.
Sure a dev somewhere can make lots of money for an app like this
Solution found (works for me);
http://www.jayceooi.com/2012/03/14/...storage-on-android-4-0-ics-samsung-galaxy-s2/
How to enable USB mass storage on Android 4.0 ICS Samsung Galaxy S2?
Bring up Settings.
Click More… (under Wireless and network).
Then select USB utilities ~ Set USB cable connection mode.
Select Connect storage to PC then.
Connect USB cable from phone to PC.
Select Turn on USB storage.
That’s all.
http://www.jayceooi.com/2012/03/14/...storage-on-android-4-0-ics-samsung-galaxy-s2/
Ciddy said:
Solution found (works for me);
http://www.jayceooi.com/2012/03/14/...storage-on-android-4-0-ics-samsung-galaxy-s2/
How to enable USB mass storage on Android 4.0 ICS Samsung Galaxy S2?
Bring up Settings.
Click More… (under Wireless and network).
Then select USB utilities ~ Set USB cable connection mode.
Select Connect storage to PC then.
Connect USB cable from phone to PC.
Select Turn on USB storage.
That’s all.
http://www.jayceooi.com/2012/03/14/...storage-on-android-4-0-ics-samsung-galaxy-s2/
Click to expand...
Click to collapse
Thanks for the info but I already knew this.Also you didnt need all these steps in gingerbread and previous software versions.
Also for people using USB debug this must be turned off before being able o do all of the above.
Im just saying an app can be made that does all of this with one click
Well, get onboard here, test and say if it works.
I have USB Debugging always on and I am currently running LP7 version of ICS.
When I plug in the the phone I get the Media Device (MTP) coming up on the phone - which is ticked.
In Windows Explorer (Windows XP) just below Control Panel (in the folders window) is a +GT-I9100. Clicking on the + I see a subfolder +Phone The items in this folder are the Internal SD of the phone.
From this I just drag and drop. I haven't noticed any difference in speed between this new way and the old method in Gingerbread.
fred_up said:
I have USB Debugging always on and I am currently running LP7 version of ICS.
When I plug in the the phone I get the Media Device (MTP) coming up on the phone - which is ticked.
In Windows Explorer (Windows XP) just below Control Panel (in the folders window) is a +GT-I9100. Clicking on the + I see a subfolder +Phone The items in this folder are the Internal SD of the phone.
From this I just drag and drop. I haven't noticed any difference in speed between this new way and the old method in Gingerbread.
Click to expand...
Click to collapse
Try transferring a large file you will see the difference between transfer speeds in MTP mode and mass storage.
Also with MTP you can only do one thing at a time. For example let's say you are transferring files. While doing that you want to erase something else. It will wait for the original transfer to finish prior to starting
VAXXi said:
Well, get onboard here, test and say if it works.
Click to expand...
Click to collapse
But will this work even with debug on?
Yes. As mentioned in the linked post:
- connect cable
- classic "usb connected" notification appears in notification bar with option to do usb mount
- adb available.
Doesn't like my Mac either
When connecting my galaxy s2, I get the attached error.
fred_up said:
I have USB Debugging always on and I am currently running LP7 version of ICS.
When I plug in the the phone I get the Media Device (MTP) coming up on the phone - which is ticked.
In Windows Explorer (Windows XP) just below Control Panel (in the folders window) is a +GT-I9100. Clicking on the + I see a subfolder +Phone The items in this folder are the Internal SD of the phone.
From this I just drag and drop. I haven't noticed any difference in speed between this new way and the old method in Gingerbread.
Click to expand...
Click to collapse
MTP wont even work properly on my Windows 7 machine. It refuses to update the explorer process as long as the phone is plugged in. So navigating the phone means a lot of plugging and unplugging to get anything out of it.
Changing to UMS means my 2 devices (Internal SD and External SD) are visisble right away, but sadly are not displayed with any storage bars underneath . As a result I can't access them anyway and the second my phone goes to standby it stops the "process".
So any help or hints how to get my damned phone to actually work and show the storage bars underneath is most welcomed.

[Q] Is there any ROM/APP wich enables UMS on this smartphone?

Hi,
MTP and PTP are full of problems... so I want to have the old reliable USB Massive Storage (UMS) enabled in this phone, Is there any ROM with this feature?
I'm with stock and I would prefer not to unlock the boot loader unless I can get that feature with a ROM.
I tried this app with no success
I want any PC to detect my phone as a USB flashdrive containing only the sdcard files, not any partitions like system or data or such.
thanks
hitokiri_jaguar said:
Hi,
MTP and PTP are full of problems... so I want to have the old reliable USB Massive Storage (UMS) enabled in this phone, Is there any ROM with this feature?
I'm with stock and I would prefer not to unlock the boot loader unless I can get that feature with a ROM.
I tried this app with no success
thanks
Click to expand...
Click to collapse
Nope. UMS is dead as far as Google is concerned.
what do you mean by that? I know some ICS ROMs with UMS (but for other phones) so it's no dead dead dead and doing a quick search there are some people using ums un Jelly bean
What I mean is, UMS support isn't the way google wants people to do things.
It's a kludge when google wants phone memory not be segmented for apps vs media and such.
I've found MTP works very well on this phone compared to others i've owned.
It's a partitioning issue on any phone that comes with ICS natively.
mmm may be I wasn't clear about that, sorry,
I only want any PC to detect my phone as a USB flashdrive containing only the sdcard files, not any partitions like system or data or such.
And we are saying it isn't going to happen. What trouble are you having with mtp? Maybe we can help.
Ok, thanks, my problem is the following
I have 3 windows machines and in all of them the following happened
> I connected the LGOG to the pc and selected the pc software option in the phone
> Installed the LG software
> The LG software Drive disappeared from "Computer" (as expected I suppose)
> The phone-drive never showed in Computer
> I unplugged the phone and plugged again and selected MTP
> The phone-drive never showed in Computer either
In one of the PCs I got an error while installing the MTP driver, don't know how to solve that, if I try to reinstall the LG software the LG software driver disappears
Also I can't copy files to my phone if I don´t have Administrative access to the PC... that's main the reason I want UMS
Uh oh.
So, if I understand correctly, I'm going to need to install CM in order to use my phone as a thumbdrive.
While I have no problems using MTP, the INSANELY SLOW TRANSFERS are basically going to force me to find another solution.
Great phone, but 2MB/sec on a standard USB 2.0 port just isn't working.
More research, it appears that I'll need to install an FTP server on my phone, or use a wireless data sharing app (sadly not possible in my case as my wireless network is firewall-external to my wired one).

USB drive connection between Android and Windows no longer working in Oreo (v8)

Hi everyone,
I often transfer files between my Samsung S7 Edge and my Windows PC through USB cable. However, after (making the mistake of) letting it upgrade to Oreo (v8.0), this is no longer possible: connecting the phone via USB to my laptop only shows charging information in the swipe-down top menu, and I no longer get the prompt asking whether I want to allow access to the phone's contents. Consequently, the phone's internal&SD memory no longer shows up under Windows Explorer.
I've been searching for a fix/workaround for hours (thanks Google for this quality time!). Some of the things I've tried that didn't work:
- enable/disable USB debugging mode under developer options
- change "USB configuration" (under Developer Options) to "MTP" and to all other options there
- use a different USB cable and USB port on the laptop
- search for apps on the Play Store that can help with this (didn't find any that actually do the job)
Connecting Android phones to Windows laptops to access their internal memory through USB cable has (bemusingly!) been a problem with this ****ty OS as long as I can remember, so it doesn't surprise me that users are having to spend even more time now to get it to work again.
Any suggestions much appreciated!
longtalker said:
Hi everyone,
I often transfer files between my Samsung S7 Edge and my Windows PC through USB cable. However, after (making the mistake of) letting it upgrade to Oreo (v8.0), this is no longer possible: connecting the phone via USB to my laptop only shows charging information in the swipe-down top menu, and I no longer get the prompt asking whether I want to allow access to the phone's contents. Consequently, the phone's internal&SD memory no longer shows up under Windows Explorer.
I've been searching for a fix/workaround for hours (thanks Google for this quality time!). Some of the things I've tried that didn't work:
- enable/disable USB debugging mode under developer options
- change "USB configuration" (under Developer Options) to "MTP" and to all other options there
- use a different USB cable and USB port on the laptop
- search for apps on the Play Store that can help with this (didn't find any that actually do the job)
Connecting Android phones to Windows laptops to access their internal memory through USB cable has (bemusingly!) been a problem with this ****ty OS as long as I can remember, so it doesn't surprise me that users are having to spend even more time now to get it to work again.
Any suggestions much appreciated!
Click to expand...
Click to collapse
Hi friend just dial *#0808# choose MTP+ADB click OK and Reboot your device . Try to connect again with usb cable in PC . Good luck
Teddy Lo said:
Hi friend just dial *#0808# choose MTP+ADB click OK and Reboot your device . Try to connect again with usb cable in PC . Good luck
Click to expand...
Click to collapse
Thanks - I tried that, but I still don't see the phone's memory as a USB drive, nor any permission prompt on the phone once I connect it.
longtalker said:
Thanks - I tried that, but I still don't see the phone's memory as a USB drive, nor any permission prompt on the phone once I connect it.
Click to expand...
Click to collapse
Try to reinstall drivers ,uninstall all previously installed use USBDEVIEW tool .
https://www.nirsoft.net/utils/usb_devices_view.html
Before I do that, I should note that, when I tried on a different Win 10 PC, I get the USB drive back no problem, so the problem is Windows/PC-related, it seems?!
Turns out that, when using another USB cable, the phone is once again seen as a USB drive. I didn't think the cable could make a difference! Hope it helps others

Question Phone won't connect to pc via usb

My phone is not recognized by either my home or work pcs. I've googled and did the basics - enabled usb debugging, preferences set to file transfer. I've never had this problem with a phone before.
It will connect to a usb stick via adaptor so I can transfer files with a multi-step process. This is a pain.
thecdn said:
My phone is not recognized by either my home or work pcs. I've googled and did the basics - enabled usb debugging, preferences set to file transfer. I've never had this problem with a phone before.
It will connect to a usb stick via adaptor so I can transfer files with a multi-step process. This is a pain.
Click to expand...
Click to collapse
That's strange, either your port is damaged or you don't have drivers installed. I've heard if this happening on Windows 11, never had a problem on Linux
thecdn said:
My phone is not recognized by either my home or work pcs. I've googled and did the basics - enabled usb debugging, preferences set to file transfer. I've never had this problem with a phone before.
It will connect to a usb stick via adaptor so I can transfer files with a multi-step process. This is a pain.
Click to expand...
Click to collapse
Do you have the latest USB drivers installed?
Get the Google USB Driver | Android Studio | Android Developers
The Google USB Driver is required to perform adb debugging on Windows with Google devices.
developer.android.com
The drivers are installed. My home pc is what I used to unlock/root the phone.
When I look at Show Hidden Icons -> Safely Remove Hardware and Eject Media, there is an option to remove Pixel 6. Yet it doesn't display under File Explorer or XYplorer.
If I start up my Arch (linux) vm with VMware Workstation Pro under Removeable Devices there is an entry for Google Pixel 6 with the option to Connect (Disconnect from Host). The contents can be under Arch.
Have you tried different cables & different ports? Sometimes the cable is the problem for me.
Different cables/ports had no effect.
I've got the same issue, what's weird is I can move files with ADB but can't in Windows.
If you figure anything out please hit this back up?
First make sure you have a good usb cable.
Some cables are only made for charging.
Second install the USB drivers from Google.
If you can transfer files, but can not use ADB/Fastboot, then it is a driver issue.
vandyman said:
First make sure you have a good usb cable.
Some cables are only made for charging.
Second install the USB drivers from Google.
If you can transfer files, but can not use ADB/Fastboot, then it is a driver issue.
Click to expand...
Click to collapse
Cables/drivers are good. ADB/fastboot work fine it's the transferring of file/recognision of device in windows explorer that is the issue.
thecdn said:
it's the transferring of file/recognision of device in windows explorer that is the issue.
Click to expand...
Click to collapse
Switching from charging mode to file transfer mode in the Connected devices/USB menu should give you access to Android's internal storage from Windows. USB debugging or other Dev options aren't necessary.
I had this same problem. Connecting to pc would show connection options but they were all greyed out and the phone would only charge. I couldn't find any option in the standard settings to change this.
Eventually I found 'default usb configuration' in dev options. Default was set to 'charge only'. You can sort it from there.
edit to add: although re-reading op you may have tried this already.
I solved mine by setting to PTP mode then the PC started to recognize the phone connected
thecdn said:
My phone is not recognized by either my home or work pcs. I've googled and did the basics - enabled usb debugging, preferences set to file transfer. I've never had this problem with a phone before.
It will connect to a usb stick via adaptor so I can transfer files with a multi-step process. This is a pain.
Click to expand...
Click to collapse
It's the stupid Windows drivers. There is an .inf file you need to either edit or delete but I forgot which. Might be wpdmtp.inf in the windows directory, right click and install. You might have to uninstall the driver in device manager first, the one with the exclamation mark if it's there. Sorry it's been about 3 or 4 years since I have done this but it's most likely a driver issue.
Mike Tanner said:
I solved mine by setting to PTP mode then the PC started to recognize the phone connected
Click to expand...
Click to collapse
I'm checking this on my work pc. It gives me access to DCIM and Pictures folders only. Which give me something to work with at least.
thecdn said:
I'm checking this on my work pc. It gives me access to DCIM and Pictures folders only. Which give me something to work with at least.
Click to expand...
Click to collapse
I agree about drivers, that they're either corrupted or incomplete. What's going on in Windows Device Manager when the phone is in a certain state?
During normal operation I assume the general purpose driver is always visible.
Device Manager > Portable Devices > Pixel 6
In fastboot mode with USB debugging enabled, is this driver showing up?
Device Manager > Android Device > Android Bootloader Interface
While Android is running with USB debugging enabled, do you see an ADB driver (the daemon may need to be started)?
Device Manager > Android Device > Android Composite ADB Interface

Categories

Resources