Jump to content

CCE - Web bootloaders manager [OpenCore, CloverEFI, Ozmosis, Chameleon]


kylon
 Share

124 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?
  • Like 1
  • Sad 1
Link to comment
Share on other sites

  • 7 months later...

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>

 

  • Like 1
Link to comment
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

  • Thanks 1
Link to comment
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

  • Thanks 1
Link to comment
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

  • Thanks 1
Link to comment
Share on other sites

  • 5 months later...

@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

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

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.
  • Like 1
  • Thanks 1
Link to comment
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

  • Like 2
  • Sad 1
Link to comment
Share on other sites

  • 3 weeks later...
  • 5 months later...

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.

  • Like 1
  • Thanks 1
Link to comment
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
  • Like 1
  • Haha 1
Link to comment
Share on other sites

  • 3 months later...

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.

  • Like 4
  • Thanks 1
  • Sad 1
Link to comment
Share on other sites

  • 4 months later...
  • 1 year later...

Major update, clear your cache

 

Added Misc and Kernel in OpenCore

OpenCore is now default

now using OpenCore SMBIOS data

new logo

multiple fixes and performance improvements

Edited by kylon
  • Like 3
  • Sad 1
Link to comment
Share on other sites

  • 1 month later...

Updated

 

you may need to clear your browser cache

 

OpenCore support is now complete!

i forgot to mention that the config upgrader supports OpenCore

Added CCE Tools in CCE Menu

Wiki has been updated accordingly

code clean up and improvements

 

if you find any bug or regression, please open a new issue in CCE repo

  • Like 3
  • Sad 1
Link to comment
Share on other sites

  • 1 month later...

Second major update of the year.

 

 

Changelogs are back on site

 

2021-05-05-000729_355x226_scrot.png.de70b1cc403bd8397b25d0102d49de25.png

 

 

copy-paste of the changelog

  • All: Implement proper error handling - CCE should not hang anymore!
  • All: A lot more accurate value types handling
  • All: Fix CCE initialization
  • All: Update useful links in CCE info modal (Add OpenCore docs, remove dead CloverEFI wiki)
  • OpenCore: Always load a full sample plist instead of empty (OC doesn't support partial configs - do not use that to boot MacOS, it is just a sample)
  • OpenCore: Restrict tristate checkboxes to two states (true/false) on value set
  • OpenCore: Booter: Add missing Patch element
  • OpenCore: PlatformInfo: Hide advanced fields when Automatic is set (Thanks vit9696)
  • All: [Temp] Workaround wasm error on latest Chrome/Chromium and similar (macserial works again)
  • All: Remove any Apple Inc. vendor string from SMBIOS to prevent issues on Hackintosh (Thanks vit9696)
  • CloverEFI: Update to latest
  • Code clean up and optimization

 

CCE should be fully working again on latest Chrome/Chromium etc.., it recently broke due to new restrictions

 

as always, you may need to clear your cache

if you have any issue: issue tracker

  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...