If you are a Ubuntu user and own an Android device (running Android version 4.0 or above), you will know that you can’t plug in the device to your computer and have it show up in your file manager. The reason for this is because Android 4.0 and above is using MTP protocol as the connection bridge and MTP is not fully supported in Linux. We have previously shown you how to connect your Galaxy Nexus and Kindle Fire to Ubuntu, but those methods are usually a hit or miss and pose more problems than usual. Today, I am going to show you another method to connect up your Android device and Ubuntu.
Go-mtpfs is a simple FUSE filesystem that is built upon the MTP library used for previous tutorials. Once you have compiled and installed it, you will be able to mount and unmount your Android device easily and reliably. I have tested it on my phone and it works all the time.
The developer of Go-mtpfs does not provide a PPA or deb file, so you have to grab the source and compile it manually.
sudo apt-get install golang fuse git-core libmtp-dev libfuse-dev sudo adduser $USER fuse mkdir /tmp/go GOPATH=/tmp/go go get github.com/hanwen/go-mtpfs sudo mv /tmp/go/bin/go-mtpfs /usr/bin/ mkdir ~/Android
Alternatively, you can use the unstable PPA by WebUpd8:
sudo add-apt-repository ppa:webupd8team/unstable sudo apt-get update sudo apt-get install go-mtpfs
Once installed, plug in your Nexus 7, Galaxy Nexus or any other phone that are using the MTP protocol, to the computer.
1. Create an “Android” folder in your Home directory. Ignore this if it is already created.
2. Unlock your Android device. (It won’t work if your Android device is locked).
3. In the terminal, type:
4. Open your file manager and you should see your Android device mounted.
From here, you will be able to access the internal SD card of your Android device and copy/move files over from your computer.
Note: It is important not to pull out the cable and disconnect the device while it is mounted. To properly unmount the device, use this command:
fusermount -u ~/Android
For Unity Users:
If you are using Unity desktop, you can install the custom Unity launcher to easily mount and unmount the device.
sudo apt-get install go-mtpfs-unity
Open your file manager and navigate to “/usr/share/applications”. Drag and drop the “Mount Android Device” launcher to the Unity launcher.
Image credit: USB cable on white background by BigStockPhoto
Receive the latest update in your inbox.