profzei / Matebook-X-Pro-2018

💻 macOS on Huawei Matebook X Pro 2018
Apache License 2.0
369 stars 48 forks source link

Can't boot to windows 10 #154

Closed jeffreyouni closed 3 years ago

jeffreyouni commented 3 years ago

Hello, How are you? I just put your BOOT and OC file into EFI. I boot to macOS successfully but it will stick on loading windows. Could you tell me how to fix this? Thank you very much!

unverbraucht commented 3 years ago

Hi,

I had a similar problem. I also have that on another computer (not a Matebook) where I have multiple operating systems installed, maybe the EFI system got confused with the boot entries or something.

What helped me solve this was following the steps here: https://www.reddit.com/r/hackintosh/comments/fj3zrj/booting_opencore_without_the_usb_on_an_asrock/

profzei commented 3 years ago

@unverbraucht You said "I had a similar problem." Does this mean you have actually a dual booting system (macOS + Windows) where you can boot Windows from OpenCore boot picker menu using my latest release?

Honestly, using my latest release but also previous ones I'm not able to boot Windows from OpenCore boot picker... (no problem from BIOS boot menu invoked with F12) I always thought this should be related, in my very specific case, to the fact that

@unverbraucht I didn't know the guide you shared here, but I appreciate it very much: I'm very interested in digging more my case since I had a lot of experience with Linux OS

espitgn commented 3 years ago

Thanks @profzei for your hard work. It's the best hackintosh I've had!

I had the same issue with 2.0.0 and 2.1.0 releases (when windows is selected, starts booting for 1 sec, and then the system reboots). I could fix it using rEFind menu, but finally I decided to come back to 1.9.1 (with OC 0.6.5). In this release windows works without issue. Could it be a problem related with new boot feature in OC 0.6.6.?

profzei commented 3 years ago

Could it be a problem related with new boot feature in OC 0.6.6.?

@espitgn Honestly I don't know... probably I guess I didn't protect in the right way some patches I wrote between 1.9.1 and 2.0.0-2.1.0... I need to re-check them... honestly during Easter's holidays not before since I have too many deadlines...

espitgn commented 3 years ago

Please, don't worry! I'm very comfortable with 1.9.1 release. Have a good Easter's holidays! And thanks for your big effort.

rohirrim27 commented 3 years ago

Seconding espitgn's observation - I had difficulties (recovery and restart) in booting into windows on my dual-boot (via 2 separate SSDs) system since updating to 2.1.0 (and OpenCore 0.6.7).

Everything else is working great thanks to you but do you think this could be due to the "Windows Activation failure due to different hardware UUID generated by OpenCore" you mention on the homepage? I'm testing injecting the original Windows UUID into the config.plist as you suggested but would be great if you could share more on that? I scanned the OpenCore Official Configuration PDF but couldn't find more details on the process.

profzei commented 3 years ago

@rohirrim27

Seconding espitgn's observation - I had difficulties (recovery and restart) in booting into windows on my dual-boot (via 2 separate SSDs) system since updating to 2.1.0 (and OpenCore 0.6.7).

I need to check whether I protected in the right way all the patches... probably not! I'll start working on this item next Thursday...

Everything else is working great thanks to you but do you think this could be due to the "Windows Activation failure due to different hardware UUID generated by OpenCore" you mention on the homepage? I'm testing injecting the original Windows UUID into the config.plist as you suggested but would be great if you could share more on that? I scanned the OpenCore Official Configuration PDF but couldn't find more details on the process.

Honestly I remember I found that procedure in a bug report in acidanthera bug tracker almost one year ago I suppose (...now I'm not able to find it using Google... I also remember it was discussed on some Reddit posts...)

rohirrim27 commented 3 years ago

Thank you profzei! Really appreciate all you do for us!

whosnipedmyass commented 3 years ago

Hey Profzei, i found an Solution from BenDevelopment:

"There are the solutions I know: First: adding If (_OSI ("Darwin")) in all ssdt. Second: don't use OpenCore for boot selection."

Can you help me with the first solution? I dont know how to edit the ssdt`s.

Thank you very much Supremekiind

profzei commented 3 years ago

@supremekiind

probably I guess I didn't protect in the right way some patches I wrote between 1.9.1 and 2.0.0-2.1.0... I need to re-check them...

Your "first solution" is what I mean using the expression protect in the right way ... it's the basic level for writing patches. Honestly, since I'm a teacher now

I have too many deadlines...

Therefore I'm working on this item during my spare time...

gnodipac886 commented 3 years ago

Hi, its been a while lol

This issue seems to be due to SSDT-INIT update in the 1.9.1. I've reverted the SSDT to the one in 1.9.0 for now and its working fine with windows. (I also reverted SSDT-XHC and deleted SSDT-TB3)

I've tried to put If (_OSI ("Darwin")){} inside the method calls and windows booted, but HID devices stoped working, might be a conflict.

Please let us know when you get a chance, thanks

profzei commented 3 years ago

@gnodipac886 Thank you for the hint!

@jeffreyouni @espitgn @rohirrim27 @supremekiind @gnodipac886 Now I think I totally fixed Windows 10 booting issue (using my latest release) I have done 10 successful dual-booting iterations till now without any issues...

Since I don't know if next OpenCore 0.7.0 will be released on Tuesday 1 June (it's not first Monday in June...) or Monday 7 June, I prefer to just check some other little things and make a "fixing" release late today or tomorrow...

profzei commented 3 years ago

Please, check new Release v. 2.3.0 and let me know your feedback!

jeffreyouni commented 3 years ago

Please, check new Release v. 2.3.0 and let me know your feedback!

Hello, Profzei I have installed your 2.3.0 version and it solved all the problems. Thank you for your upgrade!

espitgn commented 3 years ago

Please, check new Release v. 2.3.0 and let me know your feedback!

Hi, Profzei

Booting and working with 2.3.0. in Windows without issue! Thanks for you work!