USB file transfer support for Mac OS X
As a Jolla user, how I can transfer media files and associated meta data between my Mac and Jolla phone?
We have moved to a new Sailfish OS Forum. Please start new discussions there.
As a Jolla user, how I can transfer media files and associated meta data between my Mac and Jolla phone?
Same request for Linux users :) We need a simple solution for transferring data in both ways without activating devel mode and SSH connection!
My "old" Samsung Galaxy S2 has an USB utilities called "USB mass storage" you turn on after connecting to a Linux PC. The device is then properly mounted (/media). Without this utility the device is shown as gphoto2://[usb:002,006]/, I can see folders and files but transferring file from Linux to the device is unstable. With this utility I was also able to listen music in my car, without the device is unreadable. Having a similar utility on Jolla would simplify USB connections.
yann ( 2014-01-18 12:47:03 +0200 )editJolla uses Microsoft's MTP, (which is rubbish btw), for USB-transfers. MTP's wikipedia article ( http://en.wikipedia.org/wiki/Media%5FTransfer%5FProtocol%23Unix-like ) suggests that you could use this: http://www.android.com/filetransfer for OS X to enable MTP.
As for Linux users, there are more options. I'm personally using kio-mtp (https://projects.kde.org/projects/playground/base/kio-mtp).
kio-mtp is considered 'experimental' and you can't find it from any stable branches. But you can still get it from unstable: http://packages.debian.org/unstable/kde/kio-mtp
Of course, if you don't use KDE, you're probably better off using gvfs.
Milo ( 2013-12-24 18:58:59 +0200 )editRelated thread on maemo.org: [http://talk.maemo.org/showthread.php?t=92095]
Winfried ( 2013-12-24 22:11:33 +0200 )editanswered 2013-12-25 13:40:47 +0200
This post is a wiki. Anyone with karma >75 is welcome to improve it.
USB transfer impossible with a Mac... A pity :-(
So, I have the same issue regarding the file transfer. I read somewhere that you may want to use SyncMate. But since it's Shareware you have to pay for it to actually work decent (thats rubbish). So i searched some more and found a Freeware call XNJB which works with Mavericks ok and will let you move files between mac and jolla by usb. Let me know if that works. Still... I would really appreciate an integrated method. Why would anyone use MTP... it just doesn't occur to me.
I've used Syncmate very successfully with the Nokia e71 (I think) and a Mac but isn't working with the Jolla at this time. I've reported it to their support, along with the current VID/PID pair for Jolla.
edit: having given up on USB, SyncMate's WiFi module works reliably, but slow. You will need to find the syncmate module apk file on their website and install it first.
Sanjay Mehta ( 2014-10-09 08:40:57 +0200 )editI recently learned, that there should be support threw the libmtp (http://libmtp.sourceforge.net) project soon. In the GIT repository of the project, support for jolla phones was added (see http://sourceforge.net/p/libmtp/bugs/958/ and http://sourceforge.net/p/libmtp/code/ci/master/tree/src/music-players.h) recently. Unfortunately, there is no official release for it yet so that MacPots or so could use it.
It is possible to transfer files via usb on mac using ssh, and downloading Horndis driver on your mac (http://joshuawise.com/horndis).
See the discussion here: http://talk.maemo.org/showthread.php?p=1398405 http://talk.maemo.org/showthread.php?p=1398456
Jan, interesting. I just installed Horndis and I see the device named "Sailfish" in the network devices, but I am not able to ping the phone yet. Could you give me a hint on how you configured the device on mac side? Did you use the IP 192.168.2.15 as on the phone?
Tomek ( 2014-01-12 19:49:49 +0200 )editYou must use an ip that start with 192.168.2, but not the same as the Jolla. E.g., I use 192.168.2.1 (you have to select manual ip in the mac network settings). The dev mode must be enabled in the Jolla, and when connecting the usb, you must select dev mode for the usb connection. Hope this help.
Vivien ( 2014-01-12 21:53:03 +0200 )editI finally managed to transfer files to/from Jolla on both Linux and Mac (using GUI)
On Mac (requires commercial app ExpanDrive, $39.95, see below for alternatives):
Via WLAN (note that you have to do steps 1 - 6 only once):
Via USB (note that you need to do all steps except the last only once) :
Edit: Alternatives for Expandrive:
Some free (but less integrated) alternatives for ExpanDrive are:
Filezilla (http://sourceforge.net/projects/filezilla/?source=recommended)
Fugu (http://sourceforge.net/projects/fugussh/files/Unstable/)
On Linux (you must have kde libs and Dolphin or Konqueror installed):
I think it should be possible with Mac fuse, but I have limited time, so I'd rather pay the 40$ than experiment with MacFuse. Moreover, MacFuse development seems to have stopped, so I don't know if it still works with OS X Mavericks. I'll search a bit more to see if there is a free GUI app.
Winfried ( 2014-01-03 22:36:52 +0200 )editJust made a fast research and found that: https://www.macupdate.com/app/mac/8761/fugu
The configuration is easy:
Connect to: 192.168.2.15
Username: nemo
Password: the ssh password set on the Jolla
Click connection, and its done.
It seems a little bit old (last update 2011), but does the job.
Vivien ( 2014-01-03 23:30:22 +0200 )editI successfully installed libmtp on my mac via homebrew.
bash-3.2$ brew install libmtp
==> Downloading http://downloads.sourceforge.net/project/libmtp/libmtp/1.1.6/libmtp-1.1.6.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libmtp/1.1.6
==> make install
� /usr/local/Cellar/libmtp/1.1.6: 26 files, 1.2M, built in 13 seconds
But the device is not detected:
bash-3.2$ mtp-detect
libmtp version: 1.1.6
Listing raw device(s)
No raw devices found.
bash-3.2$ mtp-connect
libmtp version: 1.1.6
No devices.
bash-3.2$
This is what dmesg is reporting:
[DGMTP_Drv.cpp][probe()][00097][ERRO] Current vid (0x2931) and expected vid (0x04e8) is not matchedAppleUSBCDC: Version number - 4.2.1b2
USBF: 255158.710 AppleUSBEHCI::Found a transaction which hasn't moved in 5000 milliseconds on bus 0x1a, timing out! (Addr: 2, EP: 0)
0 1 AppleUSBCDCACMData: start - Find CDC driver for ACM data interface failed
0 1 AppleUSBCDCECMData: start - Find CDC driver for ECM data interface failed
0 3 AppleUSBCDCACMData: start - Find CDC driver for ACM data interface failed
0 3 AppleUSBCDCECMData: start - Find CDC driver for ECM data interface failed
[DGMTP_Drv.cpp][probe()][00097][ERRO] Current vid (0x2931) and expected vid (0x04e8) is not matchedAppleUSBCDC: Version number - 4.2.1b2
I got connection to pictures, music and videos on my Jolla with my MAC via Image Capture but it seems I cannot upload anything. http://s1.directupload.net/file/d/3492/k4bloxxu_png.htm
Sailor ( 2014-01-04 01:45:05 +0200 )editJust patched the src/music-players.h with:
/*
* Jolla
*/
{ "Jolla", 0x2931, "Sailfish", 0x0a01,
DEVICE_FLAGS_ANDROID_BUGS },
And now mtp-detect partly works:
mtp-detect
libmtp version: 1.1.6
Listing raw device(s)
Device 0 (VID=2931 and PID=0a01) is a Jolla Sailfish.
Found 1 device(s):
Jolla: Sailfish (2931:0a01) @ bus 29, dev 7
Attempting to connect device(s)
ignoring libusb_claim_interface() = -3PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
inep: usb_get_endpoint_status(): Operation timed out
outep: usb_get_endpoint_status(): Operation timed out
usb_clear_halt() on IN endpoint: Operation timed out
usb_clear_halt() on OUT endpoint: Operation timed out
usb_clear_halt() on INTERRUPT endpoint: Operation timed out
ignoring libusb_claim_interface() = -3LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0
OK.
Sailor (
2014-01-04 02:39:25 +0200
)editGot MTP running @ OSX output follows:
bash-3.2$ mtp-detect
libmtp version: 1.1.6
Listing raw device(s)
Device 0 (VID=2931 and PID=0a01) is a Jolla Sailfish.
Found 1 device(s):
Jolla: Sailfish (2931:0a01) @ bus 29, dev 7
Attempting to connect device(s)
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
inep: usb_get_endpoint_status(): Operation timed out
outep: usb_get_endpoint_status(): Operation timed out
Error 2: PTP Layer error 02fe: get_all_metadata_fast(): could not get proplist of all objects.
Error 2: Error 02fe: PTP: Protocol error, data expected
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
USB low-level info:
bcdUSB: 512
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
idVendor: 2931
idProduct: 0a01
IN endpoint maxpacket: 512 bytes
OUT endpoint maxpacket: 512 bytes
Raw device info:
Bus location: 29
Device number: 7
Device entry info:
Vendor: Jolla
Vendor id: 0x2931
Product: Sailfish
Vendor id: 0x0a01
Device flags: 0x00000000
Device info:
Manufacturer: Jolla
Model: armv7hl
Device version: xxxxxxxxxx
Serial number: xxxxxxxxxxxxxxxxx
Vendor extension ID: 0x00000006
Vendor extension description: microsoft.com:1.0; microsoft.com/WMPPD:11.0;
Detected object size: 64 bits
Extensions:
microsoft.com: 1.0
microsoft.com/WMPPD: 11.0
Supported operations:
1001: get device info
1002: Open session
1003: Close session
1004: Get storage IDs
1005: Get storage info
This thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2013-12-18 15:31:33 +0200
Seen: 23,677 times
Last updated: Dec 22 '17
SD-Card access via USB is needed [released]
Add option to hide dotfiles in USB/MTP connection [answered]
Remove individual transfers [released]
MicroSD as removable drive in Windows [released]
usb symbol on charger [not relevant]
Transfer/sync photos from N9 ? [answered]
HowTo: Connecting to Jolla via SSH over USB [answered]
Browsing device over USB confusing and very slow (using KDE)
Would be nice get it working with iPhoto and iMovie without need to use Image Capture app on OS X. Getting access to other files would be nice too and preferably so that mounting a file system would be the solution. That would solve the iPhoto issue too.
Penguin ( 2013-12-24 22:30:26 +0200 )editThanks for all fine answers! Actually a ready-made solution is needed for accessing Jolla's files from Mac and other computers without developer mode. [Says somebody who has developed enough and only wants to use his device]
jpek-m ( 2014-02-03 21:42:32 +0200 )editI have to say I'm rather shocked this does not work. I knew I was going to lack the bliss of iCloud syncing everything, but not even showing up as a USB drive (like the N9)? Basically it seems there is no user-friendly way of hooking up the Jolla with a Mac. Really unfortunate considering how popular Macs are these days.
Setok ( 2014-02-17 00:25:03 +0200 )editWould be nice if USB Mass storage would be supported in addition to MTP.
avdwoude ( 2014-02-20 02:09:38 +0200 )editApparently the Jolla USB vendor/product IDs changed in the 1.0.4.20 update. When selecting "PC Connection" mode, the device comes up as 2931:0a05 now, but it used to be 2931:0a01. Only the latter was added to the development version of libmtp, so this might need yet another entry now.
raimue ( 2014-03-18 03:38:57 +0200 )edit