CobanRamo / Lenovo-IdeaPad-S340-15IIL

Lenovo IdeaPad S340-15IIL IceLake Hackintosh
17 stars 5 forks source link

Need Help #6

Closed SakethKanchi closed 3 years ago

SakethKanchi commented 3 years ago

I've been trying to install Mac on this laptop since an year. But haven't been able to. You did it. Can i get your exact files or more clear instructions on what to do to install it.

SakethKanchi commented 3 years ago

https://ufile.io/mimct0ra This is my EFI folder

CobanRamo commented 3 years ago

To activate the Debug Bios;

Enter BIOS → disable OneKeyBattery → save and exit. Poweroff the laptop. Power button to turn on → F2 to enter the normal BIOS → Power button to turn off → then press, moving fast, the following keys in sequence

F1 → 1 → Q → A → Z

F2 → 2 → W → S → X

F3 → 3 → E → D → C

F4 → 4 → R → F → V

F5 → 5 → T → G → B

F6 → 6 → Y → H → N Turn on the power button → F2 enters the hidden Debug BIOS.

Then go to; Advanced → Power & Performance → CPU-Power Management Control → CPU Lock Configuration → CFG Lock → Disabled

save and exit.

first is important that you adjust the DVMT & CFG lock, after that you can usually use my Efi for testing. I will update it today to the latest OpenCore.

Where exactly are you having problems, it is actually not difficult to install macOS on this machine.

SakethKanchi commented 3 years ago

I will test it out with your latest EFI files when you update them. I've unlocked the CFG-lock too. I tried with your v2 bios. But I don't see the boot from USB option. Thanks for the reply you're really helping a lot. And what is DVMT? What should I change it to?

CobanRamo commented 3 years ago

IMG_0048

SakethKanchi commented 3 years ago

Thanks. Will this solve that boot from USB option not showing up in the bootloader?

CobanRamo commented 3 years ago

no, this is for the Graphic, you need this for the IGPU to boot correctly.

I don't see from your EFI why you don't see the installer in the boot menu. You probably created your stick wrong, make sure your USB ports are mapped correctly.

And here would be my latest EFI that can install and boot with Catalina, BigSur & Monterey without problems. EFI_Lenovo-IdeaPad-S340-15IIL IceLake_OC.0.7.4.zip

SakethKanchi commented 3 years ago

Thanks a lot. I will try booting it after 2hrs. I'll update you on the progress, Thanks man. Should i change or add anything in the config.plist? Or just try booting it as it is?

CobanRamo commented 3 years ago

format your stick with MacOS to GPT styles. Create a MacOS installer with the terminal;

bspl. Catalina; sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume

Mount the efi from the USB stick and copy my EFI into it. Boot the stick with F12.

You don't need to change the EFI, you can add your private SMBIOS data later.

Bildschirmfoto 2021-10-14 um 11 44 02

SakethKanchi commented 3 years ago

I use windows.. So I boot with Rufus.. Use macrecovery files from Doritina and copy them into com.apple.recovery.boot folder.. Should I do it in another way? Or does this work too?

CobanRamo commented 3 years ago

I don't know this method and have not tested it. To start the EFI you need a simple USB stick with GPT style (GUID partition style) formatted with Fat32. In it must be the folder EFI. It does not have to be in the ESP/EFI partition, it is enough if it is on a Fat32 formatted partition.

For the MacOS installer this is not enough, it must be created on a HFS+ partition, this is best and fastest done with a MacOS and the Terminal command... You do not have a MacOS in your environment to create a stick? This is the best error free method.

SakethKanchi commented 3 years ago

I don't have MacOS device at all.. Do you know any way to do it on windows? Like using transmac app or something.. If Its transmac app..

CobanRamo commented 3 years ago

have you read this one ? https://dortania.github.io/OpenCore-Install-Guide/installer-guide/winblows-install.html#downloading-macos I've never tried it myself, but I'll have to take a look.

Alternatively I can offer you a DiskGenius image from a stick with OpenCore Efi & MacOS... Do you know the DiskGenius?

SakethKanchi commented 3 years ago

have you read this one ? https://dortania.github.io/OpenCore-Install-Guide/installer-guide/winblows-install.html#downloading-macos I've never tried it myself, but I'll have to take a look.

Alternatively I can offer you a DiskGenius image from a stick with OpenCore Efi & MacOS... Do you know the DiskGenius?

I've used the Dortania guide before.. Can you check if it works like your method.. I've never heard about DiskGenius before..

SakethKanchi commented 3 years ago

And do you know how to install your config file with Monterey. The https://dortania.github.io/OpenCore-Install-Guide/installer-guide/winblows-install.html#downloading-macos guide only has Big Sur at latest. On Windows please

SakethKanchi commented 3 years ago

Update: I only see the Windows option on the Opencore menu. 20211014_164729

SakethKanchi commented 3 years ago

I think the problem is the dmg file. I think it's because of using MacRecovery.py to download the dmg file.... Do you know any alternatives?

CobanRamo commented 3 years ago

So I've tested this Windows method, must say that does not work for me either. think so that can not go, because the recovery is not recognized at all.

Click times now on your screen the spacebar.... what it shows you? send times a picture with spacebar

SakethKanchi commented 3 years ago

Ok give me a min

CobanRamo commented 3 years ago

something like this must come up did you? If yes, start this, this is the recovery... Bildschirmfoto 2021-10-14 um 13 22 59

SakethKanchi commented 3 years ago

I found the options.. Pressing SpaceBar works.. I found a No_Name dmg thing

CobanRamo commented 3 years ago

launch this noname recovery dmg

SakethKanchi commented 3 years ago

something like this must come up did you? If yes, start this, this is the recovery... Bildschirmfoto 2021-10-14 um 13 22 59

Yes it started. I'll post the update

SakethKanchi commented 3 years ago

20211014_165516.jpg It's here right now

SakethKanchi commented 3 years ago

20211014_165516.jpg It's here for 10mins so far.. I'll wait for bit

CobanRamo commented 3 years ago

yes that's right but you have to adjust your BIOS, that's why you have this error message with AHCI.... You should adjust these points in the Bios!

Bildschirmfoto 2021-10-14 um 13 28 01

SakethKanchi commented 3 years ago

✅SATA Mode is in AHCI ✅VT-D: Disabled ✅CFG-Lock: Disabled 🚧Just Disabled Intel Platform Trust Still same thing stuck at IOPlatformPanicAction -> AppleSMC

CobanRamo commented 3 years ago

✅VT-D: Disabled --> With my EFI you may leave the enabled. I solve this problem with the SSDT-DMAC.aml and enable the MacOS compatible virtualization with it.

SakethKanchi commented 3 years ago

✅VT-D: Disabled --> With my EFI you may leave the enabled. I solve this problem with the SSDT-DMAC.aml and enable the MacOS compatible virtualization with it.

Hmm.. What should I do...? I don't understand 🆘

SakethKanchi commented 3 years ago

https://ibb.co/6m6RXSS https://ibb.co/DtkzMLS https://ibb.co/QKjN1F0 https://ibb.co/mqvxs03 These are my bios. Should I change anything?

CobanRamo commented 3 years ago

Leave the VT-d enabled, this is correct if you use my EFI

CobanRamo commented 3 years ago

Bildschirmfoto 2021-10-14 um 13 47 33 Bildschirmfoto 2021-10-14 um 13 48 10

SakethKanchi commented 3 years ago

https://ibb.co/sJzy5LM https://ibb.co/HBs9f3D https://ibb.co/RQWtdq7 https://ibb.co/FYZSQZy https://ibb.co/qDTswbD These are my advance bios.

SakethKanchi commented 3 years ago

Update: After Intel (R) SGX Control -> Disabled Still stuck at IOPlatformPanicAction -> AppleSMC

CobanRamo commented 3 years ago

Everything is ok, you should be able to boot and install MacOS without problems.

One point for your SAFETY... Leave the BIOS BACK Flash ALWAYS Enabled !!!! If you have this disabled and make a mistake you can not save your Bios and have to send the laptop to Lenovo !!!! If enabled you can save your BIOS itself with Back Flash. Bildschirmfoto 2021-10-14 um 13 52 59

SakethKanchi commented 3 years ago

Everything is ok, you should be able to boot and install MacOS without problems.

One point for your SAFETY... Leave the BIOS BACK Flash ALWAYS Enabled !!!! If you have this disabled and make a mistake you can not save your Bios and have to send the laptop to Lenovo !!!! If enabled you can save your BIOS itself with Back Flash. Bildschirmfoto 2021-10-14 um 13 52 59

Ok did it. Is anything else wring with bios? It's stopping at IOPlatformPanicAction -> AppleSMC

SakethKanchi commented 3 years ago

20211014_173205.jpg Should I change anything here?

CobanRamo commented 3 years ago

no.. only adjust cfg-lock & dvmt in advanced debug bios. everything else you must not change. Watch out, I had to 2x flash back the laptop because I also changed too much. Finger away from the Debug Bios.

Wait a minute I test the Windows method with me if it also hangs.

SakethKanchi commented 3 years ago

Thanks.. If the windows method does not work for you.. Then can you post your files.. The dmg files too.. I'm thinking it's because of the dmg file used in opencore method. If it's cause of bios.. Then instead of posting my bios.. Can you send pictures of which bios you changed... That will be easier for me.. If that's possible..

CobanRamo commented 3 years ago

mine is in the middle of the update to Monterey Beta 10, have to be patient a bit so I can test it

SakethKanchi commented 3 years ago

mine is in the middle of the update to Monterey Beta 10, have to be patient a bit so I can test it

Sure. I've been trying to do it since 4 months. Haven't had any progress so far. This is the furthest i've been so far

CobanRamo commented 3 years ago

so i can boot from the stick with the golden recovery dmg. it must be something with you that does not fit yet.

You have the complete EFI of me in the stick? did you change something in the EFI? What kind of network card do you have? did you change that too?

do so, start the EFI from the stick, once spacebar... here times reset NVRAM select, after reboot the recovery start.

CobanRamo commented 3 years ago

give me another picture where it stops.

SakethKanchi commented 3 years ago

so i can boot from the stick with the golden recovery dmg. it must be something with you that does not fit yet.

You have the complete EFI of me in the stick? did you change something in the EFI? What kind of network card do you have? did you change that too?

do so, start the EFI from the stick, once spacebar... here times reset NVRAM select, after reboot the recovery start.

I didn't change anything on the laptop. Except adding another SSD. I didn't change the EFI at all.

CobanRamo commented 3 years ago

replace the config.plist on the USB stick with this one and test again please

Here I have disabled the NVMeFix.kext.

Config.plist.zip

SakethKanchi commented 3 years ago

20211014_181018.jpg This is where it stops

SakethKanchi commented 3 years ago

replace the config.plist on the USB stick with this one and test again please

Here I have disabled the NVMeFix.kext.

Config.plist.zip

I will replace it and try again

SakethKanchi commented 3 years ago

20211014_181542.jpg Still stuck here after updating the config.plist file ... I'm gonna cry😢😭

CobanRamo commented 3 years ago

Which Bios version do you have exactly can you check under Windows WITHOUT OpenCore?

https://pcsupport.lenovo.com/de/de/products/laptops-and-netbooks/ideapad-s-series-netbooks/s340-15iil/81vw/81vw00c4ge/downloads/driver-list/component?name=BIOS

SakethKanchi commented 3 years ago

Give me a minute I'll post it

SakethKanchi commented 3 years ago

My Bios Version: CUCN27WWV1.16