spion / adbfs-rootless

Mount Android phones on Linux with adb. No root required.
Other
890 stars 73 forks source link

Impossible to copy file from mac Finder to mounted phone #36

Open ClarusAD opened 5 years ago

ClarusAD commented 5 years ago

Following the reciep given here, the internal storage of my phone and its external SD-card, mount very well in the OSX Finder. But only in read mode 👎 If i want to copy a simple text file with the Finder, using drag'n drop, it tell me it cannot finish the operation cause an element is unfindable : error -43.

spion commented 5 years ago

I've never tried this on Mac - what does it say if you run adbfs in foreground with ./adbfs -f path ?

ClarusAD commented 5 years ago

mBook:adbfs-rootless administrateur$ pwd

/Users/administrateur/adbfs-rootless

mBook:adbfs-rootless administrateur$ ./adbfs -f path

--*-- exec_command: adb shell "ls"

mount_osxfuse: mount point /Users/administrateur/adbfs-rootless/path is itself on a OSXFUSE volume

--*-- exec_command: rm -rf /tmp/adbfs-DBbUu7/

spion commented 5 years ago

I meant ./adbfs -f ~/phone if you are using the same path as the tutorial.

ClarusAD commented 5 years ago

lol But it's almost the same answer : `mBook:adbfs-rootless administrateur$ ./adbfs -f ~/phone

--*-- exec_command: adb shell "ls"

mount_osxfuse: mount point /Users/administrateur/phone is itself on a OSXFUSE volume

--*-- exec_command: rm -rf /tmp/adbfs-kb5Oag/`

spion commented 5 years ago

Thats all - there is no other output when you try to copy a file?

I have no idea whats going on then.

sebastianhaberey commented 5 years ago

Hi, I'm experiencing the same issue.

Screenshot

Zach Klippenstein seems to have a similar issue with his adbfs implementation, but I don't know if it is related. Anyways, I'd be willing to put some work into it, if someone can point me into the right direction.

1v1a3x commented 3 years ago

I have the same issue on macOS catalina My execution log is the following:

--*-- exec_command: adb shell "ls" ls: ./init: Permission denied adb_getattr --*-- exec_command: adb shell "ls -l -a -d '/'" 2>&1 adb_getattr --*-- exec_command: adb shell "ls -l -a -d '/._.'" 2>&1 adb_getattr --*-- exec_command: adb shell "ls -l -a -d '/.localized'" 2>&1 adb_getattr from cache /.localized adb_getattr --*-- exec_command: adb shell "ls -l -a -d '/.hidden'" 2>&1 adb_getattr from cache /.hidden adb_getattr from cache /.localized adb_getattr --*-- exec_command: adb shell "ls -l -a -d '/.DS_Store'" 2>&1 adb_getattr from cache /.DS_Store adb_getattr from cache /

it points to --*-- exec_command: adb shell "ls" ls: ./init: Permission denied

however: