{"id":1049,"date":"2020-12-12T03:55:01","date_gmt":"2020-12-11T18:55:01","guid":{"rendered":"https:\/\/mifmif.mydns.jp\/alpha\/?p=1049"},"modified":"2021-01-06T13:48:47","modified_gmt":"2021-01-06T04:48:47","slug":"how-to-migrate-from-an-old-clover-without-opencore-integration-to-the-latest-clover-provisional-version","status":"publish","type":"post","link":"https:\/\/mifmif.mydns.jp\/alpha\/how-to-migrate-from-an-old-clover-without-opencore-integration-to-the-latest-clover-provisional-version\/","title":{"rendered":"How to migrate from an old Clover without OpenCore integration to the latest Clover (Provisional memo)"},"content":{"rendered":"<p>1. Preparation and knowledge<br \/>\nFirst, you need config.plist for the old Clover.<br \/>\nIf you want to make it from the beginning, please refer to the following.<\/p>\n<p>hackintosh vanilla desktop guide<br \/>\n<a href=\"https:\/\/hackintosh.gitbook.io\/-r-hackintosh-vanilla-desktop-guide\/\">https:\/\/hackintosh.gitbook.io\/-r-hackintosh-vanilla-desktop-guide\/<\/a><\/p>\n<p>Please master how to write XML and how to use an XML editor as knowledge.<br \/>\nThe recommended XML editor is PlistEDPlus.<br \/>\nYou can download it from the following page.<\/p>\n<p><a href=\"https:\/\/github.com\/ic005k\/PlistEDPlus\/releases\">https:\/\/github.com\/ic005k\/PlistEDPlus\/releases<\/a><\/p>\n<p>\n2. The biggest change<br \/>\nThere are two major changes.<\/p>\n<p>(1) Quirks items have been added to config.plist due to integration with OpenCore.<br \/>\nThe settings for the Boot and Kernel equivalents of OpenCore (excluding the part that overlaps with Clover) are included in Quirks.<\/p>\n<p>(2) The memory driver is now OCQuriks only, and the memory-related efi is only OpenRuntime.efi.<br \/>\nDo not install other past memory drivers. (AptioMemoryFix.efi etc. should not be placed in the UEFI folder)<\/p>\n<p>3. Efficient changes from sample EFI<br \/>\nIt is troublesome to make from the beginning, so I prepared a sample EFI.<br \/>\nThe sample is for Coffee Lake.<\/p>\n<p><a href=\"https:\/\/mifmif.mydns.jp\/pcpc\/public\/alpha\/sample.EFI.2012120359.zip\">sample.EFI.2012120359.zip<\/a><\/p>\n<p>USBPorts.kext has been adjusted so that 15 of the USBs on the motherboard are recognized.<\/p>\n<p>I recommend creating USBPorts.kext as shown below.<br \/>\nPut USBInjectAll.kext in the Kext folder and use USB Port limit Patch etc. to recognize all the ports once. You can use HackinTool to create USBPorts.kext for your motherboard.<\/p>\n<p><span class=\"VIiyi\" jsaction=\"mouseup:BR6jm\" jsname=\"jqKxS\" lang=\"en\"><span jsaction=\"agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb\" jscontroller=\"Zl5N8\" jsmodel=\"SsMkhd\" jsname=\"txFAF\" class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"ja\" data-phrase-index=\"0\" jsdata=\"uqLsIf;_;$204\"><span jsaction=\"click:qtZ4nf,GFf3ac,tMZCfe; contextmenu:Nqw7Te,QP7LD; mouseout:Nqw7Te; mouseover:qtZ4nf,c2aHje\" jsname=\"W297wb\"><\/span><\/span><\/span><span class=\"VIiyi\" jsaction=\"mouseup:BR6jm\" jsname=\"jqKxS\" lang=\"en\"><span jsaction=\"agoMJf:PFBcW;usxOmf:aWLT7;jhKsnd:P7O7bd,F8DmGf;Q4AGo:Gm7gYd,qAKMYb;uFUCPb:pvnm0e,pfE8Hb,PFBcW;f56efd:dJXsye;EnoYf:KNzws,ZJsZZ,JgVSJc;zdMJQc:cCQNKb,ZJsZZ,zchEXc;Ytrrj:JJDvdc;tNR8yc:GeFvjb;oFN6Ye:hij5Wb\" jscontroller=\"Zl5N8\" jsmodel=\"SsMkhd\" jsname=\"txFAF\" class=\"JLqJ4b\" data-language-for-alternatives=\"en\" data-language-to-translate-into=\"ja\" data-phrase-index=\"0\" jsdata=\"uqLsIf;_;$204\"><span jsaction=\"click:qtZ4nf,GFf3ac,tMZCfe; contextmenu:Nqw7Te,QP7LD; mouseout:Nqw7Te; mouseover:qtZ4nf,c2aHje\" jsname=\"W297wb\">Below is an overview of creating USBPorts.kext. (Search the web for more information)<br \/>\n(1) Use the &#8220;USB Port limit Patch&#8221; to make the OS recognize all USB ports first.<br \/>\n(2) Press the USB tab of Hackintool.<br \/>\n(3) Press &#8220;Clear All&#8221; on the bottom button, and then press &#8220;Refresh&#8221;.<br \/>\nThe USB ports that the OS allows to use now appear in the display part of the list.<br \/>\nYou should be able to see all the USB ports. If not, the &#8220;USB Port limit Patch&#8221; is not working properly and you should fix it.<br \/>\n(4) Please prepare a USB 2.0 and USB 3.0 USB memory stick.<br \/>\nPlug them into the USB ports you want to use one by one (once plugged in, wait about 10 seconds)<br \/>\nAlso, for a USB port that can use both USB 2.0 and USB 3.0, insert both USB memory sticks.<br \/>\n(5) In the USB port list part of Hackintool, the USB port where the USB memory stick was stabbed in (3) has turned green.<br \/>\n(6) The part that does not turn green (white part) is the unused USB port.<br \/>\nSelect it and press the Delete button below to delete it.<br \/>\n(7) Make sure that there are 15 or less USB ports left.<br \/>\nFinally, if you press the Export button below, you will have USBPorts.kext on your desktop, so use this instead of USBInjectAll.kext.<\/span><\/span><\/span><\/p>\n<p>As an example, the USB Port limit Patch for Catalina is included in the KextsToPatch of KernelAndKextPatches in the sample config.plist, so you can copy and paste it with an XML editor to patch it.<\/p>\n<p>4. aml file to put in ACPI<br \/>\nI think you already have SSDT or DSDT in your environment.<br \/>\nBasically follow Dortania&#8217;s guide.<br \/>\n<a href=\"https:\/\/dortania.github.io\/OpenCore-Install-Guide\/\">https:\/\/dortania.github.io\/OpenCore-Install-Guide\/<\/a><\/p>\n<p>5. UEFI<br \/>\nYou don&#8217;t need FSInject.efi already.<br \/>\nBe sure to delete efi such as MemoryFix.<br \/>\nPossible efi required are ApfsDriverLoader.efi, VBoxHfs.efi, and OpenRuntime.efi.<br \/>\nThese can be installed (updated) from Clover&#8217;s pkg, so select them when you run pkg and can install later.<br \/>\nYou can also refer to this.<\/p>\n<div class=\"QmZWSe\">\n<div class=\"DHcWmd\"><a href=\"https:\/\/www.insanelymac.com\/forum\/topic\/345789-guide-how-to-update-clover-for-bigsur-compatibility-using-openruntime-and-quirks-v5123\/\">[GUIDE] How to Update Clover for BigSur Compatibility using OpenRuntime and Quirks (v5123 +)<\/a><\/div>\n<\/div>\n<p>\uff16. Copy and paste Quirks from sample<br \/>\nThe Quirks in the sample config.plist is from Clover5127.<br \/>\nFirst, let&#8217;s copy and paste with an XML editor.<br \/>\nThese items are the Booter and Kernel parts of OpenCore, so please refer to Dortania.<br \/>\nYou can also get the setting information from iCanaro&#8217;s summary.<\/p>\n<p><a href=\"https:\/\/www.macos86.it\/topic\/3647-clover-quirks\/?tab=comments#comment-90013\">https:\/\/www.macos86.it\/topic\/3647-clover-quirks\/?tab=comments#comment-90013<\/a><\/p>\n<p>The commented out part of Quirks that starts with # is also because Clover has a setting that can do the same.<br \/>\nThe relationship is as follows:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plane\" data-lang=\"\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\"><code><span>OpenCore             Clover<\/span>\r\n<span>----------<\/span>\r\n<span>AppleCpuPmCfgLock    AppleIntelCPUPM <\/span>\r\n<span>AppleXcpmCfgLock     KernelPm <\/span>\r\n<span>DisableRtcChecksum   AppleRTC <\/span>\r\n<span>LapicKernelPanic     KernelLapic <\/span>\r\n<span>----------<\/span><\/code><\/pre>\n<\/div>\n<p>The information in the above table was referenced from the following web page. I think other things will be helpful, so it&#8217;s a good idea to refer to them.<br \/>\n<a href=\"https:\/\/www.olarila.com\/topic\/10475-macos-big-sur-with-clover\/\">macOS Big Sur with Clover<\/a><\/p>\n<p>\uff17. Install with Clover&#8217;s pkg<br \/>\nAt least write a check mark in ApfsDriverLoader.efi, VBoxHfs.efi, and OpenRuntime.efi.<\/p>\n<p>\uff18.Other changes in config.plist<br \/>\nIn most cases, you should be able to boot by adding Quirks with the appropriate values.<\/p>\n<p>In addition, due to the OpenCore integration, some items in the previous Config.plist are no longer used.<br \/>\nIn the sample Config.plst, the items that are ignored in the old Clover part are intentionally left in the form of commenting out with &#8220;#&#8221;.<br \/>\nSo compare it with your config.plst.<\/p>\n<p>For example, the layout-id specification in Devices-Audio-Inject is still valid.<br \/>\nHowever, I recommend using Devices-Properties-PciRoot (0x0) \/ Pci (0x1f, 0x3) -layout-id. (Ioreg names such as PciRoot (0x0) \/ Pci (0x1f, 0x3) can be confirmed from the PCIe tab of Hackintool.)<\/p>\n<p>\uff19. Known facts<br \/>\nBigSur boots from &#8220;via preboot&#8221;. (If you want to display only &#8220;via preboot&#8221; on the display, please specify the HDD name where Big Sur is installed with GUI-Hide)<\/p>\n<p>I see the Recovery entry for Big Sur, but it doesn&#8217;t start on Clover 5127.<br \/>\n(If you want to use Time Machine, we suggest using Installer USB Stick)<\/p>\n<p>10.KextToPatch<br \/>\nThe content specified for &#8220;Name&#8221; in the &#8220;Kext To Patch&#8221; item has been changed. See below for details.<br \/>\n<a href=\"https:\/\/mifmif.mydns.jp\/alpha\/?p=1201\">How to migrate from an old Clover to the latest Clover (Provisional memo,kext to patch) 2<\/a> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Preparation and knowledge First, you need config.plist for the old Clover. If you want to make it from the  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":538,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jinr_url_youtube":"","_jinr_pip_youtube":false,"_jinr_time_youtube":"","_jinr_thumb_youtube":"","_jinr_media_youtube":"","_jinr_category_edit":false,"_jinr_category":"","_jinr_title_display":false,"_jinr_snsbutton_display":false,"_jinr_ads_display":false,"_jinr_thumbnail_display":false,"_jinr_profile_display":false,"_jinr_representations_display":false,"_jinr_relatedpost_display":false,"_jinr_sidebar1col_display":false,"_jinr_sidebar2col_display":false,"_jinr_seotitle_display":"","_jinr_description_display":"","_jinr_keyword_display":"","_jinr_hastag_display":"","_jinr_canonical_display":"","_jinr_noindex_display":false,"_jinr_paidpost":false,"_jinr_paidpost_product_id":"","_jinr_headtag_article":"","_jinr_ogp_image_url":"","_jinr_last_featured_id":0,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-1049","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hackintosh"],"views":"0","_links":{"self":[{"href":"https:\/\/mifmif.mydns.jp\/alpha\/wp-json\/wp\/v2\/posts\/1049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mifmif.mydns.jp\/alpha\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mifmif.mydns.jp\/alpha\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mifmif.mydns.jp\/alpha\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mifmif.mydns.jp\/alpha\/wp-json\/wp\/v2\/comments?post=1049"}],"version-history":[{"count":0,"href":"https:\/\/mifmif.mydns.jp\/alpha\/wp-json\/wp\/v2\/posts\/1049\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mifmif.mydns.jp\/alpha\/wp-json\/wp\/v2\/media\/538"}],"wp:attachment":[{"href":"https:\/\/mifmif.mydns.jp\/alpha\/wp-json\/wp\/v2\/media?parent=1049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mifmif.mydns.jp\/alpha\/wp-json\/wp\/v2\/categories?post=1049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mifmif.mydns.jp\/alpha\/wp-json\/wp\/v2\/tags?post=1049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}