Is there any good solution for file transfer between Linux and Android?

Another approach to get around large file counts is to group them together in (an) archive(s) as appropriate and then have only large and few(er) files to move - which can then be tackled by number of the alternatives discussed here…

I am in favour of keeping your hair one way or another!

3 Likes

warpinator , already quoted, is excellent.

I used it under mint to transfer photos from my smartphone to my computer (works both ways), available in the playstore.

The problem is that I can’t find the package for Arch.

https://archlinux.org/packages/extra/any/warpinator/

Warpinator for arch

2 Likes

:grinning: yeah ! thank you very much…

to clarify for the author of the post:

warpinator can also be used to exchange files between linux computers on the local network.

available for windows Ios, Android :slight_smile:

2 Likes

Too easy, I’d save that page for further reference if I were you as long as the aur one, helps heaps when trying to find software and deciding where to get it from

Yes, but you have to take into account the memory/disk speed and the virtual memory settings.

https://wiki.archlinux.org/title/Sysctl#Virtual_memory

Copying 2 video files to my android 10 smartphone (total size 7.6 GB) took about 6 minutes.

1 Like

There is a script for that, made by cscs (manjaro forum) and @Kresimir

2 Likes

Yes, but this is part of what I meant when I said I have to think things over.

I’m not sure if a Arch based Distro is indeed the best choice for me.
And please, I’m not blaming Arch, EOS or anyone here! I was aware of what EOS is when I made the choice. But since then, although it’s not that long of a time, many things happened that changed my life. I have changed. I don’t have the energy anymore for constantly tinkering with the OS. There were times when I didn’t mind and even had fun doing this but not anymore. Now I want a system that just works.

So what are my options?

Back to Windows? No! I’m no hater and I used Windows for years, but I stopped at 8.1. I used W10 at work and I currently use W11 at work and I just don’t like it. So, nope.

Another Distro? Now that’s where I need your opinion. To those who have experience with different distros: Do you think I would be more happy on another Distro? I think about Fedora but since I never tried it I’m not sure.

Stay at EOS? Ofc that’s also an option. Overall I like EOS a lot and I was happy with EOS for quite some time. And I like the community (no butt kissing but I wouldn’t be here if I thought you all suck :laughing:) It was just lately that suddenly nothing seems to work. Maybe just a bunch of coincidences. And maybe I’m overreacting for other reasons also.
So I will take my time to think about this.

I’d say weight up your options and choose whatever works for you, as long as it works

Take a breather man :slight_smile: all the stuff that’s “broken” for me on EOS has been relatively minor but I understand your need for something stable. You could give a few options a try in Distrosea to get a feel for something different without installing fresh for each one. I’ve personally had great experiences with POP_OS, Mint and Fedora. Garuda and Zorin were very nice when I tried them out also.

Another spot to look would be this thread for suggestions:

1 Like

I understand that the OP isn’t looking for an app, but I am very surprised that no one has mentioned Syncthing or even Resilio Sync. These are what I have been using for years to sync files between Android and Linux.

If you don’t want a constant sync, just setup and empty folder on both devices, then place files that you want transferred into that folder, then remove the files afterward.

The downside of course, is that either app uses a LAN/internet connection to transfer files, so they are useless without one.

syncthing

rslsync

I’ve been using it on my daily gaming PC almost a year now. My wife uses it as well. Everything pretty much just works. I run updates. You should give it a shot.

1 Like

i do use rsync :wink:
mounting over filemanager but copy with rsync… drag and drop over filemanagers sucks…

2 Likes

Syncthing has been perfect for me.

I once rsync’d a large photo library from my phone to my computer over SSH on the LAN. It was mostly just to test whether it would work or not–I definitely had more practical ways to do it. It took a while, and the phone ended up getting blazing hot, but it tranferred the photo library just fine! :sweat_smile:

I just want to +1 Syncthing. It is stupid simple to set up and works great. There is a version in F-Droid called Syncthing-Fork that has some improvements over the stock version, although to be honest the basic functionality (turn it on, it syncs your files) is all you need.

1 Like

Try other distros ? Or change some virtual memory settings and see if it improves your system.

For example :

sudo nano /etc/sysctl.d/99-sysctl.conf  

add ;

vm.dirty_ratio=5
vm.dirty_background_ratio=3

and reboot.

In my case it improved the copy of files to SD cards used in my digital camera and my portable audio player, trade off is, it reduces performances for fast speed copy.

whats wrong with the adb command? I pull files from my android weekly for backup using the adb pull command. You need to enable usb debbugging on your device. its command line so no extra bloat on the system.

here is the command of a android pictures pull alias I have

adb pull /storage/emulated/0/DCIM/Camera /home/thefrog/tmp/pulled

simple and easy works everytime

4 Likes

As I said, the constant need to fiddle around is what really turns me of atm.
Srsly, why can’t the system set this values itself based on which files you copy?

Will try, thx!

In the past I just used a samba share. Now I also have a syncthing directory.

1 Like