ganeshrvel / openmtp

OpenMTP - Advanced Android File Transfer Application for macOS
https://openmtp.ganeshrvel.com
MIT License
3.53k stars 131 forks source link

Native disk mount #149

Open raveslave opened 4 years ago

raveslave commented 4 years ago

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

ganeshrvel commented 4 years ago

I am looking into it. Will keep you posted

SuperHenkie commented 4 years ago

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! 🙏

ganeshrvel commented 4 years ago

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.

SuperHenkie commented 4 years ago

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)

rudyryk commented 3 years ago

@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.

ganeshrvel commented 3 years ago

@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?

MkStevo commented 3 years ago

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!

raveslave commented 3 years ago

@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 commented 2 years ago

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'

jagdishadusumalli commented 2 years ago

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.