Android MTP connection on Ubuntu 12.04

Source: Internet
Author: User

My Ubuntu 12.04 system has been unable to connect to my Galaxy Nexus 3 phone. Today I am determined to solve this problem. Google found a solution.

First, update the MTP library. It is said that the MTP library of Ubuntu 13.10 is very easy to use and can be downloaded directly from the Internet.

Sudo add-apt-repository ppa: langdalepl/gvfs-mtp

Enter your user password and than you'll be shown following text:

You are about to add the following PPA to your system:
These builds of gvfs have my native mtp backend backported from gvfs master. Use this to easily access MTP based devices with Nautilus.
More info: https://launchpad.net /~ Langdalepl/+ archive/gvfs-mtp
Press [ENTER] to continue or ctrl-c to cancel adding it

Hit the Enter Key. After this is done you need to type following command, which updates the package list:

Sudo apt-get update

After this was successful you need to upgrade the installed packages:

Sudo apt-get upgrade

Then, the USB error message is displayed, indicating that you want to add the connection rules of Android In ubuntu.

3. Configure 51-android.rules:
Sudo gedit/etc/udev/rules. d/51-android.rules
Paste the following at the end of the file (if the file does not exist then just paste ):
# LG-Nexus 4
SUBSYSTEM = "usb", ATTR {idVendor} = "1004", MODE = "0666"
# Samsung-Nexus 7 & 10
SUBSYSTEM = "usb", SYSFS {idVendor} = "18d1", MODE = "0666"

Save and exit.
4. Make the file executable:
Sudo chmod + x/etc/udev/rules. d/51-android.rules
5. Restart udev
Sudo service udev restart

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.