openmtp icon indicating copy to clipboard operation
openmtp copied to clipboard

Native disk mount

Open raveslave opened this issue 4 years ago • 10 comments

Would it be possible to present the MTP device as a native disk in macOS?
i.e. like Mac Fuse, or like it works in expandrive.com

raveslave avatar Jun 17 '20 09:06 raveslave

I am looking into it. Will keep you posted

ganeshrvel avatar Jul 24 '20 07:07 ganeshrvel

Yes! A thousand times yes! That would be AWESOME 👌👌

Obviously the disk / volume would be pretty slow to access, that's all right.

I REALLY hope this feature will see the light of day! 🙏

SuperHenkie avatar Sep 04 '20 10:09 SuperHenkie

I'm looking into rewriting the app from the scratch. Time to move away from electron. I will try to support both adb and Mtp this time. Everything written from the scratch. It might not happen anytime soon but it's coming.

ganeshrvel avatar Sep 04 '20 10:09 ganeshrvel

Thanks Ganesh, awesome. Really looking forward to it!

Just out of curiosity, why leaving electron? Does it suck, or does it impose limitations? (have zero experience with it myself)

SuperHenkie avatar Sep 14 '20 09:09 SuperHenkie

@ganeshrvel Thanks for the awesome development! I'd personally vote for leaving GUI part as-is on Electron, it's basically fine. And adding the filesystem / Finder integration level, it would feel like so much more native way.

rudyryk avatar Dec 09 '20 08:12 rudyryk

@rudyryk I could take it up next.

@raveslave ExpanDrive looks expensive suggest me any Free and OpenSource alternatives to started? Any idea what MacDroid is using under the hood?

ganeshrvel avatar Dec 09 '20 10:12 ganeshrvel

MacDroid seems to be using FUSE? I was asked for permission for FUSE when I tried it initially. Although the only file transfer I tried failed!

MkStevo avatar Jan 17 '21 15:01 MkStevo

@ganeshrvel re: expandrive, yes, it was more as a reference on how things could look.
re macdroid, I checked the framework folder in their app and find libusb-1.0.dylib, so seems like the MTP itself is custom, couldn't see any fuse libs, don't macOS have a way of doing virtual filesystems natively nowadays?

raveslave avatar Jun 30 '21 22:06 raveslave

talked to some mac devs that all recommended the File Provider API https://developer.apple.com/documentation/fileprovider as it doesn't rely on kernel extensions (.kext) and should be the way to expose 'virtual filesystems'

raveslave avatar Sep 25 '21 14:09 raveslave

Thanks @ganeshrvel I just tried MacDroid 1.3 and tested it on macOS 11.6 Bigsur and RedmiNote7 pro (USBC) The app is exactly how i would like it to look, work and flow but its buggy and crashes when i try to delete files from phone with weird errors. apart from that the data speeds were low as compared to OpenMTP.

My typical need/ workflow is to mount the phone's internal storage (512Gb) on mac to cleanup duplicates and similar photos/videos/files on macos using Gemini2 or Duplicate Photos Fixer pro.

Wish to see your app with support for native disk mounting having good transfer speeds on USB connections.

jagdishadusumalli avatar Oct 29 '21 19:10 jagdishadusumalli