LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-22-2024, 11:47 AM   #1
MariaRothbarda
LQ Newbie
 
Registered: Jan 2024
Posts: 2

Rep: Reputation: 0
debian does not read smartphones via USB


Hi to all, my linux Debian doesn't read android smartphone via USB. I tried reading many posts but couldn't find a solution.

When I connect the smartphone on the smartphone it appears to activate file transfer and I click OK, but the partition is not shown. Could anyone help me?
 
Old 01-22-2024, 12:02 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by MariaRothbarda View Post
Hi to all, my linux Debian doesn't read android smartphone via USB. I tried reading many posts but couldn't find a solution. When I connect the smartphone on the smartphone it appears to activate file transfer and I click OK, but the partition is not shown. Could anyone help me?
Possibly, but you tell us nothing about what version of Debian, what kind of smart phone, version of Android, or anything you've already tried...not even what you're seeing when you say it 'appears to activate file transfer'. What are you clicking, where???
 
Old 01-22-2024, 12:13 PM   #3
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
I use Debian, and I haven't always had good luck trying to "mount" an Android smartphone.

Instead, I use gMTP, which doesn't mount the smartphone as a file system, but it does let me browse around in the phone's file system and copy over files (in either direction). It's a bit clumsy but at least it works.
 
Old 01-22-2024, 08:36 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
As an alternative, you might want to take a look at Airdroid. I've found it quite reliable.

It's in the Play Store and you don't need an Airdroid account to use it locally.
 
Old 01-22-2024, 09:00 PM   #5
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
How are you trying to mount it? Most file managers will mount it when you click on it, assuming you've set the phone to file transfer/mtp mode, which doesn't happen automatically.

There's also kdeconnect which is in f-droid and probably in playstore too, not only for file transfers, but also for getting your notifications and replying to sms, etc. Install it on device and on your OS. (It doesn't require Plasma).
 
Old 01-23-2024, 12:26 AM   #6
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,635

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
I do not believe that any operating system reads smartphones. Some include applications of utilities that might, and Debian has several in the repos.
I see several excellent suggestions already, and I can say that I have used KDEConnect and AirDroid with some success.
 
1 members found this post helpful.
Old 01-23-2024, 03:44 AM   #7
MariaRothbarda
LQ Newbie
 
Registered: Jan 2024
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Possibly, but you tell us nothing about what version of Debian, what kind of smart phone, version of Android, or anything you've already tried...not even what you're seeing when you say it 'appears to activate file transfer'. What are you clicking, where???
My smartphone is Xiaomi Redmi note 12 pro 5g. Debian version: Debian GNU/Linux 12 (bookworm).

When I connect the smartphone to the PC with the USB cable, a window appears on the smartphone screen asking me to select between "no data transfer", "file transfer/android auto" and "transfer photos". I select "file transfer" but nothing appears on the PC.

I tried installing the ADB drivers but it didn't help
 
Old 02-01-2024, 05:08 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by MariaRothbarda View Post
My smartphone is Xiaomi Redmi note 12 pro 5g. Debian version: Debian GNU/Linux 12 (bookworm).

When I connect the smartphone to the PC with the USB cable, a window appears on the smartphone screen asking me to select between "no data transfer", "file transfer/android auto" and "transfer photos". I select "file transfer" but nothing appears on the PC.

I tried installing the ADB drivers but it didn't help
What do you think should 'appear'??? All that is most likely doing is mounting your phone...have you looked in your file manager to see if your phone is there???
 
Old 02-02-2024, 07:09 AM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,517

Rep: Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493
I would expect you would see it if mounted under either /media/username or /run/media/username. I don't use Debian so don't know. You could check each of those directories before plugging in the phone and then after to see if anything new is there.
 
Old 02-02-2024, 06:00 PM   #10
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,635

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
Quote:
Originally Posted by yancek View Post
I would expect you would see it if mounted under either /media/username or /run/media/username. I don't use Debian so don't know. You could check each of those directories before plugging in the phone and then after to see if anything new is there.
Or just drop to a terminal and use the "mount" command to see what is mounted. Anything new will be one of the last entries.
 
1 members found this post helpful.
Old 02-05-2024, 05:26 PM   #11
FrankenDebian
LQ Newbie
 
Registered: Feb 2024
Distribution: GNU/Debian SID
Posts: 4

Rep: Reputation: Disabled
You don't need gMTP for nothing or others apps, connect the phone and select transfer or mtp protocol and go to your file manager (thunar, spacefm, etc) and it's listed there.
If not, go to your file manager settings and activate Enable Volume Management and try again
 
Old 04-18-2024, 09:08 AM   #12
cmk77
Member
 
Registered: May 2006
Location: netherlands
Distribution: debian, rocky, slackware
Posts: 131

Rep: Reputation: 25
You probably solved it months ago, but ... did you have the gvfs-backends package installed?

On bullseye this package was not installed by default but it's needed for gnome-based desktops / file managers to "see" the phone.
[see https://wiki.debian.org/mtp for more info]
 
Old 04-18-2024, 07:17 PM   #13
friendlysalmon8827
Member
 
Registered: Dec 2023
Distribution: Anfroid,Debian
Posts: 85

Rep: Reputation: 5
I've been able to do the exact operation by doing as detailed in the code blocks below.

on your device swipe down from the top of your screen twice.

Touch the gear icon and then go to the connected devices sub-menu and select connected devices and you should see an option in that sub-menu named tethering and android auto. In that sub menu you select connect my phone for file transfer only
 
Old 04-19-2024, 08:28 AM   #14
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by friendlysalmon8827 View Post
I've been able to do the exact operation by doing as detailed in the code blocks below.

on your device swipe down from the top of your screen twice.

Touch the gear icon and then go to the connected devices sub-menu and select connected devices and you should see an option in that sub-menu named tethering and android auto. In that sub menu you select connect my phone for file transfer only
You've made several posts like this that only tangentially relate to the subject, and seem to come from chatGPT ("detailed in the code blocks below"???) What code blocks???
 
  


Reply



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
Android smartphones that can sync the calendar over usb/bluetooth Ulysses_ Linux - Mobile 11 04-16-2017 04:42 PM
how to change the filesystem from read only to read write while logged via kali live persistance boot usb drive? ertanuj Linux - Newbie 1 03-24-2017 07:25 AM
LXer: Open Source Maru OS Promises Debian Linux for Smartphones and Tablets LXer Syndicated Linux News 0 02-16-2016 09:01 PM
Debian for Smartphones techningeer Linux - General 2 08-03-2015 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:23 AM.

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