profzei / Matebook-X-Pro-2018

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

3.1.0 Crash after 1-2 mins of startup #194

Closed rohirrim27 closed 2 years ago

rohirrim27 commented 2 years ago

Hi @profzei,

Thank you for working on and releasing 3.1.0 which I'm sure addresses the challenges a few people were experiencing with 3.0.0.

However, as I didn't update to 3.0.0 and am testing out 3.1.0, not sure if the following is a new issue or needs me to make changes on my end. I've followed the updated ReadMe step by step but the laptop crashes and restarts every 2 mins with the following Apple Error Report (sorry for the pictures, wasn't able to take a screenshot and send in time).

WhatsApp Image 2021-10-19 at 3 22 50 PM WhatsApp Image 2021-10-19 at 3 22 49 PM

I've been using a dual booting system with Windows on the internal SSD and Mac OS installed on the external SSD and it's been working flawlessly thanks to you till date.

PLTorrent commented 2 years ago

@rohirrim27

It's a longshot but try this and let us know if this helps: https://github.com/profzei/Matebook-X-Pro-2018/issues/186#issuecomment-946260488

rohirrim27 commented 2 years ago

Thanks @PLTorrent! Your solution seems to have had a lot of success so I'm keen to try it.

A simple question though - if I've already updated the EFI folder in my external SSD with Mac OS (after using MountEFI) is there a way for me to edit it without a working Mac OS. I'm afraid I'm not able to carry out the steps to update the EFI folder on my external SSD before it crashes again.

I probably should have thought of this before updating.

PLTorrent commented 2 years ago

@rohirrim27

Just place the EFI on the USB like you would for installing and boot off that selecting your macOS from the boot menu. If the system boots and is stable, than introduce necessary changes to your HD.

rohirrim27 commented 2 years ago

Thank you @PLTorrent! Seems to be working now thanks to the suggestions on the two threads. Closing this issue now.

PLTorrent commented 2 years ago

@rohirrim27

Glad to hear that.

@profzei Seems like for the time being we have found the mother of all problems with the 3.X.X ;]

profzei commented 2 years ago

@PLTorrent

Thank you very much for your precious collaboration!... if possible I would like to take advantage of it again to try to "understand" better...

The function pci-aspm-default is used to activate for macOS Active-State Power Management for pci (also express) devices like:

We need to point out that macOS is an OS which is designed for working well/optimally only on Mac hardware, so in our hackintoshes it could be advisable to force a such property whenever possible...

How we could say if a such feature is working fine or is supported for our hardware? Simple: if the device does not support ASPM, then the operating system may freeze: I checked (during this summer) that my machine didn't suffer any issue...

So, why did this issue affect your device and others?

  1. Could you check, please, that you need to remove ALL those properties?
  2. Could you report, please, your BIOS version?

Power management properties could be changed/optimized with newer BIOS version (even if ACPI DSDT is essentially the same...), even if, in a such case, it seems to me, we could talk about a regression because in my case adding a such property was not harmful which means that ASPM is supported and working fine... issues are only for devices NOT supporting well ASPM...

PLTorrent commented 2 years ago

@profzei

My BIOS is 1.37. My exact model is MACH-W19. I have stock config with LIteOn NVMe 256GB. I can provide exact model later on. I also do not have discreet GPU only iGPU. I have tried disabling the ASPM only for e.g. SSD but the system did not start as well.
EDIT: Exact details below: Intel Core i5-8250U @ 1.60 GHz Micron memory 8192MB @ 2133 GHz LiteOn CA3-8D256 NVMe SSD (256GB) BIOS reported model: MACH-WX9 BIOS version: 1.37

I could try downgrading the BIOS but are we sure that BIOS in the repo will match my machine?