[2013.04.11][2.3.1+] USB Host Diagnostics v1.3

Search This thread

Chainfire

Moderator Emeritus / Senior Recognized Developer
Oct 2, 2007
11,441
87,703
www.chainfire.eu
USB Host Diagnostics determines your device's USB host capabilities.

USB host is a very powerful feature of recent Android based smartphones and tablets, but on many firmwares (both stock and custom) the feature is somewhat broken.

For example, at launch the Galaxy Nexus told all the apps and the Market that it supported USB host, but USB host did not actually work (this was fixed in the Android 4.0.2 update). This broke several apps.

That is just one example of many. There are even cases where OEMs advertise USB host support, but the device does not support it at all. It appears as if USB host support isn't tested by Google or the OEMs when they push out new firmwares and devices at all.

As we cannot depend on Google or the OEMs to correctly provide information regarding USB host support, and the Android framework will regularly lie about it to both the Market as well as Android apps, this application was created so you can test your device's USB host capabilities for yourself.

If you allow it, the app will also submit your results to my website, so together we can create a complete database of devices and firmwares and their USB host support.

This tool may also come in handy for those porting firmwares.

Requirements:
- Android 2.3.1 or newer
- (Optional) Root
- USB OTG cable (unless your device has a fullsize USB port)
- USB memory stick, or another USB device to test the connection with

The result database is available here:
http://usbhost.chainfire.eu/

The download can be found on Market here:
http://pkg.to/eu.chainfire.usbhostdiagnostics

It is also attached: DO NOT REDISTRIBUTE

(v1.2: 9284)
 

Attachments

  • USBHostDiagnostics-v1.3.apk
    67.5 KB · Views: 139,642
Last edited:

Chainfire

Moderator Emeritus / Senior Recognized Developer
Oct 2, 2007
11,441
87,703
www.chainfire.eu
Changelog for v1.3:

- Detects some common issues with firmwares that can cause apps to be unable to use USB host, and if you are rooted, offers to (try to) fix the problem
- Gives you a unique code that can be used to locate your result, if uploaded to server
- Added option to follow me
- Fixed some more crashes
- Disabled rooted API for Jelly Bean and newer
- API 14 and higher get Holo look now
 
Last edited:

heldchen

Senior Member
Dec 21, 2010
122
30
FC on GT-I9100 (GB, XWLA4) - detecting the flash stick through the OTG USB cable seems to work on that build
 
Last edited:

Northern-Loop

Senior Member
Nov 30, 2009
570
180
galaxys2 GT-I9100 IML74K samsung/GT-I9100/GT-I9100:4.0.3/IML74K/XXLPB:user/release-keys Custom 2 Yes Yes Yes Yes Yes Yes Yes Yes Full

USB Sticks fail to detect the only thing I can get working is your DSLR application.
 
  • Like
Reactions: [email protected]

Chainfire

Moderator Emeritus / Senior Recognized Developer
Oct 2, 2007
11,441
87,703
www.chainfire.eu
galaxys2 GT-I9100 IML74K samsung/GT-I9100/GT-I9100:4.0.3/IML74K/XXLPB:user/release-keys Custom 2 Yes Yes Yes Yes Yes Yes Yes Yes Full

USB Sticks fail to detect the only thing I can get working is your DSLR application.

Try my StickMount app from the Market, it's actually for the G.Nexus. Your build just doesn't have automounting and such enabled... doesn't mean USB host isn't working :)
 

Chainfire

Moderator Emeritus / Senior Recognized Developer
Oct 2, 2007
11,441
87,703
www.chainfire.eu
Sweet that works!! Detects FAT32 SD cards but didnt detect NTFS USB stick.

Is that something the CM9 devs can change to enable it by default?

For NTFS the right module has to be loaded... ntfs-3g, from the top of my head. Automounting should also be fixable, several devices do it, but I have no idea where it would be configured.
 

CZroe

Senior Member
Nov 13, 2011
707
100
Newnan, GA
I noticed that some docks for Xperia phones have a full-size USB port that they say is for USB accessories. The dock with my Xperia PLAY 4G (R800at) only passes microUSB and audio, but I'll get the adapter and try anyway. With built-in gaming controls, I doubt I'll *need* USB host support anytime soon, but it will be nice to know!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 54
    USB Host Diagnostics determines your device's USB host capabilities.

    USB host is a very powerful feature of recent Android based smartphones and tablets, but on many firmwares (both stock and custom) the feature is somewhat broken.

    For example, at launch the Galaxy Nexus told all the apps and the Market that it supported USB host, but USB host did not actually work (this was fixed in the Android 4.0.2 update). This broke several apps.

    That is just one example of many. There are even cases where OEMs advertise USB host support, but the device does not support it at all. It appears as if USB host support isn't tested by Google or the OEMs when they push out new firmwares and devices at all.

    As we cannot depend on Google or the OEMs to correctly provide information regarding USB host support, and the Android framework will regularly lie about it to both the Market as well as Android apps, this application was created so you can test your device's USB host capabilities for yourself.

    If you allow it, the app will also submit your results to my website, so together we can create a complete database of devices and firmwares and their USB host support.

    This tool may also come in handy for those porting firmwares.

    Requirements:
    - Android 2.3.1 or newer
    - (Optional) Root
    - USB OTG cable (unless your device has a fullsize USB port)
    - USB memory stick, or another USB device to test the connection with

    The result database is available here:
    http://usbhost.chainfire.eu/

    The download can be found on Market here:
    http://pkg.to/eu.chainfire.usbhostdiagnostics

    It is also attached: DO NOT REDISTRIBUTE

    (v1.2: 9284)
    5
    What about Galaxy S5 Mini G800F with Lollipop 5.1.1?

    Testet my S5 mini with your app and an android endoscope camera.
    Despite Kernel and API claims "yes" the camera isn't recognized. See following screenshots. Is the OS the Problem?

    3a4d189b109fcbba0eeda4c12e9f4101.jpg


    9ff4eefdfa8757b4a50f997b4203c827.jpg


    Gesendet von meinem SM-G800F mit Tapatalk
    4
    Changelog for v1.3:

    - Detects some common issues with firmwares that can cause apps to be unable to use USB host, and if you are rooted, offers to (try to) fix the problem
    - Gives you a unique code that can be used to locate your result, if uploaded to server
    - Added option to follow me
    - Fixed some more crashes
    - Disabled rooted API for Jelly Bean and newer
    - API 14 and higher get Holo look now
    3
    galaxys2 GT-I9100 IML74K samsung/GT-I9100/GT-I9100:4.0.3/IML74K/XXLPB:user/release-keys Custom 2 Yes Yes Yes Yes Yes Yes Yes Yes Full

    USB Sticks fail to detect the only thing I can get working is your DSLR application.

    Try my StickMount app from the Market, it's actually for the G.Nexus. Your build just doesn't have automounting and such enabled... doesn't mean USB host isn't working :)
    2
    Try my StickMount app from the Market, it's actually for the G.Nexus. Your build just doesn't have automounting and such enabled... doesn't mean USB host isn't working :)

    Sweet that works!! Detects FAT32 SD cards but didnt detect NTFS USB stick.

    Is that something the CM9 devs can change to enable it by default?