maniacx / Asus-Viwobook-M3401QC-OLED-Ryzen-7-5800H-RTX3050-Hackintosh

15 stars 0 forks source link

Dell G15-5515 #3

Open AhmedARadwan opened 10 months ago

AhmedARadwan commented 10 months ago

Hi,

First of all, thanks for the great work documenting the process. I've installed Ventura before on Thinkpad T480s without issues but using Xcode there on a relatively large app project is a bit of a nightmare.

I have a Dell g15-5515 that has the same Ryzen 7 5800h and Nvidia 3050 TI (don't want to use it with MacOS). I've tried your EFI with some changing for serial num and all but I'm either getting kernel panics or constant restarting.

Can you direct me on which other settings I might need?

maniacx commented 10 months ago

Every Laptop is different so the premade EFI are never compatible, unless they are the exact same model. You need to build and target it for your laptop. Kernel panic are usually due to USBMapping or CPU or motherboard but there could be several other reasons. Just for booting into recovery for installation, you can use my EFI-Pre-Installation with some changes.

  1. Check your BIOS settings https://dortania.github.io/OpenCore-Install-Guide/AMD/zen.html#uefi Goto UEFI section Screenshot from 2023-12-16 09-26-57

  2. Create SSDT's for your laptop Using SSDTTime Create SSDT for your laptop and replace in ACPI folder. It will also create some patches to be applied to config.plist, apply them https://chefkissinc.github.io/guide/gathering-files/acpi

  3. Create SSDT for disabling dGPU https://dortania.github.io/Getting-Started-With-ACPI/Laptops/laptop-disable.html

  4. Create a kext for USB mapping. Since MacOS supports only 15 USB controller, you will have to create a USBMapping by configuring/selecting USB ports you will need keeping the limit under 15 if there are more You can create USBMapping.kext using this tool https://github.com/USBToolBox/tool Also download USBToolbox kext from here https://github.com/USBToolBox/kext Add both USBMapping.kext and USBToolBox.kext to kext folder and their entries in config.plist

  5. Create your SMBIOS Create a new serial number for MacBookPro16,3 using the below tool https://github.com/corpnewt/GenSMBIOS

6 . Rest all config/patches should be compatible to mine hardware. (Unless your wifi/ keyboard / mouse are/wired differently they might not work, then you will have to add remove kext depending on your hardware) https://dortania.github.io/OpenCore-Install-Guide/ktext.html#wifi-and-bluetooth https://dortania.github.io/OpenCore-Install-Guide/ktext.html#laptop-input


This config should get you into recovery for installation, with only keyboard, mouse and wifi working. If it still doesnot boot into recovery, (kenrel panic) your motherboard might be different from mine, you can play around with few settings here https://dortania.github.io/OpenCore-Install-Guide/AMD/zen.html#booter Under booter section amd-zen-booter 2ea01f55

Post Installation

If you manage to install macos, gettings everything working you will have to add more kext depending on your hardware. My EFI-Post-Installation will definitely not be compatible with yours. For that you will have to check what hardware you have https://dortania.github.io/OpenCore-Install-Guide/find-hardware.html And add Kext for them https://dortania.github.io/OpenCore-Install-Guide/ktext.html#virtualsmc-plugins Some post install steps you need to take https://dortania.github.io/OpenCore-Post-Install/ Troubleshoothing https://dortania.github.io/OpenCore-Install-Guide/troubleshooting/troubleshooting.html#table-of-contents

Guides

NootRed This quite is specifically targeted to AMD and support for iGPU and on hence the guide is on point to get things started. Although it incomplete specially for laptop section.. https://chefkissinc.github.io/guide

Opencore https://dortania.github.io/OpenCore-Install-Guide/ Full guide, quite detailed, contains everything making USB, Installation, Hardwares supported, config, kext and config troubleshooting. But quite vast and involves AMD and Intel and sometimes reader can get lost in it. I did :) But everything you need is here. Ryzen AMD section https://dortania.github.io/OpenCore-Install-Guide/AMD/zen.html#starting-point On thing it doesnt support AMD's igpu. (For that you need to refer to nootRed)

There is also a Discord channel, you can ask for them here if you run into issue they can help (1 rule is do not ask for premade EFI, instead post your issue , config.plist and debug info and someone will help) https://discord.com/invite/EfCYAJW

AhmedARadwan commented 10 months ago

Great guide. I've followed dortania to try installing on another laptop but it was a mess. I'll try again and hopefully with this laptop I can get it to work.

Thanks again

maniacx commented 10 months ago

Btw I found an EFI made by @Himeros19 for G15 5515 https://github.com/Himeros19/EFI-G15-5515/tree/main

In that Himeros19 also mentions about AMD igpu VRAM cannot be set to more than 512MB. With 512MB VRAM, you can install boot and everything will work butt it may freeze sometimes for 5 -15 seconds.

Well it is possible to increase VRAM, I have done it in my laptop ,but it is quite risky cause if it breaks your laptop it will be unrepairable, even by Dell. Check below link on how to do it https://github.com/maniacx/Asus-Viwobook-M3401QC-OLED-Ryzen-7-5800H-RTX3050-Hackintosh/issues/2 SO DO THIS ONLY IF you manage to installl Ventura and get all basic functionality working, and you are happy with whatever you manage to get working with OSX (Beside the freeze due to GPU)

And To revert back to 512MB just do a BIOS factory reset from your BIOS

AhmedARadwan commented 10 months ago

This is actually great. I tried a few moments ago with that EFI on a flash drive with Ventura recovery image and it didn't work but at least it didn't produce kernel panics. Currently trying with Monterey as recommended and I'll keep you posted.

My goal is to use this laptop remotely to test flutter builds on. so it's important in terms of CPU not GPU really (or I might be wrong 😄 ).