Jump to content

Clover General discussion


ErmaC
29,866 posts in this topic

Recommended Posts

After all done that. VRAm shown 7MB.

 

MG5x72k.png

 

 

What I tried;

 

Bios > PEG or PCIE> CSM Disable > Patch vBios > Clover Screen Coming No Desktop

Bios > PEG or PCIE > CSM Enable > Patch vBios > Clover Screen Coming No Desktop

Bios > PEG or PCIE > CSM Disable > Patch vBios > CSM Driver > Nvda_drv=1 > Clover Screen Coming No Desktop

Bios > PEG or PCIE > CSM Disable > Patch vBios > CSM Driver > nv_disable=1 > Desktop coming with VRAM: 7MB

 

Latest NVIDIA web driver already installed when I try these.

 

Also no any kernel panic in verbose mode.

 

What am I missing?

 

I am adding my config plist. Could you please check what am i doing wrong?

hi,

Where is Kext-Dev-Mode = 1 in your config.plist?

Link to comment
Share on other sites

hello everyone

 

Im a bit puzzled about this 2 keys in config.plist ( intentionally  separated the 2 in this post ) 

		<key>DropTables</key>
		<array>
			<dict>
				<key>Signature</key>
				<string>SSDT</string>
				<key>TableId</key>
				<string>CpuPm</string>
			</dict>
		</array>
		<key>DropTables</key>
		<array>
			<dict>
				<key>Signature</key>
				<string>SSDT</string>
				<key>TableId</key>
				<string>Cpu0Ist</string>
			</dict>
		</array>

when or how to know if you need one of those? is it  according to your cpu or something?

Link to comment
Share on other sites

I've used this in my Ivy Bridge CPU, and works great for my Power Management + AICPM.

 

For Haswell and above, just use KernelPM and a modified SSDT is enough.

 

Correct me Clover devs if i'm wrong.

Link to comment
Share on other sites

Hi.

 

I'm searching for information on how Clover DSDT (and SSDTs) "patches" works, to use "hot patches" Rehabman method on my hack. "patches" come from Rehabman config.plist examples.

 

  • Some text DSDT patches like "rename GFX0 to IGPU" can be replaced with a single binary patch

<key>Comment</key>

<string>change GFX0 to IGPU</string>

<key>Find</key>

<data>R0ZYMA==</data>

<key>Replace</key>

<data>SUdQVQ==</data>

 

This part is doing a search/replace on all DSDT & SSDTs from GFX0 to IGPU. OK, easy to understand.

 

  • Existing methods like GPRW can be replaced. First, the original method definition is renamed to an unused name like XPRW. Then, a separate small SSDT provides a replacement "GPRW" method.

<key>Comment</key>

<string>change Method(GPRW,2,N) to XPRW</string>

<key>Find</key>

<data>R1BSVwI=</data>

<key>Replace</key>

<data>WFBSVwI=</data>

​It is this part I don't understand. How to ensure that we just rename the GPRW Method declaration only (and not all the GPRW calls inside DSDT and SSDTs) ?  Because if we rename all GPRW to XPRW, we cannot use the "external" GPRW method defined in the "hot patch" SSDT. Base64 R1BSVwI= is "only" GPRW, so how does it change only "method" definition and not every GPRW found inside DSDT & SSDTs ?

 

​Thanks for your help.

 

 

Link to comment
Share on other sites

Hello everyone. I just wanted to post the digest of what I have that was lost.

 

 

 

This is the digest of posts in topic "Clover General discussion" for today.

----------------------------------------------------------------------

Topic: Clover General discussion (Forum: Clover)
http://www.insanelymac.com/forum/topic/284656-clover-general-discussion/
=====================================

-------------------------------------------
Download-Fritz -- Yesterday, 11:20 AM
The Windows bootloader is supposed to be on the ESP as any Other... The MSR is usually not eben formated, I Think.


-------------------------------------------
Slice -- Yesterday, 12:50 PM
My working EFI partition to boot OSX and Windows 7 UEFI





-------------------------------------------
pkdesign -- Yesterday, 04:54 PM


------------ QUOTE ----------
My working EFI partition to boot OSX and Windows 7 UEFI
Screen Shot 2016-06-06 at 15.48.10.png (http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=186786)

main2.png (http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=186787)
-----------------------------

Yup, this is exactly what my EFI folder looks like. I guess that MS folder is supposed to be in there.

One thing I have discovered, this may be a BIOS setting. If I use UEFI (With CSM), I get the Clover Boot Menu. If I use UEFI Native (Without CSM), then the laptop will only boot into Windows.

One oddity is that I have a 3 second delay in Clover at boot time but it doesn’t appear. I have to hit enter.


------------ QUOTE ----------
@pkdesign,

Your partition setup and EFI System Partition look perfectly normal.  The "Boot Microsoft EFI boot menu from EFI" loads the Windows UEFI boot loader, bootmgfw.efi ---> boots Windows in UEFI mode.  In your MacPro hack, it looks like Windows is installed in legacy mode.

To give Clover first boot priority, it is easiest to use the EasyUEFI program (http://www.easyuefi.com/index-us.html) in Windows - see Manually install Clover for UEFI booting and configure boot priority with EasyUEFI in Windows. (http://www.insanelymac.com/forum/topic/310038-manually-install-clover-in-windows/?do=findComment&comment=2200235)
-----------------------------

On my MacPro, Windows is in legacy mode. Is that something I should (or even can) change? It is not a UEFI mobo.


-------------------------------------------
Slice -- Yesterday, 08:10 PM
I forgot to say that I boot Windows UEFI on computer #4 in my signature. It is PC BIOS based computer, not UEFI. I can boot Windows UEFI due to Clover.


-------------------------------------------
frankiee -- Yesterday, 10:26 PM


------------ QUOTE ----------
One thing I have discovered, this may be a BIOS setting. If I use UEFI (With CSM), I get the Clover Boot Menu. If I use UEFI Native (Without CSM), then the laptop will only boot into Windows.
-----------------------------


Did you install windows after installing clover? I had similar symptoms when I did this.


-------------------------------------------
tluck -- Today, 01:10 AM
the booting directly into windows scenario  (vs clover) is because the windows boot manager gets set as the default boot manager - instead a generic boot manager on disk0 or etc - i.e  /EFI/Boot/bootx64.efi  -- nothing to do with clover so much.  typically you can select the boot order in BIOS and either delete the windows manager or push it down lower in the boot list.


-------------------------------------------
calibre™ -- Today, 02:15 AM


------------ QUOTE ----------
My working EFI partition to boot OSX and Windows 7 UEFI

main2.png (http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=186787)
-----------------------------

@Slice

How can you move the Windows icon to be on the right side? I have tried custom entries but didnt work


=====================================
 

  • Like 3
Link to comment
Share on other sites

 

 

@Slice

 

How can you move the Windows icon to be on the right side? I have tried custom entries but didnt work

I hope you differ legacy icons and UEFI boot entries?

Link to comment
Share on other sites

Lapic patch no longer works.

 

Darwin Kernel Version 16.0.0 attached

Wait i will make lapic patch

 

나의 LG-F410S 의 Tapatalk에서 보냄

hello.

 

this is lapic kernel patach for SIERRA.

clover team this code add please

 

thanks in advanced

 

Enjoy

 

 

BOOLEAN KernelLapicPatch_64(VOID *kernelData)

{
  // Credits to donovan6000 and sherlocks for providing the lapic kernel patch source used to build this function
  
  UINT8       *bytes = (UINT8*)kernelData;
  UINT32      patchLocation=0;
  UINT32      i;
  
  DBG("Looking for Lapic panic call (64-bit) Start\n");
  
  for (i=0; i<0x1000000; i++) {   
    if (bytes[i+0] == 0x65 && bytes[i+1] == 0x8B && bytes[i+2] == 0x04 && bytes[i+3] == 0x25 &&
               bytes[i+4] == 0x3C && bytes[i+5] == 0x00 && bytes[i+6] == 0x00 && bytes[i+7] == 0x00 &&
               bytes[i+45] == 0x65 && bytes[i+46] == 0x8B && bytes[i+47] == 0x04 && bytes[i+48] == 0x25 &&
               bytes[i+49] == 0x3C && bytes[i+50] == 0x00 && bytes[i+51] == 0x00 && bytes[i+52] == 0x00) {
      patchLocation = i+40;
      DBG("Found Snow Leopard Lapic panic at 0x%08x\n", patchLocation);
      break;
    } else if (bytes[i+0]  == 0x65 && bytes[i+1]  == 0x8B && bytes[i+2]  == 0x04 && bytes[i+3]  == 0x25 &&
               bytes[i+4]  == 0x14 && bytes[i+5]  == 0x00 && bytes[i+6]  == 0x00 && bytes[i+7]  == 0x00 &&
               bytes[i+35] == 0x65 && bytes[i+36] == 0x8B && bytes[i+37] == 0x04 && bytes[i+38] == 0x25 &&
               bytes[i+39] == 0x14 && bytes[i+40] == 0x00 && bytes[i+41] == 0x00 && bytes[i+42] == 0x00) {
      patchLocation = i+30;
      DBG("Found Lion, Mountain Lion Lapic panic at 0x%08x\n", patchLocation);
      break;
    } else if (bytes[i+0] == 0x65 && bytes[i+1] == 0x8B && bytes[i+2] == 0x04 && bytes[i+3] == 0x25 &&
               bytes[i+4] == 0x1C && bytes[i+5] == 0x00 && bytes[i+6] == 0x00 && bytes[i+7] == 0x00 &&
               bytes[i+36] == 0x65 && bytes[i+37] == 0x8B && bytes[i+38] == 0x04 && bytes[i+39] == 0x25 &&
               bytes[i+40] == 0x1C && bytes[i+41] == 0x00 && bytes[i+42] == 0x00 && bytes[i+43] == 0x00) {
      patchLocation = i+31;
      DBG("Found Mavericks Lapic panic at 0x%08x\n", patchLocation);
      break;
      //rehabman: 10.10.DP1 lapic
    } else if (bytes[i+0] == 0x65 && bytes[i+1] == 0x8B && bytes[i+2] == 0x04 && bytes[i+3] == 0x25 &&
               bytes[i+4] == 0x1C && bytes[i+5] == 0x00 && bytes[i+6] == 0x00 && bytes[i+7] == 0x00 &&
               bytes[i+33] == 0x65 && bytes[i+34] == 0x8B && bytes[i+35] == 0x04 && bytes[i+36] == 0x25 &&
               bytes[i+37] == 0x1C && bytes[i+38] == 0x00 && bytes[i+39] == 0x00 && bytes[i+40] == 0x00) {
      patchLocation = i+28;
      DBG("Found Yosemite Lapic panic at 0x%08x\n", patchLocation);
      break;
      //sherlocks: 10.11.DB1
    } else if (bytes[i+0] == 0x65 && bytes[i+1] == 0x8B && bytes[i+2] == 0x0C && bytes[i+3] == 0x25 &&
               bytes[i+4] == 0x1C && bytes[i+5] == 0x00 && bytes[i+6] == 0x00 && bytes[i+7] == 0x00 &&
               bytes[i+1411] == 0x65 && bytes[i+1412] == 0x8B && bytes[i+1413] == 0x0C && bytes[i+1414] == 0x25 &&
               bytes[i+1415] == 0x1C && bytes[i+1416] == 0x00 && bytes[i+1417] == 0x00 && bytes[i+1418] == 0x00) {
      patchLocation = i+1400;
      DBG("Found El Capitan Lapic panic at 0x%08x\n", patchLocation);
      break;
    }
      //sherlocks: 10.12.DP1
    } else if (bytes[i+0] == 0x65 && bytes[i+1] == 0x8B && bytes[i+2] == 0x0C && bytes[i+3] == 0x25 &&
               bytes[i+4] == 0x1C && bytes[i+5] == 0x00 && bytes[i+6] == 0x00 && bytes[i+7] == 0x00 &&
               bytes[i+1409] == 0x65 && bytes[i+1410] == 0x8B && bytes[i+1411] == 0x0C && bytes[i+1412] == 0x25 &&
               bytes[i+1413] == 0x1C && bytes[i+1414] == 0x00 && bytes[i+1415] == 0x00 && bytes[i+1416] == 0x00) {
      patchLocation = i+1398;
      DBG("Found Sierra Lapic panic at 0x%08x\n", patchLocation);
      break;
    }
  }

 

  • Like 4
Link to comment
Share on other sites

×
×
  • Create New...