Matgen84 Posted December 19, 2019 Share Posted December 19, 2019 22 minutes ago, LAbyOne said: its called com.projectosx.clover.installer.plist it should be somewhere into ~/Lib/Pref Strangely, this file doesn't exist in my system Link to comment Share on other sites More sharing options...
vector sigma Posted December 19, 2019 Share Posted December 19, 2019 (edited) 1 hour ago, LAbyOne said: Probably you should also trash the cloverinstaller.plist, which is where it stores all your previous installs and consequently their path/structure... No, isn't. Nor the pkg nor the app rely on any plist to create a directory structure. Edited December 19, 2019 by vector sigma 1 Link to comment Share on other sites More sharing options...
Slice Posted December 19, 2019 Share Posted December 19, 2019 30 minutes ago, drayon said: Slice, someone on MacRumors forums said Clover has been abandoned and that you're now working on OpenCore with the team. Is this true? thanks Not true. Clover on sf.net is abandoned but Clover on github is alive. I will also support OpenCore when I have a time for it. 3 1 Link to comment Share on other sites More sharing options...
Slice Posted December 19, 2019 Share Posted December 19, 2019 5 hours ago, chris1111 said: Not try GCC53 Thanks Jief_Machak OK did you try to fix compile with tool set XCODE8 ? Thanks Slice Last commit I did this. Check please. Link to comment Share on other sites More sharing options...
Matgen84 Posted December 19, 2019 Share Posted December 19, 2019 31 minutes ago, vector sigma said: No, isn't. Nor the pkg nor the app rely on any plist to create a directory structure. Strangely, com.projectosx.clover.installer.plist doesn't exist in Library/Preferences on my system What do you think of my previous message: Slice answers only to backward compatibility Since December 17th 2019, there is new folder where we can store ours kexts (Clover Instructions Topic). Question: I suppose Clover keep a compatibility with previous kexts folder? Right. I've compile Clover and make a clean install in EFI Partition with no change: folders are same as before. Sorry for my bad english Link to comment Share on other sites More sharing options...
ameenjuz Posted December 19, 2019 Share Posted December 19, 2019 41 minutes ago, Slice said: Last commit I did this. Check please. thanks slice you fixed it xcode8 tool I built clover successfully Link to comment Share on other sites More sharing options...
chris1111 Posted December 19, 2019 Share Posted December 19, 2019 4 hours ago, Slice said: Last commit I did this. Check please. Thank you its Work! 1 Link to comment Share on other sites More sharing options...
Matgen84 Posted December 20, 2019 Share Posted December 20, 2019 (edited) Hi All Anybody knows how to hide new text (top left): it appears when I update to r5100 (f3c01aa). Edited December 20, 2019 by Matgen84 Link to comment Share on other sites More sharing options...
LockDown Posted December 20, 2019 Share Posted December 20, 2019 No function yet to disable that in config 1 Link to comment Share on other sites More sharing options...
n.d.k Posted December 20, 2019 Share Posted December 20, 2019 (edited) 2 hours ago, Matgen84 said: Hi All Anybody knows how to hide new text (top left): it appears when I update to r5100 (f3c01aa). file: CloverBootloader/rEFIt_UEFI/refit/menu.c Should remove 2 lines above as well. Edited December 20, 2019 by n.d.k 2 Link to comment Share on other sites More sharing options...
Matgen84 Posted December 20, 2019 Share Posted December 20, 2019 6 minutes ago, n.d.k said: file: CloverBootloader/rEFIt_UEFI/refit/menu.c Should remove 2 lines above as well. Thanks I saw these lines one hour ago: removing it is a good but temporary solution. I hope at least a lasting solution in the config.plist Link to comment Share on other sites More sharing options...
Jief_Machak Posted December 20, 2019 Share Posted December 20, 2019 22 hours ago, Slice said: The key problem is memory deallocation. In C++ there is a default destructor. You should somehow provide same way to go. I think we can define the new and delete operator. I'll keep that in mind. Link to comment Share on other sites More sharing options...
HmO Posted December 20, 2019 Share Posted December 20, 2019 Last commit build error src/CloverBootloader/rEFIt_UEFI/refit/menu.c:4219:34: error: result of comparison against a string literal is unspecified (use strncmp instead) [-Werror,-Wstring-compare] if (SelfVolume->VolName[0] != L"#") { ^ ~~~~ src/CloverBootloader/rEFIt_UEFI/refit/menu.c:4219:34: error: comparison between pointer and integer ('CHAR16' (aka 'unsigned short') and 'unsigned short *') [-Werror] if (SelfVolume->VolName[0] != L"#") { ~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ Link to comment Share on other sites More sharing options...
Slice Posted December 20, 2019 Share Posted December 20, 2019 5 hours ago, Matgen84 said: Thanks I saw these lines one hour ago: removing it is a good but temporary solution. I hope at least a lasting solution in the config.plist I made the follow change. If VolumeName begins with # then the line will not shown. So, create a file .VolumeLabel.txt in the EFI partition with a name for this volume "EFI" or "ESP" or "My USB Stick" or "#EFI" or anything else. In the case of "#..." the message "Clover booted from XXX" will disappear. Good? 2 Link to comment Share on other sites More sharing options...
Slice Posted December 20, 2019 Share Posted December 20, 2019 18 minutes ago, HmO said: Last commit build error src/CloverBootloader/rEFIt_UEFI/refit/menu.c:4219:34: error: result of comparison against a string literal is unspecified (use strncmp instead) [-Werror,-Wstring-compare] if (SelfVolume->VolName[0] != L"#") { ^ ~~~~ src/CloverBootloader/rEFIt_UEFI/refit/menu.c:4219:34: error: comparison between pointer and integer ('CHAR16' (aka 'unsigned short') and 'unsigned short *') [-Werror] if (SelfVolume->VolName[0] != L"#") { ~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ My mistake L"#" -> L'#' Fixed! 1 Link to comment Share on other sites More sharing options...
Jief_Machak Posted December 20, 2019 Share Posted December 20, 2019 (edited) 8 hours ago, Matgen84 said: Hi All Anybody knows how to hide new text (top left): it appears when I update to r5100 (f3c01aa). OK, some people don't like the information about CLover boot volume. Is it really a problem to see that in Clover, which you are supposed to see only few seconds at boot ? Maybe I should move on bottom right corner, like "5100, booted from xxx" ? Or a setting, disabled by default ? Oups, I was too quick, I didn't check. I see that Slice did something. Thanks Slice. That said, maybe the bottom right corner, next to the version, is nicer anyway. Opinion, anyone ? Edited December 20, 2019 by Jief_Machak Link to comment Share on other sites More sharing options...
Florin9doi Posted December 20, 2019 Share Posted December 20, 2019 (edited) Is Clover capable to patch Universal Mach-O kernels (Fat) (10.4.x to 10.7.x)? https://github.com/CloverHackyColor/CloverBootloader/blob/49380a97ecd81aa117f24a06b52e751b600e4258/rEFIt_UEFI/Platform/kernel_patcher.c#L1826 Here it handles only 0xFEEDFACE and 0xFEEDFACF headers but Fat files have a 0xCAFEBABE header. Edited December 20, 2019 by Florin9doi Link to comment Share on other sites More sharing options...
vector sigma Posted December 20, 2019 Share Posted December 20, 2019 (edited) 29 minutes ago, Florin9doi said: Is Clover capable to patch Universal Mach-O kernels (Fat) (10.4.x to 10.7.x)? https://github.com/CloverHackyColor/CloverBootloader/blob/49380a97ecd81aa117f24a06b52e751b600e4258/rEFIt_UEFI/Platform/kernel_patcher.c#L1826 Here it handles only 0xFEEDFACE and 0xFEEDFACF headers but Fat files have a 0xCAFEBABE header. Install OsxFatBinaryDrv.efi so the prelinked kernel is "thinned". EDIT boot.efi get thinned to the arch the CPU is using. Then the chosen booter knows what to do. Edited December 20, 2019 by vector sigma Link to comment Share on other sites More sharing options...
Florin9doi Posted December 20, 2019 Share Posted December 20, 2019 OsxFatBinaryDrv works for .efi files, not for mach_kernel. It expects a different header: https://github.com/CloverHackyColor/CloverBootloader/blob/7c0aa811ec303899bba18244425ad61c6ed07da8/Protocols/OsxFatBinaryDrv/OsxFatBinaryDrv.h#L22 Link to comment Share on other sites More sharing options...
Matgen84 Posted December 20, 2019 Share Posted December 20, 2019 (edited) 2 hours ago, Slice said: I made the follow change. If VolumeName begins with # then the line will not shown. So, create a file .VolumeLabel.txt in the EFI partition with a name for this volume "EFI" or "ESP" or "My USB Stick" or "#EFI" or anything else. In the case of "#..." the message "Clover booted from XXX" will disappear. Good? I don't understand well this change. Hackinbtosher who choose UEFI only knows that Clover boot from EFI, I think. I don't understand also: "If Volumename begins with #: it means we have to rename the volume: for example catalina-HD to #catalina-HD Personally, I prefer the reverse: In the case of "#...." the message Clover boot from XXX" will appear. Just my opinion: this change could be optional. Sorry for my bad english, If I misunderstood what you says. Edited December 20, 2019 by Matgen84 Link to comment Share on other sites More sharing options...
vector sigma Posted December 20, 2019 Share Posted December 20, 2019 (edited) 24 minutes ago, Florin9doi said: OsxFatBinaryDrv works for .efi files, not for mach_kernel. It expects a different header: https://github.com/CloverHackyColor/CloverBootloader/blob/7c0aa811ec303899bba18244425ad61c6ed07da8/Protocols/OsxFatBinaryDrv/OsxFatBinaryDrv.h#L22 Yes but as I said is boot.efi that load your prelinked into the memory map. In the OSes you mentioned, boot.efi is a Fat file, so the driver thin and keep the right arch. Injected kexts in those old OSes are thinned with this function instead: EFI_STATUS EFIAPI ThinFatFile(IN OUT UINT8 **binary, IN OUT UINTN *length, IN cpu_type_t archCpuType) where the CAFEBABE header is taken into account, which can be in reverse order too (FAT_MAGIC = 0xcafebabe vs FAT_CIGAM = 0xbebafeca)... depending on the indianess used. Edited December 20, 2019 by vector sigma typos Link to comment Share on other sites More sharing options...
Matgen84 Posted December 20, 2019 Share Posted December 20, 2019 (edited) 1 hour ago, Jief_Machak said: OK, some people don't like the information about CLover boot volume. Is it really a problem to see that in Clover, which you are supposed to see only few seconds at boot ? Maybe I should move on bottom right corner, like "5100, booted from xxx" ? Or a setting, disabled by default ? Oups, I was too quick, I didn't check. I see that Slice did something. Thanks Slice. That said, maybe the bottom right corner, next to the version, is nicer anyway. Opinion, anyone ? Thanks for your great job I already comment Slice's answer but just my opinion is: Hackinbtosher who choose UEFI only knows that Clover boot from EFI, I think. this change could be optional. But the right place could be bottom right near version number as you says. Edited December 20, 2019 by Matgen84 Link to comment Share on other sites More sharing options...
vector sigma Posted December 20, 2019 Share Posted December 20, 2019 (edited) 24 minutes ago, Matgen84 said: Hackinbtosher who choose UEFI only knows that Clover boot from EFI, I think. I do not think this is the scenario. You may want to know or realize if you boot from a USB stick or a specific ESP partition in your system. I have four of it in my system, so I can write "ESP on Samsung EVO" or "ESP on OCZ Vertex 4", which can be of help. Edited December 20, 2019 by vector sigma Link to comment Share on other sites More sharing options...
Matgen84 Posted December 20, 2019 Share Posted December 20, 2019 (edited) 13 minutes ago, vector sigma said: I do not think this is the scenario. You may want to know or realize if you boot from a USB stick or a specific ESP partition in your system. I have four of it in my system, so I can write "ESP on Samsung EVO" or "ESP on OCZ Vertez 4". At this time, I don't know the scenario. Today, I've this message "Clover booted from EFI" at the top left of the screen (bottom right is better place, It think) in a typo different from the theme I use. I have only one hard drive for each hack for macOS (Mojave and another for Catalina). So the message is not necessary. This is why I wrote that it could be optional. Like F1=Help, the possibility could be integrate in theme.plist for example. Edited December 20, 2019 by Matgen84 Link to comment Share on other sites More sharing options...
Jief_Machak Posted December 20, 2019 Share Posted December 20, 2019 57 minutes ago, Matgen84 said: Thanks for your great job I already comment Slice's answer but just my opinion is: Hackinbtosher who choose UEFI only knows that Clover boot from EFI, I think. this change could be optional. But the right place could be bottom right near version number as you says. The point is not to tell you it's booted from EFI. In fact a legacy should tells you the same. The point is to know which Clover is booted when you have more than one. If you give a name to your volume, it can tells you which clover you are booting. Especially useful to prevent a mistake I made : I was mistakenly booting from my regular Clover while I was trying to test a new clover on a USB stick. Took me some time to realise why my modification seems to be uneffective !! I'll move at the bottom. More discrete... 1 Link to comment Share on other sites More sharing options...
Recommended Posts