Jump to content

Clover General discussion


ErmaC
29,866 posts in this topic

Recommended Posts

@pokenguyen - hmm interesting that would make a 2nd dispay - did you inject the same way i did in the clover config.plist. i wonder if there is a dsdt difference so it sees a difference device?

Link to comment
Share on other sites

@pokenguyen - hmm interesting that would make a 2nd dispay - did you inject the same way i did in the clover config.plist. i wonder if there is a dsdt difference so it sees a difference device?

Yes, the same

<dict>
<key>CustomEDID</key>
<data>
AP///////wAw5OICAAAAAAAUAQOAHxF4CkNFl1lXjighUFQAAAABAQEBAQEB
AQEBAQEBAQEBgCVAgGCEGjAwIDUANq4QAAAZAAAAAAAAAAAAAAAAAAAAAAAA
AAAA/gBMRyBEaXNwbGF5CiAgAAAA/gBMUDE0MFdEMi1UTEIxADg=
</data>
<key>InjectEDID</key>
<string>Yes</string>
<key>DualLink</key>
<string>0</string>
<key>GraphicsInjector</key>
<string>Yes</string>
<key>PatchVBios</key>
<string>No</string>
</dict>

 

I haven't seen graphical glitches since changing BusSpeedkHz, need some days to confirm. SoundFlower still can't work perfectly as in Chameleon, it will stop after an interval.

 

BusSpeedkHz Not specified: ~17s

BusSpeedkHz 99790: ~7'48s

BusSpeedkHz 99700: ~2'7s

Link to comment
Share on other sites

@pokenguyen - yeah you could further try other (lower) speeds. i had to fix the both CPU and Bus speeds because i got really bad clock drift. its hard to believe such small diffs make such a huge impact - but it does! i settled in on 99700 after some experimentation. clover kept calculating higher speed with bus at ~100300 +/-

 

 

the EDID injection was the key for me to get no visible glitches and absolutely no buffer hangs (used to hang and had to hard reboot). but maybe the fix was the clockspeed change (or combination?!)

 

good luck!

Link to comment
Share on other sites

@pokenguyen - yeah you could further try other (lower) speeds. i had to fix the both CPU and Bus speeds because i got really bad clock drift. its hard to believe such small diffs make such a huge impact - but it does! i settled in on 99700 after some experimentation. clover kept calculating higher speed with bus at ~100300 +/-

 

 

the EDID injection was the key for me to get no visible glitches and absolutely no buffer hangs (used to hang and had to hard reboot). but maybe the fix was the clockspeed change (or combination?!)

 

good luck!

Thanks

I did get buffer hangs, and now my interdal display becomes secondary even if I inject orginal EDID.

Link to comment
Share on other sites

Have You Ansy Solution For My Problem ?

 

Yes, switch your SMBIOS definition to MacBook Pro >=9,1. Earlier models use Sandy Bridge CPUs.

 

Also set your ACPI section to:

<key>ACPI</key>
<dict>
   <key>GenerateIvyStates</key>
   <string>Yes</string>
</dict>

as Slice recommended.

 

Afterwards do another DarwinDump.

Edited by k3nny
Link to comment
Share on other sites

Yes, switch your SMBIOS definition to MacBook Pro >9,1. Earlier models use Sandy Bridge CPUs.

 

Also set your ACPI section to:

<key>ACPI</key>
<dict>
<key>GenerateIvyStates</key>
<string>Yes</string>
</dict>

as Slice recommended.

 

Afterwards do another DarwinDump.

 

Ok,Tnks

This is My Dumper

Dumper.zip

 

DellVostro3560's ConfigFile

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ACPI</key>
<dict>
 <key>GenerateIvyStates</key>
 <string>Yes</string>
</dict>
<key>CPU</key>
<dict>
 <key>Turbo</key>
 <string>Yes</string>
</dict>
<key>Graphics</key>
<dict>
 <key>GraphicsInjector</key>
 <string>Yes</string>
</dict>
<key>PCI</key>
<dict>
 <key>HDAInjection</key>
 <string>No</string>
</dict>
<key>Pointer</key>
<dict>
 <key>DoubleClickTime</key>
 <string>500</string>
 <key>Speed</key>
 <string>12</string>
</dict>
<key>SMBIOS</key>
<dict>
 <key>ProductName</key>
 <string>MacBookPro9,2</string>
</dict>
<key>SystemParameters</key>
<dict>
 <key>CustomUUID</key>
 <string>511CE200-1000-4000-9999-010203040506</string>
 <key>DefaultBootVolume</key>
 <string>MacOsx</string>
 <key>InjectSystemID</key>
 <string>Yes</string>
 <key>boot-args</key>
 <string>-v slide=0</string>
 <key>iCloudFix</key>
 <string>Yes</string>
 <key>prev-lang:kbd</key>
 <string>it:0</string>
</dict>
</dict>
</plist>

Link to comment
Share on other sites

You use the kext "NullCPUPowerManagement". It disables native power management and you will not get any SpeedStep functions.

Try getting rid of it but be careful, it is possible that you won't be able to start Mac without it. This key in section "KernelAndKextPatches" might help:

<key>AsusAICPUPM</key>
<true/>

Otherwise you can try to use a patched BIOS produced with PMPatch.

 

PS: Check your Clover config.plist, it is outdated and does not contain section GUI for example.

 

EDIT: I meant MacBook Pro >= 9,1 but 9,2 should work anyway.

Edited by k3nny
Link to comment
Share on other sites

You use the kext "NullCPUPowerManagement". It disables native power management and you will not get any SpeedStep functions.

Try getting rid of it but be careful, it is possible that you won't be able to start Mac without it. This key in section "KernelAndKextPatches" might help:

<key>AsusAICPUPM</key>
<true/>

Otherwise you can try to use a patched BIOS produced with PMPatch.

 

PS: Check your Clover config.plist, it is outdated and does not contain section GUI for example.

 

EDIT: I meant MacBook Pro >= 9,1 but 9,2 should work anyway.

 

No, i don't Use NullCPUPowerManagement

 

but how should my config, you show me an example

Link to comment
Share on other sites

According to your dump you do:

IDX REFS ADDRESS SIZE WIRED NAME VERSION LINKED AGAINST
12 0 0xffffff7f80ae6000 0x2000 org.tgwbd.driver.NullCPUPowerManagement (1.0.0d2) <7 4 3>
17 2 0xffffff7f818ae000 0xe000 org.netkas.driver.FakeSMC (480) <9 7 5 4 3 1>
...

 

Paste his command into a Terminal window and look for yourself:

kextstat -l | egrep -v "com.apple"

 

It might be hidden in a PlugIns subfolder. You can use this command to save a list of all folders and files to your desktop and examine it:

find /System/Library/Extensions > ~/Desktop/kexts.txt

 

Here is the official example: https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/CloverPackage/CloverV2/EFI/CLOVER/config-sample.plist

Link to comment
Share on other sites

The newer rev. 1794 adds changes that make DVD work properly. I still have a nagging dilemma in which since rev. 1333, I can't boot my RAID0 volumes by USB stick. It only sees other GPT OSX partitions.

I would like to have a setup such that I can elect to boot my RAID0 volumes with either Chameleon or Clover.

Can somebody show me the way?

  • Like 1
Link to comment
Share on other sites

The newer rev. 1794 adds changes that make DVD work properly. I still have a nagging dilemma in which since rev. 1333, I can't boot my RAID0 volumes by USB stick. It only sees other GPT OSX partitions.

I would like to have a setup such that I can elect to boot my RAID0 volumes with either Chameleon or Clover.

Can somebody show me the way?

Did you check option BiosBlockIo?

Снимок экрана 2013-06-09 в 8.43.53.png

  • Like 1
Link to comment
Share on other sites

Hi, Slice!

 

Are you guys planing to include config.plist customization via the package installer, in the same way Chameleon installer packages allow us to set up the boot.plist?

 

All the best!

Hi theconnactic,

 

kozlek already made some service in his PrefPane. You may use it instead of mainstream panel.

But I think we should no copy wrong ideas.

See logic.

To customize config.plist you want to use panel that works inside OSX so you need working OSX and so you already have good config.plist. What is the idea to change it?

I saw Chameleon Wizard, it is very beauty application. But I never used it because of the words above.

It is too late to correct config.plist if you already boot into OSX.

 

I propose some other logic.

You are first time trying to boot new computer with Clover and don't know what is the config.plist must be.

You choose default one, almost empty.

You also choose DsdtName=BIOS.aml and FixDsdtMask=0xFFFF.

Attempt to boot.

If failed you go into Clover GUI options and change something.

Repeat until successful boot into system.

Go to terminal and type a command

./genconfig > config.plist

Then check this new config.plist with Property List Editor, for example for kext patching, and got the best working config.plist.

Successful boot is the best criteria for best config.plist.

Not wizard and not prefPane.

 

May be there will be enhancements and improvements in this method in future.

  • Like 2
Link to comment
Share on other sites

Hi, Slice! Thank you very much for the answer. I got your logic and it makes all sense. I was talking about the possibility of doing the config.plist setup via the Clover pkg installer itself, though, instead of, say, a "Clover Wizard" or a pref pane. Just like, for instance, Ermac did for his Enoch packages. It would make it quite easy to setup Clover when you know well the hardware and all strings that would work well, and this would be specially useful when you're installing OSX with Clover for someone else who is less tech-savvy.All the best!

Link to comment
Share on other sites

Hi Slice!

 

Could you tell if Clover do bin-patch for ATI-cards or not?

Because this video prove that it doesn't happen.

Just you told yes, but facts tell opposite.

http://www.insanelym...60#entry1919959

I am working with bin-patched HD6670 by Clover

<key>KernelAndKextPatches</key>
<dict>
 <key>KernelCpu</key>
 <string>No</string>
 <key>ATIConnectorsController</key>
 <string>6000</string>
 <key>ATIConnectorsData</key>
 <string>000400000403000000010000120401050008000004020000000100001102040310000000100000000001000000000002</string>
 <key>ATIConnectorsPatch</key>
 <string>040000000403000000010000100001061000000010000000000100000000000100080000040200000001000012040403</string>
 <key>AsusAICPUPM</key>
 <string>No</string>
 <key>AppleRTC</key>
 <string>Yes</string>
 <key>KextsToPatch</key>
 <array>
   <dict>
   <key>Name</key>
   <string>AppleAHCIPort</string>
   <key>Find</key>
   <data>RXh0ZXJuYWw=</data>
   <key>Replace</key>
   <data>SW50ZXJuYWw=</data>
   </dict>
 </array>
</dict>

Снимок экрана 2013-06-09 в 11.03.37.png

 

"The fact tells" that you are unable to do something right.

Never tell "Clover can't", you must tell "I can't".

Hope you understand.

Link to comment
Share on other sites

Go to terminal and type a command

./genconfig > config.plist

Then check this new config.plist with Property List Editor, for example for kext patching, and got the best working config.plist.

Yes. Handy tool slice.

 

For reference, DarwinDumper v2.7.3 now includes Slice's genconfig tool.

Selecting the 'Bootloader Configs & Drivers' dump option will save current booted config to BootloaderConfigFiles/CurrentCloverBootedConfig.plist

Link to comment
Share on other sites

I am working with bin-patched HD6670 by Clover

<key>KernelAndKextPatches</key>
<dict>
<key>KernelCpu</key>
<string>No</string>
<key>ATIConnectorsController</key>
<string>6000</string>
<key>ATIConnectorsData</key>
<string>000400000403000000010000120401050008000004020000000100001102040310000000100000000001000000000002</string>
<key>ATIConnectorsPatch</key>
<string>040000000403000000010000100001061000000010000000000100000000000100080000040200000001000012040403</string>
<key>AsusAICPUPM</key>
<string>No</string>
<key>AppleRTC</key>
<string>Yes</string>
<key>KextsToPatch</key>
<array>
<dict>
<key>Name</key>
<string>AppleAHCIPort</string>
<key>Find</key>
<data>RXh0ZXJuYWw=</data>
<key>Replace</key>
<data>SW50ZXJuYWw=</data>
</dict>
</array>
</dict>

post-112217-0-69398600-1370761588_thumb.png

 

"The fact tells" that you are unable to do something right.

Never tell "Clover can't", you must tell "I can't".

Hope you understand.

Slice, listen to me, please. I don't want to bicker with you.

But I can confident;y announce that bin-patch doesn't work for my ATI5850. Maybe on your computer it works but for mine not

<key>Graphics</key>
<dict>
<key>GraphicsInjector</key>
<string>No</string>
</dict>
<key>KernelAndKextPatches</key>
<dict>
<key>ATIConnectorsController</key>
<string>5000</string>
<key>ATIConnectorsData</key>
<string>02000000000100000901000012040303000400000406000000710000110201010004000004060000007100002103020200040000040600000071000022050404</string>
<key>ATIConnectorsPatch</key>
<string>02000000400000000900000010000004000400000407000000000000120401020008000004020000000000001102020110000000100000000000000000100303</string>
</dict>
<key>GUI</key>
<dict>
<key>Theme</key>
<string>orange</string>
<key>Timeout</key>
<integer>5</integer>
<key>DebugLog</key>
<false/>
<key>Mouse</key>
<dict>

I have correct config. And made a video where it was shown that hexedit sees default framebuffer after booting

https://drive.google...export=download

Link to comment
Share on other sites

Slice, listen to me, please. I don't want to bicker with you.

But I can confident;y announce that bin-patch doesn't work for my ATI5850. Maybe on your computer it works but for mine not

<key>Graphics</key>
<dict>
<key>GraphicsInjector</key>
<string>No</string>
</dict>
<key>KernelAndKextPatches</key>
<dict>
<key>ATIConnectorsController</key>
<string>5000</string>
<key>ATIConnectorsData</key>
<string>02000000000100000901000012040303000400000406000000710000110201010004000004060000007100002103020200040000040600000071000022050404</string>
<key>ATIConnectorsPatch</key>
<string>02000000400000000900000010000004000400000407000000000000120401020008000004020000000000001102020110000000100000000000000000100303</string>
</dict>
<key>GUI</key>
<dict>
<key>Theme</key>
<string>orange</string>
<key>Timeout</key>
<integer>5</integer>
<key>DebugLog</key>
<false/>
<key>Mouse</key>
<dict>

I have correct config. And made a video where it was shown that hexedit sees default framebuffer after booting

https://drive.google...export=download

I think KextsPatch will not take effect if you set GraphicsInjector=No

 

Second. Hexedit see nothing because patch made in memory not in files.

  • Like 1
Link to comment
Share on other sites

 

I think KextsPatch will not take effect if you set GraphicsInjector=No

 

Second. Hexedit see nothing because patch made in memory not in files.

And what was I talking about? ->> about bin-patch.

I said kerne-log patch works perfectly, but bin-patch not. It works with GraphicsInjector=No by the way.

So that I have a question does clover do some sort of bin-patch at files altogether or not.

 

Link to comment
Share on other sites

Hi, Slice! Thank you very much for the answer. I got your logic and it makes all sense. I was talking about the possibility of doing the config.plist setup via the Clover pkg installer itself, though, instead of, say, a "Clover Wizard" or a pref pane. Just like, for instance, Ermac did for his Enoch packages. It would make it quite easy to setup Clover when you know well the hardware and all strings that would work well, and this would be specially useful when you're installing OSX with Clover for someone else who is less tech-savvy.All the best!

If "you know well the hardware and all strings that would work well" then you can write config.plist by Property List Editor. What is the special function of the additional software expected?

Something like the follow?

Do you want to set GraphicsInjector to YES? [Yes/No]:_

...

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...