14.04 Cannot create/delete/manipulate files on my Android device via USB
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
I had the following error:
libmtp error: Could not send object info.
error message due to a :
in the file name. I renamed the file, and the problem was solved.
Solution 5
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.
Related videos on Youtube
johnnytroll
Updated on September 18, 2022Comments
-
johnnytroll over 1 year
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.
-
Admin almost 8 yearsMake sure the device is connected in Mass storage mode (MSC) and not in Media transfer mode (MTP).
-
-
Todd over 9 yearsI have same problem as OP, and installing mtpfs did not solve the issue. I still get the same error when connecting my phone via USB, which worked perfectly fine in 12.04, 12.10, 13.04, and 13.10. Now with 14.04 upgrade, I cant seem to connect my phone at all.
-
Todd over 9 yearsim passed the 5 min comment edit window... but apparently my phone (Samsung S5) will connect if i leave the usb plugged in for about 10 mins or so. I was browsing the web for bug reports/solutions on this, then all the sudden was able to click into the phone via nautilus and find my SD card and data i wanted...
-
Todd over 9 yearsalso wanted to note - i have a second 14.04 machine that had this same problem, and simply installing 'mtpfs' fixed this, though again it took about 10 minutes after the install for it to start working. i also noticed that if i turned banshee media player on, i couldnt access data in my phone, and turning banshee off immediately restored access to the SD card.
-
abhishah901 over 8 yearsDidn't work for grand duos :(
-
abhishah901 over 8 yearsDoesnt work even after I rebooted my system... I'm using Galaxy Grand
-
abhishah901 over 8 yearsI don't use Banshee but the problem still persists
-
abhishah901 over 8 yearsI don't use Banshee but the problem still persists
-
mb7744 about 8 yearsJust want to note that this solved my problem as well -- make sure Banshee is not running in the background
-
Tony Martin over 7 yearsSame problem over adb on Samsung S5 running cyanogenmod 13.1
-
David Foerster over 7 yearsIf the screen lock was the problem you can disable it or set its timer to a much longer period in the phone configuration.
-
MalcolmOcean over 5 yearsSimilar issue due to either an emoji or an ampersand in the file name (or possibly some other weird zero-width character or something.)
-
tomasz about 5 yearsIn this mode, I can't even see anything but photos.
-
ChanganAuto over 2 yearsThis does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. To get notified when this question gets new answers, you can follow this question. Once you have enough reputation, you can also add a bounty to draw more attention to this question. - From Review