Jump to content
kylon

Cloud Clover Editor ( CCE ) [With Ozmosis support]

119 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
Posted (edited)
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

Yup, connection issues, some files were zeroed.

 

It should be up and running now, thanks

 

 

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 ErmaC
      Slice is glad to present a new EFI bootloader.
      CLOVER
      Now version 2 rEFIt based.


      It is open source based on different projects: Chameleon, rEFIt, XNU, VirtualBox. The main is EDK2 latest revision.
      I also want to thank all who help Slice with the development. Credits and copyrights remain in the sources.
      http://cloverefiboot.sourceforge.net/

      Main features:


      If you have a question please provide outputs from DarwinDumper (formed from Trauma tool). Thanks Trauma!
      Continued by blackosx and STLVNUB.
      CloverGrower Downloads Installation How to do UEFI boot How to use - common words Calculator for Automatic DSDT fix Instructions for GraphicsInjector ATIConnector patching Any kexts patching with some Samples CustomEDID Hiding unnecessary menu entries Instruction for DSDT corrections to do DeviceInjection works Development Themes About kexts injection Instructions for P- and C-states generator Patching DSDT to get Sleep working CPU settings and geekbench ACPI tables loading DSDTmini Custom SMBios F.A.Q. iCloudFix Using mouse. How to make orange icons to be metallic How to make software RAID (by Magnifico) How to modify InstallESD.dmg (by shiecldk) Config.plist settings Using extra kexts and skipping kernelcache Choosing EFI drivers Configuration files Automatic config.plist creating Custom DSDT patches How to do sleep/wake working with UEFI BOOT DeviceID substitution (FakeID) Using Custom OS Icons Hibernation Floating regions Error allocating pages while starting OS -----------------
    • By glasgood
      CLOVER DUAL BOOT MOJAVE & WINDOWS 10 GUIDE 
       

       
       
      INCLUDES  MBR / LEGACY BIOS  TO  GPT / EFI CONVERSION
      USING MBR2GPT TOOL
       
       
      PREREQUISITE: Two physical discs ( SSD’s or HDD’s )
       
       
       
       
       
      STEP 1 - Clover dual boot configuration 
       
      Open config.plist with Clover Configurator
       
      Boot
       Legacy = PBR Timeout = True ( will remove the Timeout countdown, from Clover boot menu)  

       
      GUI 
      Scan / Custom
       Entries = True  Tool = True  Legacy = False ( removes extra Windows 10 entries )  
      Hide Volume
      - Preboot ( macOS Preboot )
      - Recovery ( macOS Recovery )
       

       
      So at boot you will have two options: boot macOS Mojave or Windows 10 
       
       
       
       
       
       
       
      ————————————————————
       
       
      STEP 2 - Using a drive without Windows 10 installed
       
      Disconnect system drive that contains your macOS Mojave install from computer ( This is so that Windows does not overwrite existing macOS Mojave boot loader )
       
      Proceed with a Windows 10 UEFI install.  
      After installation reconnect macOS Mojave Drive, the Windows installation should now be detected and usable in Clover. 
      If Windows 10 is not detected or able to boot,  then verify you installed Windows 10 as UEFI and not MBR ---->  ( Read step 2 - For a drive with Windows 10 installed )
       
       
      OR
       
       
       
      STEP 2 - Using a drive with Windows 10 already installed
       
      Verify your Windows install is  GPT / UEFI or MBR / Legacy BIOS.   
      If Windows install is GPT UEFI then Windows 10 install is ready to use at Clover boot menu, you should be able to boot into Windows directly from Clover boot screen. 
       

       
       
      But if  Windows drive is detected at Clover boot screen, but when booting Windows you get a black screen with a cursor on the top left,
      then this is most likely because Windows drive is MBR ( Legacy BIOS ).  You can easily convert MBR to GPT using  Windows MBR2GPT tool ( this saves hours work having to reinstall Windows 10 and setting up all your applications again  ) 
       
      If Windows 10 install is MBR / Legacy BIOS  then simply convert to GPT / UEFI  following instructions below ( read video summary and view video )
       
       
      ** To use Windows 10  MBR2GPT tool  you must have Windows 10 version 1703 ( creators update  ) or later and less than 3 partitions on 
      the Windows 10 drive **
       
      Video summary:
       
      Confirm Windows 10 drive is MBR Legacy BIOS ( in Windows Disk Management ) Reboot into Windows PE ( Advanced Startup ) Convert from MBR Legacy BIOS to GPT UEFI ( using commands below ) mbr2gpt /validate mbr2gpt /convert Restart Verify Windows 10 drive has changed to GPT UEFI ( in Windows Disk Management )  
       
       
       
      After conversion Windows 10 is ready to use at the Clover boot menu 
       
       
       
      STEP 3 - Stop Windows Boot manager from overriding Clover boot manager
       
      How to stop Windows boot manager from overriding your Hackintosh Clover boot manager when using dual booting between macOS and Windows
       
       
       
       
       
       
    • By cvad
      Small tool to download, compile and build the latest Clover X64 package.
       
       
       

      The script inside is editable.

       
      Enjoy...
       
      Many thanks to the comrade SunKi for help with creating the script.
       
       
       
       
       
      Best thanks - click "Rate File".
       
    • By blxkspell
      Hey!
      As I have 3 Monitors connected, my RX 570 gets arround 50°C while ideling/ web browsing etc. The problem is, that this temp is apparently just the threshold, when the fans start to spin. So the fans start spinning for a minute then they stop for a while again... This is very annoying for me as the rest of my hackintosh is nearly quiet (SSD, 120mm low RPM cpu fan, nearly silent PSU,...), especially when Im using the pc to revise for school. Does somebody know wether its possible to "change" the threshold till the fans start spinning? Like it would probably not be a problem for the gpu at all, if the temp rises to 55°C but therefore be soundless....
       
       
    • By d2a
      So I'm finally joining the grown-ups and trying to set up a new(ish) hack. In the past I've used legacy Clover with my old Gigabyte board and thought I knew what I was doing. But I've been trying to get a UEFI Clover-based install to work and it's going nowhere.
       
      My new system (listed as SysB in sig) is a Gigabyte Z97X-UD3H-BK rev1.1 with firmware F6, an i7 4790K CPU and 4x4GB Corsair 1866MHz. I have the firmware settings set as per various guides and thought this should be a pretty painless transition...
       
      I have successfully run the installer for El Cap several times, but can't get the machine to boot reliably - it seems to change behaviour each boot. Sometimes boot hangs at the Gigabyte logo after choosing boot volume via F12, sometimes it boots to clover but displays no bootable drives, sometimes displays ElCap SSD in Clover but wont boot from it with kernel cache error, and occasionally it will boot all the way.
       
      What I'd like to know is:
       
      Should I update the mobo firmware to the latest version? This board has two more recent Bios software downloads, but they wont allow me to drop back to the version currently installed. I'm nervous to update unless this is likely to be the culprit. Is this just a UEFI issue? If the simple answer is just go legacy mode, maybe I should just avoid the issue... FInally, does anyone else have a working clover install on this board they could share with me? I think I've got it set up as it should be but the strange inconsistent boot behaviour makes me wonder... Thanks
×