Ubuntu 14.04 and Android, can't see phone on my computer

I have installed gMTP and tried to follow this tutorial to solve this problem: http://www.webupd8.org/2013/01/upgrade-to-gvfs-with-mtp-support-in.html

But neither worked. I tried to connect both my phone (Nexus 4) and my dad's phone (Galaxy Note 2), and neither is being detected by Ubuntu. They don't show up on my files and on gMTP.

Is there another fix? or something more specific for Android 4.3 and Ubuntu 14.04


Solution 1:

I had the same problem this fixed it:

sudo apt-get install mtpfs

Once that's installed, plug in the phone to your computer. If nothing happens, on the phone go to Settings > Storage > Upper Right Corner (⋮) > USB Computer Connection > Media Device.

edit:

Settings > Search (type in "usb") > USB configuration ... If non existent make sure developer options have been enabled.

Open Settings> About> Software Information> More.
Then tap “Build number” seven times to enable Developer options. ...
Go back to Settings menu and now you'll be able to see “Developer options” there.
Tap it and turn on USB Debugging from the menu on the next screen.

Once they have been enable and the above package installed, also be sure to have the phone plugged in and then go back into developer options and update the USB configuration as shown in the picture below.

enter image description here

Solution 2:

I use Android 7, Ubuntu 16.04.

My phone did not connect via USB. Only blank Nautilus window opened. Installing mtpfs did not help. Phone was mounted, hovering the mouse over "Samsung Android" field in Nautilus showed "mtp://[USB 001, 014]/". Press eject did not change the condition. Pressing alert dialogue in phone to allow computer access just opened another blank Nautilus window. In Android 7 I can no longer find developer options or how to set phone as media device.

I gave the following commands in the terminal:

  1. sudo apt-get install jmtpfs
  2. sudo mkdir /media/myphone

After doing this, the phone connected without problems. I am not sure the second step is needed. Further steps (if someone may need them) can be found here: How to connect Android 7.1 to Ubuntu Linux with USB?

When I now connect the phone, Nautilus will still open with a blank window, but after pressing the alert box "Allow computer access" (that appears in the phone), a second window opens in Nautilus, showing both phone memory and external card.