Android transfer files usb linux

Как я могу передавать файлы между Android и Linux через USB?

Я хочу скопировать некоторые файлы фильмов из Linux на мой телефон HTC One SV Android (без рута).

В Windows мой телефон автоматически подключает свои внутренние и SD-карты, когда я подключаю его, что позволяет мне передавать файлы.

В Linux Mint 13 Mate я всегда получаю сообщение об ошибке, когда подключаю телефон с помощью USB-кабеля, тогда может потребоваться несколько минут для установки, а иногда это не удается. Я думаю, что ошибка была .

Ошибка инициализации камеры: -60: не удалось заблокировать устройство

Как я могу сделать эту работу?

Я бы сказал, что проблема в аппаратном обеспечении, а не в программном обеспечении, особенно в Linux или вашем дистрибутиве.

Мой древний телефон на базе Android 2.3 воспринимается как запоминающее устройство USB. Какую версию Android вы используете?

Чтобы увидеть, что происходит в вашем телефоне, вы можете попробовать использовать ADB. ADB — это инструмент с SDK от Android. Вы можете видеть все в вашем телефоне. И посмотри LogError.

включение отладки по USB предотвратит блокировку устройства при подключении. Я обнаружил, что MTP всегда выходил из строя всякий раз, когда устройство автоматически блокировалось.

ОБНОВЛЕНИЕ: Есть несколько лучших альтернатив Airdroid сейчас. Однако, похоже, что большинство дистрибутивов Linux работают с MTP довольно хорошо. По своему опыту я знаю, что Mint (на основе Ubuntu) работает «из коробки», как и Manjaro (на основе Arch). Если это не работает «из коробки» или изначально, то обязательно поищите в вашем менеджере пакетов решение MTP.

Более новые версии Android монтируют хранилище как устройство MTP вместо запоминающего устройства. Преимуществом этого является одновременный доступ к устройству Android и ПК. К сожалению, в то время как Windows изначально поддерживает это нормально, решения linux на данный момент довольно глючные.

В настоящее время самым надежным (и все еще немного ненадежным для начала работы, но после подключения все в порядке) я обнаружил go-mtpfs. Вот ссылка, чтобы помочь вам настроить его. Вы должны монтировать / демонтировать из командной строки. Однако в этой ветке также есть средство запуска единства, если вы используете Ubuntu Unity.

Однако лучший вариант, если вы не передаете много данных, это использовать что-то вроде AirDroid. Это бесплатное приложение в магазине воспроизведения для передачи по локальной сети и предоставляет веб-интерфейс для использования с браузером вашего компьютера. Он даже предоставляет интерфейс для перетаскивания файлов, а также даже предоставляет доступ к смс-сообщениям, журналам вызовов, установкам приложений и многим другим вещам.

Я установил последнюю версию Linux Mint 15 Olivia, так как команда заявила, что они приложили усилия для подключения к Android. Я попробовал USB-соединение, оно работает просто отлично. Гораздо лучше, чем Linux Mint 13. Так что я думаю, что это просто проблема Linux с передачей MTP, и производительность варьируется между дистрибутивами.

Читайте также:  Linux переключение между сессиями

Для увеличения скорости вы также можете использовать, adb pull как описано в этом посте: vxlabs.com/2014/11/06/…

@ lamwaiman1988 Я НЕ ДОВЕРЯЮ ДУХОМ. Разрешения приложений Airdroid: 1. История устройства и приложения 2. Идентификационные данные 3. Контакты / Календарь 4. Местоположение 5. SMS 6. Телефон 7. Фотографии / Мультимедиа / Файлы 8. Камера / Микрофон 9. Информация о подключении к Wi-Fi 10. Идентификатор устройства и вызов Информация . Увидев этот огромный список, я хотел узнать больше о компании. «Sand Studio» является частью «Tongbu Networks», которая работает в Китае . Xiamen Tongbu Networks — Подробности: «Xiamen Tongbu Networks Ltd; C, Комната 3, № 2, Wanghai Road, Software Park II, Ся Мэнь Ши, Фу Цзянь, 361000, Китай, +86.05922179187».

Что касается вышеизложенного, этот обзор PcWorld был ироничным: «Это приложение позволяет вам полностью контролировать свое устройство Android через веб-браузер вашего компьютера».

Источник

How to Transfer Images & Videos from Android to Linux?

Sometimes, you may need to backup photos from Android to Linux computer or on hardware storage like an external hard disk. Also, image editing is best done on computers for which you may need to copy the images to your Linux computer. Whatever the reasons, you may struggle to find out for the best solution to transfer files between Android and Linux PC.

Let us see what methods are available for copying images from Android phone to our Linux OS based computers. The methods to transfer files from Android to Linux are arranged in their descending order of transfer speeds.

Connect Using USB Cable

Wired connectivity is always the fastest way to do any type of file/data transfer and Android phones can be connected to Linux PC through USB data cable.

  1. Connect your Android smartphone and your Linux computer with USB cable.
  2. On your phone, you will be prompted for selecting a connection type. Choose “Transfer photos (PTP)” there.Android to PC connection modes image transfer
  3. When your computer prompts, select Shotwell from the drop-down and click OK.
    Select Shotwell from dropdown.jpg
  4. A window will open showing the photos from your phone. Select all the photos you want to transfer, right click and select “Import Selected” or “Import All” if you want to copy all the images. All your images would be saved in the Pictures folder sorted by the year, month and date folders.
    Shotwell application window

Airtime App to Transfer Photos over WiFi to Linux PC

The Wired solution with USB transfer is the fastest solution. However, the USB cable may not access all the time. The next best method to transfer images from Android to Linux PC is through WiFi. To do so, we will be using AirDroid app which uses the phone hotspot option to make a secure network. By this way, you can transfer images without worrying about network security and privacy.

  1. Download and install AirDroid for Android: Play Store.
    AirDrop homescreen
  2. You will need to sign up for AirDroid for using this service. The email ID that you use to sign up will be used for accessing your files on the computer.
  3. Launch the Hotspot service of your Android mobile and connect your PC to this WiFi network.
  4. Though there are AirDroid applications available for Windows and MacOS, for Linux we will use our browser to copy files. The web interface of AirDroid is available at http://web.airdroid.com/. While opening this webpage, you need to sign-in to the AirDroid account.
    AirDroid web UI
  5. Once you have signed in and the PC is connected to mobile Hotspot, then you will be able to access the files on mobile. Now, click on the Photos or Camera icon to access your Android photos. You can now choose the photos for downloading from there.
Читайте также:  Logical extended partition linux

Transfer Photos from Android to Linux using Bluetooth

Linux is a much more secure operating system compared to Windows. By default, all settings of a Linux OS, like Ubuntu, prohibit wireless connection file transfers (receiving files). To add your Android smartphone as a trusted device, you will need to follow the steps given below:

  1. Go to Unity (Search your computer) and search for Personal File Sharing. Click on it and you will get the personal file sharing preferences window. Check the boxes as shown in the image to enable the system for receiving files.Personal file sharing preferences image transfer
  2. Now we will start Bluetooth, first on PC and then on mobile, and make it visible for making a connection between them. First, in PC, click on Unity button and search for Bluetooth. In the Bluetooth window, switch on Bluetooth and make it visible.
    Enable bluetooth on Linux PC.jpg
  3. Similarly, you need to make your smartphone Bluetooth visible and ready for discovery. For this, just go to the Settings Menu on the Android phone and search for Bluetooth.
    Enable bluetooth on Android mobile
  4. To establish the connection, click on the PC name appearing in your smartphone Bluetooth discovery window.
  5. Now, go to the Image folder in your smartphone, select the images for sharing and click on the Share button.
  6. Select Bluetooth option and select your PC name appearing in the list. Your Linux PC will ask for confirmation. Once it is acknowledged, the files will be downloaded to the Download folder of PC.
    Android to PC connection modes

Share Images from Android to Linux using Cloud Drives

Another simple but a little indirect method to share your photos is to use any cloud storage provider using an Android app. You can, in fact, use Google Drive itself to upload photos from the Android smartphone and then download it from your PC by going to the Google Drive. You can also read the detailed article about cloud drives to transfer files.

Transfer Android Images & Videos to Linux

Of the many tasks that our smartphone do, one of them is storing our memories in the form of photos and videos. Compared to older phones, media files are now safer since they are regularly backed up online. Even if you lose your smartphone, new signup with the same account on a new smartphone brings back these photos automatically by syncing. But, free cloud storage offers limited space.

Читайте также:  Temp command in linux

These are a couple of solutions in which you can share the image files between Android smartphone and Linux PC. We have used Ubuntu for this article but these steps are valid for any Linux distro. Feel free to let us know any other easier method that you know or any issues while using these methods through the comments section below.

Disclosure: Mashtips is supported by its audience. As an Amazon Associate I earn from qualifying purchases.

Источник

How to Install Android File Transfer for Linux on Ubuntu

Android File Transfer

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:

$ sudo add-apt-repository "deb http://ppa.launchpad.net/samoilov-lex/aftl-stable/ubuntu artful main"

Add Ubuntu PPA repository

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

Update package lists

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

$ sudo apt install android-file-transfer

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.

How to Use Android File Transfer

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.

Источник

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