[EFI Loader] Error 12 Fix in Boot Camp for Apple T2 Security Chip Macs (apple_se...
 
Notifications
Clear all

[EFI Loader] Error 12 Fix in Boot Camp for Apple T2 Security Chip Macs (apple_set_os loader v0.5)  

 of  12
  RSS

aa15032261
(@aa15032261)
Eminent Member
Joined: 6 months ago
 

Hello guys, I modified 0xbb's apple_set_os.efi to make it easier to use eGPU on the new MacBook Pro 16". I noticed the old efi doesn't always load successfully so I made this version. In this version, if apple_set_os isn't loaded, it will restart the computer automatically so it will save you some time. Once apple_set_os is loaded, it will start the boot loader of your choice.

 

GitHub & Changelog
https://github.com/aa15032261/apple_set_os-loader

Spoiler
Changelog

v0.5
Add hotkey Z to temporarily disable apple_set_os

v0.4
Fix broken GUI

v0.3
Fix blank screen on some computers
Add Connected Graphics Cards section to menu

v0.2
Fix apple_set_os cannot be loaded sometimes.

v0.1
Initial release

 

Installation

1. Download bootx64.efi (v0.5)

2. Boot to macOS recovery mode (Tutorial)

3. Set Security Boot to "No Security" (Tutorial)

4. Boot to macOS

5. Set the startup disk to macOS (Tutorial)

6. Mount EFI partition using Clover Configurator (Mount EFI -> Mount Partition) (Download)

7. Open EFI disk from desktop then go to /EFI/Boot

8. Rename /EFI/Boot/bootx64.efi to /EFI/Boot/bootx64_original.efi

9. Copy bootx64.efi from step 1 to /EFI/Boot

10. Restart

 

Boot to Windows with eGPU

1. Set the startup disk to Windows

2. Restart

3. Wait until apple_set_os loaded (It is totally normal if the computer restarts several times)

4. Connect in your eGPU to a thunderbolt port on the left side then press any key

5. Once Windows is booted, disconnect your eGPU then connect it to a thunderbolt port on the right side

6. Connect your eGPU again to the port you chose at step 4

7. Error 12 should disappeared. Enjoy! 😊 

 

Uninstall

1. Boot to macOS

2. Set the startup disk to macOS

3. Mount EFI partition using Clover Configurator

4. Open EFI disk from desktop then go to /EFI/Boot

5. Delete /EFI/Boot/bootx64

6. Rename /EFI/Boot/bootx64_original.efi.efi to /EFI/Boot/bootx64

7. Restart

This topic was modified 5 months ago

MacBook Pro 16" / i9-9880H / 16GB / 5500M 4GB
Razer Core X / AMD Radeon VII


mac_editor, mowglibook, Wildgoose and 3 people liked
ReplyQuote
(@akash4393)
Eminent Member
Joined: 3 years ago
 

@aa15032261

Works!! On the first attempt it took three restarts, but second time it worked with one. One thing that I noticed was that my internal display was not starting up. It was showing the windows logo and loading animation and then it would go completely black. It might be because in windows display settings I have disconnected this display (use laptop in clam-shell mode). But this is not an issue for me because I don't have a password, so when I see the controls appear on the touchbar, I do the tb3 port swap thing (left -> right -> left) and everything works! 

Enjoying Forza Horizon 4 (4k - High) thanks to you. 

Cheers!

This post was modified 6 months ago

2019 16-inch MacBook Pro (i9/1TB/64GB/5500 - 8GB). Akitio Node (Corsair SF600) - Vega 64

 
2014 13" MacBook Pro [5th,2C,U] + RX Vega 64 @ 16Gbps-TB2>TB3 (AKiTiO Node) + macOS 10.14.5 & Win10 1903 [build link]  


ReplyQuote
Bloodstainer
(@bloodstainer)
Eminent Member
Joined: 6 months ago
 

Could it work on iMac 21,5' 2017 too?

Because I never succeeded to load previous EFI boot with this iMac (when I select the OS, it freezes).

This post was modified 6 months ago

Config: iMac (Retina 4K, 21.5-inch, 2017). eGPU : NVIDIA GeForce RTX 2060 (with a Razer Core X enclosure)


ReplyQuote
aa15032261
(@aa15032261)
Eminent Member
Joined: 6 months ago
 
Posted by: @bloodstainer

Could it work on iMac 21,5' 2017 too?

Because I never succeeded to load previous EFI boot with this iMac (when I select the OS, it freezes).

You can try it , it might fix the issue.

MacBook Pro 16" / i9-9880H / 16GB / 5500M 4GB
Razer Core X / AMD Radeon VII


ReplyQuote
Bloodstainer
(@bloodstainer)
Eminent Member
Joined: 6 months ago
 

@aa15032261

Thanks. Which partition should I choose here?

clover

(My iMac use Fusion Drive).

Thanks.

Config: iMac (Retina 4K, 21.5-inch, 2017). eGPU : NVIDIA GeForce RTX 2060 (with a Razer Core X enclosure)


ReplyQuote
aa15032261
(@aa15032261)
Eminent Member
Joined: 6 months ago
 

@bloodstainer

It should be installed on the bootcamp partition, so install it to the first EFI partition.

MacBook Pro 16" / i9-9880H / 16GB / 5500M 4GB
Razer Core X / AMD Radeon VII


ReplyQuote
itsage
(@itsage)
Illustrious Member Admin
Joined: 4 years ago
 

@aa15032261 Thank you for sharing this nice solution! Do you see the Intel iGPU in Windows using this solution? 

 

external graphics card builds
best laptops for external GPU
eGPU enclosure buyer's guide

 
2020 13" MacBook Pro [10th,4C,G] + RX 5700 @ 32Gbps-TB3 (Prototype eGPU Enclosure) + macOS 10.15.4 & Win10 1903 [build link]  


ReplyQuote
aa15032261
(@aa15032261)
Eminent Member
Joined: 6 months ago
 

@itsage

Yes, iGPU, dGPU and eGPU all works

MacBook Pro 16" / i9-9880H / 16GB / 5500M 4GB
Razer Core X / AMD Radeon VII


itsage liked
ReplyQuote
itsage
(@itsage)
Illustrious Member Admin
Joined: 4 years ago
 

@aa15032261 That's good to hear. The Intel iGPU actually doesn't work on 2018-2019 15" & 16" MacBook Pro but can be force-enabled through apple_set_os.efi and rEFInd. When you attach it to the internal display, the screen would show tiny circle dots and go dark. As long as the dGPU works, Windows Hybrid graphics can use eGPU for internal display acceleration if needed.

I am curious about these recent developments and apple_set_os.efi behaviors with Boot Camp eGPU use. Some early releases of Catalina contain firmware updates (Apple T2 chip Macs only) that completely ignore iGPU force-activation by apple_set_os.efi and rEFInd. I have observed the latest 10.15.2 and 10.15.3 beta to somewhat work with apple_set_os.efi and rEFInd again. However the latest firmware updates mess with Thunderbolt connection state in Windows.

I typically test Thunderbolt 3 connection during Windows boot up process using a TB3 enclosure with RGB, not for the lighting effects but for Thunderbolt connection state monitoring. Take the Razer Core V2 for example, at cold boot the RBG turns on with the connected laptop. During pre-boot, boot loader, and initial OS loading the RBG remains on. The second half of OS loading is when the RBG turns off. If the RGB turns back on when OS loading completes, Thunderbolt connection is active. Otherwise Thunderbolt connection is not active and would require hot-unplug then hot-plug to make the Thunderbolt connection active.

My guess is you may be able to boot into Windows without the eGPU connected using this solution. Try hot-plug your Radeon VII eGPU once Windows fully loads and see whether the system can resolve error 12.

external graphics card builds
best laptops for external GPU
eGPU enclosure buyer's guide

 
2020 13" MacBook Pro [10th,4C,G] + RX 5700 @ 32Gbps-TB3 (Prototype eGPU Enclosure) + macOS 10.15.4 & Win10 1903 [build link]  


ReplyQuote
Bloodstainer
(@bloodstainer)
Eminent Member
Joined: 6 months ago
 

@aa15032261

Thanks! I did all the steps, unfortunately, I still have error code 12 at the end.

Config: iMac (Retina 4K, 21.5-inch, 2017). eGPU : NVIDIA GeForce RTX 2060 (with a Razer Core X enclosure)


ReplyQuote
 of  12