LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-28-2017, 06:27 PM   #1
Corvette
Member
 
Registered: Jul 2017
Location: Missouri, United States
Distribution: Debian 9
Posts: 110

Rep: Reputation: 24
Mounting Android Phone as USB Storage Device - Ubuntu


I have an LG ZTE phone that I would transfer files to through USB. The device was not automatically detected, so I figured I should try and mount it manually.
To my understanding, one typically uses fdisk to obtain the information necessary to perform the mount. However, my phone does not display:

Code:
Device     Boot     Start       End   Sectors  Size Id Type
/dev/sda1  *         2048    206847    204800  100M  7 HPFS/NTFS/exFAT
/dev/sda2          206848 132665343 132458496 63.2G  7 HPFS/NTFS/exFAT
/dev/sda3       132665344 311656447 178991104 85.4G  5 Extended
/dev/sda5       250218496 303605759  53387264 25.5G 83 Linux
/dev/sda6       303607808 311656447   8048640  3.9G 82 Linux swap / Solaris
/dev/sda7       132667392 250218495 117551104 56.1G 83 Linux
Running ls dev/sd* gives the following:

Code:
/dev/sda  /dev/sda1  /dev/sda2  /dev/sda3  /dev/sda5  /dev/sda6  /dev/sda7
Yet the device is recognized by lsusb

Code:
Bus 002 Device 006: ID 19d2:0307 ZTE WCDMA Technologies MSM 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 003: ID 03f0:0324 Hewlett-Packard SK-2885 keyboard
Bus 006 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
and dmesg

Code:
[ 3856.944017] usb 2-6: new high-speed USB device number 6 using ehci-pci
[ 3857.077092] usb 2-6: New USB device found, idVendor=19d2, idProduct=0307
[ 3857.077096] usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3857.077099] usb 2-6: Product: Android
[ 3857.077102] usb 2-6: Manufacturer: Android
[ 3857.077104] usb 2-6: SerialNumber: 4e8aca5c


However, I do not see any thing that indicates either a UID or sd* disk so that I can actually mount the device. Given these circumstances, how do I mount the phone as a USB device?

Thanks.
 
Old 07-28-2017, 07:23 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 21, MX 21 Fluxbox
Posts: 6,556
Blog Entries: 21

Rep: Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288Reputation: 3288
Search in synaptic package manager for 'phone'



http://www.debugpoint.com/2016/03/ho...-protocol-mtp/

http://www.linuxquestions.org/questi...er-4175592209/
 
1 members found this post helpful.
Old 07-30-2017, 07:03 AM   #3
Corvette
Member
 
Registered: Jul 2017
Location: Missouri, United States
Distribution: Debian 9
Posts: 110

Original Poster
Rep: Reputation: 24
I (foolishly I suppose) did not realize the incompatibility between MTP and regular USB transport. For reference, I had to install jmtpfs

Code:
sudo apt-get install jmtpfs
Then mounted it with the following command:

Code:
jmtpfs ~/MOUNTDIR
Thanks.
 
Old 05-19-2020, 08:10 AM   #4
rjunior8
LQ Newbie
 
Registered: May 2020
Posts: 1

Rep: Reputation: Disabled
Explanation

Can you to explain how exactly you did (all steps)?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] problem mounting Android phone as filesystem on Debian laptop via USB TomRoche Linux - General 1 04-05-2015 08:54 PM
ubuntu lucid will not mount android 2.1 phone storage SaintDanBert Linux - Mobile 13 11-24-2010 06:29 PM
Wrong characters mounting USB storage device jordicm Debian 1 01-15-2007 05:49 AM
mounting USB mass storage device with kubuntu5.10 ariel_w Linux - Hardware 5 04-26-2006 04:43 PM
mounting usb mass storage device Joe47 Fedora 2 03-03-2004 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration