8

My Android device won't connect. I've never got MTP to work, I've only ever got it to connect by USB mass storage, which was how it was working most recently. But now, since 13.04, it seems that option has been taken away entirely.

I need to be able to connect by USB to transfer files.

When I plug in the device I get an error that says Unable to open MTP device '[usb:002,003]':

enter image description here

After some web searching, I found that I might need a program called go-mtpfs, so I tried that, and it failed:

$ go-mtpfs /media/MyAndroid
2013/07/16 16:41:43 compiled against libmtp 1.1.5
Device 0 (VID=04e8 and PID=685e) is a Samsung Galaxy Y.
2013/07/16 16:41:43 found device Samsung: Galaxy Y (04e8:685e) @ bus 2, dev 3
: 
LIBMTP PANIC: Unable to find interface & endpoints of device
2013/07/16 16:41:43 rdev.open failed: open: open returned nil

How do I get my USB device to just connect, automatically, like it used to?

Questioner
  • 6,959

5 Answers5

4

On your Galaxy when you plug it in, a notification should pop up in your notification area saying that USB is connected. If you tap it, it should bring up two options. One is use as mtp device and the other is use it as mass storage. Tap mass storage then tap the new notification that pops up and tap the button that says "mount USB storage". It'll pick it up like a thumb drive (or two thumb drives, depending on if you have a memory card.) From then on when you connect it, just tap "mount USB storage" ... or so it works like that on my stock Galaxy S II. Hope it helps!

Eli
  • 131
  • 6
4

this may help(if not please give feedback):

sudo apt-get install mtp-tools mtpfs
Alex Jones
  • 8,192
0

An other possibility, if adb commands have been used just before : adb kill-server

Works for me, hope it could be usefull... (Could be an explaination of the benefit of reboot ?)

[Computer = Mint 20.1 Cinnamon, 5.4 Linux kernel, phone = Galaxy S7 under /e/OS see https://e.foundation/]

jmg74
  • 1
0

Might be the same problem as: 14.04 Cannot create/delete/manipulate files on my Android device via USB

This answer resolved it for me: https://askubuntu.com/a/564452/154516

Ralph Bisschops
  • 271
  • 3
  • 10
0

Only for suggestion, you can use kde connect indicator application in ubuntu and kde connect android app to sync notification, transfer files and many other feature.

Instruction to install kde connect indicator on ubuntu:

sudo add-apt-repository ppa:vikoadi/ppa
sudo apt-get update
sudo apt-get install indicator-kdeconnect kdeconnect

reference: Webupd8