How to get an undetected android phone mounted in Ubuntu 14.04


Usually for the older Android phones, Ubuntu 14.04 detects the devices out-of-the-box in most cases, but for some recent devices that is not the case. If you’re one of those guys like me, who had tried to connect your Android phone to Ubuntu 14.04, and didn’t see any reaction in the Ubuntu File Manager(Nautilus), worry no more, there is a solution to this.

First find the device as detected by Linux’s USB system, by using the following command:

$ lsusb

See the sample output below:


saji@geeklap:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 0bda:0139 Realtek Semiconductor Corp. 
Bus 001 Device 004: ID 0489:e00d Foxconn / Hon Hai 
Bus 002 Device 003: ID 04f2:b272 Chicony Electronics Co., Ltd Lenovo EasyCamera
Bus 002 Device 011: ID 05c6:9039 Qualcomm, Inc. 

The line that is of interest to us is the bottom-most one(in this case), which is the Android phone:

Bus 002 Device 011: ID 05c6:9039 Qualcomm, Inc.

In the sample, the device is a Yu Yureka (AO5510). Usually you can make out the device entry from the listed name. In the output the most relevant part is: 05c6:9039

Of that, 05c6 is the Vendor id and 9039 is the Product id.

We now have to create the file: /lib/udev/rules.d/69-mtp.rules with the following content:


# Yu Yureka
ATTR{idVendor}=="05c6", ATTR{idProduct}=="9039", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"

The line starting with the hash(#) is a comment, so you can out any descriptive, understandable line there. Depending on your device, the Vendor id and the Product id will differ, just use the relevant values to create this file. Now disconnect and reconnect your device.

Presto! The device should now be shown in the File manager.

The android device has now been detected in the file manager.

Android phone detected in file manager

Note: If it still does not work for you, try enabling the USB debug option, in the Developer Tools Menu of your android phone. I have already enabled it to get my phone detected properly.

Courtesy: http://ubuntuforums.org/showthread.php?t=2226702

One thought on “How to get an undetected android phone mounted in Ubuntu 14.04

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s