FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 07-19-2012, 12:04 AM
Allan Gottlieb
 
Default 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'
 
Old 07-19-2012, 12:36 AM
Matthew Marlowe
 
Default mounting samsung galaxy S III (android ics)

> 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
 
Old 07-19-2012, 12:45 AM
Dale
 
Default mounting samsung galaxy S III (android ics)

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!
 
Old 07-19-2012, 01:03 AM
Matthew Finkel
 
Default mounting samsung galaxy S III (android ics)

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.
 
Old 07-19-2012, 01:14 AM
Bill Kenworthy
 
Default mounting samsung galaxy S III (android ics)

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
 
Old 07-19-2012, 01:40 AM
Aaron Russell
 
Default mounting samsung galaxy S III (android ics)

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.*
 
Old 07-19-2012, 02:01 AM
Pandu Poluan
 
Default mounting samsung galaxy S III (android ics)

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,
 
Old 07-19-2012, 03:18 AM
Allan Gottlieb
 
Default mounting samsung galaxy S III (android ics)

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
 
Old 07-19-2012, 05:29 AM
"J. Roeleveld"
 
Default mounting samsung galaxy S III (android ics)

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
 
Old 07-19-2012, 08:03 AM
Neil Bothwick
 
Default mounting samsung galaxy S III (android ics)

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.
 

Thread Tools




All times are GMT. The time now is 04:27 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org