Author Topic: MTP No no no!  (Read 4888 times)

0 Members and 1 Guest are viewing this topic.

Offline desputin

  • Newbie
  • *
  • Posts: 41
    • View Profile
MTP No no no!
« on: March 10, 2014, 02:03:40 PM »
Hi,

I'm a bit angry at the moment because Sailfish uses the MTP-Transfer protocol for File transfer. I don't understand why I cannot connect the Jolla phone to my computer as a regular USB storage device! Where is the advantage of MTP? I only see disadvantages:

1. I'm using debian stable. First the jolla device was not detected. I had to install some packages manually to get it running
2. I cannot transfer FLAC-Files. What is this????? Why??? Because Microsoft who "invented" MTP doesn't "like" open formats? It is a royal pain in the butt. But I have to rename the flac files to mp3, transfer them. And then I cannot rename them back to flac.
3.  I cannot move files or folders on the MTP-device. I can only delete them.

If Jolla wants to be seen as an open and open source friendly product the aspects I described are totally unacceptable in my opinion.

Sorry if I sound angry. But I just spent 400 Euros and I expect an open source friendly device not just a marketing image as being open!

Offline Kake41

  • Newbie
  • *
  • Posts: 13
    • View Profile
  • Phone model: Jolla
Re: MTP No no no!
« Reply #1 on: March 10, 2014, 03:14:29 PM »
I also hate that MTP system, so I use SSH connection instead of USB. And it's really handy with SSH to move/delete files.

Offline blubdibub

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: MTP No no no!
« Reply #2 on: March 10, 2014, 03:35:17 PM »
Take a look here: https://together.jolla.com/question/10002/alternative-to-mtp-usb-mass-storage/
There are some valid points for MTP.

I also hoped to get USB Mass Storage access, but I think this ain't gonna happen.

Try file-transfer via SSH. This works well for me and you should be able to transfer .flac files

Offline Pieter W. E. Mars

  • Sr. Member
  • ****
  • Posts: 379
  • "Pigbrother"
    • View Profile
  • Phone model: Jolla + Nokia N9/N900
Re: MTP No no no!
« Reply #3 on: March 10, 2014, 05:20:52 PM »
I'm using openSuSE, without any MTP problem ;)
Let's start a distro war :) !!
(1995) Siemens S4 | Ericsson T68 | Siemens Xelibri 4 | Ericsson R380 |  Nokia N95 | Nokia N900 | Nokia N9 | Jolla/Sailfish (2013)

Offline Vistaus

  • Hero Member
  • *****
  • Posts: 668
    • View Profile
Re: MTP No no no!
« Reply #4 on: March 10, 2014, 07:14:37 PM »
1 MTP works out-of-the-box on Antergos (Arch) and also works out-of-the-box on Ubuntu since Ubuntu 13.04 (12.10 if you like a PPA backport)

2 Microsoft may have invented MTP as an extension to PTP but it was standardized by the USB Forum meaning it's an OPEN protocol. Which by default doesn't exclude any file formats from transferring.
I have successfully transferred an OGG file to my Jolla phone via MTP so I can confirm it doesn't exclude an open file format.

3 No problems here. I can sucessfully move files and folders via MTP on Arch.

Again: MTP is a standardized OPEN protocol. So it does fit Jolla's definition of being open.
« Last Edit: March 10, 2014, 07:18:56 PM by Vistaus »

Offline Pieter W. E. Mars

  • Sr. Member
  • ****
  • Posts: 379
  • "Pigbrother"
    • View Profile
  • Phone model: Jolla + Nokia N9/N900
Re: MTP No no no!
« Reply #5 on: March 10, 2014, 08:09:02 PM »
Yeah, but Arch & Xbuntu are for watjes*... ;)
*Cotton, like women use for cleaning their eyes or men for their ears !

Real men use Debian, openSuse or such !
With KDE !
(1995) Siemens S4 | Ericsson T68 | Siemens Xelibri 4 | Ericsson R380 |  Nokia N95 | Nokia N900 | Nokia N9 | Jolla/Sailfish (2013)

Offline Vistaus

  • Hero Member
  • *****
  • Posts: 668
    • View Profile
Re: MTP No no no!
« Reply #6 on: March 10, 2014, 09:13:09 PM »
Arch is more sophisticated than openSUSE when it comes to configuring and stuff. So I'm no douchebag like you imply ;)

Offline desputin

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: MTP No no no!
« Reply #7 on: March 10, 2014, 11:26:30 PM »
Ok, thanks for the remarks. Right now I'm running the current Linux Mint with KDE and transferring a FLAC file doesn't work in dolphin. Maybe it's KDEs fault. I'm not sure. But restricting file types seems to be a really dumb idea....

Offline Vistaus

  • Hero Member
  • *****
  • Posts: 668
    • View Profile
Re: MTP No no no!
« Reply #8 on: March 11, 2014, 12:17:21 AM »
Like I said: OGG transferred fine so at least one open format is supported by MTP (although in theory, there should be no restrictions at all given the fact that it's an open standard!) so the problem lies elsewhere. I didn't mention it, but I use GNOME with Nautilus so there may indeed be a difference b/w Nautilus and Dolphin on that front.

Just for clarity: I'm not saying the problem really lies with you, I'm just saying that MTP isn't causing your FLACs not to be transferred. If it's not your PC, then the bug lies in SailfishOS.
« Last Edit: March 11, 2014, 10:28:58 AM by Vistaus »

Offline ruskie

  • Newbie
  • *
  • Posts: 4
    • View Profile
  • Phone model: N900
Re: MTP No no no!
« Reply #9 on: March 11, 2014, 07:15:08 AM »
From my understanding of MTP the benefits are:

1) The host OS doesn't need to care about the filesystem
2) You can actually manage files directly on the running system without needing to make the filesystem unavailable to the device

The rest should be basically just a filesystem abstraction layer. With regards to flac... maybe there is some limitation somewhere that it doesn't like the 4 char extension for one reason or another.... Have you tried renaming it to fla or something? Just to try. And try it also with a plain text file and put it a .text extension to see if that will also show issues. That I would say would be a vaild bug/complaint.

Offline Pieter W. E. Mars

  • Sr. Member
  • ****
  • Posts: 379
  • "Pigbrother"
    • View Profile
  • Phone model: Jolla + Nokia N9/N900
Re: MTP No no no!
« Reply #10 on: March 11, 2014, 04:29:37 PM »
I have been using Btrfs for 14 months now, works for me ;)
(1995) Siemens S4 | Ericsson T68 | Siemens Xelibri 4 | Ericsson R380 |  Nokia N95 | Nokia N900 | Nokia N9 | Jolla/Sailfish (2013)

Offline ruskie

  • Newbie
  • *
  • Posts: 4
    • View Profile
  • Phone model: N900
Re: MTP No no no!
« Reply #11 on: March 11, 2014, 04:36:04 PM »
Was refering to MTP having issues. Not btrfs.

Offline Pieter W. E. Mars

  • Sr. Member
  • ****
  • Posts: 379
  • "Pigbrother"
    • View Profile
  • Phone model: Jolla + Nokia N9/N900
Re: MTP No no no!
« Reply #12 on: March 11, 2014, 04:46:21 PM »
I was referring to the distro war that I propose(d)... openSuSE 13.1 with KDE & Btrfs vs the world !
(1995) Siemens S4 | Ericsson T68 | Siemens Xelibri 4 | Ericsson R380 |  Nokia N95 | Nokia N900 | Nokia N9 | Jolla/Sailfish (2013)

Offline kari

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: MTP No no no!
« Reply #13 on: April 11, 2014, 07:17:55 PM »
I am using Konqueror to browse files in my phone through ssh like this:

fish://nemo@192.168.1.63

Of course ip address should be changed.

It should ask for password and if public keys are set, it should show contents of phone right away. If DHCP is giving always same ip address to Jolla or it has been given hostname, then bookmark could be made and maybe some kind of icon could be added to KDE desktop which would open that location without work of browsing through bookmarks. Not sure about desktop icon, as i am using Konqueror in Window Maker.

In Windows i have used Filezilla, maybe others might find that useful. It needs little bit more work than Konqueror does. Winscp is another tool, if i remember right, but have not tried that.

If it is very important, that data does not change during transfer, then rsync or usb cable is better. I have seen file sizes changing, when moving video files from computer to another. They were still working perfect, but programs and such might not. I prefer rsync over usb, for three reasons:

Removing usb cable from charger and plugging it to computer needs some work.
It might not even work, as some has experienced.
When going to sleep and connecting charger to phone i will realize, that cable is still plugged to computer and i have to switch all lights back on...