Photo transfer from Android to Ubuntu

catrine44 Posted messages 23 Status Membre -  
catrine44 Posted messages 23 Status Membre -

Hello again,

I can't seem to transfer my Android 11 photos and ziks to my PC which is running Ubuntu 21.10 and is up to date?... apparently

Thanks in advance, friends


3 réponses

mamiemando Posted messages 33540 Registration date   Status Modérateur Last intervention   7 927
 

Hello,

There are several ways to proceed:

  • KdeConnect: install kdeconnect on your Android. On Linux, install kdeconnect (if you're on KDE) or gsconnect (otherwise). Connect both devices to your router, and you should be able to pair them via kdeconnect. From there, you'll be able to transfer files between the two.
  • FTP: install an FTP client (for example AndFTP) on your Android and an FTP server (for example proftpd) on Linux. Connect both devices to your router. Find the IP address of your Linux (by clicking on the NetworkManager icon or by typing the command "ip addr" in a terminal). Then connect your Android to your Linux FTP server (Host: your Linux IP; port: 21 by default; login: your Linux login; password: your Linux password).
  • SSH/SFTP: install an SSH client on your Android that supports SFTP (see this discussion). On the Linux side, install an SSH server. The principle is exactly the same as for FTP, except that the port is 22. However, between SSH and SFTP, I recommend using FTP, which will be faster and spare you from installing an SSH server (which is a sensitive service that is better secured).
  • Bluetooth: it's a similar principle to KDE Connect, but there’s no need for a router; instead of using IP, you'll use Bluetooth. You can install bluedevil on Linux (if you're on KDE) or blueman (otherwise). Make sure Bluetooth is enabled on both machines, then pair them via bluedevil/blueman. After that, you should be able to transfer files from your Linux file manager (dolphin on KDE, nautilus otherwise).
  • USB: connect your Android via USB to your Linux computer. Make sure MTP (or PTP) sharing is active on your Android. If so, the phone should behave like a USB drive on the Linux side.

Good luck

1
catrine44 Posted messages 23 Status Membre
 

Thank you mamiedando

I'm going to take a closer look at this, but I want to clarify that I don't know how to use the console. I chose Ubuntu to avoid being on Windows or Google.

0
mamiemando Posted messages 33540 Registration date   Status Modérateur Last intervention   7 927
 

Hello catrine44,

None of the proposed solutions require the console; all the applications I mentioned are windowed applications and can be installed from the Ubuntu software center on the Linux side.

Good luck

0
jns55
 

Hello,

With a USB cable, there is absolutely nothing to install. You just need to make sure the smartphone is recognized as a storage device, which is not the case when you plug it in.

To do this, you need to (on Android 11, I don't know about other versions of Android):

1 - Open the file manager on Ubuntu.

2 - Unlock the smartphone

3 - Connect the smartphone via USB to the PC; it automatically enters charging mode and sends a notification.

4 - Display the notifications. The "System interface" notification appears with the USB symbol. Clicking on it will show "Charging this device via USB," and clicking on that finally offers the option to transfer files. Checking the box puts the device in storage mode as if it were a USB stick, in short.

From this point on, the smartphone appears in the Ubuntu file manager, and you can use copy/paste to transfer anything you want in any direction.

It is possible that the steps differ from one brand to another depending on the manufacturer's overlay on the version of Android installed, but the principle remains the same, and you should be able to find it with a little searching.

1
catrine44 Posted messages 23 Status Membre > jns55
 

I'm trying

thank you

0