Jump to content
ErmaC

Clover General discussion

19,039 posts in this topic

Recommended Posts

Advertisement
16 hours ago, Matgen84 said:

Hi @Slice

 

Thanks for commit r4833: If I understand well Goldfish64's readme, it works only for Intel HD. My system use HDMI audio via my Nvidia graphic card. How can I have sound at startup on Clover GUI in this case. There is a solution.

 

No, it just doesn't work for HDMI or digital outputs, there are both intel and nvidia controllers and many audio codecs supported.

 

16 hours ago, Slice said:

VoodooHDA works with HDMI as well as with non-Intel chipsets so yes it's possible just requires a work.

 

Yes, just need to add digital support, but there is intel and nvidia chipsets support already, the only other one would be amd, that I know of. Don't confuse the controller chipset with the codec chipset.

https://en.wikipedia.org/wiki/Intel_High_Definition_Audio#Host_controller

https://en.wikipedia.org/wiki/Sound_card#Integrated_sound_hardware_on_PC_motherboards

Share this post


Link to post
Share on other sites
Posted (edited)

@Slice thank you for boot sound.

i have a question. how can i reset BootChimeCfg.efi(return original)?

also current gui screen -> play boot sound -> scan drive -> clover gui screen.

when play boot sound, hold 3sec(follow wav sound length), can we play boot sound with clover gui at the same time?

Edited by Sherlocks

Share this post


Link to post
Share on other sites
40 minutes ago, Sherlocks said:

@Slice thank you for boot sound.

i have a question. how can i reset BootChimeCfg.efi(return original)?

also current gui screen -> play boot sound -> scan drive -> clover gui screen.

when play boot sound, hold 3sec(follow wav sound length), can we play boot sound with clover gui at the same time?

Снимок экрана 2019-01-05 в 10.09.20.png

 I think -x will be answer to your question.

 

There is StartPlaybackAsync but it is still not full developed.

Share this post


Link to post
Share on other sites
56 minutes ago, Sherlocks said:

@Slice thank you for boot sound.

i have a question. how can i reset BootChimeCfg.efi(return original)?

 

There are three variables in NVRAM if you want to trace it

Variable NV+RT+BS '89D4F995-67E3-4895-8F18-454B651D9215:Volume' DataSize = 0x01
  00000000: 3C                                               *<*
Variable NV+RT+BS '89D4F995-67E3-4895-8F18-454B651D9215:Index' DataSize = 0x08
  00000000: 00 00 00 00 00 00 00 00-                         *........*
Variable NV+RT+BS '89D4F995-67E3-4895-8F18-454B651D9215:Device' DataSize = 0xA2
  00000000: 50 00 63 00 69 00 52 00-6F 00 6F 00 74 00 28 00  *P.c.i.R.o.o.t.(.*
  00000010: 30 00 78 00 30 00 29 00-2F 00 50 00 63 00 69 00  *0.x.0.)./.P.c.i.*
  00000020: 28 00 30 00 78 00 31 00-42 00 2C 00 30 00 78 00  *(.0.x.1.B.,.0.x.*
  00000030: 30 00 29 00 2F 00 56 00-65 00 6E 00 4D 00 73 00  *0.)./.V.e.n.M.s.*
  00000040: 67 00 28 00 41 00 39 00-30 00 30 00 33 00 46 00  *g.(.A.9.0.0.3.F.*
  00000050: 45 00 42 00 2D 00 44 00-38 00 30 00 36 00 2D 00  *E.B.-.D.8.0.6.-.*
  00000060: 34 00 31 00 44 00 42 00-2D 00 41 00 34 00 39 00  *4.1.D.B.-.A.4.9.*
  00000070: 31 00 2D 00 35 00 34 00-30 00 35 00 46 00 45 00  *1.-.5.4.0.5.F.E.*
  00000080: 45 00 46 00 34 00 36 00-43 00 33 00 2C 00 30 00  *E.F.4.6.C.3.,.0.*
  00000090: 30 00 30 00 30 00 30 00-30 00 30 00 30 00 29 00  *0.0.0.0.0.0.0.).*
  000000A0: 00 00                                            *..*

 

Share this post


Link to post
Share on other sites
Posted (edited)

Well, my friend's old Pentium laptop has no UEFI support (also non Hackintosh compatible), but he wants Windows UEFI on it so.. I converted whole Disk to GPT, manually created 200MB EFI using gParted under Ubuntu Live and set is as=boot,esp. I restored my prev. Windows 10 64-bit backup using G4L (Ghost for Linux) to a new NTFS partition (/dev/sda2), restoring EFI\Microsoft\ to ESP (/dev/sda1), repairing BCD with Windows PE (bootrec /RebuildBcd bla bla bla) and it's booting just fine using USB FlashDisk with Clover on it (following @fusion71au guide actually, thanks to him).

 

I then, manually installing Clover using Ubuntu Live into Internal EFI Partition (should be Legacy-GPT, but Windows is UEFI emulated, right?) Bootloader files used: boot (boot6) | boot0 (boot0af) | boot1 (boot1f32) \\Oh ya, I manually copying "BOOT && CLOVER" dir using FileManager, so not included on screenshot below LoL

 

Seems no problem with bootloader installation on Legacy as usual (I think, CMIIW), Windows is also booting fine.

The only issue is, everytime I powering on laptop it always goes to Firmware screen first (not laptop's BIOS) so I need to always pressing "Continue" to get Clover boot after it.

My questions are:

1. What's causing this issue? I've tried boot6 && boot7 with a same result #btw

2. How to set "Timeout" with only single boot volume (so I don't need to press KB key twice but just boot to Windows directly)? I realized it doesn't work here.

 

Thanks.

 

Screenshot from 2019-01-05 07-35-23.png

Edited by Badruzeus

Share this post


Link to post
Share on other sites

Hi @Slice

 

Thanks for adding AudioDxe :)

 

Could you do the same thing with BootChimeCfg in Clover / tools. For those who want to configure the driver. Please.

Share this post


Link to post
Share on other sites
Posted (edited)
6 hours ago, Badruzeus said:

Well, my friend's old Pentium laptop has no UEFI support (also non Hackintosh compatible), but he wants Windows UEFI on it so.. I converted whole Disk to GPT, manually created 200MB EFI using gParted under Ubuntu Live and set is as=boot,esp. I restored my prev. Windows 10 64-bit backup using G4L (Ghost for Linux) to a new NTFS partition (/dev/sda2), restoring EFI\Microsoft\ to ESP (/dev/sda1), repairing BCD with Windows PE (bootrec /RebuildBcd bla bla bla) and it's booting just fine using USB FlashDisk with Clover on it (following @fusion71au guide actually, thanks to him).

 

I then, manually installing Clover using Ubuntu Live into Internal EFI Partition (should be Legacy-GPT, but Windows is UEFI emulated, right?) Bootloader files used: boot (boot6) | boot0 (boot0af) | boot1 (boot1f32) \\Oh ya, I manually copying "BOOT && CLOVER" dir using FileManager, so not included on screenshot below LoL

 

Seems no problem with bootloader installation on Legacy as usual (I think, CMIIW), Windows is also booting fine.

The only issue is, everytime I powering on laptop it always goes to Firmware screen first (not laptop's BIOS) so I need to always pressing "Continue" to get Clover boot after it.

My questions are:

1. What's causing this issue? I've tried boot6 && boot7 with a same result #btw

2. How to set "Timeout" with only single boot volume (so I don't need to press KB key twice but just boot to Windows directly)? I realized it doesn't work here.

 

Thanks.

 

You have a problem with NVRAM as nothing will ever be saved, you should replace the EmuVar module with the FSVariable module from DUET for some partial support. You can skip clover GUI entirely by just putting microsoft bootmgfw.efi as bootx64.efi.

 

EDIT: You may want to just use DUET actually.

EDIT2: Oh, actually I think the legacy firmware loads CLOVERX64.efi by default not BOOTX64.efi.

Edited by apianti

Share this post


Link to post
Share on other sites
Posted (edited)
41 minutes ago, apianti said:

 

You have a problem with NVRAM as nothing will ever be saved, you should replace the EmuVar module with the FSVariable module from DUET for some partial support.

Hmmb that's why how many times I "Change Boot Order" on firmware it'll always reset to default after mach reboot, a same issue with VirtualBox even if configured as UEFI.. firmware configurations are not saved once app relaunched due to lack of NVRAM.

 

Funny thing here's (sorry, my bad); it boots directly into Clover w/o pressing "Continue" when I plugged Laptop's KeyBoard off (using USB ext-KB to replace it). I just realized that some Laptop's keys are broken (always keep pressed) after checking it using Keyboard Test software under Windows. I think they prevent (or suspend) Clover boot.

 

41 minutes ago, apianti said:

You can skip clover GUI entirely by just putting microsoft bootmgfw.efi as bootx64.efi.

Oh great, thank you. Much better idea with single Windows boot (though, I never tried this before.. honestly)

 

But my friend now (seems) feel happy using Clover bcoz he could place his gf's photo on it (I believe in his mind, Clover=Theme not a Boot Manager LoL).

 

Edited by Badruzeus

Share this post


Link to post
Share on other sites
4 hours ago, Badruzeus said:

Hmmb that's why how many times I "Change Boot Order" on firmware it'll always reset to default after mach reboot, a same issue with VirtualBox even if configured as UEFI.. firmware configurations are not saved once app relaunched due to lack of NVRAM.

 

Funny thing here's (sorry, my bad); it boots directly into Clover w/o pressing "Continue" when I plugged Laptop's KeyBoard off (using USB ext-KB to replace it). I just realized that some Laptop's keys are broken (always keep pressed) after checking it using Keyboard Test software under Windows. I think they prevent (or suspend) Clover boot.

 

Oh great, thank you. Much better idea with single Windows boot (though, I never tried this before.. honestly)

 

Yeah but it boots directly into clover with the usb right? So I doubt the keyboard is the issue, although maybe who knows... I know the NVRAM is for sure as there is no way to save the nvram.plist from windows to be loaded later. The FSVariable module from DUET saves the variable store when exiting boot services instead, so no runtime changes are saved but at least your would get semi working nvram. Either that or write an administrator app or kernel driver that dumps the uefi variables into a plist on the ESP. You might want to read my edit in the previous post about the default boot as I forgot it is different for clover legacy firmware, although if he wants to keep it whatever, lol. You can set DefaultVolume to the ESP (which you can get from log) and the DefaultLoader to \EFI\Microsoft\Boot\bootmgfw.efi, then set Timeout to whatever and it should automatically boot. As for the FSVariable module you can edit Clover.fdf and uncomment the line for it and comment out the other lines for NVRAM below or you can try using -DREAL_NVRAM to build and see if the real nvram can be used, however, I'm not sure how safe that is.

Share this post


Link to post
Share on other sites
 

latest r4839 build causes freeze gui after scan drive. i can't use any behaviour on gui

Are you referring to Vector theme or..?

Share this post


Link to post
Share on other sites
Posted (edited)
 

no, i'm using bootcamp normal theme.

just after some commits, i got freeze gui. i have to use power down button.

Weird, it' s working fine here.. already pressing "F3" several times and it seems no issue (F3 also scans whole disk besides hide / unhide entries, right?). For reference, I built it with EDK2 (though I see no dff. compared to UDK, both work well on my case), I don't use ApfsDriverLoader #BTW.

preboot_r4839_a43SJ.zip

Edited by Badruzeus

Share this post


Link to post
Share on other sites
Posted (edited)
 

Weird, it' s working fine here.. already pressing "F3" several times and it seems no issue (F3 also scans whole disk besides hide / unhide entries, right?). For reference, I built it with EDK (though I see no dff. compared to UDK, both work well on my case), I don't use ApfsDriverLoader #BTW. Clover v2.4k r4839

preboot_r4839_a43SJ.zip

 

in my case, last work is r4834. today i built r4839. i got freeze gui. seems other side.

i didn't any behaviour. just got freeze gui. first show gui -> show scan drive text in gui then, show drive list with automatic boot drive my mac drive. but freeze gui

Edited by Sherlocks

Share this post


Link to post
Share on other sites
Posted (edited)
 

in my case, last work is r4834. today i built r4839. i got freeze gui. seems other side.

i didn't any behaviour. just got freeze gui. first show gui -> show scan drive text in gui then, show drive list with automatic boot drive my mac drive. but freeze gui

Oh cool, I got it..!!!

Fully powering off mach, F11 to reset NVRAM, reboot.. freeze! A same issue like yours (UEFI) LoL, no problem on 1st reboot though. And using legacy it leads me to red screen of death, du no what's wrong with r4839.

(I'm still able booting to Linux using BIOS StartUp key for rolliing back to r4836, nevermind).

 

 

 


IMG_20190106_164338.jpg
 

 

Edited by Badruzeus

Share this post


Link to post
Share on other sites
 

Oh cool, I got it..!!!

Fully powering off mach, F11 to reset NVRAM, reboot.. freeze! A same issue like yours (UEFI) LoL, no problem on 1st reboot though. And using legacy it leads me to red screen of death, du no what's wrong with r4839.

(I'm still able booting to Linux using BIOS StartUp key for rolliing back to r4836, nevermind).

 

What is the last legacy revision that works because I don't see anything that should be affecting legacy in between those revisions. You are getting a general protection fault which means usually that a pointer has an incorrect address of unallocated memory region being used.

Share this post


Link to post
Share on other sites
Posted (edited)
 

What is the last legacy revision that works because I don't see anything that should be affecting legacy in between those revisions. You are getting a general protection fault which means usually that a pointer has an incorrect address of unallocated memory region being used.

OK, r4839 (UEFI / Legacy) is now working fine after commenting those line. Thanks.

I no longer hear "../Theme Name/sound.wav" ringing before GUI loaded though.

 

It looks like I misunderstood @Slice r4833 changelogs:

\Theme Name\sound.wav = Before Clover GUI

\drivers64UEFI\BootChimeDxe.efi = After it (pausing 5 secs on Apple logo, similar to a real mac w/o *.wav)

Honestly, I assumed *.wav file provided by him is Apple BootChime audio LoL

With r4836, I could hear both of them ringing (before & after Clover GUI, having diff. StartUp audios).

preboot.log_r4839_legacy_pointer.zip

Edited by Badruzeus

Share this post


Link to post
Share on other sites

Yeah IDK I see a bunch of problems with sound in the theme. For instance this makes no sense:

    if (!DayLight) {
      Status = StartupSoundPlay(ThemeDir, L"sound_night.wav");
    }
    if (EFI_ERROR(Status)) {
      Status = StartupSoundPlay(ThemeDir, L"sound.wav");
    }

It only plays the sound if it's not daylight or there is an error and it's daylight? This should be written differently. Seems that the entire purpose of CheckSyncSound() is to stop playing the sound when the GUI is active, but why? It's played synchronously so this should never happen. So this call probably will always cause a hang since it calls StopStream without even checking if it's playing. Also If AudioIo is not found then the check for the private data is invalid since (NULL - offset) is a really large number and fails the check that it's NULL. AudioIo should be checked if NULL first.

Share this post


Link to post
Share on other sites
 

Clover4839 - only Fast Boor works.

Sorry! Clover4839UEFI  is works.

4839.jpg.6e288943e1e72477f3497ed4b447d39a.jpg

6:917  0:000  using scale  1.406250
6:917  0:000  theme contains font-family=DragonIsComing
7:118  0:200  found clipPaths for Banner
7:118  0:000  Banner position at parse [608,124]
7:137  0:019  parsed banner->width=773
7:139  0:001   icon 3 not parsed take common icons\func_secureboot
7:139  0:000   icon 4 not parsed take common icons\func_secureboot_config
7:141  0:002   icon 9 not parsed take common icons\tool_part
7:141  0:000   icon 10 not parsed take common icons\tool_rescue
7:142  0:000   icon 12 not parsed take common icons\vol_internal
7:142  0:000   icon 14 not parsed take common icons\vol_optical
7:142  0:000   icon 15 not parsed take common icons\vol_firewire
7:142  0:000   icon 16 not parsed take common icons\vol_clover
7:142  0:000   icon 17 not parsed take common icons\vol_internal_hfs
7:142  0:000   icon 18 not parsed take common icons\vol_internal_apfs
7:142  0:000   icon 19 not parsed take common icons\vol_internal_ntfs
7:142  0:000   icon 20 not parsed take common icons\vol_internal_ext3
7:144  0:001  icon main size=[203,203]
7:146  0:001  OSicon os_tiger not parsed
7:146  0:000  OSicon os_leo not parsed
7:146  0:000  OSicon os_snow not parsed
7:146  0:000  OSicon os_lion not parsed
7:146  0:000  OSicon os_cougar not parsed
7:146  0:000  OSicon os_mav not parsed
7:146  0:000  OSicon os_yos not parsed
7:162  0:015  OSicon os_suse not parsed
7:162  0:000  OSicon os_freebsd not parsed
7:162  0:000  OSicon os_freedos not parsed
7:166  0:003  parsing theme finish
7:166  0:000  Using vector theme 'cesium' (EFI\CLOVER\themes\cesium)
7:171  0:005    Channels: 2  Sample rate: 44100 Hz  Bits: 16
7:171  0:000  found 3 handles with audio
7:172  0:000  stored device=PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x1)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,00000000)
7:172  0:000  stored device=PciRoot(0x0)/Pci(0x1F,0x3)/VenMsg(A9003FEB-D806-41DB-A491-5405FEEF46C3,00000000)
7:172  0:000  got index=1
7:173  0:000  got volume 70
7:173  0:000  output to channel 1 with volume 70, len=4123880
31:624  24:451  theme inited
31:624  0:000  Chosen theme cesium
31:625  0:000  after NVRAM boot-args=darkwake=0

 

 

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   1 member

  • Similar Content

    • By Gorec
      Hi.
      I apologize in advance if I didn't post in the right category and if my title and description aren't specific enough :c
       
      My config in a nutshell:
      CPU: i7 5820k GPU: MSI GTX 1060 3GB RAM: 16 GB MOBO: MSI X99 SLI PLUS I attached RunMe output with all the details of my built.
       
      Some background:
      I have my Hackintosh for about half a year. That time I managed to make it works and fix major issues, but some of them left unresolved since then and I ignored them until now.
      I use my Hackintosh for Adobe projects (PR, AE, PS, IL, AU and a lot more) - most of them connected with video editing of course browsing with Chrome and other small tasks.
       
      Problems:
      Random restarts - this is the biggest one. I'm starting to work on bigger and bigger projects and at this time I think I can't allow this to happen that often. In the past, they happened like once a day or a couple of times a week. However, now it's just frustrating when it happens even 5 or more times a day. I've tried to observe and find out what can be the cause but I haven't managed to find any connections. I thought it happens when Premiere or another app is using GPU, but I haven't seen increased usage when it restarts. I think that it can be connected with GPU, memory or PSU or... meh, anything else. I don't have resources to check if it'll work with other components. There should be some fix for this. I will really appreciate any help with this :c Restart instead of shutdown & sleep doesn't work. I've tried to look through some Google results for this and tried many solutions (as you can see in attached Clover folder), but I think the right one for many of these issues is to make my own DSDT. Glitches, freezes and other things while encoding a video. It happens very often when I try to do this. Maybe it is an issue with GPU or (hopefully) only with GPU drivers which can be fixed with some patch. Today my headphones stopped working. I have a multi-output device configured in the Audio MIDI Setup app which includes my headphones (HyperX Cloud via USB) and Soundflowerbed virtual audio device for capturing system audio. Today while I was trying (like 15 times) to encode a video in Media Encoder in the background and watch video on YouTube I stopped hearing anything from my system. Of course, it restarted a couple of times as always, but even this didn't solve this. If I plug them directly with mini jack (not via USB Soundcard which was in the box and which I always used) in the front IO or the back I only hear some loud noise It takes EX-Fat formatted volumes a few minutes to mount after each restart. I found a workaround to format it with NTFS since I have Tuxera installed and I will reformat these volumes when I will find time for this, but maybe there is some fix for this. GPU is a little bit hot. HW Monitor shows it is only 45-55 degrees, but for my hand is a little bit hot, idk. Also related to GPU - glitch after POST but before entering Clover boot menu. It is a black screen with little white squared glitches for a few seconds. Maybe it indicates the GPU drivers are loading, but maybe it shouldn't be like this. And if I can ask about that - I can't make all applications hide on startup. I, obviously, have "Hide" checkbox checked on every login item in settings, but it doesn't work, none of the apps is hidden in the dock. Is there a way to fix this? Also a small but annoying problem - I can't turn off permanently Mojave update notification (since I tried to install it, and I had to reverse to High Sierra because I had a black screen and I didn't have time for repairing all of them. Tags are not working in Finder - every time I tag a file or folder and make a change in it (for example save a text file) the tag disappears.  
      So, with knowing all of that, is there a way to make a proper DSDT file for my Hackintosh? I tried to look through some guides on how to make it but I think I reached my abilities to understand how Mac OS works and what all of these things are, so I'm asking you guys politely, would someone like to help me? At least with these random restarts? :/
      I really begin to think that I'm a newbie in configuring all of that Clover things - even after what I managed to do with my PC. Help me, pleease... :c
       
      If you have any questions post it below, I will really appreciate any help <3
      Send me MBP-Gorec.home.zip
    • By rtke333
      Acer Aspire V15 V5-591G - Mojave 10.14.4
       
      (Note: mine is 55TU version, but the bootpack will work fine with another versions of 591G, for example: V5-591G-71K2, -764Z, -59PU, etc.)
      Specifications:
      - Motherboard: USOPP_SLS (Skylake-H PCH)
      - BIOS:Insyde Corp. v 1.15
      - CPU:Intel Core i5-6300HQ 2.3 GHz (Skylake)
      - GPU: NVIDIA GeForce GTX 950M 2 GB (Optimus) & Intel HD Graphics 530
      - RAM:SK hynix 4 GB DDR4 (Later I bought + KINGSTON 4 GB) 2133 MHz
      - WiFi + Bluetooth:Qualcomm Atheros QCNFA344A 5 GHz (Later -> Broadcom BRCM94352Z M.2 5 GHz WiFi + 4.0 Bluetooth)
      - Audio:Realtek HD Audio: ALC 255 
      - Ethernet: Realtek RTL8168/8111
      - Card Reader:Realtek USB 2.0 Card Reader (USB2.0-CRW)
      - Webcam:HD Webcam
      - HDD:TOSHIBA MQ01ACF032 320 GB HDD
      - SSD:SPCC M.2 230 GB SSD
      - Display:1366x768 (15.6", Matte)
      - Battery: 6 cell 56Wh / 5040mAh
      - Connectors: 
      1x SD Card Reader 2x USB 3.0 (1x USB Charging), 1x USB 2.0 1x VGA 1x HDMI 1x 3.5mm microphone/audio combined jack connector 1x Ethernet (Rj-45) - Keyboard & Touchpad:Multi-Touch & Multi-gestures ELAN 501 Touchpad, Backlight Keyboard.
      Working:  
      - Wi-Fi (with BCM94352Z)
      - Bluetooth hand-off (With BCM94352Z)
      -Full Graphics enabled on HD 530: ig-platform-id: 0x191b0000 (HD 530 Mobile)
      - Display: if default colour profile is corrupted (blue is not actual blue but purplish) Use "Rec. ITU-R BT. 709-5" Color Profile (System Pref. -> Displays -> Color)
      -HDMI & VGA Outputs: AppleGraphicsDevicePolicy.kext Clover patch
      - Audio (ALC 255):(Internal Speakers, Internal Microphone, Headphone jack with AppleALC, ALCPlugFix -> layout-id=17)
      - Ethernet Realtek 8168/8111: RealtekRTL8111.kext
      - App Store, Messages, FaceTime, Siri, iCloud(native)
      - Integrated webcam(native)
      - 3.0 USB (native)
      - Touchpad and Keyboard(ELAN501): Fn keys are good, the weird thing is the Brightness key. On my keyboard it's Pause Break:Br-up, Fn+F12:Br-dwn-> To fix this try Karabiner (VoodoPS2Controller.kext), - for gestures try SmartTouchpad drivers
      - Battery info:Install ACPIBatteryManager.kext with Kext Utility or other installer.
      - Sleep Mode
      - SSD with TRIM enabled (to enable trim, open Terminal and write "sudo trimforce enable")
      Not working:
      - Original Wi-Fi (Qualcomm Atheros QCNFA344A):  unsupported, you need switch to BCM94352Z or just use a mini usb wifi dongle.
      - NVIDIA GeForce GTX 950M: Optimus not supported.
      - Card Reader: Unsupported -> Can't really fix because I don't have any SD Card at the moment, maybe can be fixed by adding Prod & Ven IDs to AppleStorageDevices.kext, I never used it anyway. name: "USB2.0-CRW" Prod ID: "0x0129" Ven ID: "0x0bda  (Realtek Semiconductor Corp.)"
      For Wi-Fi:
      - 1st method:You can choose an external USB wifi dongle (I used TP-Link Archer T1U (5GHz support), TP-Link has official macOS drivers, you just need to install it
      -2nd and I think the best method:Replace your M.2 Qualcomm Card with a compatible BCM94352Zcard (you will have hand-off Bluetooth too), just install the kexts (enabled with BrcmFirmwareData.kext, BrcmPatchRAM2.kext, FakePCIID.kext, FakePCIID_Broadcom_WiFi.kext, they're all in my attached zip). You could buy this card from ebay, aliexpress, or amazon
       
      Issues:
      - None
      BIOS Settings:
      - BIOS version 1.15 (irrelevant)
      - Secure Boot: Disabled
      - Touchpad: Advanced
      - Boot mode:UEFI
      Getting ready for Installation:
      - Download the install zip (bootpack & postinstall): Click here -> acer_aspire_v591g_installfiles.zip
      Installation:
      - Create an installer with any method you know (- Mac: createinstallmedia - Windows: Transmac, Vmware, Win32diskimager)
      - Copy my Clover folder to the USB's EFI folder
      - Boot with the Installer USB
      - If you stuck in boot, reboot and in the Clover bootloader select "config_debug.cfg" -> you'll have more informations about the freeze
       
      Please open the README.rtf in my install zip for more informations about the USB Installer & Post installation!
      If you have a single RAM and getting panic at boot, then you need to edit the "config.plist" with these (SMBIOS->after "Version 1.0"):
      ->Edit "Frequency" and "Size" to match your RAM values
      <key>Version</key> <string>1.0</string> <key>Memory</key> <dict> <key>Channels</key> <integer>1</integer> <key>SlotCount</key> <integer>1</integer> <key>Modules</key> <array> <dict> <key>Slot</key> <integer>0</integer> <key>Size</key> <integer>8192</integer> <key>Frequency</key> <integer>2133</integer> <key>Type</key> <string>DDR4</string> </dict> </array> </dict> </dict>  
      PowerManagement  fix:
      Set HWPEnable=YES in Clover (already set), CPUFloor to "700", Frequency to "2300" and "3200"(Normal and Turbo, if you have i7-6700HQ version then it should be "2600", "3500") and "FrequencyVectors" from "0x0d000000" to "0x07000000" in "S/L/E/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/Resources/Mac-A5C67F76ED83108C.plist", MSR _xcpm_idle Patch to KernelToPatch in Clover (If you have High Sierra, change "MatchOS" to 10.13):

      <key>KernelToPatch</key> <array> <dict> <key>Comment</key> <string>MSR 0xE2 _xcpm_idle instant reboot(c) Pike R. Alpha</string> <key>Disabled</key> <false/> <key>Find</key> <data> ILniAAAADzA= </data> <key>MatchOS</key> <string>10.14</string> <key>Replace</key> <data> ILniAAAAkJA= </data> </dict> </array> Reboot, and it's 800MHz in idle state, same on Windows.
       

       
      Before updating to a new version of Mojave please update kexts (and clover if necessary) to newer versions to avoid kernel panics.
      Generate a serial number with Clover Configurator.app (open up your config.plist with CC then -> SMBIOS -> Serial Number -> Generate New)
      Mojave & Windows 10 Dual-Boot:
      Dual-boot clean install (on one drive), UEFI Only:
       
       Boot into your Mac installer, Create 2 partitions in GUID table (1 for Win (I used FAT32 but I think it doesn't matter what you choose), 1 for Mac),   Install Mac, boot with your USB, mount your EFI partition (use terminal or an EFI mounter app), create an EFI folder (if there is no folder), copy the CLOVER folder I attached to the EFI folder, restart,  Boot into your Win installer, Format the partition you created for Win, install.   Now, it's automatically booting into Windows. To use Clover open cmd in administrator, type:  bcdedit /set {bootmgr} path \EFI\CLOVER\CLOVERX64.efi       5.  You're done! It will booting into Clover when you start the system, and you can select Win or Mac (or another OS if installed on a 3rd partition).
       
      Dual-boot with Windows installed first (on one drive), UEFI Only:
      If you already have Windows and you don't want to lose all your data there is a hope:
      I created a video from this restore method: [Hackintosh] Dual-Boot High Sierra & Windows - when Windows already installed - no data waste - UEFI
      You need bootable Mac Installer and a full system restore image (link is in my video's description).
      (You may see errors if your EFI partition is not 200 MB)
       Boot into your Windows, resize your partition or create one for Mac.  Boot into your Mac installer and in Disk Utility format the partition you created.  Restore from image: select your full system restore image.  When it's finished restoring you just need to restart, then boot to the system with your usb.  When you successfully booted to Mac desktop, mount your EFI partition (use terminal or an EFI mounter app), open EFI, you will see there is a Microsoft folder already (don't touch that!). Copy my CLOVER folder to the EFI folder then Restart.  Now, it's automatically booting into Windows. To use Clover open cmd in administrator, type:  bcdedit /set {bootmgr} path \EFI\CLOVER\CLOVERX64.efi       7.  You're done! You can select your old Windows and your new macOS!
      (Only tried with Windows 8/8.1/10. I don't know Windows 7,etc.)
       
      IF YOU GETTING ERRORS DURING MAC RESTORE:
      - Make sure you have partitions in GPT
      - Windows using 100 MB EFI and will annoy the Mac restore. Don't worry, just ignore the errors.
       
      IF YOU GETTING ERRORS DURING WINDOWS INSTALLATION (could not be formatted, etc):
      - Make sure you have GPT partitions, and GPT (UEFI) installer, also disconnect all external storage drives (except the installer USB)
       
      IF YOU USED RESTORE METHOD THEN CAN'T MOUNT YOUR EFI PARTITION (No EFI partition found):
      - It's because your EFI is not 200 MB or not an "Apple" original EFI,  but do not worry, try another EFI mounter, or mount from terminal (I used EFI mounter v3: Getting errors, but you can mount and use without problem)
      - You also could "mount" the EFI from Windows:
      1st method: open cmd in administrator mode and type:
      diskpart
      list vol (Now select the "System" volume,(FAT 32) For example I select 4)
      sel vol 4
      list part(Select System type partition, for example 2)
      sel part 2
      assign letter=b(This will "mount" your EFI partition)
      Open Explorer++ or TotalCommander in administrator mode to manage EFI
      remove letter=b (This will "unmount" your EFI)
      2nd method: open cmd in administrator mode and type:
      mountvol b: /s (This will mount your EFI)
      Open Explorer++ or TotalCommander in administrator mode to manage EFI
      mountvol b: /d (This will unmount your EFI)
      Thanks to all OSXLatitude members for helping me out! (Jake Lo, Hervé, Bronxteck, black.dragon74)!
      Notes:
      2019.03.30: Fixed USB 3.0 ports, fixed Bluetooth crashes after sleep -> updated bootpack
      2019.03.28: Updated to 10.14.4. Unexpected crashes while updating to 10.14.4 -> fixed by updating Clover to the latest (v4910) version. Bluetooth crashes appeared -> fixed by downgraded Brcm*.kexts. Updated bootpack.
      2019.02.24: Bluetooth crashes after sleep -> fixed, updated bootpack. 
      2019.02.22: Updated to 10.14.3. Fixed HDMI Audio by installing "FakePCIID_Intel_HDMI_Audio.kext" -> fixed freezing during boot. Fixed brightness levels by installing "AppleBacklightFixup.kext". Also updated bootpack & postinstall zip down in attachments.
      2019.01.21: Removed FakeSMC.kext, SMCHelper-64.efi, replaced by VirtualSMC.kext, VirtualSMC.efi because I got random freezes when booting system (kextd stall[0], (120s): 'AppleACPICPU' -> CPU is at 100%, fans are spinning fast), also updated bootpack in the attachments "acer_aspire_v591g-55tu_clover.zip"-> Freeze continued, brought back FakeSMC, deleted VirtualSMC (caused BT crashes).
      2019.01.18: HDMI Audio is fixed, I didn't do anything HDMI Audio is not fixed, sometimes it worked but most likely not. (no idea why)
      2018.12.09: Updated to 10.14.2 -> did without any complication
      2018.11.28: Fixed combo-jack garbage sound output by installing ALCPlugFix and CodecCommander.kext
      2018.11.01: Updated to 10.14.1 -> HDMI & VGA ports are gone again. -> Fixed by "AppleIntelSKLGraphicsFramebuffer.kext" rollback from 10.14.
      2018.09.28: Updated to Mojave 10.14 -> Fixed HDMI & VGA Outputs by adding "AppleGraphicsDevicePolicy.kext" patches to config.plist, HDMI audio not working
    • By ciriousjoker
      TLDR:
      I'm trying to boot MacOS on a Chromebook without UEFI. I'm stuck at getting the bootloader (Chameleon/Clover) to work.  
      My setup / context:
      I have an Acer Chromebook Spin 13.
      Available ports:
      2 x USB-C 1 x USB-A 3.0 MicroSD Slot No USB A 2.0 (I've read that Clover has problems with USB 3.0) Firmware:
      There's no UEFI firmware available and by default, it doesn't even allow booting anything other than ChromeOS. Thanks to MrChromebox (big shoutouts!), I flashed a custom legacy bios that allows me to boot anything linux related. This bios is flashed into the RW_LEGACY section of the existing bootloader (coreboot afaik) and doesn't have any configuration options. If I have to change a setting, I could try compiling his bios payload myself with the specific setting enabled.  
      What I've tried so far:
      Chameleon attempts:
      Only selected setting was "Install chameleon on the chosen path", rest was unselected.
       
      1 - Install chameleon first without restoring the basesystem:
      Output:
      > boot0: GPT
      > boot0: done
      (hangs; pressing power button once shuts down
      Chameleon installation log is attached as "Chameleon_Installer_Log_BEFORE".
       
      2 - Install Chameleon after restoring the base system:
      Output:
      > boot0: GPT
      > boot0: GPT
      > boot0: doneboot1: /boot       <- Exactly like that, no line break in between
      (hangs; pressing power button once shuts down)
       
      I haven't been able to reproduce #2 after wiping the drive and doing the same thing again. Subsequent attempts have resulted in either #1 of either Chameleon or Clover.
      Chameleon installation log is attached as "Chameleon_Installer_Log_AFTER".
       
      Clover attempts:
      I tried multiple settings and configurations, but all of them boiled down to either one of these.
       
      1 - Doesn't do anything, just hangs at "Booting from usb..."
      2 - Boots into the blue/grey mode as shown in the attached images.
      According to MrChromebox, this could be an old Tianocore DUET It doesn't detect anything (cpu frequency, ram, partitions or disks)  
      I've read pretty much every article, github readme and other types of documentation for coreboot, tianocore, clover, chameleon and MrChromebox' rw_legacy payloads and right now, I'm totally clueless as to what to try next...
       
      A few questions that came up:
      Why does chameleon hang? What is it looking for, /boot was clearly written to the disk by the Chameleon installer? What exactly is the blue/grey image? According to MrChromebox, it could be Tianocore DUET Where does it come from? Clover? The mainboard itself? Why does the blue/grey thing not detect my processor frequency or any partitions/drives? Can I use some sort of DUET bootloader to chainload Clover?  
      If you guys could answer any of them or if you have any other guesses or information as to what's happening, I'd be really happy!
      Chameleon_Installer_Log_BEFORE.txt
      Chameleon_Installer_Log_AFTER.txt





    • By outdoormagic
      Short Version:
      I have two drives with the exact same EFI folder (and I can boot into Clover from either one), shouldn't I be able to boot into MacOS from either one?
       
      More Detail:
      I've done a few hacks so far and this never happened. (Gigabyte z370 / 8700k / Vega, Asus z390 / i5-9600k / 1080). Now, I'm setting up a ThinkPad X1 Gen 6. (Yes, I do expect problems on laptops, but that's not the question).
       
      Mojave 10.14.4 now boots from the internal SSD. So far, so good. Here's the problem.
       
      I installed Mojave on a USB drive (for backup / rescue) and copied the entire EFI partition of my boot drive to the EFI partition on the USB drive. So... I should be able to boot from the USB drive, right? Wrong. Ran Clover installer on the USB itself. Same outcome.
       
      With F12, I can boot from the USB into Clover and select the OS on the USB. The boot sequence hangs on End Random Seed, but before the usual '++++++++' line.
      So, boot into Clover on internal boot drive, then select OS on USB. Same thing.
       
      Read the forums, I saw the posts about AptioMemoryFix, so I tried the various other drivers on the USB. No go.
       
      I haven't found the solution yet to the USB boot issue, but what puzzles me is that if I have two drives with the exact same EFI folder (and I can boot into Clover from either one), shouldn't I be able to boot into MacOS from either one?
       
       
×