LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-07-2022, 11:54 AM   #1
rado84
Member
 
Registered: Mar 2019
Location: Sofia, Bulgaria
Distribution: Arch Linux
Posts: 39

Rep: Reputation: Disabled
[how to] Downloading pictures and files from Android phone to Linux


I'm posting this topic for those who don't know how to do it, not to ask for help.

There are 2 ways to do it:

1. Installing these packages:

android-file-transfer
android-udev
gvfs-mtp
libmtp

(such are the package names in Arch official repo but they might be differently named for your distro)
and executing mtp-detect in terminal. Sometimes executing this command may not be enough (usually it is but depending on the distro, it may not be enough), in which case you'll have to reboot before the phone can be detected.

2. WiFi File Transfer Pro - an Android app for the phone.
Install it on the phone, run it and tap "start". That will enable a local address to open in your browser which will give you a wi-fi access to the phone. The only downside is that it only gives access to the internal memory but not to the microSD card, so if you wanna trasfer data from the SD card, you'll have to move it to the internal memory first. The app is useful for pictures, mostly. I haven't tried using it for music or large video files - for that I prefer method 1.

This is what it looks like in the browser: https://i.imgur.com/9BlkocT.png

When you're done with the transfer, simply press "Stop" in the app and that's it.

The Pro version of the program is quite cheap to buy - 1-2 euro, if I recall correctly. The Pro version has no file size limit. The regular version has a file size limit of 5 MB, I think.

Last edited by rado84; 08-07-2022 at 11:55 AM.
 
Old 08-07-2022, 02:19 PM   #2
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,177

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
There is also KDEConnect, which will link your computer file manager to your phone.
 
Old 08-07-2022, 02:25 PM   #3
lvm_
Member
 
Registered: Jul 2020
Posts: 983

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Discover kdeconnect.
 
Old 08-07-2022, 02:38 PM   #4
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,152
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
Best thing that I have ever used for mtp. It just works. And simply.
https://github.com/phatina/simple-mtpfs/
https://aur.archlinux.org/packages/simple-mtpfs

Been using it for...don't recall how many years. Make a bash script for it. Not dependent on any DE/WM/File manager. Could use it in tty if you want.
 
Old 08-07-2022, 04:40 PM   #5
rado84
Member
 
Registered: Mar 2019
Location: Sofia, Bulgaria
Distribution: Arch Linux
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by uteck View Post
There is also KDEConnect, which will link your computer file manager to your phone.
The ways I mentioned will work no matter what desktop you're using, whereas your way will work only for KDE. To your surprise some of us don't like KDE and try to use parts of it as little as possible.

Quote:
Originally Posted by teckk View Post
Best thing that I have ever used for mtp. It just works. And simply.
https://github.com/phatina/simple-mtpfs/
https://aur.archlinux.org/packages/simple-mtpfs

Been using it for...don't recall how many years. Make a bash script for it. Not dependent on any DE/WM/File manager. Could use it in tty if you want.
The methods I mentioned aren't desktop dependent either. For as long as you have Arch, method 1 should work for you, regardless of the DE.
I'll try that simple-mtpfs too but seeing how long ago it was last updated, I have my doubts about it. The last update was 2 years and by Arch standards that's simply ancient.
 
Old 08-07-2022, 09:05 PM   #6
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,177

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Actually KDEconnect works with other desktop file managers. Gnome has an extension called GSConnect that uses the protocol, so you don't have to install any KDE libraries.
GSConnect may work with Thuner also for XFCE, or you can install the KDEconnect app and it's dependencies to work in Thuner. Or you can use the command line interface.
You can even install KDEConnect on Windows and Mac.

It is probably the most universal app around to sync your phone to any computer.
 
Old 08-08-2022, 12:56 AM   #7
Debian6to11
Member
 
Registered: Jan 2022
Location: Limassol, Cyprus
Distribution: Debian
Posts: 382
Blog Entries: 1

Rep: Reputation: 71
There is also an Android application, Cx File Explorer, a very powerful networked file manager.
 
Old 08-08-2022, 07:55 AM   #8
suramya
Member
 
Registered: Jan 2022
Location: Earth
Distribution: Debian
Posts: 249

Rep: Reputation: 102Reputation: 102
You can also sftp the files over to your linux machine by installing a sFTP client on the phone, I use AndFTP. Another option is to run a FTP server on the phone for the duration of the transfer, the best one I found is built into the File Manager+ app.

Finally, my favorite option is to install Syncthing on both the phone and computer. Once you do that the files will sync across seamlessly. I have it configured to only work when both the devices are on the same LAN but you can also sync over the internet.

I have transferred massive amounts of data between the phone and computer using the above methods. SyncThing is most seamless/userfriendly, AndFTP is a bit unreliable with large no of transfers and the transfers from File Manager+ work fine, just that they involve an extra step.

- Suramya
 
Old 08-08-2022, 10:02 AM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
i have just been using the USB-c cable

KDE auto mounts the phone for me .
 
Old 08-08-2022, 10:14 AM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,753

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by rado84 View Post
The ways I mentioned will work no matter what desktop you're using, whereas your way will work only for KDE. To your surprise some of us don't like KDE and try to use parts of it as little as possible.

The methods I mentioned aren't desktop dependent either. For as long as you have Arch, method 1 should work for you, regardless of the DE. I'll try that simple-mtpfs too but seeing how long ago it was last updated, I have my doubts about it. The last update was 2 years and by Arch standards that's simply ancient.
Sorry, but I'm not paying for an app to do what I can do for free. I can just plug my phone in, mount it, and copy files through the file manager with zero problems, and have been able to for years. And as others have said, KDE Connect works great (again, free), as would bluetooth transfer (free), and just emailing them (free).

Nothing (aside from KDE Connect) requires any apps on the phone.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloading pictures to Ubuntu from cell phone robertlouis1960 Linux - General 10 07-31-2022 06:22 PM
[SOLVED] How could I upload pictures and videos from Android phone to a remote directory on my Raspberry with Debian 10? adrian-jaramillo Linux - Newbie 7 10-13-2021 02:14 AM
How hard is to copy Pictures folder from Android phone to PopOS? Please help! groovepunk Linux - Newbie 8 04-14-2021 04:07 PM
LXer: Pictures From T-Mobile's G1 Android Phone Press Conference LXer Syndicated Linux News 0 09-24-2008 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:52 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