Ubuntu 14.04 and Android, can't see phone on my computer
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.
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:
- sudo apt-get install jmtpfs
- 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.
Related videos on Youtube
![asosnovsky](https://i.stack.imgur.com/HfU8x.jpg?s=256&g=1)
asosnovsky
Updated on September 18, 2022Comments
-
asosnovsky almost 2 years
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
-
bain about 10 yearsWould it be correct to say you have Ubuntu 14.04 installed, but you followed the instructions to enable the 12.04 and 12.10 PPA? Remove that PPA
sudo ppa-purge ppa:langdalepl/gvfs-mtp
"13.10 (Saucy) and newer versions of Ubuntu contain all of these changes, so you don't need to use this ppa any more." -
asosnovsky about 10 yearsI purged it, and I installed that ppa, but nothing is detected still...
-
bain about 10 years
-
asosnovsky about 10 yearsThey didnt solve it yet...
-
Admin about 10 yearssudo apt-get install mtpfs worked with a note 3 with android 4.4.2. Thanks!
-
bartolo-otrit over 9 yearsThis guide (Connect an Android device using MTP in Ubuntu 14.04 LTS) solved my problem. The 51-android.rules is missing in ubuntu 14.10. It works (at least in my case) without libmtp-dev, fuse and rebooting system.
-
yPhil about 7 yearsMe, I just had missed the "USB plugged in" notification, that I can click to set it from "charge phone" to "transfer files" (Android 7, Ubuntun 16)
-
-
asosnovsky about 10 yearsThat didnt work...
-
Michael J about 10 yearsWorked fine for me with Ubuntu 14.04 and Samsung Galaxy GT19100-T / Android 4.1.2.
-
asosnovsky about 10 yearsYea this finally worked out lol It didn;t work originally because my phone didn't has mtpfs enabled facepalm
-
Rajalakshmi over 9 yearsI can see directories but no files after installing mtpfs and browsing the phone.
-
DanielLC over 9 yearsThere's nothing in the upper-right corner.
-
Jerinaw over 9 yearsI already had mtpfs installed but the phone would not mount. I plugged the phone into a different USB port and it worked...not sure why.
-
Donato about 9 yearsSomething buggy about this. I too plugged in a different USP port and it worked.
-
Donato about 9 yearsIn fact, sometimes you even have to restart the phone.
-
Dan Ross over 8 yearsAfter installing mtpfs I had to change my phone's USB config from MTP to charging and then back to MTP. Remounting the phone from Nautilus didn't do it. The strange thing is that this all worked fine before I upgraded Android a few days ago. Ubuntu 14.04, Nexus 5 with Android 6.
-
mchid over 7 yearsThere is no "usb configuration" under developer options.
-
Misterio over 7 yearsCan confirm this works perfectly with 16.04 and the latest Android.
-
cvr almost 7 yearsInstalled mtpfs. I press eject but Nautilus window still opens blank when phone is connected. I confirm one alert box in phone to allow computer access, that will just open another blank Nautilus window. I can not find developer options or how to set phone as media device in Android 7. Use 16.04. Any advice appreciated.
-
cvr almost 7 yearsIf I hover mouse over "Samsung Android" field in Nautilus it shows mtp://[USB 001, 014]/ I assume it means the phone is mounted. Nautilus also opens new window when I confirm computer access in the phone. But still blank Nautilus windows.
-
cvr almost 7 yearsMy problem is solved, using this: askubuntu.com/questions/854332/…
-
WinEunuuchs2Unix almost 7 years@ycc_swe Thank you for sharing your journey. You might want to write an answer of your own and post it here. My answer here was one of the first ones I had written and now I deem it to be low quality. As such I will be deleting it soon.