Contribute
Register

OpenCore for HP6200/8200

Joined
Mar 16, 2015
Messages
529
Motherboard
HP 6300 SFF-V3.08
CPU
i5-3570K
Graphics
GT 740
Mac
  1. MacBook Air
  2. Mac mini
  3. Mac Pro
Classic Mac
  1. Power Mac
  2. Quadra
  3. SE/30
The HP8200 with Sandy Bridge CPU can still run up to Sequoia.
スクリーンショット 2024-09-19 13.10.19.png

However, unless you create CPU Powermanagement, only High Sierra can be booted from the USB installer.
For those who still want to use the HP8200, I will describe how to install High Sierra with OpenCore.

@trs96 has a detailed guide for the HP6200/8200 here, so please take a look.

1.Working in Windows

1-1. Get the original DSDT.aml to create the ACPI required for the device you are using.

See "here" in the OpenCore Install Guide.

1) Select "Download ZIP" from the Code menu here and download SSDTTime-master.ZIP.
2) Double-click the downloaded "SSDTTime-master" and select "Extract/Compress Folder Tools/Extract All" and select the destination folder.
(A folder called "SSDTTime-master" will be created in the destination folder, so there is no need to create a new folder)
3) Double-click "SSDTime" in the destination folder to launch SSDTime,bat, and cmd,exe will be launched.
4) If Python3 is not installed, you will be asked whether to install it automatically. Select "y" to install Python3.
5) The cmd,exe screen will display the SSDTime processing options, so enter "P" and return, and a Result/OEM folder will be created in the "SSDTTime-master" folder and the original ACPI will be stored.
1-1.5.png

For HP8200, if you have the original DSDT.aml, it can be created on MacOS, so it is not necessary to work on Windows, but the following process is also recommended.

6) Select 1 (FixHPET) for simple IRQ settings (mainly Sound and USB) (option "C" = default).
7) Select 2 (Fake-EC) to create FakeEC, which will be required for Catalina and later.

When selecting SSDTime's operation, select "Q" to quit SSDTime, and the necessary files will be created in the "SSDTTime-master" Result folder.
The Result folder will be used for post-install work in MscOS.

1-2. Obtaining OpenCorePkg
Please refer to "here" in the OpenCore Install Guide.
1) Download OpenCorePkg 0.9.6 from here.
2) It will be extracted to the specified folder, so create a destination folder, then double-click the downloaded "OpenCorePkg 0.9.6" and select "Extract/Compress Folder Tools/Extract All" and select the destination folder you created.


1-3. Obtaining the installer file for HighSierra
Please refer to "here" in the OpenCore Install Guide.
1) Start cmd.exe and go to Utilities/macrecovery in the extracted folder.
2) Execute the following command to store the com.apple.recovery.boot installer file in Utilities/macrecovery.
macrecovery.py -b Mac-7BA5B2D9E42DDD94 -m 00000000000J80300 download

1-4. Creating your "Generic" information
See "here" in the OpenCore Install Guide.
You will need to record the display information, so start the Editor.

1) Select "Download ZIP" from the Code menu here to download GenSMBIOS.ZIP.
2) Double-click the downloaded "GenSMBIOS" and select "Extract/Compress Folder Tools/Extract All" and select the destination folder.
3) Double-click "GenSMBIOS" in the destination folder to launch GenSMBIOS,bat, which will launch cmd,exe.
4) The cmd,exe screen will display the GenSMBIOS process selection, so enter "3" (Generate SMBIOS) and press return to be prompted to enter SMBIOS.

gen-1.png

5) Enter "iMac12,2 5" to display iMac12,2 SMBIOS Info.
gen-2.png

6) Copy the display (select the displayed text with the mouse and right-click), paste it into the Editor you started (right-click the mouse), and save the Editor file.
gen-3.png

7) After saving the file, enter Enter to return to the process selection display, and select "q" to quit.

1-5. Editing config and plist
From here, select "Xplist-Win64.zip" from the Latest section and download Xplist-Win64.zip.

Double-click the downloaded "Xplist-Win64.zip", select "Extract/Compress Folder Tools/Extract All", and select the destination folder for extraction.
Double-click "Xplistp" in the destination folder to launch Xplistp.
You will need to record the display information you saved, so open it in the Editor.

Open the attached file EFI/OC/sample.plist with Xplistp and overwrite the Editor file items with the corresponding Xplistp items.
1) PlatformInfo/Generic/MLB = Board Serial:
2) PlatformInfo/Generic/SystemSerialNumber = Serial:
3) PlatformInfo/Generic/SystemUUID = SmUUID:
4) For PlatformInfo/Generic/ROM = Apple ROM:, select the Xplistp item, paste the data into the input area below, and click the "^" button on the right to convert and enter.
5) Save the edits up to this point as config (the extension will be added automatically).
6) Set Booter/Quirks/RebuildAppleMemoryMap = false and save the file with the file name MacOS.

NVRAM/Add/7C436110-AB2A-4BBB-A880-FE41995C9F82/prev-lang:kbd is set to blank, so it should be displayed in English during installation.
If possible, set it to the language you use.

1-6. Creating a bootable USB installer
Follow the instructions in the diskpart method of the OpenCore Install Guide to format the USB.

1-7. Setting the USB to bootable
Follow the Legacy Install Setup under the diskpart method to set the USB to bootable.

I found it troublesome to unzip BOOTICE 64-Bit, so I'll add a note here.
1) Start 7-Zop and search for BOOTICE 64-Bit from the file selection below (start with Computer).
7z-1.PNG

7z-2.PNG

2) Click the Extract menu button and select the directory to save to.
7z-3.PNG

7z-4.PNG

3) Click the OK button to extract.

1-8. Storing files necessary for installation

1) Use Copy&Paste to copy the Utilities/macrecovery/com.apple.recovery.boot folder to the USB.
2) Use Copy&Paste to copy the Utilities/LegacyBoot folder to the USB.
3) Copy the EFI folder containing the modified config.plist to the USB.
4) Use Copy&Paste to copy the SSDTTime-master/Result folder to the USB.

The following files should be stored on the created USB.
USB-1.PNG

The following files should also be stored in the contents of EFI/OC.
USB-2.PNG

This completes the creation of the installer USB.



2. Working with MacOS

If my explanation is insufficient or your performance is insufficient, the installer USB will not work and you will have to create it again.
Since you need to save the Windows disk, replace it with an empty SSD/HDD before installing MacOS.
Turn off the power, replace the SSD/HDD, insert the USB, and then turn the power on.
After a long wait, the OpenCore menu will appear. You cannot input from the keyboard or mouse on the penCore menu screen, so wait for the installer to start.

2-1. Formatting the SSD/HDD
When the installer starts, a process selection dialog will be displayed, so select Disk Utility and format.

1) Select "Show All Devices" from the View icon menu at the top left.
format-1.png

2) From the disk selection on the left, select the top of the Internal disk name.
format-2.png

3) Click the Erase button at the top.
4) In the format selection dialog, make the following selections and click the Erase button.
Format-3.png

5) When formatting is complete, close Disk Utility and return to the process selection dialog.

2-2. Installing MacOS
Click Install MacOS in the process selection dialog to start the installation procedure, so please perform the normal installation.

1) When the installer is stored in the SSD/HDD, the computer will be restarted, and MacOS install will be selected in the OpenCore menu, and the process will continue automatically.
2) When MacOS install is complete, the computer will be restarted, and High Sierra will be selected in the OpenCore menu, and the process will continue automatically.
3) When the HighSierra installation is complete, the language selection dialog will be displayed, so please select the language you want to use.
4) The user information setting procedure will begin, so please set it.
5) When the setting procedure is complete, High Sierra will be available for use.

2-3. Moving and editing files
1) A working folder is required, so create "OSX86" (name it as you like, we will explain it in OSX86) in the user folder.
2) Drag and drop the EFI, LegacyBoot, and Result folders from the USB installer (displayed as NO NAME) to OSX86.
3) Go to the OX86/EFI/OC folder
4) Delete config.plist and sample.plist
5) Rename macos.plist to config.plist.

2-4. Set the SSD/HDD to boot.
At this point, you can only boot from USB, and booting from USB only allows for a clean install, so set it to boot from the SSD/HDD.

1) Start /Applications/Utilities/Terminal
2) Drag and drop ~/OSX86/LegacyBoot/BootInstall_X64.tool to Terminal
3) Press Enter and the Disk List will be displayed and you will be prompted to enter something, so select 0 and Enter
4) You will be asked for a password, so enter it and Enter and the EFI will be mounted.
5) Drag and Drop OX86/EFI to the mounted EFI.
6) Remove the USB and reboot.
7) Select High Sierra from the Opencore menu and start it.

3. Creating CPU PowerManagement
The sample EFI does not include CPU PowerManagement, so the CPU runs at 1.6 MHz, which is very slow.
For detailed instructions on how to set it up, please refer to this post by @LisaAlterEgo.

1) Download the source code (zip) from here (Safari should automatically unzip it to the Download folder).
2) Start Terminal and drag and drop ssdtPGGen.sh.
3) Refer to the log below (select the questions you are asked for Clover, so select "n").
4) Your CPU PowerManagement will be copied to your user folder with "cp ~/Library/ssdtPRGen/ssdt.aml."

4. Incorporating CPU PowerManagement

1) Download Xplist for Mac from here.
2) Double-click Xplist.dmg to mount it, then drag and drop the Xplist file into Applications.
3) Drag and drop ssdt.aml from the user folder into OSX86/EFI/OC/ACPI.
4) Open OSX86/EFI/OC/config.plist with Xplist
5) Change ACPI/Add/item0/Path to your CPU PowerManagement name (ssdt.aml?)
6) Change ACPI/Add/item0/Enabled to true
7) Save config.plist and close Xplist.
8) Start Terminal and mount the EFI of the boot disk with "sudo diskutil mount /dev/disk0s1", then overwrite and save the OSX86/EFI you created.

After rebooting, it should operate at the normal CPU frequency.

5. Other PostInstall

1) Audio will be available if you change Kernel/Block/item0/Enabled to true.
2) EFI monitoring will be blocked if you change Kernel/Add/item6/Enabled to true. This is necessary for Mojave, but should not cause any problems for High Sierra.
3) ACPI and USB will be compatible if you change Kernel/Add/item7/Enabled to true, but USB will work even if you do not change it.

6. Creating an installer for MacOS other than High Sierra

By incorporating CPU Power Management, it should be possible to install ElCaptain and Sierra, but the latest MacOS that can be installed on an SMBIOS = iMac12,2 is HidhSierra.
It is also possible to install other MacOS up to Sequoia, so I plan to explain that in a separate post if you are interested.
 

Attachments

  • 1-1.5.PNG
    1-1.5.PNG
    28.6 KB · Views: 19
  • SampleHP8200_EFI.zip
    SampleHP8200_EFI.zip
    5.4 MB · Views: 6
  • gen-1.png
    gen-1.png
    14.9 KB · Views: 4
  • スクリーンショット 2024-09-12 15.34.57.png
    スクリーンショット 2024-09-12 15.34.57.png
    134.7 KB · Views: 15
Last edited:
Back
Top