[HOWTO] Samsung s3 Galaxy phone MTP file access

Post tutorials, HOWTO's and other useful resources here.
User avatar
freestyler
Contributor
Contributor
Posts: 384
Joined: 17 Oct 2013, 14:21
Distribution: Porteus XFCE

[HOWTO] Samsung s3 Galaxy phone MTP file access

Post#1 by freestyler » 02 Nov 2013, 08:12

If you want to connect your Samsung s3 to Porteus I found the easiest way to do this is with gMTP. It allows you to access files on devices using mtp such as android and cyanogenmod.

You will need these packages:
gMTP-1.3.4-i386-x86_64-1_KSS.xzm
libmtp-1.1.5-x86_64-1_KSS.xzm
mtpfs-1.1-x86_64-1_KSS.xzm
scons-2.1.0-x86_64-1_SBo.xzm
libid3tag0-0.15.1b-x86_64-1.xzm

You will also need to add a udev rule:
Create a file called 51-android.rules in folder /lib/udev/rules.d/

With a text editor paste the following:

# adb protocol on Galaxy S3
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="685c", MODE="0666"

Now reboot your computer, connect device and open gMTP. You should be able to access your phone

If it doesn't work or you have a different device (I'm using Samsung s3 with cyanogenmod) you probably have different ID's than mine so run 'lsusb’ from terminal to get a result like:

Bus 001 Device 006: ID 04e8:685c Samsung Electronics Co., Ltd

04e8 = Your Vendor ID (idVendor)
685c = Your Device ID (idProduct)

If your figures are different than these, just paste them into the appropriate places in '51-android.rules' and it should work.

Enjoy.
https://www.porteus-apps.org

cttan
Shogun
Shogun
Posts: 333
Joined: 26 Jan 2011, 16:15
Distribution: Porteus 3.2 and 4.0 64bit KDE
Location: Malaysia

Re: [HOWTO] Samsung s3 Galaxy phone MTP file access

Post#2 by cttan » 22 Jan 2014, 06:45

Hi freestyler,

I am using 64 bit KDE but I am haing problem starting gmtp.

I have added these 2 modules:-
1. gnome-desktop-3.2.1-x86_64-1gsb.xzm
2. gsettings-desktop-schemas-3.2.0-x86_64-1gsb.xzm

Error:-

Code: Select all

gmtp

(process:12378): Gdk-WARNING **: locale not supported by C library

(gMTP:12378): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
Error: Unable to open ~/.mtpz-data for reading.
GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method "GetIOR" with signature "" on interface "org.gnome.GConf" doesn't exist
)
GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method "GetIOR" with signature "" on interface "org.gnome.GConf" doesn't exist
)
WARNING: gconf schema invalid, reverting to defaults. Please ensure schema is loaded in gconf database.
Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).


Any idea?

User avatar
freestyler
Contributor
Contributor
Posts: 384
Joined: 17 Oct 2013, 14:21
Distribution: Porteus XFCE

Re: [HOWTO] Samsung s3 Galaxy phone MTP file access

Post#3 by freestyler » 13 Feb 2014, 10:54

Sorry about the late reply...

Is the gmtp window opening? It should still work even with GConf errors.
Does it work without gnome-desktop-3.2.1-x86_64-1gsb.xzm and gsettings-desktop-schemas-3.2.0-x86_64-1gsb.xzm?

libGConf-3.2.6-x86_64 will help if you are missing libgconf-2.so.4
https://www.porteus-apps.org

cttan
Shogun
Shogun
Posts: 333
Joined: 26 Jan 2011, 16:15
Distribution: Porteus 3.2 and 4.0 64bit KDE
Location: Malaysia

Re: [HOWTO] Samsung s3 Galaxy phone MTP file access

Post#4 by cttan » 15 Feb 2014, 01:04

Hi freestyler,

All good now after I upgraded to Porteus v3.0 RC2.

The phone is detected automatically and I can access the files on it without any problem.
Thank you. :good:

User avatar
freestyler
Contributor
Contributor
Posts: 384
Joined: 17 Oct 2013, 14:21
Distribution: Porteus XFCE

Re: [HOWTO] Samsung s3 Galaxy phone MTP file access

Post#5 by freestyler » 16 Feb 2014, 02:35

sweet
https://www.porteus-apps.org

Post Reply