14.04 Cannot create/delete/manipulate files on my Android device via USB

I've always had issues with compatibility between my Android phone and Ubuntu, but now it's gotten to the point that I can't do anything with it over USB. It's always been that when I plug in my device, an error message appear:

"Unable to mount Android phone "Unable to open MTP device '[usb:001,035]'"

Regardless, I was able to manage my files as long as the phone was unlocked when I plugged it in. However, I now seem to get a new error message (or at least one that I don't recall getting before), which reads:

Unhandled error message:  No such interface 'org.gtk.vfs.Mount' on object at path/org/gtk/vfs/mount/1

I'm not sure if this is the root of my problem. I can view all of the files on my Android device, but when I try to do anything like creating/deleting files, I receive a message saying something like:

Error while creating directory Untitled Folder.
There was an error creating the directory in mtp://[usb001,037]/Internal%20storage.

Under "Show more details", I receive the error:

libmtp error:  Could not send object info.

I can do everything I need to over FTP, but it ridiculously slow for large files. Any help getting my Android and PC to talk to each other is greatly appreciated.


Solution 1:

The conflict is between Banshee and the file manager (Nautilus), both are trying to access the device. So if you want to copy the playlist to the device, you must deactivate all the extensions that access your device, in Banshee's Preferences.

Then open your device's music folder in Nautilus, and copy/paste your playlists from Banshee to the Nautilus' window.

This worked for me with Ubuntu 14.04 + Jolla phone with Sailfish OS.

Solution 2:

Try this

sudo apt-get install mtpfs

Then reconnect phone. This works for me. Samsung Note 2 Android 4.4.2

Solution 3:

I had the same problem, but simply closing Banshee solved it. Make sure you don't have any other programs currently accessing the device.

Solution 4:

You could also use:

adb push /path/to/file /path/to/phonestorage 

you need the ADB drivers installed on your computer. You also have to enable USB debugging in developer options on your device.

To enable developer options, go to: Settings>About Phone> Tap Build-number 7 times. (Enabled)

Then go back to settings, you'll find developer options right above About Phone. In here you'll find USB debugging.

When you enable this and connect your device to your computer, it will ask you to give your computer permission with the RSA key (tick the box before accepting it to let the permission stick).

This is for me even quicker then just copying files over like we normally do.