Comment 8 for bug 903422

Here are the requested log files, one when the phone is connected in mtp mode, the other in ptp mode.

I don't think (I may be wrong) that there is a magic way to detect all Android devices, as there are so many manufacturers and products... Anyway, most Android phones will continue to rely on USB mass storage, as Android 4/ICS still support this mode when there is an SD card inserted in the phone (which is usually the case). Up to now, Galaxy Nexus is an exception, with very few others so far.