[APP][2.1+][ROOT] Usb Host Controller 0.42

Search This thread

akaSM

Senior Member
Apr 22, 2012
91
24
Does this work on my xperia mini pro (SK17i) ??

Sent from my SK17i using xda premium

A friend uses this on her Mini Pro so yeah, it should work. Will it work as soon as you install it? Will you have to add/so something else? I have no idea because I don't know you phone and, haven't seen hers for quite some time.
 

abraXxl

New member
Jul 30, 2011
4
0
Hi,

thanks for this App. It is really useful.
The mount points are perfectly configurable.

I like to have the mount options also configurable, so you can additionally specify "-o uid=1023,gid=1023" when mounting VFAT filesystems at /sdcard/ehdd.
With this it would be posible to access the files without needed root permission in the file browser.

Thanks.

(Using it on Samsung Galaxy Tab P1000)
 
Last edited:

carpler

Senior Member
Jan 26, 2011
116
36
Hi!
As I wrote in this post, I can not use USB host on my Galaxy S with CaynogenMod 10.2 and Semaphore 3.3.0.
The kernel claims to comes with USB host functionallity, but I can recognized an USB DAC that I connect to the phone.

I try to launch the "USB Host controller" (0.44) app, but it hangs on the first screen with "Please wait...".
Can someone help me?
 

Sam419

New member
May 26, 2014
1
0
OTG CABLE

Hi,
I have brought OTG cable which is not connecting to Lg L5 E615
i have usb host and usb host controlled, wht should i do
pls hep me out

thanks
 

sethu1984

New member
Jul 13, 2014
2
0
Mount usb work only with owner Permission

I am using Micromax A110 with Custom Rom (Android 4.2.2). I have installed usb host controller it recognize my mass storage device also i can mount to specific folder such as /mnt/sdcard/ehdd but this folder shows nothing in ES file explorer but i can see all contents in some root explorer where i found this folder contains only owner permission not user/group permissions, i tried to apply user/group permissions but i am failed with a message "permission change was not successful"
 

kiteman69

New member
Jan 16, 2008
1
0
otg problems

Hi
I have a problem with my elephone P8 with custom rom 4.2.2 and usb otg connections.
My phones doesn't see any mass storage device instead it works with usb device.
On usb host controller into the info I read "S3C USB host driver NOT found" and "Root hub present, USB Host mode is active"
How can resolve my problem?

Thankyou
 
Last edited:

vinaytumbemane

New member
Jun 2, 2015
1
0
how to enumerate USB device without using USB Host API

I developed one app to read data from USB device. I used USB Host API. It works fine on Nexus 7 tablet.
But I need to use it on pcDuino3. Android 4.2.2 OS is installed on that. But my app does not recognize the USB HID device on pcDuino3. It is unable to enumerate the device connected.

I used your app. It recognizes the USB HID Device and enumerates.
Where can I get source code for your app? Which API you used to detect attached USB device?
Please help...
 

vume5

New member
Jul 4, 2015
2
0
Hi!
Is there a way to manually activate USB host mode?
My Samsung tab pro recognizes HDDs and keyboard with a USB otg cable,
but I would prefer carrying one less cable over automatic host mode detection.
Currently I use a small piece of aluminium foil to short-circuit pins 4-5, but that is a rather dirty and risky solution.
 

Tonnievirgo

New member
Oct 30, 2015
1
0
My samsung galaxy s3 gt i9300 cannot be detected by a pc. It only charges. I installed usb controller and it said "s3c usb host not found"
How do I fix it?
 

lazytmg

New member
Oct 30, 2015
3
0
Otg pendrive not working

Hlw I have a problem. My phone is Micromax bolt D321 which is rooted and support otg usb.
I tried to connect pendrive but it won't show... I used stickmount and usb host controller also didn't helped me.. Usb controller shows “S3C USB Host driver not found”.what does it mean? Or I have install a kernel that supports pendrive... Where can I find it... Plz help me..
 

zakoda

Member
Nov 16, 2015
48
6
Pune
Can't get it to work on Nexus 5X (bullhead)
Configuration: PureNexus AOSP based 6.0.1.

What do I need to install (patches, modded kernels etc.) to get it working?
Also please tell me if I can't find any ready kernels, what changes do I need to make to the current build. (Or stock kernel for that matter)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 48
    Usb Host Controller

    attachment.php


    attachment.php


    attachment.php
    attachment.php


    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://xdaforums.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!
    11
    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
    4
    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)
    2
    What info/files you need, so that you can add support to other devices?

    Sent from my Derp using XDA Herp

    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.
    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)

    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