Skip to content
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

M1 support? #220

Closed
adriel opened this issue Feb 12, 2021 · 27 comments
Closed

M1 support? #220

adriel opened this issue Feb 12, 2021 · 27 comments
Labels
enhancement New feature or request

Comments

@adriel
Copy link

adriel commented Feb 12, 2021

Any plans for an M1 build?

Or a universal binary, as far as I can tell it's only intel so far. (though does seem to work ok via Rosetta)

@adriel adriel added the enhancement New feature or request label Feb 12, 2021
@ganeshrvel
Copy link
Owner

I would love to add a support for this. Unfortunately I don't have a M1 device. Any community member with Apple Silicone macbook, who would like to contribute, please comment below this thread so that we can roll out a M1 build to the other community members as well.

Cheers

@NotANormalNerd
Copy link

Hey, you can just generate a universal binary even on intel:

https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary

Debugging is another thing, but proving something so people can test it.

erseco added a commit to erseco/openmtp that referenced this issue Mar 28, 2021
Added apple silicon universal support as mentioned here electron-userland/electron-builder#5689 to fix ganeshrvel#220
@ganeshrvel
Copy link
Owner

@NotANormalNerd how about the app size after creating a universal binary? I use some native binaries inside the app which also needs to be cross compiled. not sure if it is possible at this moment. looking into it

@ameeno
Copy link

ameeno commented Apr 7, 2021

Happy to test a M1 version for you.

@Shankymahajan
Copy link

I can help in testing M1 version

@madhav0922
Copy link

madhav0922 commented Jun 4, 2021

Works for me on M1, installed via homebrew
Amazing software, finally able to connect Android and Mac without hassle

Great job dev! Kudos

@dflexxy
Copy link

dflexxy commented Jun 5, 2021

I have a M1, it works fine only transferring pictures or videos goes slow.

@anirudhsachdeva
Copy link

Not able to use on Mac air m1 and Samsung A50 coz device is not showing ...

@dmihal
Copy link

dmihal commented Feb 10, 2022

Just going to bump this, I don't have Rosetta on my macbook and would love to see this supported.

Is #223 still viable?

@ganeshrvel
Copy link
Owner

Soon ;)

@ganeshrvel
Copy link
Owner

Does anyone here knows how to cross compile a CGO application, which has a shared DYLIB, in Go?

@ganeshrvel
Copy link
Owner

ganeshrvel commented Feb 24, 2022

Update

OpenMTP M1 alpha release.

Warning:

  • This is an alpha release, things might break
  • Although all the basic features should work fine, I have not tested all the existing features yet
  • I haven't looked into the OpenMTP Auto App Update yet. I shall comment the URLs to the future beta and stable release builds below.

Feedback is appreciated

Download OpenMTP-3.2.0-alpha.1-arm64

Cheers.

@ganeshrvel ganeshrvel pinned this issue Feb 24, 2022
@tlueder
Copy link

tlueder commented Feb 24, 2022

Hi, I've just downloaded the M1 version and it seems to work fine.
However if you close the main window and then press cmd+q the app crashes while closing.

If you cmd+q the app while the main window is open the app exits just fine.

@nadamdb
Copy link

nadamdb commented Feb 26, 2022

Hi @ganeshrvel! First of all, thanks for making this awesome app (that I have yet to try out)! Secondly, unfortunately I run into an issue while trying to download the file:

This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.

Could you please host the binaries somewhere else/add more bandwidth to lfs? I guess too many people would love to use your app :)

@ganeshrvel
Copy link
Owner

@nadamdb looking into it.

@hn3000
Copy link

hn3000 commented Feb 27, 2022

To work around the traffic limit, I tried to compile it myself on an M1 mac.

I needed to add

  "resolutions": {
    "node-abi": "^3.8.0"
  },

to package.json (and remove the Sentry stuff because I don't have an organisation ID).

(I used the feature/m1 branch.)

@ganeshrvel
Copy link
Owner

I have updated the link.

thank you @hn3000 @nadamdb

@jonathandhn
Copy link

Great, even if at the first start it borks the whole macOS 12.3, stucking the each apps in dead stat until hard reboot, but it's connect the phone and remove awful delays on the UI.

@Universal-Igloo
Copy link

Hey @ganeshrvel :) Thank you for your work on this!

Any update on when/if we can expect an arm binary as part of the regular release cycle?

@ganeshrvel
Copy link
Owner

I am making some final pushes to the m1 branch. Hopefully this week I will be able to make a beta release

@ganeshrvel
Copy link
Owner

ganeshrvel commented Aug 14, 2022

About OpenMTP-3.2.0-alpha.5

OpenMTP Nightly build.

Warning:

  • This is an nightly release, meaning: things could break, I might push highly unstable versions of OpenMTP as part of testing.
  • Although all the basic features should work fine, I have not tested all the existing features yet
  • I haven't tested the OpenMTP Auto App Update feature yet. I shall comment the URLs to the future beta and stable release builds below.
  • The app isn't notarized yet. To run the app, allow opening the unsigned application from Settings > Security & privacy.

Feedback is appreciated

Cheers.

Download urls:
openmtp-3.2.0-alpha.5-mac-arm64.dmg
openmtp-3.2.0-alpha.5-mac-x64.dmg
Github releases v3.2.0-alpha.5

@dancnfoo
Copy link

Just to provide data point. 3.2.0-alpha.5 still isn't working for my M1 2020, tested with Samsung Note 9.

@DGatere
Copy link

DGatere commented Oct 29, 2022

3.2.0-alpha.5 works great on an M1 Pro with a Oneplus 6T and 9 Pro, haven't had any issues so far, tested with several cables

@ganeshrvel
Copy link
Owner

Could try these?

  • Do you have Google drive installed in your macos? If yes try to quit it "completely" and then try again. If not Google drive,check Dropbox or OneDrive. Some applications will lock on to the usb port once it detects a usb drive. See if any of the active app requires usb access, that might could be causing this issue.

  • Try disabling the hotplug detection from settings in OpenMTP.

  • Make sure that you have enabled file transfer and accepted "enable mtp data access" on your Samsung phone.

  • See if the alpha version of the app works for you. Here's a link to the latest test flight build of OpenMTP

Apple silicone: https://github.com/ganeshrvel/openmtp-testflight/releases/download/v3.2.0-alpha.5/openmtp-3.2.0-alpha.5-mac-arm64.dmg

Intel: https://github.com/ganeshrvel/openmtp-testflight/releases/download/v3.2.0-alpha.5/openmtp-3.2.0-alpha.5-mac-x64.dmg

Installation instructions for openmtp Alpha version: #220 (comment)

Thanks again,
Ganesh

@neospeed83
Copy link

I found out on my M1 max and Pixel XL that turning the MTP mode to Legacy makes the app work perfectly. In Kalam mode, It took 13 minutes to copy 28 MB of photos and videos. Legacy mode was blazing fast under a minute.

@ganeshrvel
Copy link
Owner

ganeshrvel commented Nov 1, 2022

OpenMTP-3.2.0-beta.1 is out 🔥🔥

Note: This a pre-release version and the app might be unstable. ⚠️

Features

  • Much awaited Apple Silicone support 🔥🔥
  • Garmin device support - PR by @CodyJung
  • Fujifilm device support - PR by @CodyJung
  • Other UI optimization and performance improvements

Special shoutout to @CodyJung for adding the Fujifilm and Garmin devices support. 🔥🔥

Download

macOS Apple Silicone (arm64): https://github.com/ganeshrvel/openmtp/releases/download/v3.2.0-beta.1/openmtp-3.2.0-beta.1-mac-arm64.dmg
macOS Intel (x64): https://github.com/ganeshrvel/openmtp/releases/download/v3.2.0-beta.1/openmtp-3.2.0-beta.1-mac-x64.dmg

@ganeshrvel
Copy link
Owner

ganeshrvel commented Nov 13, 2022

OpenMTP v3.2.0 features Apple silicon native support: https://github.com/ganeshrvel/openmtp/releases/tag/v3.2.0

Closing this issue.

Thanks everyone!

@ganeshrvel ganeshrvel unpinned this issue Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.