Skip to content

Instantly share code, notes, and snippets.

@Cadichon
Created February 11, 2020 01:21
Show Gist options
  • Save Cadichon/1122d2398a1d6a4b410bd5e91d3b060d to your computer and use it in GitHub Desktop.
Save Cadichon/1122d2398a1d6a4b410bd5e91d3b060d to your computer and use it in GitHub Desktop.
netkas.org: Bringing back 32-bit apps to life
I have found out that 32-bit apps support in Catalina was disabled but not completely removed
Current state is enough to run some console 32-bit apps in catalina
to have it run this command:
sudo nvram boot-args=”no32exec=0″
if one wants more, like gui app, need to use some libs from mojave probably.
next is some output from console
$ uname -a
Darwin Macs-Mac-Pro.local 19.0.0 Darwin Kernel Version 19.0.0: Wed Sep 25 20:18:50 PDT 2019; root:xnu-6153.11.26~2/RELEASE_X86_64 x86_64
$ file EfiDecompress.macosx
EfiDecompress.macosx: Mach-O executable i386
$ ./EfiDecompress.macosx
EfiDecompress v1.1 -Efi File Decompress Utility
Copyright (c) 2005-2006 Intel Corporation. All rights reserved.
Usage: EfiDecompress Inputfile Outputfile
$ otool -L EfiDecompress.macosx
EfiDecompress.macosx:
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.3)
$ file /usr/lib/libSystem.B.dylib
/usr/lib/libSystem.B.dylib: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit dynamically linked shared library x86_64] [i386:Mach-O dynamically linked shared library i386]
/usr/lib/libSystem.B.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
/usr/lib/libSystem.B.dylib (for architecture i386): Mach-O dynamically linked shared library i386
$ nvram boot-args
boot-args no32exec=0
here is how one can try to run 32-bit gui app, can’t say it’s working very well
DYLD_ROOT_PATH=/Volumes/Macintosh\ SSD/ ./CrossOver
DYLD_ROOT_PATH should specify root volume for macos mojave
@Cadichon
Copy link
Author

Cadichon commented Apr 14, 2022

Hello !
This gist was copy / pasted from the internet wayback machine from an article that was deleted. I believe It was written for the first version of macOs that removed support for executing 32bits applications. I found the original article : http://netkas.org/?p=1491. I have to admit that I never took the time to try this procedure myself, unfortunatly.
To resolve your problem, I think you need to download EfiDecompress.macosx, but I don't know where to find it.
Since this tool seems to mess with EFI things, I must add a disclaimer, it may break your macOS installation if use incorrectly.
Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment