Author Topic: How To - Setting up and connecting my SAMSUNG SGH-S425G (USB) on VSIDO  (Read 2547 times)

VastOne

  •      v-ger
  • Posts: 4131
    • View Profile
    • VSIDO Community
I have a SAMSUNG  SGH-S425G cell phone that was being a total pain to mount in VSIDO / Debian

I was connecting it in a Win 7 VM solution but with the release of VirtualBox 4.3 the USB connections have now stopped dead.  With that I set about to solve it within VSIDO / Debian.  Here is how I did it. 

I determined what I had by turning on Mass Storage on the phone and then running in terminal:

Code: [Select]
dmesg | tail -n 25
this showed me:
Code: [Select]
[11006.914004] usb 1-2: New USB device found, idVendor=04e8, idProduct=675a
[11006.914016] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[11006.914023] usb 1-2: Product: SAMSUNG Mobile Device
[11006.914028] usb 1-2: Manufacturer: Samsung
[11006.914033] usb 1-2: SerialNumber: 000000-00-0000000
[11006.916070] usb-storage 1-2:2.0: USB Mass Storage device detected
[11006.916228] scsi17 : usb-storage 1-2:2.0
[11007.918127] scsi 17:0:0:0: Direct-Access     SAMSUNG  SGH-S425G        2.11 PQ: 0 ANSI: 0
[11007.918770] sd 17:0:0:0: Attached scsi generic sg7 type 0
[11007.928089] sd 17:0:0:0: [sdg] Attached SCSI removable disk

Searching the webz I discovered that it was a MTP issue and I needed some tools to get it to work.  I installed the following:

Code: [Select]
sudo apt-get install mtpfs mtp-tools libmtp-dev libmtp-runtime
I then did this in terminal:

Code: [Select]
sudo mkdir /media/samsung
sudo chmod 775 /media/samsung

I plugged this phone in and selected Media Player as the Connection

and then mounted it successfully in terminal with:

Code: [Select]
sudo mtpfs -o allow_other /media/samsung
In SpaceFM, it does not show up automatically but if you go to /media/samsung all your files on the phone will be there

After you are done, unmount it with this

Code: [Select]
sudo umount /media/samsung
I have read that unmounting critically important to do before you unhook the device though I do not know why

UPDATE

I have found mtpfs to be very unpredictable... where some days it works flawlessly and others it will see and connect but not allow anything to copy to the folder showing an error of Permission Denied - Numerical result out of range

I have found another tool go-mtpfs and this is how I set it up... This works all the time

Download the attached go-mtpfs file and install it with gdebi or dpkg -i

Mount it like this, using the same folder as from above

Code: [Select]
sudo go-mtpfs /media/samsung &
(Change this to reflect your mount point)

Now open that folder as root in SpaceFM, Thunar or terminal and copy anything you want to into the folder/phone/tablet

To unmount it, run this

Code: [Select]
sudo fusermount -u /media/samsung
(Change this to reflect your unmount point)
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

jedi

  • DEFCON 1
  • Posts: 1598
  • Not all those who wander are lost.
    • View Profile
    • NixNut.com
Re: How To - Setting up and connecting my SAMSUNG SGH-S425G (USB) on VSIDO
« Reply #1 on: October 30, 2013, 12:35:30 AM »
Thank you very much VastOne!  This worked perfectly for my Nexus 7.  After a little reading, seems like if you fail to do the umount, loss or corruption of data on your device can occur.
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

VastOne

  •      v-ger
  • Posts: 4131
    • View Profile
    • VSIDO Community
Re: How To - Setting up and connecting my SAMSUNG SGH-S425G (USB) on VSIDO
« Reply #2 on: October 30, 2013, 12:48:34 AM »
Glad it helped...

VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO