Transferring files from android to linux

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

Источник

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

Источник

Transferring 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
Читайте также:  Как изменить настройки брендмауэры windows

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.

Источник

Как установить Android File Transfer на Linux

Наверняка у вас часто возникала ситуация, когда вам было катастрофически необходимо передать какие-нибудь файлы с устройства Android на ПК или обратно. Если вы используете Windows или Mac – сделать это можно с помощью специальных удобных утилит, которые в разы упрощают сие действие. Однако что делать тем, кто использует Linux? Передавать файлы через файловый менеджер? Отнюдь! Популярное приложение для MacOS Android File Transfer теперь доступно и на Linux.

Читайте также:  Операционной системе windows логической единицей хранения данных является

Само приложение построено на базе Qt, и имеет предельно простой интерфейс. Это в разы упрощает передачу файлов между смартфоном на Android и компьютером с Linux.

Кстати, раз уж мы заговорили о файловых менеджерах, стоит отдать должное Nautilus, который является стандартным в Ubuntu. Во многих случаях, он и сам прекрасно справляется с просмотром и даже редактированием файлов на подключенном устройстве Android (используется протокол MTP).

Однако так происходит не всегда, и не у всех, и именно для таких случаев разработан Android File Transfer. Стоит дать резонное замечание, которое будет гласить о том, что вам вероятно не надо устанавливать данное приложение, в случае, если у вас итак все прекрасно работает. Программа будет полезна для тех, кто использует какие-либо другие виды и реализации протокола MTP, или же и вовсе имеет проблемы с отображением файлов и папок.

Как уже отмечалось, приложение имеет простой и минималистичный интерфейс. Разобраться в нем труда не составит. Достаточно лишь знать некоторые стандартные английские слова, чтобы понимать что, где и для чего.

Особенности приложения Android File Transfer:

  • Простой пользовательский интерфейс
  • Поддержка “перетаскивания” файлов с ПК на Смартфон
  • Пакетная загрузка файлов со смартфона на ПК
  • Перенос прогресс-баров
  • Поддержка свободного модуля FUSE
  • Отсутствие ограничений размера файлов
  • Опциональная поддержка интерфейса командной строки CLI

Установка Android File Transfer на Ubuntu

Установить данное приложение на Ubuntu возможно через PPA-репозиторий. Он поддерживает последние версии Ubuntu Linux, включая 14.04 LTS, 16.04 LTS и 17.10.

Чтобы установить программу, нужно сначала добавить этот репозиторий в список источников ПО:

После этого можно обновить базы пакетов и установить само приложение:

Готово! Теперь его можно будет найти в списке установленных программ. Обратите внимание, что для правильной работы приложения с Android-устройством, последнее не должно быть смонтировано какой-либо другой программой (тем же Nautilus), иначе будет возникать ошибка: “No MTP device found”. Чтобы исправить это, вам следует отключить смартфон от использующего его приложения, после чего перезапустить Android File Transfer.

Источник

Блог начинающего линуксоида.

советы, руководства, инструкции.

Страницы

понедельник, 2 ноября 2015 г.

Android File Transfer for Linux — утилита для работы с файлами Android-устройств

Android File Transfer for Linux — свободная и стабильная реализация протокола MTP, который используется для многих современных мобильных устройств. Может закачивать файлы любых размеров, не тормозит и не виснет. В отличии от других реализаций MTP в Linux, AFTL работает значительно быстрее и стабильнее.
Поддерживается работа как в терминале, так и через встроенный графический интерфейс на Qt 5. Также утилита может работать с Windows Phone, и является наверное единственным способом заставить нормально работать, например, Nokia Lumia в Linux. Далеко не все устройства на Android могут работать в режиме накопителя. Большинство используют протокол MTP для синхронизации данных. И если в Windows с этим нет проблем (оно и понятно, протокол-то Майкрософтовский), то в Linux и OS X, нужны сторонние реализации.

Данная утилита является аналогичной таковой в Mac OS X (кстати, в последних версиях AFTL, добавлена поддержка Mac OS X). Имеется два варианта утилиты — графическая (на Qt5) и консольная. Установка в Ubuntu/Linux Mint:

sudo add-apt-repository ppa:samoilov-lex/aftl-stable
sudo apt-get update
sudo apt install android-file-transfer

Для установки консольной утилиты выполните:

sudo apt install aft-mtp-cli

Пакет с последней стабильной версией для Debian 8/SteamOS2/LMDE 2 вы можете установить из моего репозитория.

На сайте программы есть инструкция по сборке под любые дистрибутивы Linux, а также под Mac OS X.

Источник

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