[gentoo-user] mounting samsung galaxy S III (android ics)

July 18th, 2012 - 08:10 pm ET by Allan Gottlieb | Report spam
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, idVendore8, idProducth60
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, idVendore8, idProducth60
[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'
email Follow the discussionReplies 20 repliesReplies Make a reply

Similar topics

Replies

#1 Matthew Marlowe
July 18th, 2012 - 08:40 pm ET | Report spam
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
Replies Reply to this message
#2 Dale
July 18th, 2012 - 08:50 pm ET | Report spam
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!
Replies Reply to this message
#3 Matthew Finkel
July 18th, 2012 - 09:10 pm ET | Report spam

On Thu, Jul 19, 2012 at 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.




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.


<div class="gmail_quote">On Thu, Jul 19, 2012 at 2:04 AM, Allan Gottlieb <span dir="ltr">&lt;<a href="mailto:" target="_blank"></a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I just purchased a new smartphone (samsung galaxy S III), which runs<br>
android ice cream sandwitch 4.0.4).  I would like to copy files<br>
to and from the phone.  The phone manual describes how to do this for<br>
windows (nothing needed) and Mac (a program to download), but not for<br>
gnu-linux.  Apparently the phone supports MTP (media transfer protocol)<br>
and PTP (picture transfer protocol)<br>
<br>
I did some googling and there are a number of comments but no clear<br>
recommendations.  Has anyone here performed file transfer<br>
gentoo &lt;--&gt; samsung S3.<br>
<br>
I run amd64, but I don&#39;t think that is very relevant.<br>
<br>
Just mounting or ftp would be enough; I really just want to move some<br>
files.<br></blockquote><div><br></div><div>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&#39;t an problem. Once the setting is toggled, it&#39;s automatically assigned a device mapping and it&#39;s usable as a normal USB drive from there.</div>

</div>

Replies Reply to this message
#4 Bill Kenworthy
July 18th, 2012 - 09:20 pm ET | Report spam
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
Replies Reply to this message
#5 Aaron Russell
July 18th, 2012 - 09:50 pm ET | Report spam

On Wed, Jul 18, 2012 at 9:03 PM, Matthew Finkel wrote:

On Thu, Jul 19, 2012 at 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.




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.


<br><br><div class="gmail_quote">On Wed, Jul 18, 2012 at 9:03 PM, Matthew Finkel <span dir="ltr">&lt;<a href="mailto:" target="_blank"></a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote"><div class="im">On Thu, Jul 19, 2012 at 2:04 AM, Allan Gottlieb <span dir="ltr">&lt;<a href="mailto:" target="_blank"></a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


I just purchased a new smartphone (samsung galaxy S III), which runs<br>
android ice cream sandwitch 4.0.4).  I would like to copy files<br>
to and from the phone.  The phone manual describes how to do this for<br>
windows (nothing needed) and Mac (a program to download), but not for<br>
gnu-linux.  Apparently the phone supports MTP (media transfer protocol)<br>
and PTP (picture transfer protocol)<br>
<br>
I did some googling and there are a number of comments but no clear<br>
recommendations.  Has anyone here performed file transfer<br>
gentoo &lt;--&gt; samsung S3.<br>
<br>
I run amd64, but I don&#39;t think that is very relevant.<br>
<br>
Just mounting or ftp would be enough; I really just want to move some<br>
files.<br></blockquote><div><br></div></div><div>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&#39;t an problem. Once the setting is toggled, it&#39;s automatically assigned a device mapping and it&#39;s usable as a normal USB drive from there.</div>


</div>
</blockquote></div><br><div>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. </div><div><br></div><div> 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. </div>
<div><br></div><div>You could use a program for android called &quot;adb&quot; but its slow at pushing files so if they are gonna be videos i would stay away. </div><div><br></div><div>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. </div>

Replies Reply to this message
Help Create a new topicNext page Replies Make a reply
Search Make your own search