We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

[Request]An Hard disk mode working with Macs, for Sailfish

asked 2019-02-16 19:57:52 +0300

Hallo, I use a MAC laptop and I noticed that the XA2 is not showing as hard disk device on desktop (like the Jolla 1, I remember...)

Why Sailfish is not allowing the MAC to access to the device, like did the beloved Nokia N9? This could be a strong plus, once introduced, to access the media files and all the folders in a drag and drop way. - It would be fine limit the access to the docs and media folders, leaving the system folders hided. Actually, only Foto.app is accessing the only photographic files: almost that is working fine...

So, why don't introduce a solid hard disk mode working with Intel Macs?

Thanks

edit retag flag offensive close delete

Comments

2

No phone with Sailfish that i know of use Mass Storage Mode, they use MTP, and should behave similarly. The N9 was quite a rarity in unmounting storage on the device and presenting it to the host as Mass Storage. If Macs behave differently between different MTP devices (essentially all Android devices do MTP too), that's on them (if the implementations are compliant with the spec).

attah ( 2019-02-16 22:45:21 +0300 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2019-02-17 00:45:43 +0300

jsommer gravatar image

I'm using the Android File Transfer App on my MacBook to access the files. You have to connect your phone with USB and set the USB connection in the Sailfish settings to MTP. If you don't see this option you have to reboot the phone (for any reasons). https://www.android.com/filetransfer/

Unfortuantely this doesn't work for an encrypted SD card. I couldn't find a solution for this use case, yet. The developer documetnation says, that you can connect your device with the following command, if you have turned on the developer mode:

 sudo ifconfig usb0 up <usb-ip-address-of-your-device>
 ssh nemo@<usb-ip-address-of-your-device>

Unfortunately this doesn't work, I think because a modern MacBook uses a usb bridge for a thunderbolt bus. So you would need another parameter than usb0. I couldn't figure out the correct parameter.

But you can use ssh over WLAN with your Macbook. You have to turn on the developer mode and allow remote access. For convenience you can use an sftp client. I use Cyberduck.

https://itunes.apple.com/de/app/cyberduck/id409222199?mt=12

ssh over WLAN works fine for development and small files. It's not for the use case to transfer your music library to you phone. It would take several days.

edit flag offensive delete publish link more

Comments

Yes I used the Cyberduck mode on Jolla Phone 1. ;-) I am on an old mac, with normal USB, I will test your code.

minojolla ( 2019-02-17 15:18:09 +0300 )edit
0

answered 2019-02-17 02:26:28 +0300

olf gravatar image

updated 2019-02-17 02:30:20 +0300

I assume that employing encrypted partitions per Guide: Creating partitions on SD-card, optionally encrypted lets one access encrypted data on SD-card from a Macintosh, when utilising jsommer's method.
As I do not own a Macintosh, I have no ability to test this though.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2019-02-16 19:57:52 +0300

Seen: 231 times

Last updated: Feb 17 '19