Android mounted on Debian

New to Debian (Or Linux in general)? Ask your questions here!

Android mounted on Debian

Postby Deblib » 2020-04-10 16:54

Hi there!!!
In which Debian directory is an Android phone mounted when connected and USB charged to the PC?
Thanks!!!
Deblib
 
Posts: 115
Joined: 2016-05-14 14:41

Re: Android mounted on Debian

Postby Head_on_a_Stick » 2020-04-10 17:30

User avatar
Head_on_a_Stick
 
Posts: 12129
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Android mounted on Debian

Postby Deblib » 2020-04-11 11:39

I gather that each phone is automatically mounted in a different Debian directory. Is that so?
Deblib
 
Posts: 115
Joined: 2016-05-14 14:41

Re: Android mounted on Debian

Postby pylkko » 2020-04-12 07:26

It depends on multiple things, see here:
https://wiki.debian.org/mtp

but remember that most phones are not automatically mounted upon USB-connection. You need to set that in the settings of the phone.
User avatar
pylkko
 
Posts: 1738
Joined: 2014-11-06 19:02

Re: Android mounted on Debian

Postby morse_the_horse » 2020-04-15 19:59

To simplify it, when you connect an android phone to your Linux (Ubuntu or Debian) system with a DATA CABLE (see below), you should see a popup on your phone giving you choice of file transfer, charging only and other options. Your phone should be unlocked prior to connecting it. You generally have to accept file transfer or pick one of the other options if you don't want to xfer files.

The phone will show up in your file manager and then you can click on that name then further click to find the files/folders you want. If you want to see the folder name, just hover over the phone name on the left panel of the file manager. It will look something like mtp:// with other characters indicating which usb it is connected to.

It's very simple but often VERY slow showing the files particularly if you want to transfer files from your camera directory when it has a lot of pictures.

Below: It is important that you use a data cable. Some USB cables are charging only, i.e. they lack the data wires and only have power wires so they only work to charge your phone. The cable that came with your phone can do both charging and data. Look on Amazon for USB cables and you will see some that are labeled "charging cable" or similar name. These will not work for doing anything but charging your phone when connected to your computer.
morse_the_horse
 
Posts: 50
Joined: 2013-06-29 22:07

Re: Android mounted on Debian

Postby MALsPa » 2020-04-16 01:33

morse_the_horse wrote:If you want to see the folder name, just hover over the phone name on the left panel of the file manager. It will look something like mtp:// with other characters indicating which usb it is connected to.


In my case the filename of the directory looks something like this:

Code: Select all
mtp://LG_Electronics_Inc._LGE_Android_Phone_LGxxx/


I used "xxx" to replace the rest at the end, looks like the model number or whatever, but you get the idea. This is using Buster GNOME. So it's a "virtual file system" being used, correct? Interesting.
MALsPa
 
Posts: 658
Joined: 2007-12-07 19:20
Location: albuquerque

Re: Android mounted on Debian

Postby pylkko » 2020-04-16 04:46

The original poster only asked where is the mount point in the file system on Debian. And this is explained in the link posted in the second post. If you are using GNOME you can set the ules in ~/.gvfs/mounts
User avatar
pylkko
 
Posts: 1738
Joined: 2014-11-06 19:02


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable