Heimdall icon indicating copy to clipboard operation
Heimdall copied to clipboard

v1.4 incompatible with MacOs BigSur

Open clamattu opened this issue 3 years ago • 15 comments

I've just tried to install it but it is considered too old to be installed by the system (v.11.5.2)

clamattu avatar Aug 25 '21 08:08 clamattu

Did you try using the binary directly?

amo13 avatar Aug 25 '21 08:08 amo13

Yes from Downloads

clamattu avatar Aug 25 '21 09:08 clamattu

Then what do you mean by installing? Try putting the binary heimdall file (no .app or .pkg or similar) into a folder and calling it from a terminal (e.g. ./heimdall print-pit). Also, the version available from the downloads link you mentioned is somewhat outdated and known to cause trouble on newer macos versions and newer devices (unfortunately, this project has been abandoned for a while). Try the binary that I compiled with a bug fix from a pull request, available here.

amo13 avatar Aug 25 '21 10:08 amo13

Ok, i have downladed, rebooted and tried it. This is the result:

heimdall print-pit

Heimdall v1.4.2

Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
ERROR: Failed to detect compatible download-mode device.

clamattu avatar Aug 25 '21 13:08 clamattu

The last line states that no device in download mode was detected. Have you rebootet your device to download mode?

amo13 avatar Aug 25 '21 13:08 amo13

Yes, it is with fap lock:off Screen "Downloading... do not turn off target"

I have already changed few port of my MacMini

clamattu avatar Aug 25 '21 13:08 clamattu

I merged a few overdue pull requests from this repo today. Can you please try with a freshly compiled version from here?

amo13 avatar Aug 25 '21 18:08 amo13

/Applications/bin/heimdall print-pit

Heimdall v1.4.2

Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
ERROR: Failed to detect compatible download-mode device.

With a new cable that works on Win and Mac in non download-mode

Other suggestions?

clamattu avatar Aug 26 '21 14:08 clamattu

What device is this?

amo13 avatar Aug 26 '21 14:08 amo13

@clamattu did you resolve the issue in the meantime?

amo13 avatar Sep 05 '21 07:09 amo13

This fork: https://gitlab.e.foundation/e/tools/heimdall/-/tree/new_master supposedly works with more recent mac versions, AFAIK that is the one that the LineageOS project built their mac binaries from

Grimler91 avatar Sep 05 '21 20:09 Grimler91

I'd rather have expected the other way around since /e/ is entirely relying on lineageos. How do you know? Did I miss a hint somewhere on lineage's site?

Anyway, the only additional commit to heimdall from the/e/ team seems to be only a fix for compilation issues on recent macos. It is pretty much the same as suggested in #468.

amo13 avatar Sep 05 '21 21:09 amo13

How do you know? Did I miss a hint somewhere on lineage's site?

Hm, no, I might be completely wrong, I think I based it solely on the discussion in one of the other threads.

Anyway, the only additional commit to heimdall from the/e/ team seems to be only a fix for compilation issues on recent macos. It is pretty much the same as suggested in #468.

The /e/ changes look a bit cleaner than the ones in #468 (if(APPLE) seems better than if(NOT MINGW) for example), but you are right, pretty equivalent.

For reference, I have merged some of the PRs and made some minor changes over at sourcehut, but nothing to fix macos compilation (I don't own a mac)

Grimler91 avatar Sep 06 '21 12:09 Grimler91

It is way cleaner, you are right. And it also solves the compilation issues I had in my fork. Thank you for the hint, @Grimler91 !

amo13 avatar Sep 07 '21 11:09 amo13

sorry for opening a closed issue but how do I get the binary? the option of opening a packages contents isn't in the menu anymore and I don't know how to do it.

danielboston38 avatar May 15 '23 23:05 danielboston38