Jump to content
Andy Vandijck

macosxbootloader (Hackintosh version).

37 posts in this topic

Recommended Posts

I created a hackintosh specific version of the MacOSX bootloader.

I tested it so far under legacy Clover.

 

Project page including more downloads:

https://github.com/andyvand/macosxbootloader

 

Built result hack specific is attached.

Test please, I need feedback as this is a new version.

Might need some more fixing here and there.

 

When testing please note the following in the report:

- Legacy boot / UEFI boot

- 32 / 64 bit Clover use

- Result

 

This one is Yosemite optimized and should work (support for hackintosh in initial stage)

EDIT: New version.

Added strict warning, enable all warnings flag and set warnings as errors flags, fixed some issues, implemented -f support and finally made sure everything was built optimized.

Also reimplemented driver loading (now works optimal and fast).

EDIT2: Added Clover build tools version.

boot.efi.zip

boot.clovertools.efi.zip

Share this post


Link to post
Share on other sites
Advertisement

Sorry Andy copy this file on usr/standalone/i386 folder or...?

I'm on UEFI Clover install.

This goes into /System/Library/CoreServices/boot.efi

First do sudo chflags nouchg /System/Library/CoreServices/boot.efi

Make sure to test on USB stick first...

Share this post


Link to post
Share on other sites

Does not work for me on Yosemite!!! :(

Any report to give?

Share this post


Link to post
Share on other sites

After reboot my PC blocked on boot.

attachicon.gif2014-12-09 17.37.29.jpg

 

Now see where is the problem.

Thanks!!!

Try using legacy Clover boot.

Aptio reloc doesn't work yet (needs fix).

EDIT: Also note - this boot.efi is universal (32 + 64 bit arch).

You can also test 32-bit legacy Clover to boot into 64-bit kernel (works).

Share this post


Link to post
Share on other sites

KP unable to find driver for this platform with Clover legacy for me.

Damn... do you have a patched DSDT in /EFI/CLOVER/ACPI/Patched?

If not, put one there...

Just to check...

Share this post


Link to post
Share on other sites

Extremely fast boot after last update (If I can get the hackintosh specific bug fixed that doesn't enable ACPI platform init).

The new version has -f support (ignore kernel cache).

You might want to try this too...

EDIT: By the way - when I get home I'll add auto installer packages.... (need my dev certificates for signing these).

EDIT2: On the Github page you also find the regular built version (this can be used for real MacPro or so with only EFI32 to run Yosemite) with latest optimizations and strict flags and stuff and code modifications it should work real fast on such a machine...

Share this post


Link to post
Share on other sites

Anyone with an Ozmozis flashed mobo willing to test and report?

Would like to see reports there (as it's kind of weird that is doesn't load ACPI, should work as it does so on real Macs...)

Let me know please :D

Share this post


Link to post
Share on other sites

Hi Andy unfortunately with boot.clovertools.efi get blank boot with uefi n legacy (intel machine)

And Apple version?

I allready noted some time ago that the combined 32+64 bit UEFI files only work when built from MS sources or Apple's..

You could easily rebuild though...

make CLOVERTOOLS=1

for 64 bit or

make CLOVERTOOLS=1 ARCH=i386

for 32 bit.

And don't combine them into and UEFI combined, I noticed it does not work...

Stay tuned currently updating project.

Post more on Github soon.

Share this post


Link to post
Share on other sites

Hi Andy.

 

I send you a PM.

EDIT: you just reply in the meantime.

 


 

I'm going to move this topic in the bootloader section.

EDIT2: topic moved, and a temp link from previous source section as been given.

 

ErmaC

Share this post


Link to post
Share on other sites

BTW: Don't try any VM (VMWare, Virtualbox / Paralles) because don't work yet...

When I get that working: I'll post here ;)


Tested auto-installer,

Work insanely great.

It is integrated for build within main Makefile of Github sources too.

It execututes an universal  build and then packages it.

- make newinstaller (make flat style package).

- make legacy-installer (make Tiger style package.

Greetz

Andy

I added the packages and also the script.

It works great and makes booster (2 scripts and one Makefile ;))

Share this post


Link to post
Share on other sites

Hey Andy, I know I already asked this but this has piqued my curiosity. I know the macpro1,1 requires a 32-bit bootloader but I don't really understand what this is for as far as hackintoshes go. Would I benefit from this on my 2600k build? It still needs another boot loader like clover or chameleon right? Sorry if it's a dumb question...

Share this post


Link to post
Share on other sites

Hi Andy,

 

I have clover install on legacy mode (bios mode)

How can I install your version ?

just copy the "boot.efi" file in "/System/Library/CoreServices/boot.efi" and then reboot using clover ?

 

regards,

Barnum

Share this post


Link to post
Share on other sites

I noticed that you use ARCHCFLAGS -target x86_64-pc-win32-macho for the 64-bit version of boot.efi but there is no target set for the 32-bit variants. What about using i386-pc-win32-macho?

It doesn't work, try it...

I tested and noticed it didn't want to use it.

Share this post


Link to post
Share on other sites

It doesn't work, try it...

I tested and noticed it didn't want to use it.

Oops. That should have read: x86-pc-win32-macho

 

Anyway. I guess that you will still get the backend triplet error. I know that x86-pc-darwin-macho compiles, but that is probably also wrong. You better ask on the EDKII mailing list what to use for 32-bit EFI applications. I would have asked it myself, but I can't (work related limitation). Or file a clang bug report perhaps (since x86_64-pc-win32-macho works)?

Share this post


Link to post
Share on other sites

Oops. That should have read: x86-pc-win32-macho

 

Anyway. I guess that you will still get the backend triplet error. I know that x86-pc-darwin-macho compiles, but that is probably also wrong. You better ask on the EDKII mailing list what to use for 32-bit EFI applications. I would have asked it myself, but I can't (work related limitation). Or file a clang bug report perhaps (since x86_64-pc-win32-macho works)?

Tried all of those...

Found nothing with stock clang for 32 bit win target...

So I implemented it the way it is now

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Pedro Diniz
      Hello Friends, how are ya?

      Could you help me with a problem?

      I followed some guides like: https://www.insanelymac.com/forum/topic ... coffeelake -dsdt /

      and the installation of high Sierra 10.13.6 (17G8030) and nvidia webdrivers (correspondent to OS version) went smoothly, the problem starts when I try to boot the GPU.

      Hardware:
      MOBO: Aorus B360M gaming 3 (rev.1)
      CPU: i5 8400
      GPU: GTX 1060 OC Galax redblack

      BIOS:
      Fast boot - disabled
      windows 8/10 features - other os
      lan pxe - disabled
      storage boot option - UEFI
      other pci devices - UEFI
       
      Initial display output - PCie 1 slot
      Intel's Platform Trust Technology (PTT) - disabled
      sata mode selection - AHCI
      XHCI hand off - enabled
      VT-d - disabled
      internal graphics - auto


      The problem is:
      I can log into the system normally without using my nvidia GPU but when I boot the system with the flags for webdrivers to work I fall into the login screen but it keeps flashing, I can see the mouse and I can move it but the screen flashes and the following error appears when the screen goes "black": IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0. I searched for this error on the internet and tried to solve but to no avail so far.

      If someone can help me I would be extremely grateful! thanks in advance!

      Clover file attached.
      CLOVER.zip
    • By MaLd0n
      ---TUTORIAL---

      https://olarila.com/forum/viewtopic.php?f=50&t=8685
       
      --Original Post--
       
      https://olarila.com/forum/viewtopic.php?f=97&t=11237
       
      --Bios/UEFI Settings--
       
      *Update bios/uefi to F7+*
      1- Go to M.I.T./Advanced Frequency Settings tab
       
      Extreme Memory Profile (X.M.P.) - Profile 1
       
      2- Go to BIOS tab
       
      CSM Support - Disabled
       
      3- Go to Peripherals/Thunderbolt(TM) Configuration tab
       
      Security Level - No Security
      Thunderbolt USB Support - Enabled
      GPIO3 Force Pwr - Enabled
       
      4- Go to Chipset tab
       
      Internal Graphics - Enable
       
      ---CLOVER FOLDER---
      *Use this folder with FULL DSDT PATCHED
      EFI CLOVER Z390 DESIGNARE.zip
       
      ---OPENCORE FOLDER---
      *Use this folder with FULL DSDT PATCHED
      EFI OPENCORE Z390 DESIGNARE.zip
       
      ---DSDT patch requests is here---
       
      https://olarila.com/forum/viewtopic.php?f=19&t=1131
       
      ---HARDWARE---
       
      --MOBO

      GIGABYTE Z390 DESIGNARE
      -Link
      https://www.amazon.com/Z390-DESIGNARE-Gigabyte-Thunderbolt-Motherboard/dp/B07K8RJZRG/ref=sr_1_1?keywords=Z390+DESIGNARE&qid=1565492390&s=electronics&sr=1-1

      --PROCESSOR

      Intel Core i9-9900K
      -Link
      https://www.amazon.com/Intel-i9-9900K-Desktop-Processor-Unlocked/dp/B005404P9I/ref=sr_1_1_sspa?keywords=Intel+Core+i9-9900K&qid=1553358099&s=gateway&sr=8-1-spons&psc=1

      --COOLER

      CORSAIR H100i RGB PLATINUM AIO Liquid CPU Cooler
      -Link
      https://www.amazon.com/CORSAIR-H100i-PLATINUM-Liquid-Cooler/dp/B07JWB5BSN/ref=sr_1_4?keywords=WATER+COOLER+CPU&qid=1565492509&s=gateway&sr=8-4

      --MEMORY

      Corsair CMW32GX4M2C3200C16 Vengeance RGB PRO 32GB (2x16GB) DDR4 3200 (PC4-25600)
      -Link
      https://www.amazon.com/Corsair-CMW32GX4M2C3200C16-Vengeance-PC4-25600-Desktop/dp/B07GTG2T7L/ref=sr_1_15?keywords=memory+ddr4+32&qid=1553358238&s=gateway&sr=8-15

      --GPU

      MSI RX Vega 64 AIR Boost 8G OC
      -Link
      https://www.amazon.com/MSI-RX-64-AIR-8G/dp/B07DH7S1X1/ref=sr_1_2?keywords=vega+64+gigabyte&qid=1565492819&s=electronics&sr=1-2

      --SSD

      Samsung 970 EVO 1TB SSD (MZ-V7E1T0BW) NVMe M.2 V-NAND
      -Link
      https://www.amazon.com/Samsung-970-EVO-1TB-MZ-V7E1T0BW/dp/B07BN217QG/ref=sr_1_1?keywords=s+samsung+970+evo+1tb&qid=1565493002&s=electronics&sr=1-1

      --POWER SUPPLY

      EVGA Supernova 1000 P2 80+ Platinum, 1000W ECO Mode Fully Modular 
      -Link
      https://www.amazon.com/EVGA-Supernova-Platinum-Crossfire-220-P2-1000-XR/dp/B00EKJQM5E/ref=sr_1_3?keywords=power+supply+1000w&qid=1565493196&s=gateway&sr=8-3

      --WIRELESS

      TP-Link Archer T9E
      -Link
      https://www.amazon.com/TP-Link-Archer-T9E-Beamforming-Technology/dp/B00TQEX7AQ/ref=sr_1_1?keywords=TP-Link+Archer+T9E&qid=1553358397&s=gateway&sr=8-1

      --CASE

      Thermaltake Core P5 Tempered Glass Black Edition ATX Open Frame Panoramic Viewing
      -Link
      https://www.amazon.com/Thermaltake-Tempered-Panoramic-Certified-CA-1E7-00M1WN-03/dp/B01N4IGVSC/ref=sr_1_2?keywords=Thermaltake+Core+P5&qid=1565493567&s=gateway&sr=8-2

      --DSDT Patches--
      -FIX ACPI ERRORS -FIX OEM SSDTs to AVOID ERRORS AND WARNINGS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA -DMAC -REMOVE PROBLEMATIC AND UNUSED DEVICES -FIX K.P in REBOOT -SLPB -DARWIN / WINDOWS 2015 -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -REAL TIME CLOCK -ARTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -FWHD -USBX -PMCR -PPMC -XSPI -CNVW -GMM -IMEI -EC -PNLF -ARPT -GFX0 -NVME -DTGP -ACQUIRE MUT0 0XFFFF -MUTEX MUT0 0x00 -EXTERNAL REFERENCES -UNKNOWNOBJ -HDMI / HDAU -FULL RENAMED DEVICES ---SCREENSHOTs---




















      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
      Thanks to KGP for SSDT Thunderbolt
      Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad, Sampath007, onemanosx, erroruser, Jenny David, Olarila Facebook Community, Hackintosh Facebook Community and many others!
      We're all here to have fun and learn from each other!
    • By MaLd0n
      ---INSTALLATION TUTORIAL---
       
      ---Original Post---
      https://olarila.com/forum/viewtopic.php?f=45&t=9172
       
      ---USB---
      https://pikeralpha.wordpress.com/2016/07/13/simple-skylake-usb-fix-no-kexts-required/
       
      ---CLOVER FOLDER---
       
      CLOVER.zip
       
       
      --MOBO
      GigaByte Z390 M Gaming



      --PROCESSOR
      Intel Core i9-9900K


      --COOLER
      CoolerMaster MasterLiquid ML120R RGB


      --MEMORY
      Corsair Dominator Platinum 16GB (2 x 8GB)


      --GPU
      Sapphiretech Radeon RX 590 8 GB GDDR5


       
      --SSD
      Samsung 970 EVO NVMe M2 Flash Drive


      --POWER SUPPLY
      EVGA 750 N1, 750W


      --WIRELESS
      TP-Link Archer T9E


      --BLUETOOTH
      Orico BTA-403


      --CASE
      Thermaltake View 21 Tempered Glass Edition


      --DSDT Patches--
      -FIX ERRORS AND WARNINGS -FIX ACPI ERRORS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA SERIE 10 ID -DMAC -REMOVE 22K LINES, PROBLEMATIC and UNUSED -FIX K.P in REBOOT -NVRAM / REAL TIME CLOCK -SLPB -DARWIN / WINDOWS 2015 -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -REAL TIME CLOCK -ARTC -IRQs -SBUS -MIKEY -BUS1 -MCHC -ALS0 -SHUTDOWN -UAR1 -LAN -FWHD -USBX -PMCR -PPMC -XSPI -GMM -IMEI -EC -PNLF -ARPT -GFX0 -NVME -DTGP -ACQUIRE MUT0 0XFFFF -OPERATION REGION GPIO -MUTEX MUT0 0x00 -EXTERNAL REFERENCES -UNKNOWNOBJ -HDMI / HDAU -FULL RENAMED DEVICES  
      --SCREENSHOTS--





























      --BruceX--
       
      --USB-C-- test with SanDisk Ultra USB-STICK 128gb


       
      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
      Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad, Sampath007, onemanosx, erroruser, Jenny David, Olarila Facebook Community, Hackintosh Facebook Community and many others!
      We're all here to have fun and learn from each other!
    • By Lucalab03
      INSTALLATION GUIDE (BY ME):
       
       
       
      FIX ALL PROBLEMS (BY ME):
       
×