Asus X670E Gene EFI -- Adaptable to Other X670, X670E, B650 and B650E Boards

bluerose

New member
AMD OS X Member
Joined
Apr 11, 2023
Messages
13
I used OCAuxiliaryTools to make a comparison:

CaseySJ(OpenCore0.9.1) -> ovenlite1(0.9.3)
  • ACPI
    • Add (Remove & Replace)
      • SSDT-CREATE-DP68.aml (disable)
      • SSDT-EC-AMD.aml
      • SSDT-SBUS-MCHC-AMD.aml
      • SSDT-SBRG.aml
      • SSDT-USBX.aml -> SSDT-EC-USBX.aml
      • SSDT-SBUS-MCHC-AMD.aml -> SSDT-SBUS-MCHC.aml
      • SSDT-DTPG.aml
      • SSDT-TB3HP-ASUS-X670E-GENE.aml (disable)
      • SSDT-USB-ASUS-X670E-GENE-GP17.aml
      • SSDT-USB-ASUS-X670E-GENE-GPP7.aml
      • SSDT-USB-ASUS-X670E-GENE-GPP7-NO-BT.aml (disable)
      • SSDT-USBW.aml
      • SSDT-AQUANTIA-AQC113C-PCX1.aml (disable)
  • Path (Add)
    • | | 0 | Replace DP68 with DP10 in AmdTable | 2 | false | 44503638 | 0 | | 416D645461626C65 | 44503130 | | 0 | 0 | 53534454 |
  • Booter
    • MMIO WhiteList
      • Row 5 Address 36507222016 -> 70866960384
  • DP (Skip)
  • Kernel
    • Add(Remove)
      • SMCAMDProcessor.kext
      • NVMeFix.kext
      • USBPorts-XHC1-XHC2-XHC4.kext
      • USBPorts-XHC1-XHC2-XHC4-NO-BT.kext
      • USBWakeFixup.kext
      • AirportItlwm-Monterey.kext
      • FeatureUnlock.kext
      • IntelBluetoothInjector.kext
    • Force
      • | com.apple.iokit.IONetworkingFamily | System/Library/Extensions/IONetworkingFamily.kext | | false | Contents/MacOS/IONetworkingFamily | Contents/Info.plist | | 13.99.99 | Any |
    • Path
      • Enable algrey - _cpuid_set_generic_info - Set microcode=186 - 10.13/10.14/10.15/11.0/12.0/13.0
      • Disable CaseySJ - Fix PCI bus enumeration on AM5 - 13.0
      • Remove CaseySJ Row 21~26 com.apple.driver.AppleEthernetAquantiaAqtion
    • Emulate
      • Disable DummyPowerManagement
    • Quirks
      • Disable CustomSMBIOSGuid
    • Scheme
      • KernelArch
        • x86_64 -> Auto
  • MISC
    • Boot
      • Disable PollAppleHotKeys
      • Disable HibernateSkipsPicker
      • PickerAttributes 153 -> 17
      • PickerVariant blackosx\BsxM1 -> Acidanthera\Syrah
      • Timeout 6 -> 10
    • Debug(Skip)
    • Security
      • Disable AllowSetDefault
    • Entries
      • Add | CustomOS | PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/NVMe(0x1,11-22-33-44-55-66-77-88)/HD(1,GPT,00000000-0000-0000-0000-000000000000,0x800,0x64000)/\EFI\BOOT\BOOTX64.EFI | | false | Not signed for security reasons | false | Auto | false |
    • Tools(Add)
      • BootKicker.ef
      • iChipTune.efi
      • CleanNvram.efi
      • ControlMsrE2.efi
      • CsrUtil.efi
      • GopStop.efi
      • KeyTester.efi
      • MmapDump.efi
      • OpenControl.efi
      • ResetSystem.efi
      • RtcRw.efi
      • TpmInfo.efi
  • NVRAM
    • Add
      • 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102 (Remove)
        • revcpuname
        • revcpu
      • 7C436110-AB2A-4BBB-A880-FE41995C9F82 (Add)
        • | #INFO (prev-lang:kbd) | String | en:252 (ABC), set 656e3a323532 |
        • | ForceDisplayRotationInEFI | Number | 0 |
        • boot-args keepsyms=1 revpatch=cpuname e1000=0 debug=0x100 agdpmod=pikera -> keepsyms=1 e1000=0 debug=0x100 agdpmod=pikera
    • Delete
      • 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102 (Remove)
        • revcpu
        • revcpuname
        • opencore-version
        • UIScale
      • 7C436110-AB2A-4BBB-A880-FE41995C9F82 (Remove)
        • csr-active-config
        • SystemAudioVolume
        • SystemAudioVolumeDB
        • UIScale
    • LegacySchema
      • 7C436110-AB2A-4BBB-A880-FE41995C9F82
      • 8BE4DF61-93CA-11D2-AA0D-00E098032B8C
  • UEFI
    • APPLEInput
      • Enable GraphicsInputMirroring
    • Audio
      • AudioDevice
    • Drivers (Remove)
      • CrScreenshotDxe.efi
      • OpenLinuxBoot.efi
      • ext4_x64.efi
      • ResetNvramEntry.efi
      • ToggleSipEntry.efi
    • ReservedMemory
      • | 268435456 | HD3000: IGPU memory corruption errata | false | 268435456 | Reserved |
      • | 569344 | Fix black screen on wake from hibernation for Lenovo Thinkpad T490 | false | 4096 | RuntimeCode |
 
Last edited:

coralding

New member
AMD OS X Member
Joined
Oct 31, 2021
Messages
28
Hi, CaseSJ! Need Help.
My motherboard is ASUS X670E Hero
CPU: AMD 7900X
DDR5 G.Skill 6000 DDR5 32G*2
GPU: AMD RX6600XT
NVMe: Hynix P44 Pro 2T( Windows 11), 1T for Adobe; WD SN810 1T (*2) for Mac
Hard Disk 3.5in WD Gold 4T, 12T*2
Case: Lianli Lancool II
I used your Gene modified EFI as attached, and stuck on "Radeon Sensor, initializedRadeonSensor freeing up".
What‘s the problem, what can I do to processing. Thanks.
 

Attachments

  • 20230709222834.jpg
    20230709222834.jpg
    4.8 MB · Views: 34
  • opencore-2023-07-09-214912.txt
    256 KB · Views: 4
  • opencore-2023-07-09-195139.txt
    256 KB · Views: 2

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,479
The screen image above shows 2 x ACPI errors near the top of the image. Those are the cause of the kernel panic, not the Radeon Sensor kext.

One of the ACPI errors relates to your i225 Ethernet ports IOReg path/name, I don‘t think the i225 part at the end of the IOReg path/name should be present in the SSDT.

Not sure which component the other error relates to but at a guess I would look at the SSDT for your discrete GPU.
 

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,479
Post a copy of your EFI so we can see what you are using, as the logs and screen image you posted don't really tell us what is being used to boot your system.

Redact/delete your SMBIOS Serial Number from the config.plist before you post a copy of your EFI.
 

coralding

New member
AMD OS X Member
Joined
Oct 31, 2021
Messages
28
Hi, @Edhawk and CaseSJ there are the EFI.
 

Attachments

  • EFI.zip
    11.6 MB · Views: 11
  • Weixin Image_20230710125143.png
    Weixin Image_20230710125143.png
    31.4 KB · Views: 21
  • Weixin Image_20230710125148.png
    Weixin Image_20230710125148.png
    16.4 KB · Views: 9
  • Weixin Image_20230710125152.png
    Weixin Image_20230710125152.png
    32.4 KB · Views: 9
  • Weixin Image_20230710125155.png
    Weixin Image_20230710125155.png
    28.4 KB · Views: 10

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,282

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,479
@CaseySJ Does having the USBPorts-XHC1-XHC2-XHC4.kext enabled in the config.plist duplicate the processes undertaken by these four SSDT'S?

SSDT-USBX.aml - USB Power settings are present in the kext.
SSDT-USB-ASUS-X670E-GENE-GPP7.aml - are the same USB ports activated in the kext
SSDT-USB-ASUS-X670E-GENE-GP17.aml - are the same USB ports activated in the kext
SSDT-XHC.aml - are the same USB ports activated in the kext

I know either the SSDT-XHC.aml table or the GPP7/GP17 tables should be used as different setup options.

I assume this is the same with the USB kexts in your /EFI/OC/Kexts folder:

Screenshot 2023-07-10 at 20.50.51.png USB kext options.

Is the SSDT-i225V.aml table required by @coralding as it is currently missing from the /EFI/OC/ACPI folder and config they posted. I ask because the screen image posted above says this ACPI path can't be found.

(_SB.PCI0.GPP7.UP00.DP40.UP00.DP00.I225)

This path is in the SSDT-I225V.aml table that is present in your main Asus X670E Gene EFI folder.
 

coralding

New member
AMD OS X Member
Joined
Oct 31, 2021
Messages
28
@CaseSJ I have tried to enable XHC.aml ,disable Option 1 and enable AppleMCEReportDisable.kext, the same. Then I tried ACPI enable Option 1 and enable AppleMCEReportDisable.kext, No improve. Then I used the author of an italy man "fabiosun" ACPI of "https://www.macos86.it/topic/6145-build-ryzen-9-7950x-asus-rog-x670e-hero/", delete AMD-6950.aml, Only use SSDT-Basic-AM5.aml and SSDT-XHC.aml, the other no change. -V can process more, but stuck on X86PlatformPlugin::GetCPUstates-__.
Here is the EFI and report.
my MMIO whitlist has one different with FabiosUN. Why Only 2 is enabled, the other is disabled.
 

Attachments

  • opencore-2023-07-10-205221.txt
    256 KB · Views: 1
  • opencore-2023-07-10-204824.txt
    256 KB · Views: 0
  • opencore-2023-07-10-204605.txt
    256 KB · Views: 0
  • opencore-2023-07-10-203951.txt
    256 KB · Views: 0
  • Weixin Image_20230710210124.jpg
    Weixin Image_20230710210124.jpg
    5 MB · Views: 22
  • Weixin Image_20230710210059.jpg
    Weixin Image_20230710210059.jpg
    5 MB · Views: 10
  • Weixin Image_20230710210054.jpg
    Weixin Image_20230710210054.jpg
    5.5 MB · Views: 8
  • Weixin Image_20230710210051.jpg
    Weixin Image_20230710210051.jpg
    3 MB · Views: 10

coralding

New member
AMD OS X Member
Joined
Oct 31, 2021
Messages
28
Hi, I have changed the EFI, delete Appleinteli210Ethernet.kext, add AppleIGC.kext 1.3, I have successfuly process to patrition the disk, then install and reboot show "MacOS Installer", but then the system start restart and again, cann't precess more?
Here is my EFI and snapshot of it.
 

Attachments

  • EFI20230711.rar
    9.4 MB · Views: 17
  • Image_20230710221156.jpg
    Image_20230710221156.jpg
    100.8 KB · Views: 28

coralding

New member
AMD OS X Member
Joined
Oct 31, 2021
Messages
28
I have tried many times now my BIOS is 1410,and above 4G on,CSM, Fast boot and iGPU disabled.
Each times I can process to macOS installer, there is two boot, the second boot will be process to install from 29min-26min or 29min to 22min, then the system will be reboot again and again. My MMIO Devirt the number 4 is different from Fabiosun and CaseSJ. I have used the Fabiosun original and only change the CPU core to 12core with OC, and change my own SN UUID, also I has used my self's MMIO whielist. nothing is different.
Here is my EFI, does anyone has idea about it? Thanks for anyone's help.
 

Attachments

  • EFI202307142249.rar
    8.1 MB · Views: 4
  • MMIO devirt start.zip
    316 bytes · Views: 1

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,282
I am not able to expand the rar file.
 

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,479
@CaseySJ I used 'The Unarchiver' app to expand the EFI and have attached it as EFI-1.zip.
 

Attachments

  • EFI-1.zip
    8.7 MB · Views: 1

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,282
@coralding

Please try the attached full EFI folder as-is. It has been updated to latest AMD OSX kernel patches and latest version of OpenCore. Several other changes made to config.plist.
 

Attachments

  • EFI.zip
    8.6 MB · Views: 49

coralding

New member
AMD OS X Member
Joined
Oct 31, 2021
Messages
28
@CaseSJ, I have tried your modified EFI for me, first thank you a lot. There are two problem, first, after partrition the DISK, the first time I choose the macOS Ventura to install, no reponse, it need reboot, then it works. Then after the finished from 19min--12min, it reboot and start to install, the process is from 29min--23min, then the system will reboot again and again.
The onboard intel 210 WiFi&BT card has been disabled,I insert an Fenvi T919 for native Mac WiFi and BT.
I have run out of options for this problem. I have tried the install Disk from WD SN810 to Koxia KGX6,and tried multiple USB Port.
 

Attachments

  • SysReport.zip
    119.6 KB · Views: 5

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,282
@CaseSJ, I have tried your modified EFI for me, first thank you a lot. There are two problem, first, after partrition the DISK, the first time I choose the macOS Ventura to install, no reponse, it need reboot, then it works. Then after the finished from 19min--12min, it reboot and start to install, the process is from 29min--23min, then the system will reboot again and again.
The onboard intel 210 WiFi&BT card has been disabled,I insert an Fenvi T919 for native Mac WiFi and BT.
I have run out of options for this problem. I have tried the install Disk from WD SN810 to Koxia KGX6,and tried multiple USB Port.

I used your EFI folder with no changes to install macOS Ventura on my Asus X670E Gene. Actually, I changed CPU count from 12 to 8 in Kernel -> Patch because I have an 8-core CPU.

As you can see, the installation succeeded.

IMG_9923_resize.jpgIMG_9924_resize.jpgIMG_9925_resize.jpgIMG_9926_resize.jpgIMG_9927_resize.jpgIMG_9928_resize.jpgIMG_9929_resize.jpgIMG_9930_resize.jpg
There were 2 reboots...
IMG_9931_resize.jpgIMG_9935_resize.jpg
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,282
And just to make double-sure, I repeated the process and installed Ventura a seocnd time on my X670E Gene using your EFI folder. Again, 100% success.

What does this mean?
  • Perhaps one of the memory modules in your system is defective
    • Have you tried running MemTest to check memory integrity?
  • Each time the system reboots, do you press F8 at the Asus splash screen to open the BIOS boot menu?
    • And then do you select the USB install disk?
  • Did you download Ventura using gibMacOs?
    • If not, what process did you follow?
 

fabiosun

Guru
Guru
AMD OS X Member
Joined
Oct 9, 2022
Messages
478
also original EFI should work! ;)
Then latest hero BIOS is 1415
1410 is a beta bios (but it is not there the problem)
 

coralding

New member
AMD OS X Member
Joined
Oct 31, 2021
Messages
28
I have test the Memory in Windows and WinPE,in Windows I run it about 8 hours,but it can only test the remianing unused Memory,there are Zero Error,In WinPE, First I use FirePE it went wrong, the system will be black screen ,and no response, Then I use another WinPE is no Error.

Each time the system reboots, It will automatic enter the Opencore Menu( in my Samsung USB Disk there are one Opencore Partrition, one Clover Partrition and One WinPE Partition and One Ventura 10.13.4.1 for MacOS install, and one NTFS Partrition for (Windows ISO and Office ISO etc for system to install.

I reflashed the BIOS to 1415, and will tried using GibMacOS for a new Ventura Installer to test it.
 

leesurone

Donator
Donator
AMD OS X Member
Joined
May 6, 2020
Messages
360
I have test the Memory in Windows and WinPE,in Windows I run it about 8 hours,but it can only test the remianing unused Memory,there are Zero Error,In WinPE, First I use FirePE it went wrong, the system will be black screen ,and no response, Then I use another WinPE is no Error.

Each time the system reboots, It will automatic enter the Opencore Menu( in my Samsung USB Disk there are one Opencore Partrition, one Clover Partrition and One WinPE Partition and One Ventura 10.13.4.1 for MacOS install, and one NTFS Partrition for (Windows ISO and Office ISO etc for system to install.

I reflashed the BIOS to 1415, and will tried using GibMacOS for a new Ventura Installer to test it.
I purchased a SATA Hynix SSD awhile back and could never get OSX to finish loading. You might try another drive and see if you can get any farther.
 

coralding

New member
AMD OS X Member
Joined
Oct 31, 2021
Messages
28
I have bought a new 2T WD SN850X, when it arrived, I will change it to see the results. and also I have a AMD Redeaon Pro 8200X, I will change the GPU to see what will happen.
 
Back
Top Bottom
  AdBlock Detected
Sure, ad-blocking software does a great job at blocking ads, but it also blocks some useful and important features of our website. For the best possible site experience please take a moment to disable your AdBlocker.