LuisUrdianivia1994 / Lenovo-Flex--15-Flex14-Hackintosh

This is My Hackintosh Build On OpenCore and macOS Catalina
1 stars 0 forks source link

Black screen installation stop at 12 minut #3

Open mimi01m opened 2 years ago

mimi01m commented 2 years ago

Hello, I have a Lenovo Flex 15 laptop with Bios version 8ACN34WW, cpu i7-4500U, hd 4400-nvidia 820m. I installed Big sur 11.6.5 with MBP 11.4 folder. The problem is that in the first installation phase it stops at 12 min then goes to black screen and I had to turn off and on the pc to continue with the installation. the laptop does not restart. I have installed and it works normally but both restart and hibernation do not work. Thank you Sorry for disturbing

LuisUrdianivia1994 commented 2 years ago

I also see that it is affecting the problem with the restart, maybe there is something that I do not understand. It worked fine, even the same EFI has been used in OC 0.6, maybe there is something different in our computers since mine has an i3 core without GPU and yours has an i7 with GPU and I would say that its keyboard is full format.

try this EFI

EFI.zip

this EFI has been modified, if you still have problems,

SMbus Driver was also added so as not to have problems when the equipment goes into sleep mode, it is important that to solve this (if you put your equipment in Sleep mode , insert the following commands to the terminal one at a time:

sudo pmset autopoweroff 0 sudo pmset powernap 0 sudo pmset standby 0 sudo pmset proximitywake 0 sudo pmset tcpkeepalive 0 sudo pmset hibernatemode 0

I suggest disabling SSDT-NohybGfx.aml if you have problems with power On.

forget to add something. Regarding the sleep issue, some USB devices may not support the sleep function. It may happen with Bluetooth, so it may happen that when your device wakes up from sleep, your bluetooth is "confused" or simply disappears. It could be solved but I hardly use it, I will buy an Intel Wireless adapter to go up to Monterey

mimi01m commented 2 years ago

I followed the other guy thread that has the same problem. can I attach ACPI files extracted from Opencore? Many thanks again

Ok I try what you recommended

LuisUrdianivia1994 commented 2 years ago

You have Bios 8ACN34WW and it is fully compatible with all the Patches that you apply. They will work correctly in your laptop BIOS.
the Other Guy it was an isolated Case since he has a different Bios and incompatible with my DSDT, different patches were applied to make it work

mimi01m commented 2 years ago

I tried the EFI and the startup sound is ok but the speaking voice is no longer in startup. Unfortunately, the reboot still doesn't work. Sleep works yes I have this version of bios. will it be the fault of the second nvidia card? However, I am attaching the ACPI extracted from opencore. the laptop works very well overall.

thank you very much SysReport.zip

LuisUrdianivia1994 commented 2 years ago

Regarding the problem of the Reboot, I see that it will take me time to find out what the Problem is. I have a theory... Perhaps it is the USB Mapping that when Restarting the XHC Port does not turn off correctly Reviewing the electronic schematics of the laptop I see that there are

The drawback is that the SMbios Macbook11,4 only has XHC hubs, so it only takes into account the XHC ports, so use the SSDT-EHCxDissable so you don't have problems when the computer goes to sleep.

or it could also be intel virtualization which can be turned off using the arg "dart=0" .

I want to ask the acidanthera team but depending on how things are I doubt they will answer

About Bootchime

check this on Config.plist

AudioSupport: True

MinimumVolume:

Volume level from 0 to100 To not blow the speakers, set it to 70

Note boot-chime will not play if MinimumVolume is higher than SystemAudioVolume that we set back in the NVRAM section

PlayChime: Set this toEnabled

SetupDelay: By default, leave this at 0

Some codecs many need extra time for setup, we recommend setting to 500000(0.5 Seconds) if you have issues

For Video Card. well you have to check if the name in the bios matches the same name as the Other guy, if not you will have to make a custom patch to turn off the GPU follow this guide

https://dortania.github.io/OpenCore-Install-Guide /extras/spoof.html

mimi01m commented 2 years ago

Well, I'll treasure the advice you gave me. Obviously by doing tests, and reading the guide you indicated to me. Do you exactly intend to understand the exact location of the video card? excuse me doing a full report through some app? Thank you so much for taking the time to do these things. Certainly there is something strange that perhaps escapes.

Thank you very much

LuisUrdianivia1994 commented 2 years ago

the easiest way to know is from windows Just like the other guy showed me the name of his GT750M which is _SB.PCIO.RP05.PXSX Now Well You can find out from windows Device Manager -> Display Adapters -> dGPU -> Properties -> Details > BIOS device name/ which should generally be Nvidia GPU: \_SB.PCI0.PEG0.PEGP

for more information here

https://dortania.github.io/Getting-Started-With-ACPI/Laptops/laptop-disable.html#optimus-method

if you agree , just give me the Name and I can make you the required AML to disable the Gpu

LuisUrdianivia1994 commented 2 years ago

in the same way I wanted to ask you if you can see your GPU in hackintool just as I show it, since Mine does not contain gpu and I wanted to get out of the doubt

Captura de Pantalla 2022-04-02 a la(s) 15 20 48

mimi01m commented 2 years ago

Yes, I started hackintool because I didn't have windows installed. I attach. Thanks to you PCI.zip

LuisUrdianivia1994 commented 2 years ago

here is the path Captura de Pantalla 2022-04-02 a la(s) 15 36 48

let me a moment to make it

LuisUrdianivia1994 commented 2 years ago

SSDT-NoHybGfx.zip

Captura de Pantalla 2022-04-02 a la(s) 15 48 33

done

mimi01m commented 2 years ago

Thank you very much for taking the time. do I obviously have to replace it with the other? Thanks

LuisUrdianivia1994 commented 2 years ago

of course you have to replace it. I think they have the same name so you don't have to make any changes to the config.plist

although I see that you have more devices than me ... I feel sad

mimi01m commented 2 years ago

starts perfectly, when I do the damn reboot it stays on the display off black. Do I do a clean install maybe? think they are the same except nvidia video card Thank you so much for taking the time

LuisUrdianivia1994 commented 2 years ago

A clean install won't solve it. Just yesterday I upgraded to Monterey because a new adapter arrives in a couple of days. I'm still at it, honestly I don't know how long it will take me to solve the Reboot problem.

IMG_1909

Important note⚠️ To Update to Monterey you must disable the Kext of the Wifi and Bluetooth Adapter since if they are left enabled you will receive kernel Panic. AR9485 adapter is not compatible with Monterey

mimi01m commented 2 years ago

It is right on applesmc I saw it. Commitment is good will. at this point it could be the same on monterey for reboot. But could bluetooth work in monterey?

I thank you many more

LuisUrdianivia1994 commented 2 years ago

in fact it was the first thing I tried but Apple discontinued all Atheros adapters (as well as this one). to enable them simply It takes 2 or more minutes to start ... so I do not recommend it at all. I currently have the laptop connected via ethernet

About the adapter that I asked for is an intel one to be more specific it is Intel 7260HMW which is compatible with the bios of this laptop (lenovo puts a restriction not to use any adapter) and it is also compatible with Monterey

more info here about intel open wireless

mimi01m commented 2 years ago

Good to know But can this adapter just be installed? this? Schermata 2022-04-03 alle 02 21 56

Thank you very much

LuisUrdianivia1994 commented 2 years ago

I'm not sure . Well, I only go through the Lenovo page. Once I gave him one and I got a message

"This adapter is not allowed"

and could not enter any operating system. so better opt for one that is listed on the Lenovo website as a compatible replacement. Of course, to use any WIFI adapter you need to extract the Bios with a Bios programmer and see if a Page like Biosmods can help you remove the restriction.

mimi01m commented 2 years ago

Hello again in the meantime, many thanks to you. I installed monterey 12.3.1 with the usual reboot problem. If it helps I have attached the photo in the 3rd phase where it manages to stop. I am very happy, and I am sure you will solve it soon.

Thank you very much 1649030614093 Schermata 2022-04-04 alle 01 51 45

LuisUrdianivia1994 commented 2 years ago

Thank you. I hope to solve it soon as soon as I have something to update. So while you enjoy your hackintosh and also your ideapad which is a great device. Have a good day

mimi01m commented 2 years ago

hello good evening, excuse me for everything.

the system works very well, I want to ask for advice, the USB ports on the right side (USB right side both) of the pc are not working OBVIOUSLY after sleep, I'm trying to create a new USB Map but without success.

Sure, sorry again, something might need to be done?

Thank you so much lenoFLEX15_6

i love the work you do.

LuisUrdianivia1994 commented 2 years ago

It is rare that this happens since, so to speak, it happened to me that the ports went elsewhere, so an SSDT-EHcxDissable was used to disable EHC1. Since the ports went to that port, therefore, they stop working after waking up from sleep

The port you start "Left Side" belongs to XHC While the ports that are on the right that are the ones that stop working belong to EHC1 including the TouchScreen, Webcam and Bluetooth For this reason, in the Kext that I made, I redirected all the Ports from EHC1 to XHC

So make sure you have the SSDT-EHCxdissable enabled if the annoyance still persists try to "rename" in the ACPI/"patch" Section

Rename EHC1 to EH01

is enabled like this

Captura de Pantalla 2022-04-04 a la(s) 9 53 58 p m

if i omitted something add it

just to be safer You can use "Opencore Configurator" to add the patch just make sure that in "Signature table *" this DSDT is present as it is in the image that I am going to add

Captura de Pantalla 2022-04-04 a la(s) 9 45 23 p m

LuisUrdianivia1994 commented 2 years ago

although I have been looking at the possibility of Mapping the Ports from Windows and then transferring them to Mac with USBToolBox

mimi01m commented 2 years ago

Hello SSDT-EHCxdissable is enabled

EHC1 to EH01 is enabled Schermata 2022-04-05 alle 14 58 39

Schermata 2022-04-05 alle 17 43 42

EC0 to ECUSB not enabled

in EHC1 TO EH01 in Patch Sorry is enabled

Many thanks friend

LuisUrdianivia1994 commented 2 years ago

apply the changes in "TableSignature" if you use config plist editor as in the imag Captura de Pantalla 2022-04-05 a la(s) 2 56 25 p m e

mimi01m commented 2 years ago

Schermata 2022-04-06 alle 00 21 37 Hello, I added the missing value but unfortunately it doesn't work. I have not done other tests not to ruin the efi folder that you created because the pc works fine if it were not for the restart and for the USB 2.0 that not up. I am using a USB HUB (in the Usb 3 port) to which I have connected a WIFI key and a mouse receiver so as not to lose them. Who knows what it might depend on, thank you very much friend. Always

LuisUrdianivia1994 commented 2 years ago

I'm still going to see the possibility of re-editing the DSDT. maybe that's why EH01 and EH02 don't block

mimi01m commented 2 years ago

HI,

I noticed that when the laptop goes to sleep, the light of the usb hub stays on. Now I think of course don't laugh :) it is as if the USB3 port is always powered. Strange or not it happens. Could be?

Thanks always

LuisUrdianivia1994 commented 2 years ago

If in fact that is the problem for which I cannot solve the problem with the restart that precisely does not turn off the XHC port correctly

Let's say that when the laptop sleeps it maintains the S3 state And when it restarts the ports should go to S5 state which it doesn't. I have the laptop connected to a Monitor, Mouse and keyboard and the same thing also happens, unlike when pressing any button on the Mouse (Logitech G300s) the integrated Led turns on and the same with My keyboard that has a Backlight

so while I recommend you reinsert these commands one at a time

sudo pmset autopoweroff 0 sudo pmset powernap 0 sudo pmset standby 0 sudo pmset proximitywake 0 sudo pmset tcpkeepalive 0 sudo pmset hibernate mode 0

Sorry if I take a long time to answer, in my country there is summer time, consequently my day yields less

LuisUrdianivia1994 commented 2 years ago

Regarding the DSDT I already have it edited and it works correctly (it is the one I currently have) the computer sleeps and wakes up well (I still haven't resolved the restart issue) I leave you 2 Kext

When adding the kext you will notice in "System Information" a "Hub" that is "USB2.0 Hub"

the only drawback I see is that Hackintools dies when waking up from sleep.

Captura de Pantalla 2022-04-05 a la(s) 8 23 48 p m

I have also decided to Add new patches from opencore Configurator, try to add them all as is my Image

Captura de Pantalla 2022-04-05 a la(s) 8 27 29 p m

you also have to disable SSDT-EHCx-DISABLE.aml

Captura de Pantalla 2022-04-05 a la(s) 8 22 12 p m

Also make sure that in "Table Signature" it is as indicated in the white box

Captura de Pantalla 2022-04-05 a la(s) 8 50 23 p m

kext and New DSDT.zip

mimi01m commented 2 years ago

Hello sorry if I did not know immediately. I admire your great work. Then, the usb2 ports near the switch still don't work. The funny thing is that I moved the HUB to the USB but the light continues to stay on but without powering the peripherals. I am using the latest EFI. with the only changes you suggested. thanks, in any case our lenovos work great. Schermata 2022-04-06 alle 17 56 31 Schermata 2022-04-06 alle 17 57 55 Schermata 2022-04-06 alle 18 00 05 Schermata 2022-04-06 alle 18 00 46

LuisUrdianivia1994 commented 2 years ago

.

How did you achieve this? Could you show me the changes you made? I have tried my best to get this to work on my Lenovo

image

when i do i get this

image

LuisUrdianivia1994 commented 2 years ago

since it is the same port distribution that is present in Windows image

mimi01m commented 2 years ago

Schermata 2022-04-06 alle 20 30 56 Hi, I followed your directions from the photos. I used your latest EFI folder. Here it is attached.

Sleep works, only USB 2.0 doesn't work after waking up. Great and hard work you are doing. thanks always. i dont understand why your lenovo does not start up EFI.zip

mimi01m commented 2 years ago

Hi friend, I have news: from the EFI folder above I replaced the DSDT (kext and New DSDT.zip) and the USB 2.0 wake up after sleep :))))))

You are great.

Thanks a world

what happens on your lenovo? I hope all is well

Schermata 2022-04-06 alle 22 09 09

LuisUrdianivia1994 commented 2 years ago

i dont understand why your lenovo does not start up

what happens on your lenovo? I hope all is wel

the lenovo is ok Last night I was playing with the ports with the USB toolBox tool, its purpose is to create a kext of the USB ports that are in Windows

The problem that this tool has is that it does not assign the ports correctly, therefore MacOs does not recognize any of them... and it gives that error. I always have a USB with a EFI to boot and correct

as we say here

"Hombre prevenido Vale por dos"

mimi01m commented 2 years ago

EFI.zip Hello hombres,how are you? Reviewing all your directions, I don't have this entry. Excuse me

Schermata 2022-04-07 alle 22 34 14

I have 2 efi made by you, one includes several acpi, and the other less remember? which of the two should I use? Both EFIs work just fine

Now I'm using this EFI is that right? (attached) With the only modification of the new dsdt

Sorry, I did not want to disturb you Sorry for my total incompetence. Great and hard work yours.Great and hard work yours. sorry for the inconvenience always

LuisUrdianivia1994 commented 2 years ago

you can use any EFI or the one that works best for you. If the one you currently have works, you can keep it that way...

The Actual DSDT that I attach here

kext and New DSDT.zip

is a bit more optimized than the others and hardly requires all the SSDTs that the other one contains. in the same way if you activate them there will be no change ...

Regarding that re-name

Captura de Pantalla 2022-04-05 a la(s) 8 50 23 p m

It is to improve the performance on the GPU. since in our DSDT it comes by default GFX0 and that value is overridden by IGPU eventually MacOs recognizes it by itself, but there are times that you can have Low performance that is usually Noticeable when editing or Playing Videos at 1080@60Fps, the difference is not much. I have been editing the DSDT precisely to add that patch but for the moment Is better use that "re name". Although if I am going to edit the DSDT so as not to require that patch to add those changes, when I edit it and verify that it works well I will upload it here

you can see the changes from here

Captura de Pantalla 2022-04-07 a la(s) 4 17 17 p m

Captura de Pantalla 2022-04-07 a la(s) 4 21 05 p m

mimi01m commented 2 years ago

hi my friend can i keep my current EFI then it works wonders.

I add that change to the igpu and ok? ok it's hard for me. I have to keep that patch, if I understand correctly. God bless you . Sorry for everything you are really good and I admire you. But it will never be enough to thank you.

LuisUrdianivia1994 commented 2 years ago

That's right... No, my friend, don't apologize, I'm here to answer your questions, even if you have another question about something else you can ask me.

Greetings ✌🏻

mimi01m commented 2 years ago

Hello, my friend, how are you? I made the changes and everything works very well (your EFI folder the last one I attached, and your last files Kext and new DSDT) Regarding the reboot problem I am looking on the net but without success. I understand (don't laugh :)) that the problem lies with various machines. I'm running out of ideas.

In any case it runs very well.

Did you find out anything? Thanks to you I realized how hard this fine-tuning work is. I remain available for any tests.

Thank you and good day

LuisUrdianivia1994 commented 2 years ago

mmm I have not found out anything, but I have a starting point, according to what I have read that one cause is because the USB do not enter "s5 state" and apparently this leads to the problem we have.

Previously reboot worked fine except sleep mode (Status s3) , but I overlooked it as my previous Adata Su630 SSD used to fail when rebooting the laptop so I stopped using Reboot. I have already tried everything, from removing the DSDT, SSDT and leaving all the Generics without Success, I have even come to question that it may be the configuration of the Config.plist but the Config.plist is validated with OCvalidated without errors in the most recent version updated.

Greetings

mimi01m commented 2 years ago

Hi, I understand you are a very smart person. From my research I saw that users with catalina and clover seemed not to have this problem (for sure you will know too)

What about the transition from S3 to S5? you say it can also be the SSD?

I have this SSD WDS240G2G0A Schermata 2022-04-10 alle 03 47 20

Meanwhile, with you I learned many things that I did not know.

With your EFI folder my computer is a splinter I am sure you will solve it.

Thanks Sorry for my persistence and ignorance :)

I keep following you and I love what you do in programming

LuisUrdianivia1994 commented 2 years ago

I think you misunderstood me... The SSD has nothing to do with it, on the contrary, I would say that you have a good SSD of a good range such as Western Digital.

My Favorite SSDs in my Hackintosh are PNY kingston crucial WesternDigital Gigabyte ASUS

What I mean by SSDT and DSDT are a set of ACPI files I will leave you their meaning

ACPI: Advanced Configuration & Power Interface.

The ACPI Form describes a machine's hardware information in .aml format and does not have any driver capabilities of its own. However, the correct ACPI is required for a piece of hardware to work properly, otherwise it can lead to boot failures or system crashes.

DSDT: Differentiated System Description Table

is the most important ACPI Table because it includes most of the devices of a mainboard, its features and the way they are powered. This is the primary source for researching possible fixes to turn a PC mainboard into what macOS recognizes as an iMac mainboard, for example.

SSDT: Secondary System Description Tables Are tables which can be added to, modify or replace specific parts or sections of the DSDT. This is another important category of ACPI Tables because these can be completely written by user and thereby fix issues, add fake devices which macOS wants to see or improve CPU Power Management. This includes tables such as: SSDT-PLUG.aml, SSDT-PM, SSDT-AWAC.aml, etc.


Regarding Clover, well, I also tried Clover, at least for me it is ruled out, since I don't know if I could get to work with BigSur or Monterey. In fact they do not suffer from this error since almost everything is Emulated or more kext is added to do the rest of the work.

A clear example could be the Graphic injection that is done through a FakeID or the Audio that only deals with Voodoohda that is not a native codec

In Opencore both Audio/Graphics work more natively and go hand in hand with the Hardware with the appropriate information that can be provided with ACPI or in the config plist

mimi01m commented 2 years ago

Hello, now it is much clearer to me. I agree on everything about it. You explained the problem in a very clear and simple way. It is hard effort and work to fix this thing.

I am sure you will solve.

Many thanks friend

mimi01m commented 2 years ago

Hello and have a nice day friend I hope you are well first of all. Given that I agree with all the speech of the previous message. Excuse my insistence 100%

I thank you infinitely

I searched the net and found 2 threads that "seem" to be dealing with reboot problems. 1) https://www.insanelymac.com/forum/topic/351326-which-macos-for-toshiba-l875-s7108/

2) https://www.insanelymac.com/forum/topic/346570-just-joined-dell-latitude-3350-hackintosh/

Can they be similar? Or am I wrong? I am sure as I have already told you that you are a smart person

Excuse me for pestering you. I have great respect for you, because I have learned so many things from you and I acknowledge it to you.

Good day to you

LuisUrdianivia1994 commented 2 years ago

I have read both and in both they are a different case. in our case the appropriate SMbios are MacBookAir 6,1 to 7,2 or Macbook Pro 11,1 to 11,5 This series of SMbios are suitable for handling the processor (4th Gen - haswell). for example if you take a different SMbios like it could be MacbookPro12,1 (5th- Broadwell) it could work with but with a lot of instability and even unexpected freezes.

but in that case they are using an SMbios totally incompatible with the Processor that is (3th Gen IvyBrige) since the Management of SMbios is different... gives the inconveniences that they present when wanting to place an SMbios that do not correspond to them

Regarding my progress on the Reboot it is null, although I have made corrections I have not been able to solve it... maybe I will ask on Reddit in r/hackintosh to see if I have an answer

mimi01m commented 2 years ago

Hi, thanks for explaining everything to me. It is very difficult for me to understand this, but thanks to your help I am learning a lot.

Sure you will come to the solution my friend.

Thank you and good day.

mimi01m commented 2 years ago

Dear friend First of all I hope you are always well I wish you endlessly. Sorry for everything how are you?

Issues regarding reboot it's this one ? I didn't understand anything from this guide. (the one I entered) I am sure that a person better than you does not exist, and this is not just to conquer with words. i am sure you will solve the problem. I would like to be a person like you. Always ready to help others. and I'm not saying it just to say it. Excuse my total if not absolute inconsistency.https://dortania.github.io/OpenCore-Post-Install/usb/misc/shutdown.html

Thanks to you