Jump to content
769 posts in this topic

Recommended Posts

That happens to me when I try to boot Mavericks after rebooting/shutting down Yosemite. Afterwards its completely fine once I am in Mavericks.

 

I'm pretty sure the bootloader is just getting confused when loading boot.efi

Yeah. Really. It's just a black screen. Not even a spinning wheel. Nothing, from boot to login screen.

I think that happens if you set on board graphics as the first boot device in the bios while using a GFX card... I've seen this on a few ASRock boards.

I think that happens if you set on board graphics as the first boot device in the bios while using a GFX card... I've seen this on a few ASRock boards.

Graphics card as the first boot device...? Can you boot from a graphics card? Anyway...the on-board GPU is disabled in BIOS. So I'm not sure it's the same issue. :)

Guys, updating from dp2 to dp3 changed something from the picture you see below


Now on dp3 the progress bar and animation are working even without booting in verbose, but always in a little square, but black this time, matching the color of the first part of the boot sequence. :)


 


Still no trace of the first apple logo. :(


"boot process" is still as showed.


post-221766-0-78634400-1404391351.jpg


hello

 

we can ask Slice to draw a logo in Clover or maybe blackosx .. is good designer

 

only option to choose background color ( now i see the damn thing .. personally don't like how apple done it )

 

ahahahha

 

good hack

  • Like 4

just draw apple boot logo before start boot.efi - boot.efi don’t clear it

i made it in my loader and it works

sorry, I'm not following... Can you explain what you did a little bit more?

just draw apple boot logo  before start boot.efi - boot.efi don’t clear it

i made it in my loader and it works

Only say how did you get the logo on boot, and don't explain with details to others how to achieve that doesn't get us anywhere. Please let us know the entire procedure.

 

Only say how did you get the logo on boot, and don't explain with details to others how to achieve that doesn't get us anywhere. Please let us know the entire procedure.

 

I implemented it in my loader - Clover’s fork (bareBoot). Depending on the setting in the config.plist before loading boot.efi I'm filling screen gray or black (if specified in the configuration to use the black theme) and draw to center of the screen appleLogo from boot.efi gray or white (black theme). boot.efi do not touch it and draws a progress bar on top. all the details in source:
sorry for my english
P.S.: i understand that this is not full and right solution. but at the same time it is not a serious problem in the hackintosh ;)
  • Like 3

Those who don't like the thread are free to leave.


 


This is a public forum so be polite!


 


P.s.


If someone wanna spend time trying to get the proper apple logo and animation is free to do that,


it's surely a better way to use your free time than reading and posting comments on a topic you found unuseful.


 


P.p.s


 


if you really found something you'd like to report to an admin, just press "report" in the lower left angle of each post.


 


i hope this is the end of every OFF.topic posts


 


Cheers and Goodhack!!


  • Like 1

I implemented it in my loader - Clover’s fork (bareBoot). Depending on the setting in the config.plist before loading boot.efi I'm filling screen gray or black (if specified in the configuration to use the black theme) and draw to center of the screen appleLogo from boot.efi gray or white (black theme). boot.efi do not touch it and draws a progress bar on top. all the details in source:

https://github.com/SunnyKi/bareBoot

sorry for my english

P.S.: i understand that this is not full and right solution. but at the same time it is not a serious problem in the hackintosh ;)

The point to all this is for Clover UEFI not some stripped down bootloader u made. Can you please explain how you modified the bootloader so we can do the same to the actual Clover source, we need UEFI not a legecy bootloader.

The point to all this is for Clover UEFI not some stripped down bootloader u made. Can you please explain how you modified the bootloader so we can do the same to the actual Clover source, we need UEFI not a legecy bootloader.

no problem:

....
  if ((OSVersion != NULL) && (AsciiStrnCmp (OSVersion, "10.10", 5) == 0)) {
    if (gSettings.YoBlack) {
      ClearScreen (0x030000, PcdGetPtr (PcdAppleWhiteLogoFile));
    } else {
      ClearScreen (0xBFBFBF, PcdGetPtr (PcdAppleGrayLogoFile));
    }
  }
 
....
 
VOID
ClearScreen (
  UINT32 HexColor,
  EFI_GUID *NameGuid
)
{
  EFI_STATUS Status;
  EFI_GRAPHICS_OUTPUT_PROTOCOL  *GraphicsOutput;
  EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Pixel;
  EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Blt;
  UINT8                         *ImageData;
  UINTN                         ImageSize;
  UINTN                         BltSize;
  UINTN                         Height;
  UINTN                         Width;
  INTN                          DestX;
  INTN                          DestY;
  
 
  Status = EFI_SUCCESS;
  GraphicsOutput = NULL;
  Pixel = NULL;
  Blt = NULL;
  ImageData = NULL;
  ImageSize = 0;
 
  Status =
    gBS->HandleProtocol (gST->ConsoleOutHandle, &gEfiGraphicsOutputProtocolGuid,
                         (VOID **) &GraphicsOutput);
  if (EFI_ERROR (Status)) {
    return;
  }
 
  CopyMem ((UINT8 *) Pixel, (UINT8 *) &HexColor,
           sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL));
 
  GraphicsOutput->Blt (GraphicsOutput, Pixel, EfiBltVideoFill, 0, 0, 0, 0,
                       GraphicsOutput->Mode->Info->HorizontalResolution,
                       GraphicsOutput->Mode->Info->VerticalResolution, 0);
 
  if (NameGuid != NULL) {
    Status = GetSectionFromAnyFv (
               NameGuid,
               EFI_SECTION_RAW,
               0,
               (VOID **) &ImageData,
               &ImageSize
               );
    
    if (EFI_ERROR (Status)) {
      DBG ("%a: GetSectionFromAnyFv  fail with status: %r", __FUNCTION__, Status);
      goto Down;
    }
    
    Status =
    ConvertPngToGopBlt (ImageData, ImageSize, (VOID **) &Blt, &BltSize, &Height,
                        &Width);
    
    if (EFI_ERROR (Status)) {
      DBG ("%a: ConvertPngToGopBlt  fail with status: %r", __FUNCTION__, Status);
      goto Down;
    }
 
    DestX = (GraphicsOutput->Mode->Info->HorizontalResolution - Width) / 2;
    DestY = (GraphicsOutput->Mode->Info->VerticalResolution - Height) / 2;
 
    if ((DestX >= 0) && (DestY >= 0)) {
      Status =
      BltWithAlpha (GraphicsOutput, Blt, EfiBltBufferToVideo, 0, 0,
                    (UINTN) DestX, (UINTN) DestY, Width, Height,
                    Width * sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL), TRUE);
      if (EFI_ERROR (Status)) {
        DBG ("%a: BltWithAlpha  fail with status: %r", __FUNCTION__, Status);
      }
    }
 
  Down:
    if (Pixel != NULL) {
      FreePool (Pixel);
    }
    if (ImageData != NULL) {
      FreePool (ImageData);
    }
    if (Blt != NULL) {
      FreePool (Blt);
    }
  }
}
 
 

@Sunki

If it's not a problem, could you post your files? as the cloverx64. bootEFI, config file.

https://dl.dropboxusercontent.com/u/25668169/bb_v1.01.16.zip

but readme obsolete, added new keys and possibilities

they can be seen in source

main discussion on appellate.ru ;)

×
×
  • Create New...