whoozle / android-file-transfer-linux

Android File Transfer for Linux (and macOS!)
http://whoozle.github.io/android-file-transfer-linux/
GNU Lesser General Public License v2.1
1.43k stars 120 forks source link

App doesn't open on macOS Monterey #317

Open tkoft opened 1 year ago

tkoft commented 1 year ago

I'm on macOS Monterey Version 12.5.1, the app insta crashes when I try to launch it. Installed from dmg file and brew cask, same results for both. Happy to provide any more info that's helpful.

siax84 commented 1 year ago

I see the same on Monterey (Intel). When I run the app from terminal I see the following error, which seems to be related to USB device access:

IOCreatePlugInInterfaceForService(desc, kIOUSBDeviceUserClientTypeID, kIOCFPlugInInterfaceID, &plugInInterface, &score): error 0xe00002be

k-kruglov commented 1 year ago

Same on Ventura 13.3, macbook air m1.

whoozle commented 1 year ago

partially fixed in c6e9636763a060cce7b8da18d9630badcb8775e7

no MTP device found message box was broken some time ago - restored

I guess it's missing an entitlement for raw usb, but I have no idea how to add it without signing

For raw USB access the entitlement key is com.apple.security.device.usb,

dJani97 commented 11 months ago

Still crashes on MacOS 13.5, macbook air m1

Installed from cask

tomsem commented 10 months ago

I can get it to launch after fresh boot (latest Ventura version), but after that it hangs. I also seem to get only one use of CLI before it says 'device in use'. Have not figured out how to reset it.

LeeBinder commented 3 months ago

In my case it was adb blocking. Solution:

  1. adb kill-server
  2. un- and replug the USB cable
  3. on the phone, toggle USB from 'Charging' to 'File Transfer'

After that, Android File Transfer by whoozle is working again in macOS Monterey, even w/o a OS reboot :)