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?
My two cents tips for OSX users. I managed to use three different solutions, one native, one free (as in speech) and the other donationware. Both require Development mode enabled on Jolla, and the password set for ssh access. Of course your device must be network reachable, via WiFi or USB networking. Take note of the IP showed in Development mode screen (mine is 10.0.1.100).
Hope it helps.
Hi @magullo , could you be more precice in the steps once Cyberduck is installed please? I have my phone in dev mode and connected with USB. I tried to open a new SFTP connection with the username "nemo" and my pwd but no connection, what am I doing wrong? Thanks,
damourti ( 2014-03-09 23:46:54 +0200 )editIn fact, HoRNDIS (http://joshuawise.com/horndis) must be installed first to allow transfers via usb. It has been explained in the first answer page.
Vivien ( 2014-03-10 00:22:38 +0200 )editI've just noticed that plugging the phone in via USB in PC connection
mode (man I wish they would rename that) to a Mac will open iPhoto and load all the photos there. Still nothing in Finder, so no general purpose file transfer, but iPhoto sync seems to be working. I haven't seen anything about this in the release notes of Saapunki (1.0.7
), Paarlampi (1.0.5
) or Ohijärvi (1.0.4
). The release notes for 1.0.4 say that MTP
support has been added but it did not work back then. IPhoto only showed an empty SDCARD, which is not where the camera stores pictures. Perhaps this is something Jolla is currently working on.
There is a slight problem with that though. IPhoto loads all pictures from the device, including all chat emoticons, map tiles, album art literally everything. I remember having the same problem with old Nokia's, I hope it's not some Apple quirk and that Jolla can do something about it.
I am running 1.0.7.18
An alternative to using USB and MTP is to install BitTorrent Sync (www.bittorrent.com/sync). I've been using that setup since Feb '14 to backup photos from Jolla to my laptop and it works great, no 3rd party servers involved. You can also use it to transfer files to Jolla but there may be some file permission issues as the mobile client is alas android. If you decide to give it a try, make sure you set it as a backup
on the Jolla side. That way the sync is one way Jolla -> Computer.
iPhoto supports MTP devices (Cameras etc) - therefore you can see your Jolla-pictures on iPhoto. Unfortunately OSX itself doesn't support MTP so unless Jolla comes up with some kind of Sync-Software there won't be a possibolity to connect your Jolla. Transfering files to Jolla on Windows or Linux (Ubuntu) works fine for me. I use OSX as well and know how annoying that system is as soon as you want to use a non-Apple device or service.
Same problem exists with Android devices (but there's an "Android File Transfer" app for OSX which solves that problem).
molan ( 2014-07-11 11:10:41 +0200 )editFile transfer between Sailfish OS and OSX is possible using Android File Transfer software at least since Aurajoki upgrade. Official webpage: Android File Transfer download
This solution works very well and I don't think we can expect Jolla to develop its own macOS sync-software.
@caprico: The mtp service at jolla side waits until it has enumerated all files in all storage areas before sending replies to OpenSession command -> pc side sw that expects speedy reply to it could get confused -> might explain why your (3) makes a difference (the mtp service gets restarted, but gets the enumeration finished faster due to "warmed up" file system caches). Maybe the biggest change in 2.0.2 is fixing of issues related to creating thumbnail icons that could make the initial delay last minutes rather than seconds on devices with lots of pictures.
spiiroin ( 2016-09-22 11:47:25 +0200 )editIt 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 )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
Finally got MTPFS to work. Needed to recompile it against my patched libmtpfs and osxfuse instead of fuse4x which is macports version.
mbp:Jolla-Dev root# cd Phone\ Memory/
mbp:Phone Memory root# ls -lah
total 2048
drwxrwxrwx 2 root wheel 0B Jan 1 1970 .
drwxrwxrwx 2 root wheel 0B Jan 1 1970 ..
-rwxrwxrwx 1 root wheel 2.4K Dec 30 00:31 .bash_history
-rwxrwxrwx 1 root wheel 18B Oct 31 16:58 .bash_logout
-rwxrwxrwx 1 root wheel 176B Oct 31 16:58 .bash_profile
-rwxrwxrwx 1 root wheel 124B Oct 31 16:58 .bashrc
drwxrwxrwx 2 root wheel 0B Jan 1 1970 .config
drwxrwxrwx 2 root wheel 0B Jan 1 1970 .gconf
drwxrwxrwx 2 root wheel 0B Jan 1 1970 .gstreamer-0.10
-rwxrwxrwx 1 root wheel 0B Dec 16 23:32 .jolla-startupwizard-done
-rwxrwxrwx 1 root wheel 0B Dec 21 15:35 .jolla-startupwizard-usersession-done
drwxrwxrwx 2 root wheel 0B Jan 1 1970 .local
drwxrwxrwx 2 root wheel 0B Jan 1 1970 .mozilla
drwxrwxrwx 2 root wheel 0B Jan 1 1970 .profiled
drwxrwxrwx 2 root wheel 0B Jan 1 1970 .qmf
-rwxrwxrwx 1 root wheel 295B Dec 31 20:05 .sh_history
drwxrwxrwx 2 root wheel 0B Jan 1 1970 .ssh
drwxrwxrwx 2 root wheel 0B Jan 1 1970 .timed
drwxrwxrwx 2 root wheel 0B Jan 1 1970 .vault
drwxrwxrwx 2 root wheel 0B Jan 1 1970 Desktop
drwxrwxrwx 2 root wheel 0B Jan 1 1970 Documents
drwxrwxrwx 2 root wheel 0B Jan 1 1970 Downloads
drwxrwxrwx 2 root wheel 0B Jan 1 1970 Music
drwxrwxrwx 2 root wheel 0B Jan 1 1970 Pictures
<output omitted>
mtpfs@osxfuse0 on /Users/user/Jolla-Dev (osxfusefs, synchronous)
@Sailor Is your MTPFS available somewhere for others ? Or any similar solution ?
Harri Hakulinen ( 2015-01-15 12:36:46 +0200 )edit@Harri Hakulinen as it does not work very reliable I did not publish it :-/.
Sailor ( 2015-01-15 12:49:07 +0200 )editFor Linux and MTP (Not Mac-OS and nor SSH).
There are many way to use MTP under Linux:
Command line: (source gentoo)
KDE:
For KIO, the project is not embedded by default in KDE, some distribution (like ARCH linux) use it, some other (Debian) in testing release, Gentoo is masked...
In function of the distribution, you need to install it....
After that, I can access to new Android device (MTP for Android > 4.x), but not Jolla... I continue to test...
Not having received my tablet yet I cannot try it, but on my android Fairphone I installed an app named "Samba Filesharing", that'll create a samba server on your LAN, then from the mac you can log in and just see the phone structure as an ordinary server. Efficient for transfering files, pictures etc.
The Samba server app is very straitghtforward, practically being two clicks away (activate app, select 'start server'). Alas it is not on F-droid, so you have to install it via the google market, but IIRC it's free.
This thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2013-12-18 15:31:33 +0200
Seen: 23,263 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