Jump to content
kylon

Cloud Clover Editor (CCE) [Clover, Ozmosis, Chameleon, OpenCore]

121 posts in this topic

Recommended Posts

Hi, @kylon,@cecekpawon

In https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/CloverPackage/utils/clover-genconfig/clover-genconfig.c  there are both values.

 

CFMutableDictionaryRef fixDict = addDict(dsdtDict, CFSTR("Fixes"));
addBoolean(fixDict, CFSTR("AddDTGP_0001"), !!(s->FixDsdt & FIX_DTGP));
addBoolean(fixDict, CFSTR("FixDarwin_0002"), !!(s->FixDsdt & FIX_WARNING));
addBoolean(fixDict, CFSTR("FixShutdown_0004"), !!(s->FixDsdt & FIX_SHUTDOWN));
addBoolean(fixDict, CFSTR("AddMCHC_0008"), !!(s->FixDsdt & FIX_MCHC));
addBoolean(fixDict, CFSTR("FixHPET_0010"), !!(s->FixDsdt & FIX_HPET));
addBoolean(fixDict, CFSTR("FakeLPC_0020"), !!(s->FixDsdt & FIX_LPC));
addBoolean(fixDict, CFSTR("FixIPIC_0040"), !!(s->FixDsdt & FIX_IPIC));
addBoolean(fixDict, CFSTR("FixSBUS_0080"), !!(s->FixDsdt & FIX_SBUS));
addBoolean(fixDict, CFSTR("FixDisplay_0100"), !!(s->FixDsdt & FIX_DISPLAY));
addBoolean(fixDict, CFSTR("FixIDE_0200"), !!(s->FixDsdt & FIX_IDE));
addBoolean(fixDict, CFSTR("FixSATA_0400"), !!(s->FixDsdt & FIX_SATA));
addBoolean(fixDict, CFSTR("FixFirewire_0800"), !!(s->FixDsdt & FIX_FIREWIRE));
addBoolean(fixDict, CFSTR("FixUSB_1000"), !!(s->FixDsdt & FIX_USB));
addBoolean(fixDict, CFSTR("FixLAN_2000"), !!(s->FixDsdt & FIX_LAN));
addBoolean(fixDict, CFSTR("FixAirport_4000"), !!(s->FixDsdt & FIX_WIFI));
addBoolean(fixDict, CFSTR("FixHDA_8000"), !!(s->FixDsdt & FIX_HDA));
// addBoolean(fixDict, CFSTR("FIX_DARWIN_10000"), !!(s->FixDsdt & FIX_DARWIN)); //deprecated
addBoolean(fixDict, CFSTR("FIX_RTC_20000"), !!(s->FixDsdt & FIX_RTC));
addBoolean(fixDict, CFSTR("FIX_TMR_40000"), !!(s->FixDsdt & FIX_TMR));
addBoolean(fixDict, CFSTR("AddIMEI_80000"), !!(s->FixDsdt & FIX_IMEI));
addBoolean(fixDict, CFSTR("FIX_INTELGFX_100000"), !!(s->FixDsdt & FIX_INTELGFX));
addBoolean(fixDict, CFSTR("FIX_WAK_200000"), !!(s->FixDsdt & FIX_WAK));
addBoolean(fixDict, CFSTR("DeleteUnused_400000"), !!(s->FixDsdt & FIX_UNUSED));
addBoolean(fixDict, CFSTR("FIX_ADP1_800000"), !!(s->FixDsdt & FIX_ADP1));
addBoolean(fixDict, CFSTR("AddPNLF_1000000"), !!(s->FixDsdt & FIX_PNLF));
addBoolean(fixDict, CFSTR("FIX_S3D_2000000"), !!(s->FixDsdt & FIX_S3D));
addBoolean(fixDict, CFSTR("FIX_ACST_4000000"), !!(s->FixDsdt & FIX_ACST));
addBoolean(fixDict, CFSTR("AddHDMI_8000000"), !!(s->FixDsdt & FIX_HDMI));
addBoolean(fixDict, CFSTR("FixRegions_10000000"),!!(s->FixDsdt & FIX_REGIONS));
// addBoolean(fixDict, CFSTR("NewWay_80000000"), !!(s->FixDsdt & FIX_NEW_WAY));
 
@cecekpawon Tell me how the developer clover, key FIX_DARWIN_10000 is used?

Share this post


Link to post
Share on other sites
Advertisement

Hi, @kylon 

Correct stylistics, please.

https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/rEFIt_UEFI/Platform/Settings.c#l154

Spoiler

<key>DSDT</key>
        <dict>
            <key>Fixes</key>
                <key>DeleteUnused</key>
                <true/>
                <key>FIX_ACST</key>
                <true/>
                <key>FIX_ADP1</key>
                <true/>
                <key>FIX_DARWIN</key>
                <true/>
                <key>FIX_INTELGFX</key>
                <true/>
                <key>FIX_RTC</key>
                <true/>
                <key>FIX_S3D</key>
                <true/>
                <key>FIX_TMR</key>
                <true/>
                <key>FIX_WAK</key>
                <true/>
                <key>FakeLPC</key>
                <true/>
            </dict>

 

Share this post


Link to post
Share on other sites
22 minutes ago, kylon said:

Sourceforge is not working
Are these names changed?

Thanks

No, the names do not change, it is necessary to bring everything to the same style, or some new ones are old.

Spoiler


 
static struct FIX_CONFIG { const CHAR8* oldName; const CHAR8* newName; UINT32 bitData; } FixesConfig[] =
{
{ "AddDTGP_0001", "AddDTGP", FIX_DTGP },
{ "FixDarwin_0002", "FixDarwin", FIX_WARNING },
{ "FixShutdown_0004", "FixShutdown", FIX_SHUTDOWN },
{ "AddMCHC_0008", "AddMCHC", FIX_MCHC },
{ "FixHPET_0010", "FixHPET", FIX_HPET },
{ "FakeLPC_0020", "FakeLPC", FIX_LPC },
{ "FixIPIC_0040", "FixIPIC", FIX_IPIC },
{ "FixSBUS_0080", "FixSBUS", FIX_SBUS },
{ "FixDisplay_0100", "FixDisplay", FIX_DISPLAY },
{ "FixIDE_0200", "FixIDE", FIX_IDE },
{ "FixSATA_0400", "FixSATA", FIX_SATA },
{ "FixFirewire_0800", "FixFirewire", FIX_FIREWIRE },
{ "FixUSB_1000", "FixUSB", FIX_USB },
{ "FixLAN_2000", "FixLAN", FIX_LAN },
{ "FixAirport_4000", "FixAirport", FIX_WIFI },
{ "FixHDA_8000", "FixHDA", FIX_HDA },
{ "FixDarwin7_10000", "FixDarwin7", FIX_DARWIN },
{ "FIX_RTC_20000", "FixRTC", FIX_RTC },
{ "FIX_TMR_40000", "FixTMR", FIX_TMR },
{ "AddIMEI_80000", "AddIMEI", FIX_IMEI },
{ "FIX_INTELGFX_100000", "FixIntelGfx", FIX_INTELGFX },
{ "FIX_WAK_200000", "FixWAK", FIX_WAK },
{ "DeleteUnused_400000", "DeleteUnused", FIX_UNUSED },
{ "FIX_ADP1_800000", "FixADP1", FIX_ADP1 },
{ "AddPNLF_1000000", "AddPNLF", FIX_PNLF },
{ "FIX_S3D_2000000", "FixS3D", FIX_S3D },
{ "FIX_ACST_4000000", "FixACST", FIX_ACST },
{ "AddHDMI_8000000", "AddHDMI", FIX_HDMI },
{ "FixRegions_10000000", "FixRegions", FIX_REGIONS },
{ "FixHeaders_20000000", "FixHeaders", FIX_HEADERS },
{ NULL, "FixMutex", FIX_MUTEX }
};

p.s i have SF working

Share this post


Link to post
Share on other sites

ok, i missed them, but what s wrong with FakeLPC and DeleteUnused?

yeah, i was not at home, it seems that sf does not load on android (endless loading), they probably broke something or their scripts are too heavy

Share this post


Link to post
Share on other sites
34 minutes ago, kylon said:

ok, i missed them, but what s wrong with FakeLPC and DeleteUnused?

yeah, i was not at home, it seems that sf does not load on android (endless loading), they probably broke something or their scripts are too heavy

With the names of FakeLPC,  DeleteUnused, everything is fine, they are like an example :D

Share this post


Link to post
Share on other sites

@ctich
Thank you

That was the last thing to refactor, it was broken since the last changes.

CCE is now using macserial to generate serial numbers
I m sure it is way better than my old and buggy code xD

Share this post


Link to post
Share on other sites

Hi guys,

 

I noticed some changes in data when I upload and then download my config back with no changes applied in CCE.

Some of the fields types are converted and have strange values, like 

<string></string>

Also some IDEs complain that some information is lost due to encoding errors when you open downloaded file for editing.

I have checked encoding of both files with Unix file utility and I can see discrepancies there.

D:\tools\Git\usr\bin>file D:\OneDrive\hackintosh\config.original.plist
D:\OneDrive\hackintosh\config.original.plist: XML 1.0 document, ASCII text

D:\tools\Git\usr\bin>file D:\OneDrive\hackintosh\test.cce.plist
D:\OneDrive\hackintosh\test.cce.plist: data

You can clearly see the difference if you diff attached files.

config.original.plist was uploaded and then downloaded back as test.cce.plist.

 

I am using Windows 10 Pro x64, Google Chrome 69.0.3497.100 (64-bit), Notepad2 or Atom editors.

I have got original config after building bootable USB using BootDisk Utility v2.1.2018.023b.

Is this something I should worry about?

config.original.plist

test.cce.plist

Edited by VasjaPupkin0909
Added platform and utility details.

Share this post


Link to post
Share on other sites
12 hours ago, kylon said:

@VasjaPupkin0909

 

Thanks

 

The string was not encoded back to base64 on save so the file was not a valid xml due to invalid characters.

The fix is up.

@kylon thank you for a prompt fix. I have tested it and I can confirm the fix works.

Edited by VasjaPupkin0909
typos

Share this post


Link to post
Share on other sites

About that, i found that some other values are not properly encoded.

I m working on a fix but i have 2 exams next month so i ll do this slowly.

Sorry :(

I ll reply here as soon as the update is online

Share this post


Link to post
Share on other sites

Many changes in latest update.

 

Most important: CCE has tri-state checkboxes now (added to OP), so that it can distinguish from false and unset values. (This should have been a feature from the beginning, sorry)

 

and many fixes.

Share this post


Link to post
Share on other sites
7 minutes ago, kylon said:

Many changes in latest update.

 

Most important: CCE has tri-state checkboxes now (added to OP), so that it can distinguish from false and unset values. (This should have been a feature from the beginning, sorry)

 

and many fixes.

hi, a bug on the main page

804203359_.PNG.3a249ae17b8769771981b3819d7efda1.PNG

 

update:

Uh!...CCE is down for Maintence.

realigning the galaxies...
Edited by ctich

Share this post


Link to post
Share on other sites

Update

 

Main changes:

  • New UI
  • Added a Text Editor Mode (for those who don't like the GUI but still want to take advantage of CCE)
  • Added some cecekpawon Ozmosis drivers support (AcpiPatcher, KernextPatcher, BeepBeep)
  • Added Chameleon support
  • Added Initial OpenCore support (Text Mode only and CCE Bank)
  • Added a Wiki (See OP)
  • Now using HTTPS
  • Many fixes and performance improvements

 

A browser with WebWorkers support is now required.

 

See sources for a full changelog.

See Wiki for more details about the UI.

Share this post


Link to post
Share on other sites

I found an issue with the wiki and it was not publicly available.

I didn't notice that, sorry, the wiki is now open and working.

 

Happy holidays!

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

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By dmpcoke
      Hi,
       
      I followed the OC guide, and installed Catalina 10.15.5 on my PC.
      The installation went very well. Most parts also work well after I login to the desktop except the following
      issue:
      Each time I tried to log back into the desktop from sleep, I would get a black screen very shortly after I entered the desktop.
      And black screen will last from a few seconds to a few minutes, no exact lasting time.
      Keyboards and mouse are still working during black screen, I can see the operations after the monitor works again.
       
      It connects LG monitor via DP port and I tried to modified the dp version between 1.2 and 1.4, got the same issue.
       
      Attached my entire OC folder, I'm so appreciated if someone could help me check it out, or tell me which part I should focus on.
       
      Thanks in advance!
       
      P.S. Here is my PC summary: Dell Optiplex 7060 MFF
       
      CPU Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz; 8th Gen, Coffee Lake GPU Intel(R) UHD Graphics 630 RAM Team Group 32 GB (2 × 16GB), 2400 MHz, DDR4 Chipset
      Intel 300 Series LPC (Q370) – A306 Audio Realtek ALC255/3234 (Codec ID: 0x10EC0255) Ethernet Intel(R) Ethernet Connection I219-LM WiFi/BT M.2 BCM43224 802.11a/b/g/n Storage Samsung SSD 970 EVO 500GB USB Ports Type-C × 1,USB 3.0 × 5 Video Output DP × 2 Monitor LG 4K 3840 x 2160 @ 60 Hz
      BIOS v1.4.2 OC.zip
    • By ThomasMattOnline
      Hello Everyone,

      Trying to get Hardware Acceleration working on my Hackintosh (HEVC Support) however I am such a noob, OpenCore is very new to me and would love some support.
      I have included screenshots and the EFI that is currently working on my System, I have USB 2 & 3.0 all working, however, the only thing I can fault is my GPU not being hardware acceleration enabled.

      Final Cut Pro X - Recognises GPU
      VideoProc - Doesn't recognise anything.
       
      (I am running the latest version of OpenCore 0.5.9)

      Things I've tried: I tried following the post https://www.tonymacx86.com/threads/catalina-10-15-2-update-lost-hevc-h265-acceleration.288563/ - No Luck
      I have also tried: https://forums.macrumors.com/threads/activate-amd-hardware-acceleration.2180095/page-53?post=28255048#post-28255048 - No luck either!

      My friend online tells me I shouldn't need such Kext as he has the same build as me but when I load his EFI on my system it boots with no USB 2 or 3.0 (I'm keeping his EFI off here as I've uploaded mine.)

      Please note: I appreciate all (any) pieces of advice and please do bear in mind that I am a noob and may need whatever you say simplifying as I can get easily confused.


      config.plist

    • By MaLd0n
      -Donations with PayPal
      https://tinyurl.com/r2bvzm7
      -Donations with Bitcoin
      33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3
      -Donations with PicPay 
      @danielnmaldonado
      -Donation with Mercado Livre 
      https://tinyurl.com/y9evkj5u
       
      -EFI OpenCore Folder Desktop 10th Intel Processors
      Paste this EFI folder in EFI partition in your USB STICK
      https://tinyurl.com/ybwr9kq3
       
      -Tutorial
      https://tinyurl.com/re2c9sz
       
      -Post Installation
      Paste EFI folder into EFI Partition in your SSD, reboot and extract one full dump with this app and post here!
      https://tinyurl.com/ybwr9kq3
      RunMe.app
      https://tinyurl.com/y9562hz7
       
      --DSDT PATCHES--
       
      -FIX ERRORS AND WARNINGS -FIX ACPI ERRORS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA SERIE ID -DMAC -REMOVE LINES, PROBLEMATIC and UNUSED -FIX K.P in REBOOT -NVRAM -REAL TIME CLOCK -SLPB -DARWIN / WINDOWS -XHCI -PLUGIN TYPE -HDEF -ARTC -IPIC -TIMR -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -UAR1 -LAN -FWHD -USBX -PMCR -PPMC -XSPI -GMM -kUSBCompanionIndex -io-device-location -IMEI -EC -PNLF -ARPT -GFX0 -NVME -ACPI-WAKE-GPE -DTGP -ACQUIRE MUT0 0XFFFF -MUTEX MUT0 0x00 -EXTERNAL REFERENCES -UNKNOWNOBJ -HDMI / HDAU -FULL RENAMED DEVICES  
      --SCREENSHOTS--
       









































       
       
      Big Thanks to XLR and your Badass Motherboard, Ultrafast CPU, Coolest Heatsink, Huge Graphics Card, Tonnes of RAM,
      Gigantic Hard Drive, Lightspeed Disk Burner, Professional Sound Card, Massive LCD Display.
       
       
      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
       
      Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad, headkaze, onemanosx, erroruser, Jenny David, Sampath007, Facebook Hackintosh community, Facebook Olarila community, SchmockLord, daliansky and many, many, many others!
       
      We're all here to have fun and learn from each other!
    • By Lorkiyn
      Hey,
       
      so I just can't get my trackpad working. I'm running Catalina with OC (v0.5.8 debug) on my Gigabyte Aero 15x9.
      I followed the OC vanilla laptop guide and created a GPI0 SSDT fitting to my device name but it didn't help. I have VoodooI2C and VoodooI2CHID in my kexts folder because the publisher of my trackpad is "Microsoft" accordingly to Windows.
      I have stumbled across the DSDT patches from VoodooI2C, but since you can't load your patched DSDT on OC I didn't know what to do with them.
       
      According to VoodooI2C-HID satellite description you need a "PNP0C50" trackpad, which mine is.
       
      I noticed that there are some messages during, boot from Voodoo-Something, after selecting boot device in OC. But these messages are not logged in any log file I can find. So I don't know what exactly they are saying.
       
      Thank you in advance
       
      EFI.zip
      opencore-2020-05-31-141607.txt
      Windows_device_manager.tar
×