3

I Plug my gs3 into my laptop, and nothing happens. I went to terminal, typed "lsusb" command, and the return print was, for one of the usb ports, "Bus 002 Device 015: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II], GT-P7500 [Galaxy Tab 10.1]". My device is neither the S2 or the Galaxy tab. Any ideas on how to get this working?

david6
  • 14,499

1 Answers1

1

Possible solution(s) discussed here:

OMG! Ubuntu > Connect your Android Ice Cream Sandwich Phone to Ubuntu for File Access

As explained by Google Engineer Dan Morrill, the USB mass storage protocol was a block-level protocol. What this meant was that a partition could not be mounted on two different systems at the same time. Each partition that needs to be mounted on a computer must be unmounted from the phone first. This would be impossible on a phone with only a single partition, since if the system partition was unmounted, the phone would crash.

To work around this issue, Android phones up until now either had two partitions in the internal memory (like the Nexus S) or had a microSD slot (like the Samsung Galaxy S II). Phones with micro-SD slots would just export the microSD card partitions to the connected computer.

But the Galaxy Nexus only has a single internal partition. Other Ice Cream Sandwich phones in the future are likely to follow suit. ..


UPDATE

Lengthy discussion, and possible udev rules to fix this issue, in this forum:

OpenSuse.org > Cannot connect Samsung Galaxy S3 (Android 4) via USB cable

That's because it needs a udev rule

Can you plug the device in and then run the command dmesg, then post the output for your device (in code tags), which should be the last ~10 entries. I can then add a udev rule to my package and update for you.

Once you have the updated package, you need to mount like; [CODE] mkdir ~/galaxy jmtpfs -o allow_other ~/galaxy

To unmount use; fusermount -u ~/galaxy [CODE] There is a man page, use man jmtpfs


UPDATE 2

A better explanation and suggested configuration (Nov 2011), so may be slightly outdated.

Ice Cream Sandwich explained: MTP - what is it, why use it, and how to set it up

MTP (Media Transfer Protocol) first showed up as default on Android devices with Honeycomb. It's a bit of a change from the normal USB Mass Storage (UMS) file transfer that we're used to, where you plug in your phone, hit "USB mode" and start moving files. And because it's become the standard in Ice Cream Sandwich on the Galaxy Nexus, it's time to have a look at it. Hit the break where we see what it is, why we're using it, and how to set it up on your computer for easy file transfer.

On a Linux install, things aren't quite as easy. On the plus side you have a bit of control how things are mounted, but there's no one click solution. Don't be discouraged, you can have MTP set up and running in no time with a bit of terminal command fun. Here's a walkthrough for using the Galaxy Nexus with Ubuntu:

Set up a UDEV rule via the terminal by opening the rules file ..

Will test this soon myself ..

david6
  • 14,499
  • so would it work to just unmount my sd card in my phone and THEN try plugging it in to ubuntu? – Christopher Torok Dec 16 '12 at 04:57
  • That should work fine. As would disabling MTP, photo-share, etc. (not sure how to), and reverting to USB-storage mode. – david6 Dec 16 '12 at 05:33
  • i called samsung yesterday, and they said they said that the mtp protocol included with 4.0 and above is incompatible with linux. now here's my idea, would installing the gs3 windows driver on wine work? – Christopher Torok Jan 03 '13 at 04:54
  • I have tried (all of) libmtp + fuse, mtpfs, and go-mtpfs type solutions. These are either not stable (for i8190 S3 Mini), or non operative (for P3110 Tab2 7.0). So, I'm back to using SSHDroid* (https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid&hl=en), which works fine (over WiFi).* – david6 Jan 03 '13 at 06:08
  • so, as it stands, theres not really a way to get an android device working like it should in ubuntu? – Christopher Torok Jan 20 '13 at 04:23
  • It would appear so, for Android 4.x (Ice Cream Sandwich) and particularly for Samsung devices. – david6 Jan 20 '13 at 04:44
  • 1
    Found a solution. It works perfectly. http://www.webupd8.org/2013/01/upgrade-to-gvfs-with-mtp-support-in.html?m=1 – Christopher Torok Apr 08 '13 at 03:51