Forumsee logo
Forumsee » Mobility » Tablets » Read message
RSS: Subscribe to RSS

Samsung - MTP on Ubuntu/Mint/Debian

Galaxy Tab 2 General - xda-developers - forum.xda-developers.com
MTP on Ubuntu/Mint/Debian

With many devices not supporting mass storage anymore Android seemed to have moved from mass storage to PTP and MTP

With Windows supporting MTP by default and Mac OSX with an application there isn't any native support in Linux.

There are a few work arounds like gMTP but that didn't really work for me.

There also is another work around that requires you to edit some files.

To make it easier for others I wrote a little bash script, that does most for you.

Step 1 : sudo apt-get install mtp-tools mtpfs

Step 2 : Plugin your device

Step 3 : Open up a terminal

Step 4 : Type in : “mtp-detect”

Step 5 : Write the PID and VID down, you will need this later

Step 6 : disconnect your device

Step 7 : Download the script and execute it by sudo ./mtp (don't forget to make it an executable first)

Step 8: Follow the instructions on screen and after it's done reboot and plugin your device

Step 9: Use the command "android-connect" to mount your device and "android-disconnect" to dismount

It's not much, but I hope it helped someone.

Please let me know if it worked for your device/distro.

Original post

Tested and working on the P3110 and P5110.

EDIT 1:

(First) time mount can take up to 1-2 minutes, have had where it would mount in a few seconds, others half a minute. Be patient.
Date: Oct 31, 2012    Labels: Samsung



Last videos:

Is my tablet fixable?
Is my tablet fixable?

Tags

Cars ·
Travel ·
Pets ·
production-frontend