Jump to content
ErmaC

Clover General discussion

22,503 posts in this topic

Recommended Posts

Advertisement

I use only these on drivers64 folder for my legacy mach (sig):

MacBookPro:~ badruzeus$ cd /Volumes/EFI/EFI/CLOVER/drivers64
MacBookPro:drivers64 badruzeus$ ls
AppleImageCodec-64.efi		FSInject-64.efi
AppleKeyAggregator-64.efi	FirmwareVolume-64.efi
AppleUITheme-64.efi		SMCHelper-64.efi
MacBookPro:drivers64 badruzeus$ 

Share this post


Link to post
Share on other sites

 

 

How are you doing with the graphical glitches of the HD3000? do you have any??

I though i was the only one using an ancient cpu nowadays (as a daily driver) :)

 

DVMT does not help, also, at least on my pc, other OSes cannot boot with higher DVMT, so either MacOS is happy with any DVMT value or it just ignores the extra memory.

 

I have a lot of ram so my iHD has the max allowed shared memory available, that is 512M according to MacOS and 1.5G according to Windows (wrong?)

I m using a VRAM patch to increase the value to 1.5G.

This helped a bit.

 

I don t have persistent glitches, they seem ramdon, but actually they start only on some occasions

 

- when i reboot from linux/windows after a long session (4-5hrs +)

- when i use the iHD a lot, for ex. Maya 3d or some 2k+ youtube videos

 

So, this could be wrong but, i think that clover "poisons", or it does not clear, something related to the gpu.

 

That would explain why when i reboot from linux to MacOS i can sometimes see glithes, and i m forced to shutdown and boot MacOS directly.

 

From what i can remember i had no glitches in Mavericks and Yosemite(not sure).

 

I should probably try Mavericks + latest/older clover and see what happens when i have time.

Share this post


Link to post
Share on other sites

I though i was the only one using an ancient cpu nowadays (as a daily driver) :)

 

DVMT does not help, also, at least on my pc, other OSes cannot boot with higher DVMT, so either MacOS is happy with any DVMT value or it just ignores the extra memory.

 

I have a lot of ram so my iHD has the max allowed shared memory available, that is 512M according to MacOS and 1.5G according to Windows (wrong?)

I m using a VRAM patch to increase the value to 1.5G.

This helped a bit.

 

I don t have persistent glitches, they seem ramdon, but actually they start only on some occasions

 

- when i reboot from linux/windows after a long session (4-5hrs +)

- when i use the iHD a lot, for ex. Maya 3d or some 2k+ youtube videos

 

So, this could be wrong but, i think that clover "poisons", or it does not clear, something related to the gpu.

 

That would explain why when i reboot from linux to MacOS i can sometimes see glithes, and i m forced to shutdown and boot MacOS directly.

 

From what i can remember i had no glitches in Mavericks and Yosemite(not sure).

 

I should probably try Mavericks + latest/older clover and see what happens when i have time.

 

Thanks for your input.

 

Can you teach me how to make the VRAM patch? I have 8GB of RAM. I'd like to give it at least 1GB.

 

Is that a clover parch or I need to edit a kext?

 

Thanks in advance!

Share this post


Link to post
Share on other sites

kylon, if the issue is not clearing, you may try zeroing 0x10200000 bytes starting with 0x10000000 address. This is the area boot.efi tries to avoid for Sandy and Ivy bridge CPUs, and it may be related.

 

Are you the Lilu guy??? Thanks!

 

How do I zero that address??

 

Cheers!

Share this post


Link to post
Share on other sites

kylon, if the issue is not clearing, you may try zeroing 0x10200000 bytes starting with 0x10000000 address. This is the area boot.efi tries to avoid for Sandy and Ivy bridge CPUs, and it may be related.

Actually I using HD3000 too.

 

10.6 and 10.7 have no glitches issues on HD3000.

 

After 10.8 it have this problem and can be simply fixed by set slide=0 and work well without any glitches.

 

But after 10.11.4 this method have no function and it have more and more glitches and more and more frequently and can’t be reduced.

 

10.6 OK

10.7 OK

10.8 OK with slide=0

10.9 OK with slide=0

10.10 OK with slide=0

10.11.3 OK with slide=0

10.11.4 glitches no matter with slide value

10.12 glitches no matter with slide value

10.13 glitches no matter with slide value

 

Ps

I using legacy clover to boot on my hd3000.

 

 

从我的 iPhone 发送,使用 Tapatalk

Share this post


Link to post
Share on other sites

I say we try something different, protect reserved regions differently. Because macOS does not make a difference between runtime and non-runtime reserved, it only maps the runtime reserved as the same as runtime data. But I would have to think that there is a reason those reserved regions exist and according to the spec you are not supposed to use the memory regardless of the runtime flag. So maybe we should try protected runtime reserved as runtime code and non runtime reserved as runtime data?


kylon, if the issue is not clearing, you may try zeroing 0x10200000 bytes starting with 0x10000000 address. This is the area boot.efi tries to avoid for Sandy and Ivy bridge CPUs, and it may be related.

 

vit, that's only half the range when slide >= 128 for non SB and IB. What about 0x200000 to 0xFE00000? Also, this is a bad idea what if that's where the runtime was just protected? Don't want to wipe that.

 

EDIT: Oops left part of sentence out, lol.

Share this post


Link to post
Share on other sites

I have breaking news for you: Just downgraded to 10.12.6 + HFS, and guys, it is so muuch more fast than 10.13.2 + apfs. Boot is again super fast, no gui slowdowns, everything is smooth. I installed now safari tech preview to be a bit more safe against spectre. All software is working again like it should.

Share this post


Link to post
Share on other sites

Question:

 

I saw at around 750 page that you where talking about patches for Pentium and integrate them directly into Clover version 41xx. Does that happend ? I am asking because I have 2 patches in my config.plist made by vit9696 and Sherlocks and I wanna know if I can remove them or not:

 

Find: b9a00100 000f32

Replace: b9a00100 0031c0

 

Find: 89d804c4 3c22

Replace: 89d804c6 3c22

 

I have the Pentium G3220.

Share this post


Link to post
Share on other sites

Question:

 

I saw at around 750 page that you where talking about patches for Pentium and integrate them directly into Clover version 41xx. Does that happend ? I am asking because I have 2 patches in my config.plist made by vit9696 and Sherlocks and I wanna know if I can remove them or not:

 

Find: b9a00100 000f32

Replace: b9a00100 0031c0

 

Find: 89d804c4 3c22

Replace: 89d804c6 3c22

 

I have the Pentium G3220.

 

These patches in clover:

#1

#2

Use KernelXCPM key in KernelAndKextPatches.

 

Share this post


Link to post
Share on other sites

These patches in clover:

#1

#2

Use KernelXCPM key in KernelAndKextPatches.

 

 

Thank you ! I deleted the kernel patches and it's working ! 

 

Anyway can somebody take a look on my DSDT and other stuff ? I am asking because the sound via HDMI works only after sleep. Like after sleep the sound works but before it doesn't...

 

https://drive.google.com/open?id=18YGCj5Z3j8cehMOChGtckap0uWmQ6tjA

Share this post


Link to post
Share on other sites

@apianti

 

Tested new OsxAptioFix2Drv-64.efi on my NUC6 Skull Canyon (NUC6i7KYK) with 10.13.2.

Tested by merging in changes to my own Clover fork.

It booted no problem and was able to eliminate EmuVariableUefi-64.efi and still have working NVRAM.

 

Will test on other computers in the coming days.

 

But since the new OsxAptioFix2Drv-64.efi is not working for everyone, perhaps it should be renamed OsxAptioFix3Drv-64.efi (or some other name) and original behavior of OsxAptioFix2Drv-64.efi retained.

Not to mention undoing the changes in OsxAptioFixDrv-64.efi that prevent it from being used at all (as you implied in a previous post).

Share this post


Link to post
Share on other sites

@apianti

 

Tested new OsxAptioFix2Drv-64.efi on my NUC6 Skull Canyon (NUC6i7KYK) with 10.13.2.

Tested by merging in changes to my own Clover fork.

It booted no problem and was able to eliminate EmuVariableUefi-64.efi and still have working NVRAM.

 

Will test on other computers in the coming days.

 

But since the new OsxAptioFix2Drv-64.efi is not working for everyone, perhaps it should be renamed OsxAptioFix3Drv-64.efi (or some other name) and original behavior of OsxAptioFix2Drv-64.efi retained.

Not to mention undoing the changes in OsxAptioFixDrv-64.efi that prevent it from being used at all (as you implied in a previous post).

Or it can be renamed as LowMemFixup.efi because this problem is a common problem not only in ami aptio bios.

 

 

从我的 iPhone 发送,使用 Tapatalk

Share this post


Link to post
Share on other sites

What about naming it then like:

OsxAptioFixDrv-1011up-64.efi
OsxAptioFixDrv-1010down-64.efi

Or similar...? I don't find the numbering 1,2,3 very useful for non-hackers.

No, these names are historical. 

Fix1 is more advanced.

Fix2 is simplified but supported hibernation.

 

 

@apianti

 

Tested new OsxAptioFix2Drv-64.efi on my NUC6 Skull Canyon (NUC6i7KYK) with 10.13.2.

Tested by merging in changes to my own Clover fork.

It booted no problem and was able to eliminate EmuVariableUefi-64.efi and still have working NVRAM.

 

Will test on other computers in the coming days.

 

But since the new OsxAptioFix2Drv-64.efi is not working for everyone, perhaps it should be renamed OsxAptioFix3Drv-64.efi (or some other name) and original behavior of OsxAptioFix2Drv-64.efi retained.

Not to mention undoing the changes in OsxAptioFixDrv-64.efi that prevent it from being used at all (as you implied in a previous post).

 

I agree there must be Fix3 retaining old Fix1 and Fix2.

And see new one      AptioMemoryFix    

Share this post


Link to post
Share on other sites

Hey slice,

can I add new entries to a plist, using the kext patcher in clover? I read somewhere it only can replace 1:1 lengths?

More specific: How do I replace a

      <key>UnifiedSleepSliderPref</key>
      <true/>

to

      <key>UnifiedSleepSliderPref</key>
      <false/>

Also, does it work with plugins of kexts?

 

Path is:

/System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/Mac-27ADBB7B4CEE8E61.plist

(For iMac14,2)

Share this post


Link to post
Share on other sites

Hey slice,

 

can I add new entries to a plist, using the kext patcher in clover? I read somewhere it only can replace 1:1 lengths?

 

More specific: How do I replace a

      <key>UnifiedSleepSliderPref</key>
      <true/>

to

      <key>UnifiedSleepSliderPref</key>
      <false/>

Also, does it work with plugins of kexts?

 

Path is:

/System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/Mac-27ADBB7B4CEE8E61.plist

(For iMac14,2)

 

Only info.plists of kexts and a find/replace situation. If the above string were on a info.plist the way it could work is to select the text to replace with an Hex editor plus an aditional byte to replace a string of the same length because false is larger than true.

Share this post


Link to post
Share on other sites

Hm, ok, I geddit: The replace is like that, because it replaces on the memory of the kext cache, so no real xml/plist logic inside, just raw search/replace...

 

I could remove one tab then...

3c6b6579 3e556e69 66696564 536c6565 
070536c6 96465725 07265663 c2f6b657 
093e0a20 20202020 203c7472 75652f3e

to

3c6b6579 3e556e69 66696564 536c6565
070536c6 96465725 07265663 c2f6b657
093e0a20 20202020 3c66616c 73652f3e

So in clover config:

		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>unified powercontrol off</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				PGtleT5VbmlmaWVkU2xlZQBwU2xpZGVyUHJlZjwva2UH
				CT4KICAgICAgPHRydWUvPg==
				</data>
				<key>InfoPlistPatch</key>
				<true/>
				<key>Name</key>
				<string>X86PlatformPlugin.kext</string>
				<key>Replace</key>
				<data>
				PGtleT5VbmlmaWVkU2xlZQcFNsaWRlclByZWY8L2tlcJ
				PgogICAgIDxmYWxzZS8+
				</data>
			</dict>
		</array>

But how do I address the Resource dir inside that kext? Since the sub path is:

IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/Resources/Mac-27ADBB7B4CEE8E61.plist

How to target it? Just Name = "X86PlatformPlugin.kext"? EDIT: No, that does not work. Then "com.apple.driver.X86PlatformPlugin" ? Or the outer kext, "IOPlatformPluginFamily.kext" ?

Share this post


Link to post
Share on other sites

Hey slice,

 

can I add new entries to a plist, using the kext patcher in clover? I read somewhere it only can replace 1:1 lengths?

 

More specific: How do I replace a

      <key>UnifiedSleepSliderPref</key>
      <true/>

to

      <key>UnifiedSleepSliderPref</key>
      <false/>

Also, does it work with plugins of kexts?

 

Path is:

/System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/Mac-27ADBB7B4CEE8E61.plist

(For iMac14,2)

CPUFriend (Lilu plugin by PMHeart) can be used for this (inject the modded plist as cf-frequency-data).

Share this post


Link to post
Share on other sites

Hey slice,

 

can I add new entries to a plist, using the kext patcher in clover? I read somewhere it only can replace 1:1 lengths?

 

More specific: How do I replace a

      <key>UnifiedSleepSliderPref</key>
      <true/>

to

      <key>UnifiedSleepSliderPref</key>
      <false/>

Also, does it work with plugins of kexts?

 

Path is:

/System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/Mac-27ADBB7B4CEE8E61.plist

(For iMac14,2)

I think it is possible if carefully follow the instructions

Post#48 Info.plist patching

But I am not sure if the kext is present in kernelcache. Else the patching is impossible.

Share this post


Link to post
Share on other sites

Correct me if I am wrong but OsxFatBinaryDrv-64.efi was a Mandatory Drivers not visible since very short time

and now visible and selectable. This has never and to mention and why? No description about the Drivers in the Packages ?

Sorry for my ignorance

Thanks

 

post-951341-0-25027800-1515851146_thumb.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

  • Similar Content

    • By surfermax
      buon giorno 
      spero tu mi possa aiutare ,perche' non riesco piu' a far partire i miei 2 ssd 850 samsung sui quali highsierra funzionava perfettamente da 1 anno e non ce' maniera di farlo ripartire .unica cosa e' che riesco ad arrivare alla console dell'istaller e ho tentato varie volte di ripristinare da una time machine che ho salvato su un altro disco usb .
      il mio sistema e' un asus p5qd turbo ed e7500 dual core . grafica gtx1050 chr funzionava con accelerazione e webdriver nvidia .audio voodoo 282. e boot clover che e' sempre stato il 5103 che poi  ho aggiornato a 5120 proprio il giorno prima che succedesse il fattaccio .quel giorno ho aggiornato dal sito apple la comboupdate 10.13 .6 da 10.13.4 .e qui al riavvio boom niente diski in clover nn li visualizzava piu .ora sciacciando f3 visualizzo il preboot e lssd con highsierra aggiornato ma arrivato alla console andava in reset loop .
      a questo punto riesco a ripartire togliendo l'accelerazione .e installando i nuovi webdriver di nvidia aggiornati all 10.13.6 .
      al riavvio non parte piu' con accelerazione e sempre problema in clover dei diski ma riuscivo a partire con f3 e preboot .
      ora decido di installare da time machine e tornare alla versione 10.13.4 del giorno prima ..e al riavvio niente piu dischi ne preboot .sono fermo a questo punto ..riesco solo a far partire installer ma nn so i comandi da dare in terminal per aggiustare le cose . ho anche linux su un altro notebook. ti ringrazio anticipatamente per l'aiuto .
    • By pink101
      So, here's what i think clover do when it patch ati framebuffer, first it read a cached kext, then it search the original hex value of the connector, then it changed the value with the new one. Is it correct? now, here's what i find confusing... let's say that i want to patch AMD7000Controller.kext, in that kext, i want to patch "AJI" framebuffer with a new value, so clover try to find the hex value of "AJI" connector then replace it with the new one, simple right? but when i search the AMD7000Controller binary file for other framebuffer, some of them didn't exist in the binary, for example, i tried to patch "Ramen" framebuffer, from various source, it said that:
      Ramen (6) @ 0xeba70 LVDS, HDMI, DP, DP, DP, DP 020000000001000039050108000000002001050600000000 000800000402000000010200000000001000030500000000 000400000403000000010343000000001102010100000000 000400000001000000010431000000002103040300000000 000400000403000000010563000000001204020200000000 000400000001000000010651000000002205040300000000 So i open a hex editor and search for:
      020000000001000039050108000000002001050600000000000800000402000000010200000000001000030500000000000400000403000000010343000000001102010100000000000400000001000000010431000000002103040300000000000400000403000000010563000000001204020200000000000400000001000000010651000000002205040300000000 but, it turns out that hex editor couldnt find that hex value in AMD7000Controller,

       
      most of the framebuffer exist in the AMD7000Controller, but some doesnt, If this is the case, then, where does clover find the original framebuffer to be patched? am i missing something?
       
       
    • By tluck
      Lenovo T460 macOS with Clover Guide
      Latest Release on GitHub (July 2020) Updated to Clover r5120 Updated Lilu based kexts - Lilu, ALC, WEG Added AirportBrcmFixup.kext
        Various Tweaks over Last months The main branch in my github repo is a complete Clover ESP (/EFI) bundle and kext pack for the Lenovo T460. The current file bundle seems to work on Sierra, HighSierra, Mojave and Catalina. There is an OpenCore branch in the repo as an alternative to Clover. This guide was developed for a Clover implementation. But the thread has evolved to include discussion of both Clover and Opencore for these systems: T460 and T470 family of ThinkPads.
       
      Full Clover file set - config.plist etc. Includes all custom kexts Includes custom DSDT/SSDT scripts and patches Utility scripts The zip bundles are posted to GitHub: https://github.com/tluck/Lenovo-T460-Clover/releases
      Caveat: The T460 systems used here was configured with: i5-6300U, Intel HD Graphics 520, 1920x1080 touch screen. If you have a different system model, then extract the ACPI files and use the included scripts to create a set of files consistent with your system type and BIOS version. See below for details.
      Credits: RehabMan, Shmilee, vusun123, TimeWalker, Mieze from which, much of their work and help is/was was used to get the T460 to this point.
      Devices and aspects working:
      Ethernet -  Intel I219LM is enabled via IntelMausiEthernext.kext WiFi/BT - substitute the Intel WiFi/BT with a compatible Broadcom or Atheros chip Audio - ALC293 codec implemented via AppleALC.kext (the old AppleHDA_ALC293 and CodecCommander kexts are not needed) PS2 - ClickPad + TrackPoint + all 3 buttons - using a modified VoodooPS2Controller to support new layouts - and added some custom Fn key maps based on 440/450 dsdt USB - implemented via custom SSDT + USBInjectAll kext. All USB3/USB2 ports are intel-based and work -  3 external USB and internal Camera, BT, etc  Sleep/Wake - the sleepwatcher package and custom sleep/wake scripts are used to help with sleep/wake for BT and PS2 devices. Note: have not tried to implement the SD card reader - no driver found.
      ACPI Files
      New Installation - Steps and Details
      Part 1 - OS Installation
      Part 2- Post OS Installation and Setup
      Notes on Custom Kexts
       
    • By tlefko
      News
      In light of the recent WWDC, we will begin testing the functionality of our EFI on macOS 11 for this device with the latest developer preview Version Info
      Features and Overview
      Now Compatible with 10.15.6 Please leave feedback with issues or w/o Comitted to Updating up to OS 11 Multitouch Trackpad Support 4K @60 Hz Fixed Bluetooth and Wifi Stability Issues Preformance and Power Management Additional Patches for 4K Display updated for 15.6 rev 1 Sleep Wake is functional for some models ----if screen glitches on wake or reopen lid. If this is a bother just disable sleep. This is issue is resolved in Big Sur Bugs
      Some models may experience screen split in half. If so disable. USB devices eject (external) No Internal Mic What Works
      Everything minus sleep issue above, internal microphone. (audio is fine, headphones / usb mic fine, just not laptop mic) POST
      run sudo pmset -a hibernatemode 0
      Description
      This esentially an ultra-simplistic version that is stable without the use of a deploy or complicated file installations and copies. You can easily view all the DSDT patches along with configuration files for the bootloader as they are all documented clearly in the files. This does include a copy of Clover, which of course I do not contribute to and am only responsible for the provided files, patches, and kext placements This guide provides a working setup with little knowledge of the topic and without "optimization" (because often they can break things). But, it is fully functional and preforms properly and is stable.
      Unsupported Wifi
      Make sure you are using DW1560 or 1820a for wifi or else there is a risk of KP. If not using remove BRCM kexts from CLOVER>kexts>other Styling
      This guide is designed to be literally as thorough as possible to appeal all types of users. It does not cover complex topics like undervolting etc etc only to provide a completely functional system
      Notes
      Never tested USB C except for charging, USB, works great (not sure about DispOut) 4K model has sleep wake issues occasionally, 1080P is fully functional BIOS
      Disable Secure Boot Disable Vt-d Recommended: Clean Install (Preinstall steps)
      Format a USB (16GB) as Journaled and then proceed to download the latest Catalina Installer Patcher Application. Download the latest Catalina installer from within the Patcher App, and select to download a new copy and install to your USB device Download the clover configurator application and mount the EFI of the USB partition, then copy the contents of the Files linked above to A new EFI Folder (that you create) within the EFI partition. ** This is because the App Store installers will often not download a full installer, just an truncated version that downloads the installer files from the interent while installing. Thus, they're not bootable from a USB as they're not complete. That is why you should use this method to make sure the installer is usable for bootable media.
      Boot From USB
      Use f9, copy EFI folder to efi partition of your usb. after installation complete copy EFI to your ssd. Boot Entry Setup
      Reccomend using windows to find a tool to add a UEFI bios entry to boot EFI/Boot/bootx64 Credits
      @MaLd0n for DSDT Patches and support (HUGE SHOUTOUT) Original Kexts Authors Clover Headphones and Audio
      All audio from speakers should work perfectly along with Bluetooth and USB audio Finished!
      Congratulations, there really aren't any more steps that are required. Feel free to contact me with any questions.
      Donations
      Send me a coffee lefkotyler@gmail.com
      EFI Catalina.zip
       
      **for latest releases and faster replies please refer to GitHub https://github.com/tlefko/HP-ENVY-13-2020-Catalina
    • By geheim19
      I’m new here and hope a lot of answers to my questions to find.
       
×