I have two Android 4.x devices, one 4.0.2 and another 4.4.2. On both, I have installed SSHelper to push data to and from the device using rsync
. It worked, but the new environment does not even have a usable rm
. I would like to switch over to something that works better and possibly faster.
My next attempt was to use MTP over USB with mtpfs
, but that does not work, it freezes. simple-mtpfs
is not packaged for Ubuntu 13.10. KDE KIO is able to read from the device over MTP, but that does not help me at all, since I want to write my own script using rsync
, and it is not able to write to it.
Then I tried sshfs
, I do not get any errors mounting it, but I get IO-errors whenever I even try to cd
into the mountpoint. I guess the environment with SSHelper lacks something. It does not work with HTTPS and FTPS Server either. The SFTP provided with the latter works with Filezilla, though.
So how can I get /sdcard
to be mounted somewhere on my Linux machine and copy and delete files from it like I want?
adbfs
oradb push
/adb pull
(see my answers here and here). I use the former for quite a while now. Mounts like a normal "drive". Should be usable forrsync
, though I didn't try. Of course,adb push/pull
are not really suitable for "sync", butadbfs
should be :)adbfs
does not sound bad. I guess that requires to install gigabytes of Android SDK? I just have tried to install a SFTP server on the 4.0.2 device. It works fine with Filezilla, but not withsshfs
.apt-get install android-tools-adb
. ADB itself is tiny and doesn't depend on the SDK. In turn, the only dependencies foradbfs
areadb
andfuse
.adbFS
andadbfs-rootless
, both did not work. I wrote an email to both developers, let's see what comes around. By the way: I understand that “normal” people just use Google Drive or Dropbox and do not care about accessing the real file system, but is there no usable way to mount the/sdcard
? From the Nexus 10, I cannot even get it out the device …