Jump to content
arsradu

[HOW TO] Fix second stage boot logo and loading bar for some dedicated desktop video cards

389 posts in this topic

Recommended Posts

not related

I ask that you use the version clover configurator that it has VendorID and ProductID

tks

Already using the latest version (it updates automatically) with VendorID and ProductID fields. :)

Share this post


Link to post
Share on other sites
Advertisement

The only machine I could use this on is my Z68 because the others all need a DSDT or SSDT so I can just inject AAPL,boot-display with those. And the Z68 is also the only one I can't disable CSM on because of the crappy old BIOS on it.

 

I tried adding @0,AAPL,boot-display to AddProperties again but it isn't getting injected. It's not a big deal as it works fine the other way (and I don't get a second stage boot logo until the desktop loads anyway). Was just hoping AddProperties would have been an option for this.

Share this post


Link to post
Share on other sites

I'm injecting it with arbitrary

 
	<key>Devices</key>
	<dict>
		<key>Arbitrary</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>Intel HD Graphics 4600</string>
				<key>CustomProperties</key>
				<array>
					<dict>
						<key>Key</key>
						<string>AAPL,ig-platform-id</string>
						<key>Value</key>
						<data>BAASBA==</data>
					</dict>
				</array>
				<key>PciAddr</key>
				<string>00:02.00</string>
			</dict>
			<dict>
				<key>Comment</key>
				<string>Nvidia Display</string>
				<key>CustomProperties</key>
				<array>
					<dict>
						<key>Key</key>
						<string>@0,AAPL,boot-display</string>
						<key>Value</key>
						<data></data>
					</dict>
					<dict>
						<key>Key</key>
						<string>@1,connector-type</string>
						<key>Value</key>
						<data>AAgAAA==</data>
					</dict>
					<dict>
						<key>Key</key>
						<string>hda-gfx</string>
						<key>Value</key>
						<string>onboard-2</string>
					</dict>
				</array>
				<key>PciAddr</key>
				<string>01:00.00</string>
			</dict>
			<dict>
				<key>Comment</key>
				<string>9-Series IMEI</string>
				<key>CustomProperties</key>
				<array>
					<dict>
						<key>Key</key>
						<string>subsystem-vendor-id</string>
						<key>Value</key>
						<data>hoAAAA==</data>
					</dict>
				</array>
				<key>PciAddr</key>
				<string>00:16.00</string>
			</dict>
		</array>

and it's working fine

 

Share this post


Link to post
Share on other sites

Thanks! That works. I had to use Devices\Arbitrary to inject HDA too as it broke the regular Devices\Audio\Inject.

 

I keep forgetting Devices\Arbitrary because it's not in the wiki.

Share this post


Link to post
Share on other sites

Using the Arbitary method here too on gtx1060, its easy and works good :-)

The aapl,boot-display fixed boot with 2 displays for me, thx!

 

Just one problem, if i boot with 1 display only, i have first stage + secound stage boot animation...

if i boot with 2 displays, i get only first stage and secound stage is just black.

 

anyone here with dual display and working boot animation ?

 

doesn't really matter since its just works at all now with 2 displays xD

but would be good to know...

 

Cheers :-)

Share this post


Link to post
Share on other sites

Using the Arbitary method here too on gtx1060, its easy and works good :-)

The aapl,boot-display fixed boot with 2 displays for me, thx!

 

Just one problem, if i boot with 1 display only, i have first stage + secound stage boot animation...

if i boot with 2 displays, i get only first stage and secound stage is just black.

 

anyone here with dual display and working boot animation ?

 

doesn't really matter since its just works at all now with 2 displays xD

but would be good to know...

 

Cheers :-)

 

can you post your device config.plist, please? i have no lucky with my 1070 and i don´t know what´s wrong.

 

thanks in advances!

Share this post


Link to post
Share on other sites

Hi guys,

 

It's good to see this topic is still "en vogue". :)) I've been wondering though...did anyone try FileVault so far? Cause I've got a small issue with it. Well, not directly with it, but with the second stage boot screen when FileVault is enabled. Meaning I pretty much lose the Apple logo for this case. Just the logo. The loading bar is ok. But the logo is gone. :)) I don't mind it that much. But I was wondering if anyone tried FileVault so far (works with Clover, if you have all the correct drivers in /drivers64UEFI) and managed to find a solution to this issue.

Share this post


Link to post
Share on other sites

Hi Arsradu,

 

I get this with my boot logo, it runs a half and it flashs a little bit and returns its way after that. You can see my video at here because I can attach bigger 10Mb file.

I also used your method on 1st page but still the same :D

 

I don't use csmvideodrv and disable CSM in UEFI bios.

Share this post


Link to post
Share on other sites

Hi Arsradu,

 

I get this with my boot logo, it runs a half and it flashs a little bit and returns its way after that. You can see my video at here because I can attach bigger 10Mb file.

I also used your method on 1st page but still the same :D

 

I don't use csmvideodrv and disable CSM in UEFI bios.

 

You pretty much got a perfect boot.   :) Mine is exactly the same, if I don't enable FileVault. We seem to be using the same video chipset. So yeah, it's normal to have the same results.

 

The gap between first and second boot is normal. Well, maybe not normal, but some older real iMacs have the same issue. :) And I don't know why. Not sure if anyone managed to find a solution for it.

 

If you were trying to fix that gap between first and second stage boot, this tutorial is not what you need. Cause it's not meant for that. :P

 

And to be honest, I don't know if that issue can be fixed. I have to admit, I didn't have the time to look into it too much. So, if you find a fix for it, I would be glad to hear about it. But I'm pretty happy with the current result.

 

My only issue is with FileVault. And now I just realized that there is no actual "Apple logo" for this case. At least my MBP doesn't display any. It's just a "default" user icon replacing the Apple logo. But still, I only have that for the first stage boot on the hackintosh. On the second stage, it's just the loading bar on a black background. While on the MBP, I have the same icon (on a transparent background) for both stages.

 

So that's what I was trying to figure out.

Share this post


Link to post
Share on other sites

You pretty much got a perfect boot.   :) Mine is exactly the same, if I don't enable FileVault. We seem to be using the same video chipset. So yeah, it's normal to have the same results.

 

The gap between first and second boot is normal. Well, maybe not normal, but some older real iMacs have the same issue. :) And I don't know why. Not sure if anyone managed to find a solution for it.

 

If you were trying to fix that gap between first and second stage boot, this tutorial is not what you need. Cause it's not meant for that. :P

 

And to be honest, I don't know if that issue can be fixed. I have to admit, I didn't have the time to look into it too much. So, if you find a fix for it, I would be glad to hear about it. But I'm pretty happy with the current result.

 

My only issue is with FileVault. And now I just realized that there is no actual "Apple logo" for this case. At least my MBP doesn't display any. It's just a "default" user icon replacing the Apple logo. But still, I only have that for the first stage boot on the hackintosh. On the second stage, it's just the loading bar on a black background. While on the MBP, I have the same icon (on a transparent background) for both stages.

 

So that's what I was trying to figure out.

Thanks for your reply. Actually I also installed hackintosh with another nvidia cards such as gt 730, gtx 970, 980Ti and i got the same results with mine. But I haven't seen from other one who using hackintosh. So if you got the same result, I think it's normal and won't care about it anymore :D.

Just want to make it as smooth as possible but if can not, it's ok and no problem  B)

Share this post


Link to post
Share on other sites

Thanks for your reply. Actually I also installed hackintosh with another nvidia cards such as gt 730, gtx 970, 980Ti and i got the same results with mine. But I haven't seen from other one who using hackintosh. So if you got the same result, I think it's normal and won't care about it anymore :D.

Just want to make it as smooth as possible but if can not, it's ok and no problem  B)

 

I know... We all want that. It's just sometimes...we gotta be ok with what we got. Also, as I said, this also occurs with some old iMacs. I suppose Apple fixed it. Or it's just the graphics card. I don't know... But I don't know anyone who figured it out.

Share this post


Link to post
Share on other sites

Hello friends

 
How do I make the "IOFBNeedsRefresh" key stay in "False" on all ports on a Radeon GPU?
 
Is that added to the DSDT or is it possible to do this for Clover?
 
Thank you

Share this post


Link to post
Share on other sites

 

Hello, its possible fix the logo en my GTX980 ?

 

Appears chubby in the 1st part :)

 
Thank so much.-

 

https://imgur.com/8Y5WC66

 

 

That's a resolution issue.

 

Did you disable CSM for Windows in BIOS? Does your card have a UEFI VBIOS? Are you using CSMVideoDxe driver in Clover? Cause you shouldn't need it. Try with and without it. See if it makes a difference.

Share this post


Link to post
Share on other sites

That's a resolution issue.

 

Did you disable CSM for Windows in BIOS? Does your card have a UEFI VBIOS? Are you using CSMVideoDxe driver in Clover? Cause you shouldn't need it. Try with and without it. See if it makes a difference.

 

Hello @arsradu

 

CSM for Windows Disable, My card have a uEFI vBios.

If I use CSMVideoDxe in clover the logo is very big.

 

Now I have put this set and appears very small

 

 

EDIT:

 

This is the change with the setting
https://imgur.com/a/iUC7C

1st part logo small, 2do size correct.

 

My connection in the Monitor is by DP

My Monitor is u28d590 and think that take resolution 4k

post-471348-0-17940100-1507134862_thumb.jpg

Share this post


Link to post
Share on other sites

 

Hello @arsradu

 

CSM for Windows Disable, My card have a uEFI vBios.

If I use CSMVideoDxe in clover the logo is very big.

 

Now I have put this set and appears very small

 

 

EDIT:

 

This is the change with the setting
https://imgur.com/a/iUC7C

1st part logo small, 2do size correct.

 

My connection in the Monitor is by DP

My Monitor is u28d590 and think that take resolution 4k

 

 

In my experience, if you have a UEFI VBIOS and if you disabled CSM in BIOS (you don't need that unless you're planning on installing Windows XP any time soon, which is not something I would recommend), you don't need CSMVideoDxe in the first place. Have you tried without it? Is this how it looks without it? I'm just not sure I understood you correctly.

 

I watched your video. And LOL, it looks like you're zooming in on the second stage boot. I know you're not. But it's just the way it looks. Other than the display resolution, everything looks just the way it should.

 

By the way, is your OS set to 4K? Cause, for as far as I know, second stage boot shows up after the video drivers are initialized (I could be wrong though). So, I'm just thinking maybe CLOVER is actually the one in native resolution (so not too small, but when you have a 4K display...things do tend to look small lol) and the OS might actually be the one with a different resolution That's why I'm asking.

 

So let's see which one is actually correct. :)

 

As I said, other than this minor issue, everything looks pretty much on point.

Share this post


Link to post
Share on other sites
My monitor is 4k, clover respects that resolution in the first part of the logo where the apple looks smaller, that's what I would like to fix.

 

If I change the resolution from GUI> Screen Resolution only work 2, my graphics is not able to use from the all list.

 

Of those 2 only I get soon chubby or bigger than you see in the second part.

 

My system is set to 1080p, the second part of the logo is correct, where WedDrivers works correctly.

 

CSMVideoDxe is removed because otherwise the logo comes out huge and I have disabled CSM in BIOS

 

Thank you very much for your help, regards.-

Share this post


Link to post
Share on other sites

 

My monitor is 4k, clover respects that resolution in the first part of the logo where the apple looks smaller, that's what I would like to fix.
 
If I change the resolution from GUI> Screen Resolution only work 2, my graphics is not able to use from the all list.
 
Of those 2 only I get soon chubby or bigger than you see in the second part.
 
My system is set to 1080p, the second part of the logo is correct, where WedDrivers works correctly.
 
CSMVideoDxe is removed because otherwise the logo comes out huge and I have disabled CSM in BIOS
 
Thank you very much for your help, regards.-

 

 

I see, so you're trying to have 1080p for the first stage boot, too. Even though that's not the native resolution. Well, this might be more of a Clover thing than what this thread is aiming to achieve. :)

 

But I'll try to help. 

 

For as far as I know, Clover accepts other resolutions than the selectable ones, too. I could be wrong though. Have you tried entering the same resolution as your system manually? I suppose your resolution is not exactly 1920x1080, cause that one is already in the list.

 

Anyway, you can try to enter that resolution manually and see if it does anything for you. If not, I think the Clover guys might be able to help you better here.

 

Clover General Discussions thread can be found here.

Share this post


Link to post
Share on other sites

possible to have an example from a terminal

 

11ght3m.png

 

thank you

 

 

Hello,

 

1. make sure you download gfxutil.zip from the main page

2. extract it somewhere on your computer

3. create a new folder on your Desktop (you can call it whatever you want, it doesn't matter). I called mine GFX, for example. It can also be anywhere you want on your computer. I chose Desktop cause it's a common place.

4. put the extracted gfxutil file into that folder

5. open Terminal and follow the commands below

 

The command below assumes that you also called your working folder "GFX" and it's also on your Desktop. If that's not the case, change the command below to match your case.

cd Desktop/GFX/

ioreg -lw0 -p IODeviceTree -n efi -r -x | grep device-properties | sed 's/.*<//;s/>.*//;' > "device-properties.hex" && ./gfxutil -s -n -i hex -o xml "device-properties.hex" "device-properties.xml"

You can see what it should look like in the screenshot below.

 

post-1303722-0-40214700-1518727694_thumb.png

 

Now, open up the GFX folder, and you should have the necessary files to go to the next step.

Share this post


Link to post
Share on other sites

Thank you so much

 

I added to the config.plist is right

 

 

<dict>

    <key>Graphics</key>
    <dict>
        <key>BootDisplay</key>
        <integer>1</integer>
        <key>EDID</key>
        <dict>
            <key>Inject</key>
            <true/>
        </dict>
        <key>Inject</key>
        <dict>
            <key>NVidia</key>
            <true/>
        </dict>
        <key>PatchVBios</key>
        <true/>
        <key>VideoPorts</key>
        <integer>3</integer>
    </dict>
</dict>
</plist>

 

Share this post


Link to post
Share on other sites

Thank you so much

 

I added to the config.plist is right

 

 

<dict>

    <key>Graphics</key>

    <dict>

        <key>BootDisplay</key>

        <integer>1</integer>

        <key>EDID</key>

        <dict>

            <key>Inject</key>

            <true/>

        </dict>

        <key>Inject</key>

        <dict>

            <key>NVidia</key>

            <true/>

        </dict>

        <key>PatchVBios</key>

        <true/>

        <key>VideoPorts</key>

        <integer>3</integer>

    </dict>

</dict>

</plist>

 

 

Well, where did you add the hex output (step 4)? I think you might have skipped a few steps in the process.

 

You need to edit the device-properties xml file, update the hex based on those changes, read the hex, inject the output into the config. I think you might have missed a few steps along the line.

Share this post


Link to post
Share on other sites
Well, where did you add the hex output (step 4)? I think you might have skipped a few steps in the process.

 

in the config.plist

 

You need to edit the device-properties xml file, update the hex based on those changes, read the hex, inject the output into the config. I think you might have missed a few steps along the line.

 

?

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 verdazil
      Notebook: Acer A315-53-34MP, High Sierra 10.13.6 && Mojave 10.14.6 installation
       
      Hardware
      CPU: Intel® Core™ i3-8130U, 3400 MHz
      Memory: Kingston, DDR4, 2x4Gb, 2400 MHz
      Video: Intel UHD620 (integrated)
      Display: CMN N156HGA-EAB [15.6" LCD] (embedded)
      External monitor: LG TV 42LF650V
      SSD: Leven JAJS300M240C, 240 Gb (replacement)
      Chipset: Intel Sunrise Point-LP
      Sound: Intel Kaby Lake HDMI + Realtek ALC255
      LAN: Realtek RTL8168/8111 PCI-E Gigabit Ethernet Adapter
      Wi-Fi + Bluetooth: Broadcom BCM94352Z (replacement)
      Touchpad: ELAN0504 
      Cardreader: Realtek PCIE RTS5289
      VGA WebCam
      Mac model: MacBookPro14,2
      MacOS versions tested: High Sierra 10.13.6 (17G8030) && Mojave 10.14.6 (18G95) && Catalina 10.15 (19A558d)
       
      Here is what I used to install and configure the system:
      - Video settings: https://www.insanelymac.com/forum/topic/334899-intel-framebuffer-patching-using-whatevergreen/
      - Wi-Fi settings: https://github.com/acidanthera/AirportBrcmFixup
      - Bluetooth settings: https://github.com/RehabMan/OS-X-BrcmPatchRAM/blob/master/README.md
      - Touchpad settings: https://voodooi2c.github.io
      - Cardreader settings: https://www.insanelymac.com/forum/topic/321080-sineteks-driver-for-realtek-rtsx-sdhc-card-readers/
      - Clover, version v2.5k r5033: https://github.com/Dids/clover-builder/releases/tag/v2.5k_r5033
      - The results of the work of many developers in this and other forums.
       
      What works?
      - Video: Full HD x 60Hz accelerated video on embedded and external (HDMI) monitors
      - Sound: embedded and external (audio jack + HDMI audio)
      - Microphone
      - Touchpad (gestures)
      - Cardreader
      - Wi-Fi
      - USB2 && USB3 ports
      - LAN
      - Bluetooth
      - VGA WebCam
      - Sleep mode
      - Display brightness and volume control using function keys
      - Battery Indication
      - Automatically dimming the screen when the laptop is running on battery power
      - Sound notification when external power is connected
       
      What does not work?
      -
       
      How to use
      1. Update BIOS to version 2.02. Secure boot must be disabled, Touchpad settings - Advanced
      2. To make a bootable flash drive, you can use my EFI directory (link at the end of the message) Tested for High Sierra 10.13.6 (17G8030) && Mojave 10.14.6 (18G95) && Catalina 10.15 (19A558d) installation.
      Note: you must insert your own SeralNumber && MLB && ROM in the config.plist file.
      3. After installation, just copy EFI directory from flash drive to the system drive.
      4. Install kexts BrcmFirmwareRepo.kext && BrcmPatchRAM2.kext to the /Library/Extensions and update system caches.
       
      Link: https://drive.google.com/open?id=11vTmPKjQUSEs2ddUzgwXG9A59EcDMrCs
    • By shinho73
      Can someone help me fix reboot issue? Actually it reboots, but sometimes the hackintosh just hangs with screen off. Here is the Extra folder containing org.chameleon.boot.plist. https://drive.google.com/drive/folders/1MX8-DpQk9kaRUfjPcToxf-ElWh-bN6EY?usp=sharing  and the spec of the PC. https://drive.google.com/drive/folders/1NlcUNK5DBzJFxeFeuyt92eRjQqwO5T32?usp=sharing Can someone look at it? I might be doing something wrong. Any help will be greatly appreciated. Thank you. 

    • By fusion71au
      This is a brief guide on how to create a vanilla El Capitan (also same process for Sierra) OS X Installer USB with an updated prelinked kernel containing FakeSMC.

      It is tailored for those users who want to understand the “nuts and bolts” of how to create an installer and also to help brush up on their terminal skills (rather than have one made for them with the numerous automated “tools” available or even Apple’s createinstallmedia) :
       
       
      Specifically, it is also a “Proof of Concept” which shows that installation is possible without even having to rely on boot loader kext injection.

      Prerequisites
      Existing Yosemite installation (or Mavericks - see post#4 for steps 7,8) “Install OS X El Capitan.app" downloaded to the Applications folder Pacifist FakeSMC.kext - Slice or Kozlek branch Bootloader - Clover or Chameleon 8GB or larger USB drive (16GB recommended), formatted HFS+ (MBR or GUID) named “Installer”  
      Procedure
      1.  Boot into Yosemite with the kext-dev-mode=1 boot flag
      2.  Open OS X terminal and type the following lines, followed by <Enter> after each line.
          The image restore and file copying may take a while to complete, and at the end of the process, the Installer volume is renamed to “OS X Base System"....
       
      sudo -s hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg asr restore -source /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg  -target /Volumes/Installer -erase -format HFS+ -noprompt -noverify rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages cp -av /Volumes/OS\ X\ Install\ ESD/Packages /Volumes/OS\ X\ Base\ System/System/Installation cp -av /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg /Volumes/OS\ X\ Install\ ESD/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System diskutil unmount /Volumes/OS\ X\ Install\ ESD exit 3.  Right click on the “OS X Base System” Volume and click “Get Info”
       

      4.  Click on the lock icon and untick “Ignore ownership on this volume”
       

      5.  Extract/Copy the El Capitan Kernels folder into /System/Library/ of the USB with Pacifist.  NB It is found in the "Essentials.pkg" in /System/Installation/Packages
       

      6.  Delete or Rename the original /System/Library/PrelinkedKernels/prelinkedkernel —> OG.prelinkedkernel
       

      7.  Copy FakeSMC.kext and other necessary kexts (e.g. VoodooPS2Controller.kext for laptops) into the /Library/Extensions folder of the installer USB using Finder.
       

      8.  Back in terminal, type the following lines, followed by <Enter> after each line to rebuild the prelinkedkernel…..
       
      sudo -s chmod -R 755 /Volumes/OS\ X\ Base\ System/Library/Extensions chown -R 0:0 /Volumes/OS\ X\ Base\ System/Library/Extensions touch /Volumes/OS\ X\ Base\ System/System/Library/Extensions kextcache -u /Volumes/OS\ X\ Base\ System exit Any errors should be noted but the output below is normal e.g.


      9. Install your Bootloader targeting the OS X Base System volume
       
       
       
       
      10.  Boot your system with the USB without injected kexts into the OS X Installer GUI....
       
       
       
       
       
      Post Install
      The original prelinked kernel in a fresh install of El Capitan will also lack FakeSMC ie it will only be linked to Apple signed kexts.  In order to boot into El Capitan the first time around without boot loader kext injection, the PLK needs to be rebuilt for the El Capitan volume like we did for the installer:
       
      1.  Boot into Yosemite with the kext-dev-mode=1 boot flag
      2.  Delete or Rename the original /System/Library/PrelinkedKernels/prelinkedkernel for the El Capitan volume —> OG.prelinkedkernel
      3.  Copy FakeSMC.kext and other necessary kexts (e.g. VoodooPS2Controller.kext for laptops) into the /Library/Extensions folder of El Capitan using Finder
      4.  Back in terminal, type the following lines, followed by <Enter> after each line to rebuild the prelinkedkernel.  In this example, the El Capitan volume is named "El_Capitan" - change if you have named it something else...
      sudo -s chmod -R 755 /Volumes/El_Capitan/Library/Extensions chown -R 0:0 /Volumes/El_Capitan/Library/Extensions touch /Volumes/El_Capitan/System/Library/Extensions kextcache -u /Volumes/El_Capitan exit 5. Install your Bootloader targeting the El Capitan volume.  This step is only necessary if you are installing El Capitan on a new drive without existing boot loader (not required if installing on a disk with existing boot loader beside Yosemite).
      6. Reboot your system without injected kexts into El Capitan!
       
       
      Other links
      The All-In-One Guide to Vanilla OS X for beginners
       
      Updates for Sierra and High Sierra   Custom Prelinkedkernel Generator Tool I have made a custom prelinkedkernel generator "PLK.tool" for Sierra + El Capitan.  Instructions:   1.  Download and extract the attached BaseSystem_PLK.tool.zip into your ~/Downloads folder.   2.  Copy any extra kexts necessary for booting your hack to ~/Downloads/BaseSystem/ExtraKexts (e.g. FakeSMC, VoodooPS2Controller), making sure SIP is disabled. 3.  Copy BaseSystem.dmg to ~/Downloads/BaseSystem  4.  Open terminal and run the following commands... cd ~/Downloads/BaseSystem chmod +x PLK.tool ./PLK.tool ---> supply your admin password ---> will place your new custom prelinkedkernel on the desktop.       macOS High Sierra bypass Firmware and MBR checks in post#13.
      BaseSystem_PLK.tool_ElCap.zip
      BaseSystem_PLK.tool_Sierra.zip
      BaseSystem_PLK.tool_Mojave.zip (need to run in Mojave to avoid dependency errors)
      BaseSystem_PLK.tool_Catalina.zip
×