Mailing List Archive

mounting samsung galaxy S III (android ics)
I just purchased a new smartphone (samsung galaxy S III), which runs
android ice cream sandwitch 4.0.4). I would like to copy files
to and from the phone. The phone manual describes how to do this for
windows (nothing needed) and Mac (a program to download), but not for
gnu-linux. Apparently the phone supports MTP (media transfer protocol)
and PTP (picture transfer protocol)

I did some googling and there are a number of comments but no clear
recommendations. Has anyone here performed file transfer
gentoo <--> samsung S3.

I run amd64, but I don't think that is very relevant.

Just mounting or ftp would be enough; I really just want to move some
files.

I don't have an SD card on the phone, but would be willing to get one if
that is needed.

thanks,
allan

/var/log/messages

Jul 18 19:58:07 ajglap kernel: [46514.148484] hub 2-1:1.0: state 7 ports 8 chg 0000 evt 0002
Jul 18 19:58:07 ajglap kernel: [46514.148731] hub 2-1:1.0: port 1, status 0101, change 0001, 12 Mb/s
Jul 18 19:58:07 ajglap kernel: [46514.252659] hub 2-1:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
Jul 18 19:58:07 ajglap kernel: [46514.263610] hub 2-1:1.0: port 1 not reset yet, waiting 10ms
Jul 18 19:58:07 ajglap kernel: [46514.325478] usb 2-1.1: new high-speed USB device number 12 using ehci_hcd
Jul 18 19:58:07 ajglap kernel: [46514.336448] hub 2-1:1.0: port 1 not reset yet, waiting 10ms
Jul 18 19:58:07 ajglap kernel: [46514.411262] usb 2-1.1: skipped 1 descriptor after endpoint
Jul 18 19:58:07 ajglap kernel: [46514.411268] usb 2-1.1: skipped 4 descriptors after interface
Jul 18 19:58:07 ajglap kernel: [46514.411272] usb 2-1.1: skipped 1 descriptor after interface
Jul 18 19:58:07 ajglap kernel: [46514.411467] usb 2-1.1: default language 0x0409
Jul 18 19:58:07 ajglap kernel: [46514.412080] usb 2-1.1: udev 12, busnum 2, minor = 139
Jul 18 19:58:07 ajglap kernel: [46514.412082] usb 2-1.1: New USB device found, idVendor=04e8, idProduct=6860
Jul 18 19:58:07 ajglap kernel: [46514.412084] usb 2-1.1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
Jul 18 19:58:07 ajglap kernel: [46514.412086] usb 2-1.1: Product: SAMSUNG_Android_SCH-I535
Jul 18 19:58:07 ajglap kernel: [46514.412087] usb 2-1.1: Manufacturer: SAMSUNG
Jul 18 19:58:07 ajglap kernel: [46514.412089] usb 2-1.1: SerialNumber: 0c16733b
Jul 18 19:58:07 ajglap kernel: [46514.412182] usb 2-1.1: usb_probe_device
Jul 18 19:58:07 ajglap kernel: [46514.412186] usb 2-1.1: configuration #1 chosen from 2 choices
Jul 18 19:58:07 ajglap kernel: [46514.412540] usb 2-1.1: adding 2-1.1:1.0 (config #1, interface 0)
Jul 18 19:58:07 ajglap kernel: [46514.412867] drivers/usb/core/inode.c: creating file '012'

dmesg (essentially the same)

[46514.148484] hub 2-1:1.0: state 7 ports 8 chg 0000 evt 0002
[46514.148731] hub 2-1:1.0: port 1, status 0101, change 0001, 12 Mb/s
[46514.252659] hub 2-1:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
[46514.263610] hub 2-1:1.0: port 1 not reset yet, waiting 10ms
[46514.325478] usb 2-1.1: new high-speed USB device number 12 using ehci_hcd
[46514.336448] hub 2-1:1.0: port 1 not reset yet, waiting 10ms
[46514.411262] usb 2-1.1: skipped 1 descriptor after endpoint
[46514.411268] usb 2-1.1: skipped 4 descriptors after interface
[46514.411272] usb 2-1.1: skipped 1 descriptor after interface
[46514.411467] usb 2-1.1: default language 0x0409
[46514.412080] usb 2-1.1: udev 12, busnum 2, minor = 139
[46514.412082] usb 2-1.1: New USB device found, idVendor=04e8, idProduct=6860
[46514.412084] usb 2-1.1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[46514.412086] usb 2-1.1: Product: SAMSUNG_Android_SCH-I535
[46514.412087] usb 2-1.1: Manufacturer: SAMSUNG
[46514.412089] usb 2-1.1: SerialNumber: 0c16733b
[46514.412182] usb 2-1.1: usb_probe_device
[46514.412186] usb 2-1.1: configuration #1 chosen from 2 choices
[46514.412540] usb 2-1.1: adding 2-1.1:1.0 (config #1, interface 0)
[46514.412867] drivers/usb/core/inode.c: creating file '012'
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
> I did some googling and there are a number of comments but no clear
> recommendations. Has anyone here performed file transfer
> gentoo <--> samsung S3.
>

You have two choices:
a) if you just need to transfer video/pictures, there is a
compatibility mode you can toggle inside android settings to enable
ptp mode that apps like digikam understand.
b) if you really want to mount the android fs in gentoo, and transfer
all types of files, than you'll need to use a tool like mtpfs (eix
mtpfs for more info).

I tried the mtpfs approach first, but found that was not that reliable
and switched to the digikam method which has met all my needs.

Matt
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
Allan Gottlieb wrote:
> I just purchased a new smartphone (samsung galaxy S III), which runs
> android ice cream sandwitch 4.0.4). I would like to copy files
> to and from the phone. The phone manual describes how to do this for
> windows (nothing needed) and Mac (a program to download), but not for
> gnu-linux. Apparently the phone supports MTP (media transfer protocol)
> and PTP (picture transfer protocol)
>
> I did some googling and there are a number of comments but no clear
> recommendations. Has anyone here performed file transfer
> gentoo <--> samsung S3.
>
> I run amd64, but I don't think that is very relevant.
>
> Just mounting or ftp would be enough; I really just want to move some
> files.
>
> I don't have an SD card on the phone, but would be willing to get one if
> that is needed.
>
> thanks,
> allan

I use wammu for my Motorola. It works pretty good. You may want to
check into that until someone else chimes in with something else or
something better.

Oh, make sure you config the phone to be connected to a puter. I always
forget that with my phone and it makes me scratch my head for a while
then smack my forehead when I remember to change/check the config in the
phone.

Hope that helps.

Dale

:-) :-)

--
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
On Thu, Jul 19, 2012 at 2:04 AM, Allan Gottlieb <gottlieb@nyu.edu> wrote:

> I just purchased a new smartphone (samsung galaxy S III), which runs
> android ice cream sandwitch 4.0.4). I would like to copy files
> to and from the phone. The phone manual describes how to do this for
> windows (nothing needed) and Mac (a program to download), but not for
> gnu-linux. Apparently the phone supports MTP (media transfer protocol)
> and PTP (picture transfer protocol)
>
> I did some googling and there are a number of comments but no clear
> recommendations. Has anyone here performed file transfer
> gentoo <--> samsung S3.
>
> I run amd64, but I don't think that is very relevant.
>
> Just mounting or ftp would be enough; I really just want to move some
> files.
>

You should be able to mount it without any problems. I have ICS on my Nexus
S and the only requirement to mounting the phone as a USB device is to
toggle the USB Mass Storage option (it should show up in the notification
bar). On my phone, the usb storage uses ext4 (IIRC), so drivers for this
aren't an problem. Once the setting is toggled, it's automatically assigned
a device mapping and it's usable as a normal USB drive from there.
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
On Wed, 2012-07-18 at 20:04 -0400, Allan Gottlieb wrote:
> I just purchased a new smartphone (samsung galaxy S III), which runs
> android ice cream sandwitch 4.0.4). I would like to copy files

I just treated it like another linux system ... connect to wireless (I
presume you have that), install AndFTP and/or "rsync backup for android"
from the "playstore". Both work using ssh to a linux system, but are
slightly different.

There should be (have not tried it) apps for bluetooth and usb
networking as well.

Found it great for a large file sneakernet between home/work!

BillK
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
On Wed, Jul 18, 2012 at 9:03 PM, Matthew Finkel <matthew.finkel@gmail.com>wrote:

> On Thu, Jul 19, 2012 at 2:04 AM, Allan Gottlieb <gottlieb@nyu.edu> wrote:
>
>> I just purchased a new smartphone (samsung galaxy S III), which runs
>> android ice cream sandwitch 4.0.4). I would like to copy files
>> to and from the phone. The phone manual describes how to do this for
>> windows (nothing needed) and Mac (a program to download), but not for
>> gnu-linux. Apparently the phone supports MTP (media transfer protocol)
>> and PTP (picture transfer protocol)
>>
>> I did some googling and there are a number of comments but no clear
>> recommendations. Has anyone here performed file transfer
>> gentoo <--> samsung S3.
>>
>> I run amd64, but I don't think that is very relevant.
>>
>> Just mounting or ftp would be enough; I really just want to move some
>> files.
>>
>
> You should be able to mount it without any problems. I have ICS on my
> Nexus S and the only requirement to mounting the phone as a USB device is
> to toggle the USB Mass Storage option (it should show up in the
> notification bar). On my phone, the usb storage uses ext4 (IIRC), so
> drivers for this aren't an problem. Once the setting is toggled, it's
> automatically assigned a device mapping and it's usable as a normal USB
> drive from there.
>

That does not work on the S3 because i believe it is basically one
partition unlike the Nexus S which has a separate partition for internal
storage.

I have used mtpfs in Android 3.0 on my gentoo system and found it slow and
unreliable. A lot might of changed in the last 6 months with mtpfs though
so try it and see how it works.

You could use a program for android called "adb" but its slow at pushing
files so if they are gonna be videos i would stay away.

And the way i do it on my Galaxy nexus is use dropbox. Move to dropbox
folder than download form the dropbox app on the phone. Not the best but
its easiest for me.
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
On Jul 19, 2012 7:10 AM, "Allan Gottlieb" <gottlieb@nyu.edu> wrote:
>
> I just purchased a new smartphone (samsung galaxy S III), which runs
> android ice cream sandwitch 4.0.4). I would like to copy files
> to and from the phone. The phone manual describes how to do this for
> windows (nothing needed) and Mac (a program to download), but not for
> gnu-linux. Apparently the phone supports MTP (media transfer protocol)
> and PTP (picture transfer protocol)
>
> I did some googling and there are a number of comments but no clear
> recommendations. Has anyone here performed file transfer
> gentoo <--> samsung S3.
>
> I run amd64, but I don't think that is very relevant.
>
> Just mounting or ftp would be enough; I really just want to move some
> files.
>
> I don't have an SD card on the phone, but would be willing to get one if
> that is needed.
>

If your phone and your computer can connect to the same wifi router (not
necessarily both wifi; the SGS3 use wifi, you're computer can use a UTP
cable), I suggest installing AirDroid on your SGS3.

Then you can access your SGS3 using your browser :-)

... unless your Gentoo is pure text-based. In which situation, AndFTP is a
good choice.

Or... you can turn the relation around: Install ES File Explorer on the
SGS3, and you can use FTP or Samba to transfer files.

Rgds,
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
On Wed, Jul 18 2012, Dale wrote:

> Oh, make sure you config the phone to be connected to a puter. I always
> forget that with my phone and it makes me scratch my head for a while

That is like my previous phone an htc incredible. This one doesn't
offer that choice (or at least I can't find it).

I just get to choose mtp or ptp.

thanks,
allan
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
On Thu, July 19, 2012 2:04 am, Allan Gottlieb wrote:
> I just purchased a new smartphone (samsung galaxy S III), which runs
> android ice cream sandwitch 4.0.4). I would like to copy files
> to and from the phone. The phone manual describes how to do this for
> windows (nothing needed) and Mac (a program to download), but not for
> gnu-linux. Apparently the phone supports MTP (media transfer protocol)
> and PTP (picture transfer protocol)
>
> I did some googling and there are a number of comments but no clear
> recommendations. Has anyone here performed file transfer
> gentoo <--> samsung S3.
>
> I run amd64, but I don't think that is very relevant.
>
> Just mounting or ftp would be enough; I really just want to move some
> files.
>
> I don't have an SD card on the phone, but would be willing to get one if
> that is needed.
>
> thanks,
> allan

Allan,

Aside from installing an FTP-server, you can also install "AirDroid", it
lets you control the phone via a webbrowser over a WIFI-connection.

It lets you backup nearly everything from your phone, including the
applications you installed. When downloading multiple files at once, it
zips them first.

I also like the option to transfer the clipboard to/from the phone and
type text messages (SMS) in a webbrowser to be sent out by the phone.

--
Joost


--
Joost
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
On Wed, 18 Jul 2012 23:18:36 -0400, Allan Gottlieb wrote:

> > Oh, make sure you config the phone to be connected to a puter. I
> > always forget that with my phone and it makes me scratch my head for
> > a while
>
> That is like my previous phone an htc incredible. This one doesn't
> offer that choice (or at least I can't find it).

There is a package you can install to enable USB mass storage, but it's
not in the market. Bear in mind though that this can cause problems,
because the S3 doesn't expect the memory to suddenly become unavailable,
the whole reason for using MTP is that you don't have to unmount the
storage and stop any applications that are using it to transfer a few
files.

However, I've also found all the mtp options in portage to be unreliable,
so I run QuickSSHd on the phone and transfer files with scp or mount the
phone with sshfs.


--
Neil Bothwick

Things which must be shipped together as a set, aren't.
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
On Thu, Jul 19 2012, Neil Bothwick wrote:

> However, I've also found all the mtp options in portage to be unreliable,
> so I run QuickSSHd on the phone and transfer files with scp or mount the
> phone with sshfs.

First let me thank everyone for all the great suggestions. I will be
trying them out.

I started with quicksshd since (I like to believe) I understand ssh.

I have moved a picture and some songs from my laptop to the appropriate
directories on the phone. Currently after I do the sftp using the gnome
file manager (I will try straight scp soon), the picture and songs
didn't appear until I reboot the phone. Is there a better way?

thanks again to all.
allan
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
On Thu, 19 Jul 2012 14:12:38 -0400, Allan Gottlieb wrote:

> I have moved a picture and some songs from my laptop to the appropriate
> directories on the phone. Currently after I do the sftp using the gnome
> file manager (I will try straight scp soon), the picture and songs
> didn't appear until I reboot the phone. Is there a better way?

You need to force a rescan of the media. I'm sure I've seen an option for
this somewhere, but can't find it right now.


--
Neil Bothwick

"Two things are infinite: the universe and human stupidity;
and I'm not sure about the the universe."
(Albert Einstein)
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
On Jul 20, 2012 4:50 AM, "Neil Bothwick" <neil@digimed.co.uk> wrote:
>
> On Thu, 19 Jul 2012 14:12:38 -0400, Allan Gottlieb wrote:
>
> > I have moved a picture and some songs from my laptop to the appropriate
> > directories on the phone. Currently after I do the sftp using the gnome
> > file manager (I will try straight scp soon), the picture and songs
> > didn't appear until I reboot the phone. Is there a better way?
>
> You need to force a rescan of the media. I'm sure I've seen an option for
> this somewhere, but can't find it right now.
>

If you install Widgetsoid, one of its myriad of buttons is a button that
conveniently triggers the Media Scanner.

Rgds,
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
On Thu, Jul 19 2012, Pandu Poluan wrote:

> On Jul 20, 2012 4:50 AM, "Neil Bothwick" <neil@digimed.co.uk> wrote:
>>
>> On Thu, 19 Jul 2012 14:12:38 -0400, Allan Gottlieb wrote:
>>
>> > I have moved a picture and some songs from my laptop to the appropriate
>> > directories on the phone. Currently after I do the sftp using the gnome
>> > file manager (I will try straight scp soon), the picture and songs
>> > didn't appear until I reboot the phone. Is there a better way?
>>
>> You need to force a rescan of the media. I'm sure I've seen an option for
>> this somewhere, but can't find it right now.
>>
>
> If you install Widgetsoid, one of its myriad of buttons is a button that
> conveniently triggers the Media Scanner.

Thank you.
allan
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
On Thu, Jul 19, 2012 at 07:29:57AM +0200, Penguin Lover J. Roeleveld squawked:
> Aside from installing an FTP-server, you can also install "AirDroid", it
> lets you control the phone via a webbrowser over a WIFI-connection.
>
> It lets you backup nearly everything from your phone, including the
> applications you installed. When downloading multiple files at once, it
> zips them first.
>
> I also like the option to transfer the clipboard to/from the phone and
> type text messages (SMS) in a webbrowser to be sent out by the phone.
>

Wow! New found capabilities for my droid. Thanks!

W
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
Desksms also lets you send texts form your computer. but uses gtalk i
believe.

On Fri, Jul 20, 2012 at 7:44 AM, Willie WY Wong <wongwwy@member.ams.org>wrote:

> On Thu, Jul 19, 2012 at 07:29:57AM +0200, Penguin Lover J. Roeleveld
> squawked:
> > Aside from installing an FTP-server, you can also install "AirDroid", it
> > lets you control the phone via a webbrowser over a WIFI-connection.
> >
> > It lets you backup nearly everything from your phone, including the
> > applications you installed. When downloading multiple files at once, it
> > zips them first.
> >
> > I also like the option to transfer the clipboard to/from the phone and
> > type text messages (SMS) in a webbrowser to be sent out by the phone.
> >
>
> Wow! New found capabilities for my droid. Thanks!
>
> W
>
>
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
On Wed, Jul 18, 2012 at 8:36 PM, Matthew Marlowe
<matt@professionalsysadmin.com> wrote:
>> I did some googling and there are a number of comments but no clear
>> recommendations. Has anyone here performed file transfer
>> gentoo <--> samsung S3.
>>
>
> You have two choices:
> a) if you just need to transfer video/pictures, there is a
> compatibility mode you can toggle inside android settings to enable
> ptp mode that apps like digikam understand.
> b) if you really want to mount the android fs in gentoo, and transfer
> all types of files, than you'll need to use a tool like mtpfs (eix
> mtpfs for more info).
>
> I tried the mtpfs approach first, but found that was not that reliable
> and switched to the digikam method which has met all my needs.
>

I have found go-mtpfs to work much better with my Galaxy Nexus.

https://github.com/hanwen/go-mtpfs/

There is no ebuild for it, mostly because I haven't figured out how to
package go programs.
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
On Sun, 22 Jul 2012 19:53:20 -0400, Mike Gilbert wrote:

> I have found go-mtpfs to work much better with my Galaxy Nexus.
>
> https://github.com/hanwen/go-mtpfs/
>
> There is no ebuild for it, mostly because I haven't figured out how to
> package go programs.

There is also Kies, a Samsung program in the market that does the same
sort of thing as AirDroid. I tried AirDroid a couple of phones ago but
can't remember why I didn't like it.



--
Neil Bothwick

This is as bad as it can get-but don't bet on it.
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
On Jul 23, 2012 4:36 PM, "Neil Bothwick" <neil@digimed.co.uk> wrote:
>
> On Sun, 22 Jul 2012 19:53:20 -0400, Mike Gilbert wrote:
>
> > I have found go-mtpfs to work much better with my Galaxy Nexus.
> >
> > https://github.com/hanwen/go-mtpfs/
> >
> > There is no ebuild for it, mostly because I haven't figured out how to
> > package go programs.
>
> There is also Kies, a Samsung program in the market that does the same
> sort of thing as AirDroid. I tried AirDroid a couple of phones ago but
> can't remember why I didn't like it.
>

Me, it's the other way around. Can't stand Kies Air, so I changed to
AirDroid.

Rgds,
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
On Mon, July 23, 2012 2:12 pm, Pandu Poluan wrote:
> On Jul 23, 2012 4:36 PM, "Neil Bothwick" <neil@digimed.co.uk> wrote:
>>
>> On Sun, 22 Jul 2012 19:53:20 -0400, Mike Gilbert wrote:
>>
>> > I have found go-mtpfs to work much better with my Galaxy Nexus.
>> >
>> > https://github.com/hanwen/go-mtpfs/
>> >
>> > There is no ebuild for it, mostly because I haven't figured out how to
>> > package go programs.
>>
>> There is also Kies, a Samsung program in the market that does the same
>> sort of thing as AirDroid. I tried AirDroid a couple of phones ago but
>> can't remember why I didn't like it.
>>
>
> Me, it's the other way around. Can't stand Kies Air, so I changed to
> AirDroid.

Same here, Kies Air doesn't allow multiple files to be selected downloaded
at once, something I find an absolute must when wanting to download the
pictures I took of my daughter playing :)

--
Joost
Re: mounting samsung galaxy S III (android ics) [ In reply to ]
On Mon, 23 Jul 2012 15:32:51 +0200, J. Roeleveld wrote:

> > Me, it's the other way around. Can't stand Kies Air, so I changed to
> > AirDroid.
>
> Same here, Kies Air doesn't allow multiple files to be selected
> downloaded at once, something I find an absolute must when wanting to
> download the pictures I took of my daughter playing :)

OK, you win, I'll give AirDroid another go!


--
Neil Bothwick

Actually, Microsoft is sort of a mixture between the Borg and the Ferengi.