I have an Android phone (Samsung Galaxy S3) and I wish to take the music files I have off of it and store them on my laptop which is running Ubuntu 12.10. Upon connecting my phone to my computer I can see the phone but if I try to open it to view it's contents I receive an error saying that my device was not mounted. Is there any quick fix which will allow me to take music and other files from my phone to store them on my computer?
Asked
Active
Viewed 1.9e+01k times
2 Answers
37
I gave up trying to get MTP support on Linux for the moment.
Here is the solution I use now:
- On your Android device, install FTP Server (it's free and open source)
- On your Ubuntu computer, install Filezilla
- Make sure both your computer and your Android device are connected to the same WiFi network
- On Android, launch FTP Server, and check "Running". It will provide you an IP and a port.
- In Filezilla, connect to yoru Android device using these information, and ftp/ftp as login/password (you can change this in FTP Server if you want)
- You can then navigate into your device from your Ubuntu computer! I usually use this to transfer music on my Android Samsung Galaxy S3 (I put it in /storage/extSdCard/ directory)

Pierre
- 1,130
-
Nice solution. I wish I knew about FTP server earlier. Now I use almost exclusively Bitorrent Sync to do that. It works quite well on linux and is ideal for very large files. – TKrugg Dec 21 '13 at 15:15
-
-1 completely insecure - the app doesn't support encryption at all. I haven't tried it, but it looks like Primitve FTPd supports SSL. – l0b0 Oct 06 '15 at 17:25
-
1I gave up on MTP because the transfer rate is so unreasonably slow, thanks Microsoft. – mchid Nov 14 '15 at 03:36
-
2@l0b0 -1 seems harsh. This is a perfectly valid solution on a secure private Wifi network. (+1) – Sparhawk Jan 19 '16 at 22:14
-
1Installed ES File Explorer & Used Remote Management to Copy files to device via FTP. – imbayago Apr 25 '16 at 14:36
-
Can confirm this works for 16.04, though one file at a time somehow. – katya sehgal Jan 01 '17 at 09:10
23
This android version uses MTP (Multimedia Transfer Protocol) and PTP (Picture Transfer Protocol). Ubuntu doesn't come with MTP support installed. Install gMTP and you can transfer the files.

Demis
- 381
- 1
- 5
-
Sweet, and that seems like exactly what I was looking for especially beacuse I didnt have this issue when in the PTP usb mode – John Dream Jan 13 '13 at 20:13
-
1gMTP may work for other phones similar but the S3 was unable to connect even after using
Run $ mtp-detect
– John Dream Jan 14 '13 at 20:46 -
1Just tried this myself with a Samsung Galaxy S2 to no avail. Kept having to force quit. In the end I transferred the desired items to memory card and plugged that into the computers card reader. Bit long winded but it works. – AvieRose Feb 28 '13 at 16:48
-
-
What about cloud storage? Dropbox is probably the most popular, Ubuntu One also has an android app; personally, I use SpiderOak (but I heard that its android app is not very good - I didn't test it myself, though, and generally I found SpiderOak superior to Dropbox). – mbork Apr 05 '13 at 23:59
-
gMTP also worked for me with a Samsung Galaxy Note 10.1 - but only after updating libmtp to the latest version per these instructions: http://www.humans-enabled.com/2011/12/how-to-fix-samsung-galaxy-nexus-mtp.html – del Jun 01 '13 at 12:55
-
This worked for me. Thanks - Here is the command: sudo aptitude install mtp-tools mtpfs gmtp – Sileria Aug 06 '13 at 06:17
-
-
gMTP
also works in Ubuntu 14.04 with Lenovo s650 phone with a small action: I had to upgrade some libraries fromppa:langdalepl/gvfs-mtp
and now I can access and download phone content in gMTP. – conualfy Jul 06 '14 at 13:53 -
1Doesn't work for me with an HTC One. Never detects the device. Running
mtp-detect
gives me the error "PTP_ERROR_IO: failed to open session, trying again after resetting USB interface". – Cerin Sep 24 '14 at 13:16 -
5Correction. gMTP does technically work, but is so horribly slow as to be unusable. It takes about a minute for every connect/browse/add/delete action to run. Why in the world did Android abandon the USB storage device interface that was blazing fast and "just worked"? – Cerin Sep 24 '14 at 13:20
-
@Cerin I believe it is because directly mounting the filesystem can cause apps to crash or unmount if any files are in use. Still, it seems like that would be a much better trade-off in my opinion. – mchid Nov 14 '15 at 03:40
-