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

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


Read responses in forum.xda-developers.com

Tags


Last videos:

YouTube picture in picture mode for any phone!
YouTube picture in picture mode for any phone!
After unlockin network iphone 7 just blinked
After unlockin network iphone 7 just blinked
samsung galaxy s3 dead solution
samsung galaxy s3 dead solution
How to flash Gretel G9 stock rom
How to flash Gretel G9 stock rom
Bypass Google all Samsung Devices Android 7.0 - 7.1.1 by bluetooth, very easy
Bypass Google all Samsung Devices Android 7.0 - 7.1.1 by bluetooth, very easy
Coolpad Dazen 1 Error : device can't open fastboot channel
Coolpad Dazen 1 Error : device can't open fastboot channel
VIDEO Bypass FRP Samsung S8, S8 Plus by ODIN
VIDEO Bypass FRP Samsung S8, S8 Plus by ODIN
How To Flash Qmobile Z8
How To Flash Qmobile Z8
Cars · 
Mobility · 
Hardware · 
Motorbikes · 
Travel · 
Boating · 
Aviation · 
production-frontend
About Forumsee · Contact · Privacy policy · Request content removal
We use cookies for navigation analysis and personalized advertisement. By using our site, you agree to our use of cookies.
Accept  ·  Learn more