Post Reply

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

OP Chainfire

12th February 2012, 12:38 PM   |  #1  
OP Senior Moderator / Senior Recognized Developer - Where is my shirt?
Thanks Meter: 55,671
 
9,480 posts
Join Date:Joined: Oct 2007
Donate to Me
More
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)
Attached Files
File Type: apk USBHostDiagnostics-v1.3.apk - [Click for QR Code] (67.5 KB, 24067 views)
Last edited by Chainfire; 11th April 2013 at 04:29 PM.
The Following 43 Users Say Thank You to Chainfire For This Useful Post: [ View ]
12th February 2012, 01:03 PM   |  #2  
OP Senior Moderator / Senior Recognized Developer - Where is my shirt?
Thanks Meter: 55,671
 
9,480 posts
Join Date:Joined: Oct 2007
Donate to Me
More
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 by Chainfire; 11th April 2013 at 04:29 PM.
The Following User Says Thank You to Chainfire For This Useful Post: [ View ]
12th February 2012, 02:06 PM   |  #3  
Senior Member
Thanks Meter: 101
 
198 posts
Join Date:Joined: Dec 2006
Donate to Me
More
FC on Samsung Note
12th February 2012, 02:30 PM   |  #4  
OP Senior Moderator / Senior Recognized Developer - Where is my shirt?
Thanks Meter: 55,671
 
9,480 posts
Join Date:Joined: Oct 2007
Donate to Me
More
Quote:
Originally Posted by cmloo

FC on Samsung Note

Should be fixed now
12th February 2012, 02:32 PM   |  #5  
Senior Member
Thanks Meter: 24
 
113 posts
Join Date:Joined: Dec 2010
FC on GT-I9100 (GB, XWLA4) - detecting the flash stick through the OTG USB cable seems to work on that build
Last edited by heldchen; 12th February 2012 at 02:37 PM.
12th February 2012, 02:48 PM   |  #6  
Senior Member
Thanks Meter: 178
 
558 posts
Join Date:Joined: Nov 2009
Donate to Me
More
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.
12th February 2012, 02:51 PM   |  #7  
OP Senior Moderator / Senior Recognized Developer - Where is my shirt?
Thanks Meter: 55,671
 
9,480 posts
Join Date:Joined: Oct 2007
Donate to Me
More
Quote:
Originally Posted by Northern-Loop

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
The Following 2 Users Say Thank You to Chainfire For This Useful Post: [ View ]
12th February 2012, 02:54 PM   |  #8  
Senior Member
Thanks Meter: 107
 
280 posts
Join Date:Joined: Aug 2009
FCs in 9100 XWKK5 (CFroot kernel XWKK5)

http://pastebin.com/kVENXkx1
Last edited by intronauta; 12th February 2012 at 02:56 PM.
12th February 2012, 03:03 PM   |  #9  
Senior Member
Thanks Meter: 178
 
558 posts
Join Date:Joined: Nov 2009
Donate to Me
More
Quote:
Originally Posted by Chainfire

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?
The Following User Says Thank You to Northern-Loop For This Useful Post: [ View ]
12th February 2012, 04:18 PM   |  #10  
OP Senior Moderator / Senior Recognized Developer - Where is my shirt?
Thanks Meter: 55,671
 
9,480 posts
Join Date:Joined: Oct 2007
Donate to Me
More
Quote:
Originally Posted by Northern-Loop

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.

Post Reply Subscribe to Thread
Previous Thread Next Thread