Usb Host Controller
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Shows enumerated usb devices, and allows you to mount external mass storage devices to the filesystem. Supports advanced features like the ability to reload partition tables and reseting USB devices. It can also control the USB Host functionality of S5PC210 devices with the appropriate kernel patch (more about this later)
The application does not use the USB Host API, so it can also run on older, 2.x devices. Because of that however almost all functionality (except for the listing of USB devices) requires root access.
The application needs a device that has USB Host (or USB OTG) functionality. Most modern high-end devices have this ability. Check the documentation and specification of your device (this functionality is usually called USB OTG or USB Host)
If your device doesn't have native USB OTG functionality, there are kernel patches for some older devices to enable the functionality, most notably for:
- S5PC210 based Samsung phones (Galaxy S, Captivate, Nexus S)
- QSD8250 based HTC phones (G1, Nexus One, Desire, Incredible)
You can find appropriate kernel drivers for these phones here:
- Samsung phones: http://forum.xda-developers.com/showthread.php?t=1450298
- HTC phones: http://sven.killig.de/android/N1/2.2/usb_host/
Note that these drivers might require skills to install, and may damage your phone and void your warranty!
Changelog and downloads
The application can always be downloaded from the Android Market: https://market.android.com/details?id=hu.sztupy.android.usbhostcontroller If you have Market, please download it from there. Thanks.
Version 0.44 Download: http://android.sztupy.hu/dl/usbhost/UsbHostController-0.44.apk
Fixed:
Crashes on some devices when getting wireless wifi data
Version 0.42 Download: http://android.sztupy.hu/dl/usbhost/UsbHostController-0.42.apk
Fixed:
Crashes on orientation change while opening the application
Version 0.4 Download: http://android.sztupy.hu/dl/usbhost/UsbHostController-0.4.apk
Fixed:
Crashes on pre-gingerbread devices
Crashes when using some ad-blockers
Version 0.3 Download: http://android.sztupy.hu/dl/usbhost/UsbHostController-0.3.apk
Fixed:
Massive instability on JVU/gingerbread
Various other gingerbread fixes
Version 0.2 Download: http://android.sztupy.hu/dl/usbhost/UsbHostController-0.2.apk
Fixed:
Increased stability
Added features:
real-time dmesg logging
reload partition table of devices
reset USB devices
turn off device charging (S5PC210 devices only)
multiple mount points support
Hungarian localization
Version 0.1 Download: http://android.sztupy.hu/dl/usbhost/UsbHostController-0.1.apk
Initial release
Help/FAQ
What is this good for?
Usb Host Controller let's you see what devices are connected to your phone, and also lets you mount external drives.
There are already a lot of apps for that
Yes, but UHC has some distinctive features:
To enumerate devices it does not use neither the USB Host API, nor external applications, like lsusb from busybox. Instead it reads the information from the filesystem, which is always avialable, therefore it can be used to debug all kinds of devices which have USB host support.
It has a special features to help control the USB Host mode of S5PC210 based Samsung devices (Galaxy S, Nexus S, etc.)
It also has some features usually not available (even from the command line), like the ability to reload the partition information, and the ability to reset USB devices
How to use
Most of the functionality should be straightforward, but the USB tab might need some clarification:
The USB tab shows all the USB devices connected to your phone, that have been found by the system. Below the devices you can see all of the USB Mass Storage devices (external hard drives, flash drives, other Android phones, etc.), with their avialable partitions. You can click on any line, and based on the line you click on you will have a list of options to choose from:
Clicking on an USB device in the upper part lets you reset that device. Sometimes mice, and keyboards need to be reset for them to work correctly.
Clicking on a partition lets you mount it to a mount point. The application will ask you where you want to mount it. The list of mount points can be set inside the settings panel. If the partition is mounted you can unmount it here.
Clicking on a Mass Storage Device (not on the partitions, but the base device above tha partitions) will lets you reset the hard drive, or reload the partition table of the disk. The latter is useful, if the system doesn't recognize a change in its partition information. This is usually needed, if you connect an external card reader, and you insert or remove a card from it. It also makes conecting other Android phones as storage possible, as they will not send their partition tables until you switch the USB Storage mode on them on.
What are the options if I have an S5PC210 based phone
The application lets you change how the USB Host is working in the S5PC210 based kernels (and currently only on those!). The avialable modes are:
Client: Default mode, means no matter what happens the phone stays in client (USB gadget) mode
Host: No matter what happens, the phone switches to host mode and stays there. Not recommended.
OTG: The phone is in client mode by default but changes to host mode if an OTG cable is detected.
Auto-host: The phone is in client mode by default but changes to host mode if any type of cable is detected. (good for homemade OTG cables where pins 4-5 are not shorted)
Using Host mode is not recommended, as the root hub of the S3C Host driver won't re-enumerate devices if they are changed (It is still useful for debug purposes). If you need host mode use either OTG mode (preferred if you have a valid OTG cable, which means it has the 4th pin grounded), or auto-host mode, which you should use if you have a "non valid" OTG cable (on which the 4th pin is not connected)
Nice! Download ?
Between i have a lg optimus one. Will it work ?
Sent from my LG-P500 using Tapatalk
Nice! Download
What info/files you need, so that you can add support to other devices?
Sent from my Derp using XDA Herp
julle131 said:
What info/files you need, so that you can add support to other devices?
Sent from my Derp using XDA Herp
Click to expand...
Click to collapse
If the device has USB host mode (most newer high-end devices and tablets, from that even most chinese ones), this app should work on it just fine.
If it doesn't have, but the chip supports it then a willing developer needs to try to enable it. I'm only working on S5PC210 (Hummingbird) based phones, as I have only access to them. Patches for QSD8250 (Snapdragon) based phones are available though.
If the device has a chip without USB host support (most low-end / mid-range phones) then sorry, this is not possible.
Version 0.3 released here, and on the Market
Version 0.3 Download: http://android.sztupy.hu/dl/usbhost/...roller-0.3.apk
Fixed:
Massive instability on JVU/gingerbread
Various other gingerbread cosmetic fixes
I have a snapdragon chipset phone named Ideos X6 i think that phone had very good possiblity with usb otg .. it has hdmi out too .... i think its possible to make otg for this phone ... can anyone help out ??? Ideos X6 check it here plz
kshitij_bhatt said:
I have a snapdragon chipset phone named Ideos X6 i think that phone had very good possiblity with usb otg .. it has hdmi out too .... i think its possible to make otg for this phone ... can anyone help out ??? Ideos X6 check it here plz
Click to expand...
Click to collapse
It might work, check the topics of other snapdragon phones, like the ones mentioned above.
download now... thx
Gtablet cm 7.1.0.1
App mounts external drive,but contents is not visible. Reports s3c usb host driver not found. Any ideas? ((btw no other app works at mounting the drive:just yours. Great job)
---------- Post added at 05:43 AM ---------- Previous post was at 05:28 AM ----------
App mounts external drive,but contents is not visible. Reports s3c usb host driver not found. Any ideas? ((btw no other app works at mounting the drive:just yours. Great job)
JUGOMAN said:
App mounts external drive,but contents is not visible. Reports s3c usb host driver not found. Any ideas? ((btw no other app works at mounting the drive:just yours. Great job)
---------- Post added at 05:43 AM ---------- Previous post was at 05:28 AM ----------
App mounts external drive,but contents is not visible. Reports s3c usb host driver not found. Any ideas? ((btw no other app works at mounting the drive:just yours. Great job)
Click to expand...
Click to collapse
S3c driver only visible if you have an s3c otg controller (samsung phones). Please post a dmesg log (after connecting the device) if you can, i'll check it
Sent from my GT-I9000 using XDA App
Works on CM9 Nook Color. Have not tried any of the advanced options but it does display good info.
Thanks for making this app!!
dmsg log gtab
Here it goes
JUGOMAN said:
Here it goes
Click to expand...
Click to collapse
Is your drive formatted as FAT32? If yes according to the logs there is some problem with it.
sztupy said:
Is your drive formatted as FAT32? If yes according to the logs there is some problem with it.
Click to expand...
Click to collapse
Yes, FAT32. I can mount it without problems on my Iconia a500 (HC 3.2)but not on the gtablet. It probably has to do with the kernel, since it is not really a "true" Ginger KERNEL
thank you very much!!!!!
I've tried your application. It's very nice and work ok but is there any chance you can add support for NTFS mounting as well?
linh1987 said:
I've tried your application. It's very nice and work ok but is there any chance you can add support for NTFS mounting as well?
Click to expand...
Click to collapse
Yes, NTFS and ext2/3/4 support is work in progress.
Anyone have any success (or advice) with a dell streak 5?
Great work btw.
Cheers
Zill
Hi,
I was wondering if I could use my android phone as a PC webcam. It has been asked many times and there are solutions. But I found an alternative way to do it.
The goal was not to install anything on the PC. But that was impossible.
What you need:
- an app that does IP webcam (like https://market.android.com/details?id=com.pas.webcam)
- a PC driver that can convert IP Camera to local webcam (IPCameraDS.exe)
- and a batch script that redirects ports 8080 and 8081 to your PC (localhost or 127.0.0.1)
Code:
adb -d forward tcp:8080 tcp:8080
adb -d forward tcp:8081 tcp:8081
- adb.exe and drivers for your phone (don't forget to turn on "USB error tracking" on your phone for adb)
On your phone start the IP webcam app ("Start server")
On your PC start the cmd/batch file that redirects the ports 8080/8081.
Now you need to configure the IP Camera driver on your pc.
Start the PC program you want to use the camera with (Skype/Messenger).
Find the menu to select a camera. Select "IP Camera [JPEG/MJPEG]" and then click "Device Settings"
Select "Raw URL mode" and type "http://127.0.0.1:8080/videofeed". Then select "MJPEG mode". Now click Save and OK (don't forget to Save first!!!)
You should now have a picture of your phones camera on your PC.
Cheers
how do i make the script
With notepad? It is for on the PC and uses adb to link the ports from the phone to the PC. And save it as for example ipcam_ports.cmd
Cheers
Same for any others camera applications?
Thanks for the info, tweakradje.
Is it possible to use a similar trick for accesing the webcam using another Windows programs? For example MSPaint, or the embedded Wizard for Cameras. I have not found a way .
THANKS!!
Thank you! That driver didn't work for me on Win10 but I found this instead: http://alax.info
Hopefully no one will be traumatized by awakening this old thread
Not at all. Just surprised that it is still found. Happy cam-ing
tweakradje said:
Not at all. Just surprised that it is still found. Happy cam-ing
Click to expand...
Click to collapse
Ah there you are
Do you know if such a filter virtual driver thing can also support audio?
The IP Cam app shows the option for sending audio also, but that did not seem to work when I was testing earlier.
I tried searching for this, but it's a difficult one to find, if there is anything to find that is.
Thanks!!
Hello friends,
I am trying to connect my mobile phone as a web camera but I can not connect correctly. I downloaded an application called Droidcam but it is not compatible with my PC. I followed the steps you have written here but I can not connect my camera as a webcam on the computer either.
Can someone give me another advice?
I tried the search, but it's down.
Anyone know if it's possible or a good alternative way to access files on your SDCARD from your computer?
Thanks
you only have a few options
the main 3: ADB, MTP, FTP.
There are issues with the drive not showing up. I'm having the same problem.
MTP=error
PTP= works, but is mostly useless.
Looking at http://forum.xda-developers.com/showthread.php?t=2514396 now.
Edit: Simply removing my existing android device from device , along with the "delete driver" option fixed it. (windows 7)
I had the "universal adb driver v.72"
Noticed the Google driver has support for the nexus 5 as well.
https://developer.android.com/sdk/win-usb.html#top
Edit2: adb also works out of the box with the google driver.
WiFi File Transfer is a good alternative https://play.google.com/store/apps/details?id=com.smarterdroid.wififiletransfer&hl=nl. Airdroid is also a very good app for wireless file transfers.
Grab a ftp server to run on your phone is an alternative, but Wi-Fi transfer rates are often quite bad compared to usb.
I'm very satisfied with mtp, I nearly never transfer files between computer and phone.
.jond said:
I tried the search, but it's down.
Anyone know if it's possible or a good alternative way to access files on your SDCARD from your computer?
Thanks
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2518454
What version of windows. If it is a version without media center such as N mtp will NOT work. Same issue happened to me.
Sent from my Nexus 5 using xda app-developers app
Over the years here I've seen many members asking about enabling OTG support on their devices. I've done it many times myself on my device's. But this only works for devices that have the hardware built in to support OTG.
Recent questions by a member have gotten me to wondering and looking around to see if there were some kind of external device that could externally give an android device OTG support(provided that it works with stock kernel or maybe custom kernels if needed). I haven't found anything that even hints at the possibility.
Such an external device could be used with an app as an interface or connection so that the kernel works with the external device but the external device does all the OTG work and just allows the android device to access/use whatever device is connected to the external OTG enabling device. This could be a viable option for devices that don't internally have hardware to support OTG.
Maybe a little far fetched but I'm wondering why someone somewhere isn't already working on it. For all I know, someone could already be working on this, but I can't find anything about it.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
I use a few external ssd drives via OTG with my Android tablet, and wanted to know if there is a way to check SMART values from my tablet, without a PC (e.g. an android app equivalent to gsmartcontrol) to know if the drives are failing. Thanks
Only kow of Windows apps that do this, e.g. SSDLife.