Transfer files from android to linux

How to Transfer Android Files to a Linux Desktop

Keeping your android device synced with linux isn’t hard

Android runs on the Linux kernel, so it would make perfect sense that the two should be able to pair with one another out of the box. That is, unfortunately, not the case. The good news is it’s actually quite easy to pair these two systems, with the help of two third-party tools.

Once you have these tools installed, you’ll be able to transfer files from your Android device, to your Linux desktop, like a pro.

What You’ll Need

You’ll obviously need an Android device and a Linux desktop to make this happen. The Linux machine will need to be running the GNOME Desktop Environment. On your Android device, you’ll need the KDE Connect app (found in the Google Play Store).

Installing the GNOME Shell Extension

To make the connection between Android and Linux, a GNOME Extension must be first installed. To do this, follow these steps:

Install a necessary dependency with the command:

sudo apt install chrome-gnome-shell

Point your web browser to the GSConnect GNOME Shell Extension page.

If prompted, select Click here to install browser extension.

When prompted, press Add.

Slide the On/Off slider so it’s in the On position.

When prompted, press Install.

The GSConnect extension is ready to use.

Set Up Your GNOME Desktop to Connect

Before you connect your phone to transfer files, you’ll need to do a bit of configuration on your Linux desktop.

Connect your Android device to your computer with the proper USB cable.

Select the GNOME System Tray in the upper right corner of the desktop.

You should now see a new entry in the drop-down, labeled Mobile Devices.

Select it to expand that entry. Then, select Mobile Settings.

Your Android device should appear in the GSConnect window.

Install KDE Connect

On your Android device, install KDE Connect with the following steps:

Open up the Google Play Store on your Android device.

Search for KDE Connect.

Locate and tap the entry by the KDE Community.

Tap Install.

Allow the installation to complete.

Connecting Android and Linux

Once both components are installed, go back to your Android device, open KDE Connect and tap GSConnect (under AVAILABLE DEVICES).

In the next window, tap REQUEST PAIRING. This will send a pair request to the GNOME desktop. A popup will appear on the desktop. Press Accept to OK the pairing.

With the connection made, tap Filesystem expose in KDE Connect and then tap OK and Allow. Then tap Share and Receive and (when prompted) tap OK and Allow.

Sending Files

You should now see an entry (in the KDE Connect) app, labeled Send Files. Tap that entry to open the default Android file manager.

From within the file manager, tap any one of the files and it will automatically be sent to your GNOME desktop. All files sent from Android to Linux will be found in your Downloads folder.

Читайте также:  Igo навигатор для андроид последняя версия

Sending From Linux to Android

You can also send files from Linux to Android, by opening the GNOME file manager, right-clicking the file to be transferred, and choose Send To Mobile Device > PHONE NAME (where PHONE NAME is the name of your Android device). All files sent from Linux to Android will be found in the Android Downloads folder.

Источник

How to Install Android File Transfer for Linux on Ubuntu

We often need to exchange a large amount of data including documents, mp3 files, videos, pictures among Linux and Android devices. Although using wireless technology, you can transfer data between them but transferring via USB cable is a reliable and fast way. For Linux users, we have a tool available known as Android File Transfer that can help us to transfer our data between Android devices and Linux based systems using a USB cable.

Android File Transfer is an MTP client tool that is used to transfer files from android devices to Linux OS and from Linux OS to Android devices. It is similar to Android File Transfer that is available for Mac OS and has a very minimalistic and easy to use interface.

Android file transfer for Linux supports the following features:

  • Download/Upload files and directories
  • Create new directories
  • Supports drag and drop feature
  • Delete files from Android device
  • A dialog box to view the progress of file transfer

Installing Android file transfer for Linux

Step 1: Connect your Android device with your computer using a USB cable. When prompted on Android device for allowing access to the device data, tap on Allow to allow access.

Step 2: Launch Terminal by pressing Ctrl+Alt+T key shortcut. Then you will need to update our system by adding the PPA to your list of software sources. For this, run the following command in Terminal:

Step 3: Once completed, run the following command in Terminal to update the repository.

Step 4: After your local repository is updated, run the following command in Terminal to install Android file transfer:

Step 5: Once the installation is completed, you can launch the Android file transfer from the Ubuntu Dash menu. When it will launch, you will see the following interface. You can use it to upload, download and remove files from your Android device.

So, that was we all need for installing Android file transfer for Linux. It was a very quick and straightforward method that you can use to transfer files from your Android to Ubuntu or vice versa. Advertisement

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. You can reach Karim on LinkedIn

Источник

How to Install Android File Transfer for Linux

If you struggle to mount your Android phone on Ubuntu you should give Android File Transfer for Linux a try.

This free, open source app is a clone of Google’s Android File Transfer app for macOS.

This one is built with Qt (meaning it looks decent on Linux) and its simple UI makes it easy to transfer files and folders to and from your Android smartphone and your Ubuntu machine.

Читайте также:  Как установить аська для андроид

Now, chances are a few of you will be scratching your head wondering what this app does that Nautilus, the default file manager in Ubuntu, doesn’t.

And the answer is nothing.

When I connect my Nexus 5X (and remember to select the MTP option) to my Ubuntu system I can browse, open and manage files on it using Nautilus, as though my phone was a regular USB drive, thanks to GVfs:

But this doesn’t work for everyone.

Some people encounter issues with this (and other MTP implementations), such as directories not loading, directory creation that doesn’t “stick”, and issues using a device inside of a media player app like Rhythmbox.

And it’s for those people whom Android File Transfer for Linux is designed.

Consider it an alternative way to mount MTP devices on Linux. If what you use currently works then stick with it. But if other methods don’t work for you, give this a try.

The app features:

  • A straightforward user interface
  • Drag and drop support (Linux to Phone)
  • Batch downloading (Phone to Linux)
  • Transfer progress dialogs
  • FUSE wrapper
  • No file size limits
  • Optional CLI tool

If there’s a ‘downside’ to using this app it’s that you can only see file and folder names, not a thumbnail preview or any other data.

Install Android File Transfer on Ubuntu

That’s enough waffle about this alternative way to mount your Android phone, on to the nitty gritty of installing it.

A PPA is available for users on Ubuntu 14.04 LTS and 16.04 LTS.

To add the PPA to your list of software sources run this command:

Then, to install Android File Transfer for Linux on Ubuntu, run:

If you use Ubuntu 18.04 LTS or later (or a different Linux distribution entirely) download the AppImage below:

App Images provide a ‘standalone’ runtime that does not need to be installed. To “run” it, give it the permissions in this screenshot:

Before running Android File Transfer do make make sure that no other devices (such as Nautilus) mount your phone first.

If you phone is mounted via another method the app will report “no MTP device found”. To fix, unmount your device from Nautilus (or whichever app is using it) then relaunch Android File Transfer.

Home » Apps » How to Install Android File Transfer for Linux

Источник

Transfer files from android to linux

Android File Transfer For Linux (FreeBSD and Mac OS X!)

Android File Transfer for Linux — reliable MTP client with minimalistic UI similar to Android File Transfer for Mac.

If you’re happy with gmtp / gvfs / mtpfs or any other mtp software, you might not need this software (but give it a try!).

If you’re suffering from crashes, missing tags, album covers, usb freezes and corrupted files, this software is right for you.

If your distribution does not provide android-file-transfer-linux package, you can still install it in your system. There’s quite a few packages available:

If you want to help me with development, click on the link below and follow the instructions. I’m developing AFTL in my spare time and try to fix everything as fast as possible, sometimes adding features in realtime (more than 100 tickes closed by now). Any amount would help relieving pain of using MTP. 😀

  • Simple Qt UI with progress dialogs.
  • FUSE wrapper (If you’d prefer mounting your device), supporting partial read/writes, allowing instant access to your files.
  • No file size limits.
  • Automatically renames album cover to make it visible from media player.
  • Supports Zune/Zune HD.
  • USB ‘Zerocopy’ support found in recent Linux kernel (no user/kernel data copying)
  • No extra dependencies (e.g. libptp / libmtp ).
  • Available as static/shared library.
  • Command line tool (aft-mtp-cli)
  • Python bindings
Читайте также:  Рейтинг ферм для андроид

Please take a look at FAQ if you have issues with your operating system. It’s not that big, but those are the questions asked very often.

AFT for Linux is now included in Gentoo, you don’t have to build anything, just run

If you need fuse mount helper to mount MTP filesystem, you have to enable fuse use flag, e.g. adding the following in /etc/portage/package.use (which can either be a directory or a file)

You can use sys-fs/android-file-transfer-linux-9999 ebuild if you want the latest git-version by adding the following entry into /etc/portage/package.accept_keywords (which can either be a directory or a file)

You will need Qt libraries for building ui program. If you’re planning to use only library (Qt is not needed), you could turn the option BUILD_QT_UI off.

For ubuntu and other debian-based distros use the following command:

Basically, you need libqtX-dev for UI, libfuse-dev for FUSE interface, cmake , ninja or make for building the project. You could use libqt5-dev as well.

Building with ninja

Building with make

Installing binary package on OS X / macOS

There is a binary package that can be installed via Homebrew:

  • First install brew if you don’t have it already installed.
  • Then the stable package may be installed via:
  • Nighlty build may be installed via;
  • Please note: they are in conflict, so please make sure to uninstall it when you want switch between stable and nightly.

Building app package on OS X / macOS

You’ll need Qt installed to build the GUI app. Here are the build instructions with qt5 from homebrew ( brew install qt5 ):

sudo ninja install or sudo make install will install program into cmake prefix/bin directory (usually /usr/local/bin)

Remember, if you want album art to be displayed, it must be named ‘albumart.xxx’ and placed first in the destination folder. Then copy other files. Also, note that fuse could be 7-8 times slower than ui/cli file transfer.

Qt user interface

Start application, choose destination folder and click any button on toolbar.

The options available there are: Upload Album , Upload Directory and Upload Files . The latter two are self-explanatory. Upload album tries searching source directory for album cover and sets best available cover.

You could drop any files or folders right into application window, the transfer will start automatically.

  • Samsung removed android extensions from MTP, so fuse will be available readonly, sorry. Feel free to post your complaints to http://developer.samsung.com/forum/en
  • Sometimes downloading fails with usb timeout, then phone becomes unresponsive. Android bug #75259
  • Objects created in UI will not show up in FUSE filesystem. Android bug #169547

Up to date list of all known problems and bugs available here

Please do not hesitate to contact me if you have any further questions, my email address is vladimir.menshakov@gmail.com.

  • All who filed bugs on github and wrote emails, many features appeared only because of your feedback. Thanks!
  • Alexey gazay Gaziev for useful suggestions, support and invaluable help with MacBook and MacOSX port.
  • @ssnjrthegr8 for the new logo!

Android File Transfer for Linux is released under GNU LGPLv2.1 License.

Источник

Оцените статью