Re: Not able to copy files to / from Android device
Venu Chakravortywrites: > > I can't see any files in "./mnt". I was expecting to see the files from the > Android device in "./mnt", but it is just empty. Please help. Is there any > other way (other than using "simple-mtpfs") to do this? > > Thanks in advance. If you can't get simple-mtpfs to work, there are some alternatives. Besides the ones that you were suggested in other messages, I find that the most useful is sshfs. I use the "primitive ftpd" server, which also provides ftp. For its ssh server, I suggest you to try the fuse sshfs module, available in ports, and an ftp client. You then can choose which one is more appropriate for your use case. You can find primitive ftpd in f-droid. Cheers, Enric Morales
Re: Not able to copy files to / from Android device
Le 11/19/17 à 22:21, Stuart Henderson a écrit : > On 2017-11-19, Venu Chakravortywrote: >> Hello there, >> I am trying to copy files to / form my android device using "simple-mtpfs". >> However, I am not able to mount the file system of the Android device. On >> the phone, the "Media Device (MTP)" check-box is checked. The following is >> what I have tried: >> >> $ mkdir mnt >> $ simple-mtpfs -l >> >> 1: MotorolaMoto G (ID2) >> $ simple-mtpfs --device 1 ./mnt >> $ ls ./mnt >> $ >> >> I can't see any files in "./mnt". I was expecting to see the files from the >> Android device in "./mnt", but it is just empty. Please help. Is there any >> other way (other than using "simple-mtpfs") to do this? > > This might not be the only problem, but you at least need to be root > to mount. :D Just, to use adb, it's not need to be root, only as user! ~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<< Stephane HUC as PengouinBSD or CIOTBSD b...@stephane-huc.net
Re: Not able to copy files to / from Android device
On 2017-11-19, Venu Chakravortywrote: > Hello there, > I am trying to copy files to / form my android device using "simple-mtpfs". > However, I am not able to mount the file system of the Android device. On the > phone, the "Media Device (MTP)" check-box is checked. The following is what I > have tried: > > $ mkdir mnt > $ simple-mtpfs -l > > 1: MotorolaMoto G (ID2) > $ simple-mtpfs --device 1 ./mnt > $ ls ./mnt > $ > > I can't see any files in "./mnt". I was expecting to see the files from the > Android device in "./mnt", but it is just empty. Please help. Is there any > other way (other than using "simple-mtpfs") to do this? This might not be the only problem, but you at least need to be root to mount.
Re: Not able to copy files to / from Android device
Hi, Venu First, see into this page, if your android device is recognized: http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/dev/usb/usbdevs If yes, after, you can attempt to use directly adb tool ;) => install adb Check if your device is really recognized: => adb devices If adb result as: $ adb devices List of devices attached 0123456789ABCDEF device is good! To copy from computer to android, use: => adb push -p /dir_into_computer/file /dir_into_android To copy from android to computer, use: => adb pull -a -p /dir_into_android/file /dir_into_computer Assume directories exists! ;) Enjoy-IT! Enjoy-ID! Le 11/19/17 à 19:19, Venu Chakravorty a écrit : > Hello there, > I am trying to copy files to / form my android device using "simple-mtpfs". > However, I am not able to mount the file system of the Android device. On the > phone, the "Media Device (MTP)" check-box is checked. The following is what I > have tried: > > $ mkdir mnt > $ simple-mtpfs -l > > 1: MotorolaMoto G (ID2) > $ simple-mtpfs --device 1 ./mnt > $ ls ./mnt > $ > > I can't see any files in "./mnt". I was expecting to see the files from the > Android device in "./mnt", but it is just empty. Please help. Is there any > other way (other than using "simple-mtpfs") to do this? > > Thanks in advance. > -- ~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<< Stephane HUC as PengouinBSD or CIOTBSD b...@stephane-huc.net