Gentoo android file transfer

Gentoo android file transfer

Copy raw contents

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 ):

Читайте также:  Android studio and sql

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.

Источник

Gentoo android file transfer

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.

Источник

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

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

Страницы

понедельник, 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.

Источник

Gentoo android file transfer

MTP (Media Transfer Protocol) is a protocol to allow the transfer of files to external devices. It is provided by several programs, most of them depending on FUSE.

Contents

Installation

Kernel

Prepare for MTP implementations by activating CONFIG_FUSE_FS in the Linux kernel.

Available software

Here are some MTP packages available in Gentoo:

Name Package Homepage Description
MTPfs sys-fs/mtpfs https://www.adebenham.com/mtpfs/ A FUSE-based filesystem providing access to MTP devices. More mature than some of the alternatives.
Go-mtpfs sys-fs/go-mtpfs https://github.com/hanwen/go-mtpfs A simple FUSE-based filesystem written in Go language.
jmtpfs sys-fs/jmtpfs https://github.com/JasonFerrara/jmtpfs A FUSE and media-libs/libmtp based filesystem for accessing MTP devices.
gphotofs media-gfx/gphotofs http://www.something.com gphotofs is a FUSE-based file system for interfacing with digital cameras using the gphoto2 application.
simple-mtpfs sys-fs/simple-mtpfs https://github.com/phatina/simple-mtpfs Like the others: a simple MTP FUSE filesystem driver written in C++.
Gnome gnome-base/gvfs https://wiki.gnome.org/Projects/gvfs Install gnome-base/gvfs with the mtp USE flag enabled. This can be either globally in make.conf ‘s USE flag or for gnome-base/gvfs in package.use .
Thunar xfce-extra/thunar-volman https://goodies.xfce.org/projects/thunar-plugins/thunar-volman To have Thunar automount MTP devices (and other volumes), install the xfce-extra/thunar-volman package and make sure gnome-base/gvfs is also installed with the mtp USE flag enabled as above.
Android File Transfer for Linux sys-fs/android-file-transfer-linux https://whoozle.github.io/android-file-transfer-linux/ Robust MTP implementation with unlimited file size support, partial 64-bit edits, album cover, USB zero copy, with Qt, CLI and Fuse interfaces available.

KDE Plasma 5

kio-extras contains MTP support, but it requires the mtp USE flag.

Enable the global mtp use flag; one way of doing it is by creating a file named mtp in /etc/portage/package.use :

Then run a @world update:

Alternatively, enable it in only in kde-apps/kio-extras:

After either approach mentioned above, install kde-apps/kio-extras:

After this, quitting plasmashell and restarting is probably sufficient to get it working.

If that does not work, please try restarting the system.

gMTP is a simple MTP client for Solaris and Linux.

It is sufficient to just install and run media-sound/gmtp:

Click on connect. A few second later, the file hierarchy on the device should appear. It is now possible to manipulate the files on the device. It support features like Album Artwork and playlists.

Источник

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