You are not logged in.
My wife's phone is Android 5. How can I transfer files from there to the computer and back again?
Have looked at mtp-tools another cryptic program with a man page as helpful as teats on a bull.
MTP-TOOLS(1) [FIXME: manual] MTP-TOOLS(1)
NAME
mtp-tools - tools for communicating with Media Transfer Protocol (MTP) devices
SYNOPSIS
mtp-albumart [args]
mtp-albums
mtp-connect [args]
mtp-delfile [args]
mtp-detect
mtp-emptyfolders
mtp-files
mtp-filetree
mtp-folders
mtp-format
mtp-getfile [args]
mtp-getplaylist [args]
mtp-hotplug [args]
mtp-newfolder [args]
mtp-newplaylist [args]
mtp-playlists
mtp-sendfile [args]
mtp-sendtr [args]
mtp-thumb [args]
mtp-tracks
mtp-trexist [args]
DESCRIPTION
This manual page documents briefly the commands distributed with the libmtp package, collectively called
mtp-tools.
This manual page was written for the Debian distribution because the original programs do not have
manual pages. Concise synopsis can be obtained by giving -h to the commands.
SEE ALSO
http://libmtp.sourceforge.net
AUTHOR
This manual page was written by Rafael Laboissiere <rafael@debian.org> for the Debian system (but may be
used by others). Permission is granted to copy, distribute and/or modify this document under the terms
of the GNU General Public License, Version 2 any later version published by the Free Software
Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in
/usr/share/common-licenses/GPL.
AUTHOR
Rafael Laboissiere
Author.
COPYRIGHT
Copyright © 2007 Rafael Laboissiere
[FIXME: source] 2007-02-01 MTP-TOOLS(1)
Any help helping me help my wife would be appreciated.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Hmmm using Debian with openbox ... no ked no arch.
Guess it's going to be a tough ride with BL.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Hello, my friend,
yes, with kde would be the solution, but you don't...
What I found in a hurry:
apt-cache policy go-mtpfs
go-mtpfs:
Installiert: (keine)
Installationskandidat: 0.0~git20150917.0.bc7c0f7-1+b2
Versionstabelle:
0.0~git20150917.0.bc7c0f7-1+b2 500
500 http://httpredir.debian.org/debian unstable/main i386 Packages
aptitude show go-mtpfs
Paket: go-mtpfs
Version: 0.0~git20150917.0.bc7c0f7-1+b2
Zustand: nicht installiert
Priorität: optional
Bereich: devel
Verwalter: Julian Gilbey <jdg@debian.org>
Architektur: i386
Unkomprimierte Größe: 2.635 k
Hängt ab von: libc6 (>= 2.3.6-6~), libusb-1.0-0 (>= 2:1.0.9)
Beschreibung: Mount MTP devices over FUSE
Go-mtpfs is a simple FUSE filesystem for mounting Android devices as an MTP
device.
It will expose all storage areas of a device in the mount, and only reads file
metadata as needed, making it mount quickly. It uses Android extensions to
read/write partial data, so manipulating large files requires no extra space in
/tmp.
Homepage: https://github.com/hanwen/go-mtpfs
should be good, because faster and more stable than mtpfs (unfortunately only in unstable?)
If you do have to access mtpfs, a current german manual and the translator (better than google)
https://linuxwelt.blogspot.de/2015/10/a … linux.html
https://www.deepl.com/translator
https://linuxundich.de/android/mit-go-m … zugreifen/
Last edited by unklar (2017-12-15 18:05:29)
Offline
Arch no thanks. And of course no it SID to..
Please close this.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Please close this
No!
I am getting a new Android (8) phone tomorrow and I know that won't work with BL/thunar/gvfs so I'm going to install https://f-droid.org/en/ (in the phone) and use that to get https://f-droid.org/packages/be.ppareit.swiftp_free/
I will post again after I have actually tried it but it should be as simple as starting the application on your phone then navigating to it in thunar (via the "Network" icon, or whatever it is).
I'll be back
Offline
For sharing files it's an easy way to use a cloud storage like Nextcloud, Owncloud or Seafile (Syncthing offers free storage - obviously it only works if there is internet available). It's good to have the content encrypted with something like cryptomator.
Last edited by martix (2017-12-16 02:49:02)
Offline
I've never found a solution to this, i.e. connecting between a Linux computer and my Android phone (Samsung Galaxy S7 - Android 7.0). Until today. When I saw unklar's suggestion above to use go-mtpfs, I checked it out. It is mentioned in the Arch wiki (https://wiki.archlinux.org/index.php/MTP#go-mtpfs) . I have tried a few of the methods discussed in that wiki, but I had overlooked go-mtpfs - maybe the name was too dorky for me.
I tried go-mtpfs today, and it worked good to update ("sync") my phone with music mp3 files. My PC is running Debian Stretch with Openbox - not BunsenLabs, but close .
# apt install go-mtpfs
# mkdir /mnt/phone
# chown root:staff /mnt/phone
# chmod 775 /mnt/phone
> go-mtpfs -android /mnt/phone
Popup Message on phone: “Allow Access to Device Data” – Reply “Allow”
> go-mtpfs -android /mnt/phone
2017/12/16 12:48:46 FUSE mounted
Terminal will now be blocked until the go-mtpfs program completes.
Open a second “terminal”
> cd /001/music/mp3
> rsync -vah --progress --no-perms --inplace --ignore-existing --delete-after . /mnt/phone/Card/Music/mp3/
> fusermount -u /mnt/phone
The fusermount command causes the go-mtpfs command to end (and unmounts the phone). The original terminal will un-block.
Offline
@S11 - is spaceFM still in the repos? I never had an issue with it to get photos and other files off our Android phones; it just worked. I actually kept it installed just to get pictures off my phone.
You must unlearn what you have learned.
-- yoda
Offline
Syncthing works well on Android. No server needed. Just syncs to the desktop client (or wherever else you've installed it). Also Syncopoli is essentially rsync for Android. Both are on F-droid. If neither of those work, adb, as others have suggested, works well enough.
Offline
Arch no thanks. And of course no it SID to..
Please close this.
don't get frustrated!
i will add my 5ct regardless...
if 'adb' is in your PATH, enter this in a terminal:
adb devices
List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully
XXXXXXXXXXXXXXXX device
the last line is the most important, it shows that the system can SEE your device.
with that working, you are 90% there!
you can use the adb command as previously described, copy, move , even un/install software etc.
or get a shell with 'adb shell'.
if youi want a graphical filemanager go here: https://github.com/sole/aafm
and download or clone the repo.
now i THINK it's enough to simply execute ./aafm in the current directory, or then maybe you should use the setup.py script; maybe like this:
python2 setup.py install --optimize=1
Last edited by ohnonot (2017-12-17 08:46:09)
Offline
Me-->> takes external sd mem card out of phone, inserts into computer with a fancy usb3.0 card adapter/reader, does transfer inbound or outbound --> Complete.
That is how i do it, i have a 32 GB card that has most photos, video etc on that and hardly any on the internal phone device itself.
Offline
Me-->> using BL Hydrogen with openbox + KDEConnect + Device with Android v5.0.1
Installed kdeconnect app via google play store
Installed kdeconnect... (with a lot of kde dependencies, yeah...)
Installed indicator-kdeconnect... (and some extra dependencies)
Then added this to my autostart
## KDE Servicies
(sleep 5; kdeinit4) &
## KDE Connect
(sleep 6; qdbus org.kde.kded /kded loadModule kdeconnect) &
(sleep 7; kbuildsycoca4 -noincremental) &
(sleep 10; indicator-kdeconnect --gapplication-service) &
And last but not least...I added this custom action to pcmanfm
[Desktop Entry]
Type=Action
Name=KDEconnect Send To
Icon=kdeconnect
Profiles=profile-zero;
[X-Action-Profile profile-zero]
Exec=kdeconnect-send %f
Name=KDEconnect Send To
in ~/.local/share/file-manager/actions
I hope these links could help you
indicator-kdeconnect
LIGNUX - Instalando KDEConnect en Debian XFCE
The downside:
the amount of dependencies
it doesn't have all the features you find in KDEConnect +KDE environment+Dolphin+applets
i can't find a way to customize the indicator-kdeconnect icon in the tint2 systray, so you see a black spot in the first screenshot (actually, it is a black phone icon)
Last edited by ututo (2017-12-17 18:07:26)
BunsenLabs on deviantArt
Don't touch my git!
Offline
BunsenLabs on deviantArt
Don't touch my git!
Offline
I'll be back
Sorry for the delay, Amazon shafted me
Anyway, I've now got my Android 8 device and my "quick-fix" fileshare solution is to install Google's GDrive on the phone and use that along with the web client in my other systems; this allows me to share files across Android, Linux, OpenBSD and Windows, all without having to find the correct cable.
This is lame (obviously) so I will be investigating a better solution when I have time.
Offline
1. Cable way
My very old post http://paste.debian.net/plain/1001786
Mostly about:
- Use jmtpfs,
- Use correct cable (that the usb cable you are using is one that is used for transferring data and not just one for charging the device! Some cheap tablets and mobiles for instance only have a charging cable! To the uninitiated, they both look the same!)
2. Use something that can connect to ssh on android (The easy way). EZ commander is what I think I used.
Last edited by brontosaurusrex (2017-12-21 09:59:42)
Offline
the android device should connect without issue. You may need to toggle "usb debugging" under developer options in the phone's settings. If developer options is not displayed under settings/system, then go to settings/system/about phone/ scroll to the bottom of the display, click on "build number" 7 times, a pop up will tell you developer options is active, go back one screen and select it, then scroll down to toggle usb debugging. When you connect your phone by usb you will have to slide down the notification shade on the phone, about midway down the shade, you will see "Android system - USB Charging this device" click on it, one of the options on the pop up will be transfer files. When you are done transferring what you want unmount thephone in thunar and unplug.
Offline
See D219's post here for a udev-based solution that should work with BL-H:
Offline