hieplpvip / Asus-Zenbook-Hackintosh

Run macOS on Asus Zenbook with OpenCore
203 stars 43 forks source link

macOS 10.15.4 OpenCore #68

Closed AwlsomeAlex closed 4 years ago

AwlsomeAlex commented 4 years ago

Not necessarily a problem, but is there a way to integrate this into OpenCore in the event that macOS 10.16 breaks everything we know and love about Clover/Kexts?

AwlsomeAlex commented 4 years ago

Welp, opencore branch just answered my question. @hieplpvip if I install this to my device this week, will you be available for immediate feedback? I'd love to help test!

hieplpvip commented 4 years ago

I haven't updated the scripts, so you need to install it manually. Please read everything inside this guide before proceeding. Always have Clover installed on some USB as backup.

Currently, my EFI folder looks like this: image

ACPI files can be generated by running ./make_acpi.sh

For kexts, copy all inside downloads/clover_kexts. I don't think LiluFriend is needed with OpenCore so I remove it.

For drivers, you'll know where to get them after reading the guide above.

config.plist is at src/config_parts/opencore.plist. You need to change:

If you boot OpenCore but instead it boots into BIOS, move everything inside EFI folder except BOOT/bootx64.efi and OC and reboot. Now OpenCore should boot. Move everything back. (I know this sounds weird but it worked for me)

AwlsomeAlex commented 4 years ago

@hieplpvip Thanks for the info. I'll test it later in the week when I have a proper macOS device.

whatnameisit commented 4 years ago

@hieplpvip Thanks for all your work with ASUS laptops :) Please review these commits. I added multiboot support for your UX410 and few fixes like removing deprecated XHC and dGPU ACPI add/patches, as well as some of the patches I use for my X510UA(S510) and the config that I use with Platforminfo removed. https://github.com/whatnameisit/ASUS-ZENBOOK-HACKINTOSH/commits/opencore Good night!

hieplpvip commented 4 years ago

@whatnameisit I don't think it's a good idea to boot Windows using OpenCore since OpenCore always injects SMBIOS, which makes Windows think it's running on a real Macbook and can cause troubles with Windows license. Instead, I use rEFInd. I can share my rEFInd folder if you like.

I haven't looked check your commits thoroughly. My main concern now is how this repo should be maintained. Currently, this repo provides prebuilt configs and scripts for automatic installation. However, it doesn't seem to be a good approach in the long term. I can't test everything in this repo. The scripts are kinda inflexible and limited. For example, I really want to have each ACPI patch in its own SSDT file, but I have to put everything in one file because current scripts don't allow me to do that. I can modify the scripts but that doesn't solve the root of the problem. Bash is very limited compared to high-level languages, so I'm thinking about developing an application to replace those scripts, but it'll will take time and I don't know if it's worth it. I want to know what you guys think.

gulios commented 4 years ago

so, it works on UX430UA, thanks to @hieplpvip

whatnameisit commented 4 years ago

@hieplpvip I have no problem booting into Windows, but that I guess is because I use a KMS license. I forgot and haven't thought about Windows license issues in many months... About maintaining this repo, I think it's fine if you provide the basic EFI structure for Clover as you currently do with scripts(and maybe OpenCore in the near future?). You can't always accept and fix issues on machines you don't have. End users need to study their machines and hacks.

dhruvinsh commented 4 years ago

@hieplpvip Hi, I have tried many time, doing Opencore by my-self and doing it your ways. few things i noticed that i would like point out on this:

stakeout55 commented 4 years ago

hieplpvip. -- THANK YOU so much for all your hard work! I am SOOO Close. The only thing on opencore I have left to configure is backlight. Everything else is working with OpenCore on 10.15.5. If I put up a google drive link of my EFI would you mind taking a peel? Thank you

EDIT: Bios 311 did the trick - everything is up and running

stakeout55 commented 4 years ago

@whatnameisit I don't think it's a good idea to boot Windows using OpenCore since OpenCore always injects SMBIOS, which makes Windows think it's running on a real Macbook and can cause troubles with Windows license. Instead, I use rEFInd. I can share my rEFInd folder if you like.

I haven't looked check your commits thoroughly. My main concern now is how this repo should be maintained. Currently, this repo provides prebuilt configs and scripts for automatic installation. However, it doesn't seem to be a good approach in the long term. I can't test everything in this repo. The scripts are kinda inflexible and limited. For example, I really want to have each ACPI patch in its own SSDT file, but I have to put everything in one file because current scripts don't allow me to do that. I can modify the scripts but that doesn't solve the root of the problem. Bash is very limited compared to high-level languages, so I'm thinking about developing an application to replace those scripts, but it'll will take time and I don't know if it's worth it. I want to know what you guys think.

Hey! I’d love to see this solution using rEFInd, I am having a really hard time getting OpenCore to even start without the bootable usb. No matter WHAT I try... I always boot to windows unless I use my USB. I’ve got everything working on 10.15.5 — and I really want to set up a proper dual boot like I used to have on Clover. (I’ve changed orders in bios, selected paths, used EasyUEFI on windows, doesn’t matter... always boots to windows. I’m lost to be honest.) any help would be amazing! I’m on Bios 311 on the Ux330UAK model if that helps.

bliss95 commented 4 years ago

I have an ASUS UX430UN. Can anyone share a running opencore efi?

stakeout55 commented 4 years ago

On Mon, Aug 24, 2020 at 12:58 PM Bliss Silver notifications@github.com wrote:

I have an ASUS UX430UN.

Can anyone share a running opencore efi?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hieplpvip/ASUS-ZENBOOK-HACKINTOSH/issues/68#issuecomment-679247820, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALPKPUAAWQUCRQ5VP2UFOGTSCKL4LANCNFSM4LTXDEZA .

hey! Yes:

https://github.com/stakeout55