Ask / Submit
172

USB file transfer support for Mac OS X

asked 2013-12-18 15:31:33 +0200

bijjal gravatar image

updated 2017-12-20 18:42:09 +0200

DarkTuring gravatar image

As a Jolla user, how I can transfer media files and associated meta data between my Mac and Jolla phone?

edit retag flag offensive close delete

Comments

10

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 )edit
4

Thanks 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 )edit
8

I 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 )edit
7

Would be nice if USB Mass storage would be supported in addition to MTP.

avdwoude ( 2014-02-20 02:09:38 +0200 )edit

Apparently 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

22 Answers

Sort by » oldest newest most voted
40

answered 2013-12-24 18:14:45 +0200

PhixGre gravatar image

Same request for Linux users :) We need a simple solution for transferring data in both ways without activating devel mode and SSH connection!

edit flag offensive delete publish link more

Comments

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 )edit
18

answered 2013-12-24 18:21:40 +0200

Milo gravatar image

updated 2013-12-24 18:23:29 +0200

Jolla 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).

edit flag offensive delete publish link more

Comments

Thanks, I already found it but kio-mtp isn't available in Debian Stable...

PhixGre ( 2013-12-24 18:52:06 +0200 )edit

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 )edit
4

Thanks, I installed the Android file transfer app in OS X Mavericks, but when I start it (with Jolla connected in PC mode) it says: "no Android device found".

(and 'Microsoft' and 'rubbish' are synonyms :-) )

Winfried ( 2013-12-24 21:19:23 +0200 )edit

Related thread on maemo.org: [http://talk.maemo.org/showthread.php?t=92095]

Winfried ( 2013-12-24 22:11:33 +0200 )edit

I can't get kio-mtp to show anything, but camera:/ works nicely.

Tanghus ( 2013-12-25 19:58:51 +0200 )edit
12

answered 2013-12-25 13:40:47 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2013-12-28 15:19:42 +0200

teeri gravatar image

USB transfer impossible with a Mac... A pity :-(

edit flag offensive delete publish link more
5

answered 2013-12-26 18:34:06 +0200

cma gravatar image

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.

edit flag offensive delete publish link more

Comments

I tried XNJB (last update 2011...) and no luck. It does not see the Jolla. Are you saying it actually saw your device and worked with it?

Setok ( 2014-04-13 10:17:45 +0200 )edit

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 )edit
7

answered 2013-12-28 12:24:55 +0200

Tomek gravatar image

updated 2013-12-28 12:30:32 +0200

I 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.

edit flag offensive delete publish link more

Comments

Is there actually support added? Seems the bug isn't assigned and still open.

fawz ( 2014-01-03 19:36:40 +0200 )edit

tried mtp approach in Ubuntu, but without success.

LaruX ( 2014-01-04 00:33:33 +0200 )edit
1

The issue is fixed already (in source code). All the guys from libmtp need to to is to release a version 1.1.7 so that no manual steps are needed for brew and macports. I am going to kindly request so in the forum now.

Tomek ( 2014-01-04 10:21:57 +0200 )edit

I think MTP is a rather ridiculous solution if every new device requires a code change.

Setok ( 2014-04-13 10:18:44 +0200 )edit
0

answered 2013-12-28 12:27:18 +0200

cropas gravatar image

Since i have no problem conncting (N9, N900 and android phones) to my MBP i think it's a bug.

edit flag offensive delete publish link more

Comments

1

It is, an Apple bug

dsilveira ( 2014-05-19 02:48:50 +0200 )edit
1

answered 2014-01-03 18:56:00 +0200

Vivien gravatar image

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

edit flag offensive delete publish link more

Comments

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 )edit

You 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 )edit

Sweet! It works now :) Thank you!

Tomek ( 2014-01-12 22:00:29 +0200 )edit

You're welcome ;)

Vivien ( 2014-01-12 22:07:16 +0200 )edit
9

answered 2014-01-03 22:15:56 +0200

Winfried gravatar image

updated 2014-01-04 02:13:37 +0200

I 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):

  1. Enable developer mode on Jolla, set a password for ssh and root access
  2. Note the WLAN IP address that your Jolla has (see settings -> developer mode)
  3. Download ExpanDrive from http://www.expandrive.com/expandrive (free 7 day trial, $39,95 afterwards)
  4. Unzip and start ExpanDrive
  5. In ExpanDrive click "new drive"
  6. Drive type: SFTP, enter Jolla WLAN IP address in 'server' field, set 'nemo' in username field and enter password. If you leave the 'Remote Path' field empty, you will connect to the nemo home dir (where music, photos etc are). If you enter '/' in the 'Remote Path' field, you will go to the root of the Jolla file system.
  7. Click 'connect' and your Jolla will show up in Finder
  8. If you open Aperture or iPhoto, you can import photos directly from your mounted Jolla

Via USB (note that you need to do all steps except the last only once) :

  1. Enable developer mode on Jolla, set a password for ssh and root access
  2. Note the WLAN IP address that your Jolla has (see settings -> developer mode, default is 192.168.2.15)
  3. Install Horndis on your Mac (free download from http://joshuawise.com/horndis#available_versions)
  4. Not sure if it is necessary, but re-boot just in case
  5. Connect your Mac and Jolla via USB cable
  6. When the 'USB connected" dialog pops up on Jolla choose 'Developer mode'
  7. On Mac go to System Preferences -> Network
  8. Select the 'Sailfish' network interface and give it a manual IP address in the same range as the Jolla USB IP address (for example 192.168.2.25)
  9. Now follow steps 3 - 7 from the above WLAN connection description, but in ExpanDrive connect to the Jolla USB IP address

Edit: Alternatives for Expandrive:

Some free (but less integrated) alternatives for ExpanDrive are:


On Linux (you must have kde libs and Dolphin or Konqueror installed):

  1. Enable developer mode on Jolla, set a password for ssh and root access
  2. Note the WLAN IP address (I have not tried via USB on Linux)
  3. Open Dolphin file browser on your Linux machine (or Konqueror)
  4. in the URL bar type: fish://nemo@jolla_wlan_ip_adress/
  5. enter the password that your set in step 1
  6. you can now browse and copy files to/from Jolla in Dolphin
edit flag offensive delete publish link more

Comments

It can also be done without the use of ExpanDrive, using the Terminal on mac and scp command.

I confirm the point 4, for the usb connection, the reboot (of the Jolla) is needed for the Jolla to ask "developer mode" connection.

Vivien ( 2014-01-03 22:26:14 +0200 )edit

Yes, for scp only you don't need ExpanDrive, but many users, including me, prefer to work via Finder or another GUI solution.

Winfried ( 2014-01-03 22:32:10 +0200 )edit
1

There is no free GUI for ssh on MacOS ?

Vivien ( 2014-01-03 22:33:11 +0200 )edit
1

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 )edit

Just 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 )edit
4

answered 2014-01-04 01:36:21 +0200

Sailor gravatar image

I 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
edit flag offensive delete publish link more

Comments

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 )edit

I got similar "No raw devices found." in Ubuntu. However, I am happy with sftp transfer over wifi. Actually it's very fast and convenient way to move photos/music/videos between laptop and Jolla.

LaruX ( 2014-01-04 02:12:12 +0200 )edit
2

Just 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 )edit

I just found out that PTP is blocking the MTP access under OSX. Killing all PTP applications leads to a better behaviour of MTP. I am currently trying setting up mtpfs to use with Jolla.

Sailor ( 2014-01-04 15:07:05 +0200 )edit

Does ImageCapture work for anyone else? All I'm seeing is an empty 'Jolla' device.

Setok ( 2014-04-13 10:20:33 +0200 )edit
1

answered 2014-01-04 15:14:21 +0200

Sailor gravatar image

updated 2014-01-04 15:14:45 +0200

Got 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
edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
44 followers

Stats

Asked: 2013-12-18 15:31:33 +0200

Seen: 19,420 times

Last updated: Dec 22 '17