How to connect your Android phone to Linux

Introduction

If the phone is not automatically determined when connecting, use the instructions

Instructions

To connect an Android phone to Linux, you need:

Set up the ration jmtpfs :

sudo apt-get install jmtpfs

Create a directory:

sudo mkdir /media/zenphone

Connect your phone to your computer using a USB cable

Unlock the phone

Confirm data transfer via USB

Android phones usually show a notification like: «USB …»

The number of messages can vary depending on the phone. You need to click on these notifications and if the phone is offered

«Use USB for…»Select something like «File transfer»;

On a Linux computer:

sudo jmtpfs /media/zenphone

ls /media/zenphone

If necessary,

fusermount -u /media/zenphone

To copy, for example, photos from the camera of the phone to the hard drive, create a folder.

mkdir /home/heihei.ru/xiaomi

And copy the contents. DCIM/Camera command command command command

cp -r /media/xiaomi3max/Internal\ shared\ storage/DCIM/Camera /home/heihei.ru/xiaomi3max

Thank you for finishing the article.

You can buy Android phones at a bargain price in official online stores:

Samsung

Xiaomi

Article author: Andrei Olegovich