New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hangs or errors writing to Google Pixel from macOS #81
Comments
Same problem on pure Arch Linux with Oneplus 7 and simple-ftpfs. Go-mtpfs works fine. |
Same issue on arch with simple-ftps & motorola g7 pro. Works fine with my old nexus 5. |
This commit seems to be the culprit: 2bcc455 Problem confirmed on my HP Touchpad (CyanogenMod/KitKat-4.4), somebody else's unspecified phone with Android 4.4 and Oppo Reno Z (Android 11). All of them report:
what makes the new method introduced in the above commit to kick in, resulting in hangs and errors. My old Samsung phone with Android 4.2.2 has only the "Get partial object" cap, so simple-mtpfs falls back to the old method and it works fine there. Fatdog64-813/libmtp-1.1.17/simple-mtpfs-0.4.0. |
I can confirm that reverting that commit 2bcc455 makes two phones (MotoG7 with Android 10 and Fairphone FP3 with Android 11) work again with an otherwise unpatched 0.4.0. Both report the 3 partial object capabilities. |
Can also confirm. I have a Samsung Galaxy S9 with Android 10 where I've used simple-mtpfs together with rsync with success for several years. I tried to do the same today with a Samsung Galaxy S24 with Android 14 and rsync seemed to get stuck as soon as it wrote files larger than 0 bytes. Reverting the commit 2bcc455 on an otherwise latest version of simple-mtpfs fixed the issue. Samsung Galaxy S9 reports
Samsung Galaxy S24 reports
|
I am attempting to copy files to a Google Pixel from macOS using
simple-mtpfs
. Unfortunately, almost everything I have tried fails. I can usually create the target file, but never write any bytes to it. Often the writing process hangs; inevitably I am unable to terminate either it orsimple-mtpfs
itself using^C
. Occasionally it hangs badly enough to cause other unrelated filesystem activity to hang until I physically disconnect my phone from the USB cable.At this point echo hangs. I press ^C many times. After a long (~minute) delay:
The volume is unmounted, but `simple-mtpfs has not terminated.
I can delete files just fine (provided I've not tried to write to any since I mounted the volume):
Note that `simple-mptfs exits of its own accord after the volume is unmounted as it should.
Sometimes, instead of just hanging, the filesystem will report "no space left on device" even though (for example) I'm only trying to copy a <100KiB file onto a device with >100GiB free:
I have had no difficulties writing files to the device using Android File Transfer for Linux.
I have tried rebooting both the MacBook and the Pixel, without success.
I'm running this on macOS 10.13.6 (17G14033), connecting to a Google Pixel (original) running Android 10 (build QP1A.191005.007.A3). I installed
simple-mtpfs
and its dependencies using Homebrew; output fromsimple-mtpfs --version
:The text was updated successfully, but these errors were encountered: