How to connect an Android smartphone with Linux Mint?
Hello,
beginner under Linux and not proficient with command lines...
how to connect an Android smartphone Xiaomi with Linux Mint to retrieve photos, messages, etc.
Which software to use?
Thank you for your responses
2 answers
-
Hello,
Warpinator is installed by default under Linux Mint, there are other solutions, KDE Connect...
See for example there, the Warpinator app must be installed on the phone side
I don’t know if USB or WiFi is available, I haven’t tested and I can’t do it in the first case (I only have a Linux Mint virtual machine that does not recognize USB ports on the host).
-
Hello,
For the photos, the easiest is via the charging cable.
- Connect the phone to the PC
- Unlock the phone
- In the phone's notification bar, press USB charging and select File Transfer.
- Open Mint's file browser; your phone should appear in the left pane.
From there, your phone behaves like external storage and you can transfer any files you want in both directions.
-
-
Hello,
The PC, phone, and Linux distribution choices don’t change the problem much. It’s more a matter of technical (USB, IP, Bluetooth) and software (with KDE or without) choices. By default Linux Mint is deployed with Cinnamon or Mate and thus without KDE.
Here are the solutions I actually use in practice:
- For photos, via USB: as indicated in #2, connect your mobile phone to the laptop via USB and allow file transfer. You should then be able to browse and copy/paste the photos of your choice from your Linux file explorer.
- For any type of files
- over your home IP network:
- kdeconnect is great (on Android: kdeconnect; on Linux: kdeconnect if you use KDE, otherwise you can consider gsconnect). Both devices must be connected to the same wifi network.
- A Bluetooth support is available but I have never tested it.
- ftp: on Android, you can install an FTP client (for example Andftp) and on Linux an FTP server (for example proftpd). By default, proftpd is configured so that you can connect to your Linux computer via FTP using the Linux username and its password. From andftp you can then transfer files. You’ll need to obtain your Linux IP address (either with the command "ip addr", or by clicking on the network applet, usually near the clock).
- kdeconnect is great (on Android: kdeconnect; on Linux: kdeconnect if you use KDE, otherwise you can consider gsconnect). Both devices must be connected to the same wifi network.
- via Bluetooth: it’s feasible but rather slow, so to be reserved for small file volumes.
- on Android and Linux remember to enable Bluetooth
- if you use KDE I recommend installing bluedevil
- pair the two devices
- it should be possible to browse from your Linux file explorer to your Android device. In my experience this is moderately stable. I prefer sending files (from Linux to Android).
- on Android and Linux remember to enable Bluetooth
- via the cloud: depending on the data you want to transfer, you may also simply upload your data to a cloud (for example Google Drive) and thus be able to access it from anywhere. Provided you trust the said cloud...
- over your home IP network:
- your message also mentions transferring messages. I don’t know exactly what kind of messages you’re referring to.
- If you’re talking about instant messaging (like WhatsApp) or similar, there is nothing to transfer; simply configure your instant messaging on your PC.
- If you’re talking about emails, you need to configure your mail clients (Thunderbird, KMail, or equivalent) to access your mail server via IMAP.
Good luck
</ul>