Best way to access a Samsung Galaxy S3 through USB ?

Hi !

I would like to access the files stored in a Samsung Galaxy S3 through USB with SLED 11 SP2.
I tried this : http://software.opensuse.org/package/jmtpfs?search_term=jmtpfs

Unfortunately I cannot install it due to a dependency issue (libmtp9 missing).

Is it possible to browse an Android 4.x device with SLED 11 SP2 ?

Regards,

Arnaud

Hi
That’s my package :wink: It’s there in the repository for SLE;
http://download.opensuse.org/repositories/home:/malcolmlewis:/SLE_11_SPn_General/SLE_11_SP2/

You may need to tweak the udev rule for your device based on the Vendor
and Product ID’s.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.3 (x86_64) Kernel 3.7.10-1.4-desktop
up 4:49, 3 users, load average: 0.10, 0.04, 0.05
CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Arrandale

[QUOTE=malcolmlewis;13592]Hi
That’s my package :wink: It’s there in the repository for SLE;
http://download.opensuse.org/repositories/home:/malcolmlewis:/SLE_11_SPn_General/SLE_11_SP2/

You may need to tweak the udev rule for your device based on the Vendor
and Product ID’s.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.3 (x86_64) Kernel 3.7.10-1.4-desktop
up 4:49, 3 users, load average: 0.10, 0.04, 0.05
CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Arrandale[/QUOTE]

Thanks.

I have still some problems (nothing appears in the mounting point) :
After a dmesg command, here the results :

[QUOTE][15169.361587] usb 3-2: new high-speed USB device number 8 using xhci_hcd
[15169.378990] usb 3-2: New USB device found, idVendor=04e8, idProduct=6860
[15169.378997] usb 3-2: New USB de(vice strings: Mfr=2, Product=3, SerialNumber=4
[15169.379001] usb 3-2: Product: SAMSUNG_Android
[15169.379003] usb 3-2: Manufacturer: SAMSUNG
[/QUOTE]

Then I edited the file /etc/udev/rules.d/51-android.rules as follow :

[QUOTE]# Android devices - UDEV Rule

For Samsung GT

SUBSYSTEM==“usb”, ATTRS{idVendor}==“04e8”, ATTRS{idProduct}==“6860”, SYMLINK+=“libmtp-%k”, MODE=“0666”, GROUP=“users”

RUN+=“udev-acl --action=$env{action} --device=$env{DEVNAME}”
[/QUOTE]

Then I typed :

jmtpfs -o allow_other /home/arnaud/transformer

fusermount -u /home/arnaud/transformer

But the folder /home/arnaud/transformer remains empty.
any idea ?

Edit : the jmtpfs triggers the following message :
Error: Unable to open ~/.mtpz-data for reading.

Hi
Did you restart udev?

udevadm trigger

The fuse config is already done so it’s already set to allow.

Have a look at this thread;
https://forums.opensuse.org/english/get-technical-help-here/hardware/478602-cannot-connect-samsung-galaxy-s3-android-4-via-usb-cable.html


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.3 (x86_64) Kernel 3.7.10-1.4-desktop
up 7:52, 4 users, load average: 0.01, 0.03, 0.05
CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Arrandale

[QUOTE=malcolmlewis;13596]Hi
Did you restart udev?

udevadm trigger

The fuse config is already done so it’s already set to allow.

Have a look at this thread;
https://forums.opensuse.org/english/get-technical-help-here/hardware/478602-cannot-connect-samsung-galaxy-s3-android-4-via-usb-cable.html


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.3 (x86_64) Kernel 3.7.10-1.4-desktop
up 7:52, 4 users, load average: 0.01, 0.03, 0.05
CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Arrandale[/QUOTE]
I followed the thread.
Here what I got in /var/log/message :

[QUOTE]May 13 23:44:56 linux-ufcv kernel: [19330.330667] usb 3-2: USB disconnect, device number 12
May 13 23:44:59 linux-ufcv kernel: [19334.064502] usb 3-2: new high-speed USB device number 13 using xhci_hcd
May 13 23:44:59 linux-ufcv kernel: [19334.084283] usb 3-2: New USB device found, idVendor=04e8, idProduct=6860
May 13 23:44:59 linux-ufcv kernel: [19334.084290] usb 3-2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
May 13 23:44:59 linux-ufcv kernel: [19334.084302] usb 3-2: Product: SAMSUNG_Android
May 13 23:44:59 linux-ufcv kernel: [19334.084304] usb 3-2: Manufacturer: SAMSUNG
May 13 23:44:59 linux-ufcv kernel: [19334.084305] usb 3-2: SerialNumber: 4df79f114fffcff1
May 13 23:44:59 linux-ufcv ctx_usb_isactive[8277]: ftok: No such file or directory
May 13 23:44:59 linux-ufcv ctx_usb_isactive[8279]: ftok: No such file or directory
[/QUOTE]

I managed to get it working : Nautilus does not recognize the Filesystem, but Midnight commander does. Really strange, but it works.

Hopefully it will be straightforward with SLED 12…

Hi
So what did you finally do to get it to work?

If you start nautilus from the command line, do you get any output as
to why it’s not seeing it?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.3 (x86_64) Kernel 3.7.10-1.4-desktop
up 9:02, 4 users, load average: 0.13, 0.07, 0.06
CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Arrandale

[QUOTE=malcolmlewis;13600]Hi
So what did you finally do to get it to work?

If you start nautilus from the command line, do you get any output as
to why it’s not seeing it?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.3 (x86_64) Kernel 3.7.10-1.4-desktop
up 9:02, 4 users, load average: 0.13, 0.07, 0.06
CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Arrandale[/QUOTE]

I will try later. It seems it does not recognize the filesystem

[QUOTE=malcolmlewis;13600]Hi
So what did you finally do to get it to work?

If you start nautilus from the command line, do you get any output as
to why it’s not seeing it?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.3 (x86_64) Kernel 3.7.10-1.4-desktop
up 9:02, 4 users, load average: 0.13, 0.07, 0.06
CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Arrandale[/QUOTE]

Strangely it works now even with Nautilus. It seems I have to unlock the phone to get the partition properly mounted

Just a thought as you are a SUSE developer : why not integrate this package in SLED 12 / OpenSUSE 13.x and develop a tools like we have for PalmOS to easily mount an Android device ? It would be an asset especially for a corporate distribution.