DTK Posted February 28, 2017 Share Posted February 28, 2017 I am newbie in CloverGrowerPro, i got error when I built Clover by Macbook Pro 10.12 with Xcode and Command line tool 8.2. Somebody show me how to fix that bug: ========= Translating Resources ========/Users/mimotek/VNPT_CLOVER/CloverGrowerPro/edk2/Clover/CloverPackage/package/../../../../opt/localGNU gettext utilities is mandatory to build Clover package.Use the /Users/mimotek/VNPT_CLOVER/CloverGrowerPro/edk2/Clover/buildgettext.sh script to build them.Done Tks Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375201 Share on other sites More sharing options...
Philip Petev Posted February 28, 2017 Share Posted February 28, 2017 @DTK: CloverGrowerPro is deprecated, a new script is used - Build_Clover.command. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375238 Share on other sites More sharing options...
pico joe Posted February 28, 2017 Share Posted February 28, 2017 report : missing smc keys .. as I remember since rev 4017 5:130 0:000 === [ Dump SMC keys from NVRAM ] ==========================5:130 0:000 found AppleSMC protocol Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375244 Share on other sites More sharing options...
DTK Posted February 28, 2017 Share Posted February 28, 2017 @DTK: CloverGrowerPro is deprecated, a new script is used - Build_Clover.command. @philip_petev: Your mean is i shouldn't use CloverGrowerPro and replace it by Build_Clover.command? Tks Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375246 Share on other sites More sharing options...
Philip Petev Posted February 28, 2017 Share Posted February 28, 2017 That's right. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375274 Share on other sites More sharing options...
bozma88 Posted February 28, 2017 Share Posted February 28, 2017 Ok, fixed and tested in 10.7.5, plus I've added the possibility of adding custom keys while dumping the nvram: beta1.png You can add what you like with Data, String and Number tags. Like a plist Data tag must contains a valid hex datas, Number means integers (floats/double are converted to max 32 bit int). String can be what you like. If you type invalid characters for Data/Numbers, the app will continue beebing until you fix it. Keys with lenght 0 will not be saved. Actually there's no check for duplicate keys, so in the case, the higer index is what will finish to nvram.plist. This is a new version and the first time will require to reinstall the helper tool, and you have to restart the app manually (later will be sutomatic). Before try this new one uncheck "run at login" from the old one, otherwise you will have two apps loaded.. Hi Micky1979, I tried your app, it tells me that my PC (Dell XPS 13 9360) has real NVRAM. So I tried to delete EmuVariableUEFI driver, /nvram.plist and shutdown/boot rc clover scripts. I also reset the NVRAM, which on this laptop is done by resetting BIOS settings. I have two issues: Backlight is not saved/restored upon reboot and after wake from sleep BT and WIFI are permanently shutdown until next reboot. I placed EmuVariableUEFI back and WIFI+BT issue disappeared. Maybe I don't get the full picture, can you help me understand? Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375325 Share on other sites More sharing options...
Slice Posted February 28, 2017 Share Posted February 28, 2017 Hi Zenith432, Not related to previous discussion, I found that Clover version > ~3500 can't boot 10.6.8. Always crash at AppleNVRAM. The problem is in boot6 -> RuntimeServices -> GetVariable() and I think the problem began at clang compilation. Before 3471 we compiled by gcc-4.9. The difference is EFI API which is not good supported by clang yet. macOS expected that RS procedures will have EFI API. It uses registers RCX, RDX, R8, R9 for the first four args. While clang compiles to UNIX API. RDI, RSI, RDX, RCX. I don't know why new systems are not crashed but 10.6.8 seems less stable. If I took boot6 3197 and CloverX64.efi rev 4003 all works fine. Bad Alarm! Clover 4003 and up works fine. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375456 Share on other sites More sharing options...
Micky1979 Posted February 28, 2017 Share Posted February 28, 2017 Hi Micky1979, I tried your app, it tells me that my PC (Dell XPS 13 9360) has real NVRAM. So I tried to delete EmuVariableUEFI driver, /nvram.plist and shutdown/boot rc clover scripts. I also reset the NVRAM, which on this laptop is done by resetting BIOS settings. I have two issues: Backlight is not saved/restored upon reboot and after wake from sleep BT and WIFI are permanently shutdown until next reboot. I placed EmuVariableUEFI back and WIFI+BT issue disappeared. Maybe I don't get the full picture, can you help me understand? Screen Shot 2017-02-28 at 14.53.02.png Screen Shot 2017-02-28 at 14.53.11.png What to say, no surprise if you deleted EmuVariable driver. ..... but if you have patience I have the right driver (kext) that populate the nvram with some of all the missing stuff that are in real macs ... under testing, stay tuned... 5 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375468 Share on other sites More sharing options...
MaLd0n Posted February 28, 2017 Share Posted February 28, 2017 Lost my audio with AppleAlc in 4023 Version. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375508 Share on other sites More sharing options...
gujiangjiang Posted February 28, 2017 Share Posted February 28, 2017 What to say, no surprise if you deleted EmuVariable driver. ..... but if you have patience I have the right driver (kext) that populate the nvram with some of all the missing stuff that are in real macs ... under testing, stay tuned... I have xps 15 9550 and I hope to test the way with real nvram works. Thanks. 从我的 iPhone 发送,使用 Tapatalk Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375513 Share on other sites More sharing options...
pico joe Posted March 1, 2017 Share Posted March 1, 2017 @Mald0n ..no problem here v 4023 add Ermac patch HDA controllers .. and AppleALC compiled by you 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375544 Share on other sites More sharing options...
DTK Posted March 1, 2017 Share Posted March 1, 2017 That's right. @philip_petev: Sorry, i have question. Before Building Clover, what should i need to install, Xcode (version??) , command line tool (version??) or something else? Can you tell me exactly what I have to install application? Tks!! Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375550 Share on other sites More sharing options...
PMheart Posted March 1, 2017 Share Posted March 1, 2017 (edited) @Slice Hi. Slice. Nice to meet you again. 10.12.4 DP4 build 16E175b brings a lot of changes in platform data. And here is the updated platformdata.c Note: I don't know whether the newer data can be used in an earlier version of macOS. But I think so anyway. EDIT Confusing contents removed Edited March 1, 2017 by PMheart Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375564 Share on other sites More sharing options...
DTK Posted March 1, 2017 Share Posted March 1, 2017 Somebody help me, plzz! My IMac is 10.12.3 OSX, i try install Xcode 7 and Xcode 8, command line tool to build CloverGrowerPro or Build_Clover.command, it still get error. Somebody, Can tell me exactly what I have to install application before build Clover? Tks!! Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375588 Share on other sites More sharing options...
LAbyOne Posted March 1, 2017 Share Posted March 1, 2017 Somebody help me, plzz! My IMac is 10.12.3 OSX, i try install Xcode 7 and Xcode 8, command line tool to build CloverGrowerPro or Build_Clover.command, it still get error. Somebody, Can tell me exactly what I have to install application before build Clover? Tks!! I guess you should make clear to your system which one do you want to use, as per what i read that conflict is caused by a promiscuous TOOLS installation googleing xcode-select should give you some hints on whats happening into your machine.. BTW , AS MANY HAVE ALREADY POINTED IT OUT " CloverGrowerPro " is DEPRECATED, so using it make just more mess in your head, repair your xcode installation and you should be fine. NOW i've noticed a strange behaviour coming back in v4021 such as any time i log out when back in, an EFI partition is mounted (why?), and its not the primary one (where the system resides), why is that? and is anybody else experiencing this? i saw it already on another build but was gone with latest releases.. i'm going to try v4025 and will test it to see if it does it as well or not. restart install and let you know *EDIT !!! v4025 not working guys ........................... Building ... /Users/labyone/src/edk2/Clover/OsxAptioFixDrv/OsxAptioFix2Drv.inf [X64] [CC] FileLib [CC] DataHub [CC] OsxAptioFixDrv In file included from /Users/labyone/src/edk2/Clover/rEFIt_UEFI/Platform/BdsConnect.c:15: /Users/labyone/src/edk2/Clover/rEFIt_UEFI/Platform/Platform.h:1748:1: error: conflicting types for 'StrToGuid' StrToGuid ( ^ /Users/labyone/src/edk2/MdePkg/Include/Library/BaseLib.h:1712:1: note: previous declaration is here StrToGuid ( ^ 1 error generated. make: *** [/users/labyone/src/edk2/Build/Clover/RELEASE_XCODE5/X64/Clover/rEFIt_UEFI/refit/OUTPUT/Platform/BdsConnect.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/users/labyone/src/edk2/Build/Clover/RELEASE_XCODE5/X64/Clover/rEFIt_UEFI/refit] build.py... : error F002: Failed to build module /Users/labyone/src/edk2/Clover/rEFIt_UEFI/refit.inf [X64, XCODE5, RELEASE] - Failed - Build end time: 13:04:55, Mar.01 2017 Build total time: 00:00:33 o_Ops, ./ebuild.sh exited with error(s), aborting.. logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. [Process completed] Well 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375654 Share on other sites More sharing options...
PMheart Posted March 1, 2017 Share Posted March 1, 2017 I guess you should make clear to your system which one do you want to use, as per what i read that conflict is caused by a promiscuous TOOLS installation googleing xcode-select should give you some hints on whats happening into your machine.. BTW , AS MANY HAVE ALREADY POINTED IT OUT " CloverGrowerPro " is DEPRECATED, so using it make just more mess in your head, repair your xcode installation and you should be fine. NOW i've noticed a strange behaviour coming back in v4021 such as any time i log out when back in, an EFI partition is mounted (why?), and its not the primary one (where the system resides), why is that? and is anybody else experiencing this? i saw it already on another build but was gone with latest releases.. i'm going to try v4025 and will test it to see if it does it as well or not. restart install and let you know *EDIT !!! v4025 not working guys ........................... Building ... /Users/labyone/src/edk2/Clover/OsxAptioFixDrv/OsxAptioFix2Drv.inf [X64] [CC] FileLib [CC] DataHub [CC] OsxAptioFixDrv In file included from /Users/labyone/src/edk2/Clover/rEFIt_UEFI/Platform/BdsConnect.c:15: /Users/labyone/src/edk2/Clover/rEFIt_UEFI/Platform/Platform.h:1748:1: error: conflicting types for 'StrToGuid' StrToGuid ( ^ /Users/labyone/src/edk2/MdePkg/Include/Library/BaseLib.h:1712:1: note: previous declaration is here StrToGuid ( ^ 1 error generated. make: *** [/users/labyone/src/edk2/Build/Clover/RELEASE_XCODE5/X64/Clover/rEFIt_UEFI/refit/OUTPUT/Platform/BdsConnect.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/users/labyone/src/edk2/Build/Clover/RELEASE_XCODE5/X64/Clover/rEFIt_UEFI/refit] build.py... : error F002: Failed to build module /Users/labyone/src/edk2/Clover/rEFIt_UEFI/refit.inf [X64, XCODE5, RELEASE] - Failed - Build end time: 13:04:55, Mar.01 2017 Build total time: 00:00:33 o_Ops, ./ebuild.sh exited with error(s), aborting.. logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. [Process completed] Well Same here. Seems to be something wrong with edk2. 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375658 Share on other sites More sharing options...
Philip Petev Posted March 1, 2017 Share Posted March 1, 2017 @philip_petev: Sorry, i have question. Before Building Clover, what should i need to install, Xcode (version??) , command line tool (version??) or something else? Can you tell me exactly what I have to install application? Tks!! 1. The latest version of Xcode should be sufficient. or 2. If you don't want the whole Xcode app, you can install only the Xcode command line tools with the following command (in Terminal): xcode-select --install This one will download and install the latest command line tools for your macOS version. 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375670 Share on other sites More sharing options...
cecekpawon Posted March 1, 2017 Share Posted March 1, 2017 Same here. Seems to be something wrong with edk2. Simply comment out #1743, seems never used 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375711 Share on other sites More sharing options...
pico joe Posted March 1, 2017 Share Posted March 1, 2017 back to normal again in Clover_v2.4k_r4026 .. p.s. compiled with edk2 24003 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375712 Share on other sites More sharing options...
pkdesign Posted March 1, 2017 Share Posted March 1, 2017 Bad Alarm! Clover 4003 and up works fine. I can never get Snow Leopard to boot with Clover. Probably something I'm doing I'm sure but it has never worked for me. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375739 Share on other sites More sharing options...
Slice Posted March 1, 2017 Share Posted March 1, 2017 I can never get Snow Leopard to boot with Clover. Probably something I'm doing I'm sure but it has never worked for me. See You may see Clover revision 0x0fb4 = 4020 3 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2375835 Share on other sites More sharing options...
PMheart Posted March 1, 2017 Share Posted March 1, 2017 @Slice Hi. Slice. Sorry. I missed some platform data in the last commit and here is the fixed one... new_platformdata.c.zip Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2376036 Share on other sites More sharing options...
Slice Posted March 2, 2017 Share Posted March 2, 2017 @Slice Hi. Slice. Sorry. I missed some platform data in the last commit and here is the fixed one... new_platformdata.c.zip No problem! 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2376137 Share on other sites More sharing options...
PMheart Posted March 2, 2017 Share Posted March 2, 2017 No problem! Seen. Thanks. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2376140 Share on other sites More sharing options...
Zenith432 Posted March 2, 2017 Share Posted March 2, 2017 Update Commits 4025 - 4027: Sync some of Patches_for_EDK2 to latest EDK2 + resolve error mentioned in posts yesterday. Commits 4028, 4030: Explained in "Clover Change Explanations" + added parametrization in commit 4030 to allow -gcc53 to be used on both Linux and Darwin builds where GCC binaries are located in different paths. 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/495/#findComment-2376273 Share on other sites More sharing options...
Recommended Posts