Jump to content
blackosx

Create font files for Bootloader GUI's

126 posts in this topic

Recommended Posts

Hi Slice

 

I didn't make any changes to the script as I still think there's a problem with your ImageMagick.

Plus, the script doesn't do much error checking.

 

What does the following command give you?

convert -debug annotate  xc: -font PATH/TO/FONT -pointsize 24 -annotate 0 "A" null

This is what I see here:

$ convert -debug annotate  xc: -font /Users/nick/Library/Fonts/Futura\ ADOBE/Futur -pointsize 24 -annotate 0 "A" null
2015-06-03T09:34:04+01:00 0:00.000 0.000u 6.9.0 Annotate convert[17024]: annotate.c/RenderFreetype/1253/Annotate
  Font /Users/nick/Library/Fonts/Futura ADOBE/Futur; font-encoding none; text-encoding none; pointsize 24
2015-06-03T09:34:04+01:00 0:00.000 0.000u 6.9.0 Annotate convert[17024]: annotate.c/GetTypeMetrics/824/Annotate
  Metrics: text: A; width: 19.1875; height: 31; ascent: 25; descent: -7; max advance: 27; bounds: -0.1875,0  17.0938,19.7344; origin: 17,0; pixels per em: 24,24; underline position: -2.34375; underline thickness: 1.17188
2015-06-03T09:34:04+01:00 0:00.000 0.000u 6.9.0 Annotate convert[17024]: annotate.c/RenderFreetype/1253/Annotate
  Font /Users/nick/Library/Fonts/Futura ADOBE/Futur; font-encoding none; text-encoding none; pointsize 24
convert: no encode delegate for this image format `XC' @ error/constitute.c/WriteImage/1164.

Share this post


Link to post
Share on other sites
Advertisement

I created new ImageMagick compiling from sources

./configure --prefix=/opt/local --with-quantum-depth=16 \
	--with-apple-font-dir=/System/Library/Fonts \
	--without-magick-plus-plus \
	--with-windows-font-dir=/WinFonts --with-rsvg --with-png --with-jpeg --with-openjp2 --with-openexr --with-tiff --with-wmf\
	--enable-zero-configuration --disable-assert --without-threads \
      --disable-dependency-tracking --with-x=yes \
      --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib/ \
      --without-perl CC=clang CFLAGS="-Wno-attributes"

and now I have some success: I created an image without chars.

And your test

Sergeys-iMac:createFont_v0.78 slice$ convert -debug annotate  xc: -font ./arial.ttf -pointsize 24 -annotate 0 "A" null
2015-06-03T14:24:50+03:00 0:00.000 0.000u 6.9.1 Annotate convert[87602]: annotate.c/RenderFreetype/1253/Annotate
  Font ./arial.ttf; font-encoding none; text-encoding none; pointsize 24
2015-06-03T14:24:50+03:00 0:00.000 0.000u 6.9.1 Annotate convert[87602]: annotate.c/GetTypeMetrics/824/Annotate
  Metrics: text: A; width: 18.0312; height: 28; ascent: 22; descent: -5; max advance: 48; bounds: -0.03125,0  16.0469,18; origin: 16,0; pixels per em: 24,24; underline position: -4.5625; underline thickness: 2.34375
2015-06-03T14:24:50+03:00 0:00.000 0.000u 6.9.1 Annotate convert[87602]: annotate.c/RenderFreetype/1253/Annotate
  Font ./arial.ttf; font-encoding none; text-encoding none; pointsize 24
convert: no encode delegate for this image format `XC' @ error/constitute.c/WriteImage/1167.
Sergeys-iMac:createFont_v0.78 slice$ 

and with file name

Sergeys-iMac:createFont_v0.78 slice$ convert -debug annotate  xc: -font ./arial.ttf -pointsize 24 -annotate 0 "A" probe.png
2015-06-03T14:27:20+03:00 0:00.000 0.000u 6.9.1 Annotate convert[87621]: annotate.c/RenderFreetype/1253/Annotate
  Font ./arial.ttf; font-encoding none; text-encoding none; pointsize 24
2015-06-03T14:27:20+03:00 0:00.000 0.000u 6.9.1 Annotate convert[87621]: annotate.c/GetTypeMetrics/824/Annotate
  Metrics: text: A; width: 18.0312; height: 28; ascent: 22; descent: -5; max advance: 48; bounds: -0.03125,0  16.0469,18; origin: 16,0; pixels per em: 24,24; underline position: -4.5625; underline thickness: 2.34375
2015-06-03T14:27:20+03:00 0:00.000 0.000u 6.9.1 Annotate convert[87621]: annotate.c/RenderFreetype/1253/Annotate
  Font ./arial.ttf; font-encoding none; text-encoding none; pointsize 24
Sergeys-iMac:createFont_v0.78 slice$ 

output is empty png file.


Wow! I have success!

Sergeys-iMac:createFont_v0.78 slice$ convert -size 320x100 xc:black -font Arial -pointsize 70 \
>           -fill white   -annotate +5+70 'Anthony' \
>           -gamma 2  +level 0,1000 -white-threshold 999 \
>           -morphology Distance Chebyshev:1,1000 -auto-level \
>           -shade 135x30 -auto-level +level 10,90% font_chebyshev.png
Sergeys-iMac:createFont_v0.78 slice$ 

font_chebyshev.png


Checking script 0.79


Sergeys-iMac:createFont_v0.79 slice$ ./createFont.sh -t2 -s14 -f./arial.ttf -b 150,100,4 -o
./createFont.sh: line 40: printf: 13.0625: invalid number
./createFont.sh: line 40: printf: 14.8281: invalid number
Canvas=0x256 | Char cell=0x16
Building ImageMagick code sequence
./createFont.sh: line 40: printf: 4.5: invalid number
./createFont.sh: line 40: printf: 2.67188: invalid number
 

...
./createFont.sh: line 40: printf: 7.09375: invalid number ./createFont.sh: line 40: printf: 6.625: invalid number ./createFont.sh: line 40: printf: 7.67188: invalid number ./createFont.sh: line 40: printf: 9.9375: invalid number ./createFont.sh: line 40: printf: 10.0625: invalid number ./createFont.sh: line 40: printf: 6.64062: invalid number ./createFont.sh: line 40: printf: 7.78125: invalid number Running ImageMagick to create image Optimising /Users/slice/Downloads/createFont_v0.79/type2_arial_14pt_Cell_0x16.png Opening /Users/slice/Downloads/createFont_v0.79/type2_arial_14pt_Cell_0x16.png Sergeys-iMac:createFont_v0.79 slice$

Screen Shot 2015-06-03 at 14.37.01.png

Share this post


Link to post
Share on other sites

Hi Slice

 

Good progress :D

 

Just need to figure out why the script has problems with rounding the numbers on your system.

Here I see

$ printf %0.f 13.0625
13

what version of bash are you using?

$ bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin14)
Copyright (C) 2007 Free Software Foundation, Inc.

Please try:

$ LC_NUMERIC="en_US.UTF-8" printf %0.f 13.0625

Share this post


Link to post
Share on other sites
Sergeys-iMac:createFont_v0.79 slice$ bash --version
GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11)
Copyright (C) 2007 Free Software Foundation, Inc.
Sergeys-iMac:createFont_v0.79 slice$ 
Sergeys-iMac:createFont_v0.79 slice$ LC_NUMERIC="en_US.UTF-8" printf %0.f 13.0625
-bash: printf: 13.0625: invalid number
0Sergeys-iMac:createFont_v0.79 slice$ 

:(

My bash doesn't know floating numbers... Is there any other way to round values?

Share this post


Link to post
Share on other sites

It must do...How about this?

LC_ALL=C printf %0.f 13.0625

or this:

 

LC_ALL=C /usr/bin/printf "%0.f" 13.0625

 

or this:

echo "13.0625" | awk '{printf("%d\n",$1)}'

Share this post


Link to post
Share on other sites

 

It must do...How about this?

LC_ALL=C printf %0.f 13.0625

or this:

LC_ALL=C /usr/bin/printf "%0.f" 13.0625

or this:

echo "13.0625" | awk '{printf("%d\n",$1)}'
Sergeys-iMac:createFont_v0.79 slice$ LC_ALL=C printf %0.f 13.0625
-bash: printf: 13.0625: invalid number
0Sergeys-iMac:createFont_v0.79 slice$ LC_ALL=C /usr/bin/printf "%0.f" 13.0625
13Sergeys-iMac:createFont_v0.79 slice$ echo "13.0625" | awk '{printf("%d\n",$1)}'
13
Sergeys-iMac:createFont_v0.79 slice$ echo "13.79" | awk '{printf("%d\n",$1)}'
13
Sergeys-iMac:createFont_v0.79 slice$ 

Share this post


Link to post
Share on other sites

Great.

Please try this version of the script.

 

attachicon.gifcreateFont_v0.80.zip

Almost great

Sergeys-iMac:createFont_v0.80 slice$ ./createFont.sh -t2 -s22 -fCambria -b 100,150,24 -c 254,254,254 -o
Canvas=352x416 | Char cell=22x26
Building ImageMagick code sequence
Running ImageMagick to create image
Optimising /Users/slice/Downloads/createFont_v0.80/type2_Cambria_22pt_Cell_22x26.png
Opening /Users/slice/Downloads/createFont_v0.80/type2_Cambria_22pt_Cell_22x26.png
Sergeys-iMac:createFont_v0.80 slice$ 

type2_Cambria_22pt_Cell_22x26.png  

Share this post


Link to post
Share on other sites

WTF?

Can you try without the colour options?

 

EDIT: It should work.

Your command with different font here:

./createFont.sh -t2 -s22 -fTrebuchet\ MS.ttf -b 100,150,24 -c 254,254,254 -o

post-331032-0-88404900-1433339513_thumb.png

Share this post


Link to post
Share on other sites

This test made me empty file

#!/bin/bash

convert -size 352x416 -background "RGBA(100,150,24,1)" -font Cambria -pointsize 24 -fill "RGBA(254,254,254,1)" -draw "text 8,19 'W'" \
label:"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                " "/Users/slice/Downloads/createFont_v0.80/type2_Cambria_22pt_test.png"

Share this post


Link to post
Share on other sites

hmm.

Here I get a W

convert -size 352x416 -background "RGBA(100,150,24,1)" -font showguide.TTF -pointsize 24 -fill "RGBA(254,254,254,1)" -draw "text 8,19 'W'" \
label:"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                " "test.png"

post-331032-0-75941700-1433339709_thumb.png

Try a different font?

Share this post


Link to post
Share on other sites

I have a success when I disabled rm "$imageMagickCommandFile"

 

and then manually edit the file: remove -fill "...."

type2_Cambria_18pt_Cell_18x21.png


background also wrong

Share this post


Link to post
Share on other sites

Okay. So there's an issue with interpreting "RGBA(n,n,n,n)"

I wonder why it works here and not with you?

different ImageMagick.

 

I can say additionally that png obtained from "convert" is not understandable by Clover. We MUST optimize it by pngquant  :yes:

Then the result

Screen Shot 2015-06-03 at 17.31.48.png

 

Using this script I have to say that Clover interprets first pixel as transparent so doesn't matter what is background color.

Seems "grey" will be enough.

But fill color should be tunable...

Share this post


Link to post
Share on other sites

Thanks for your time and testing Slice.

Good to see you have managed to create a file and get it working in Clover.

 

I'll change the script so the optimise option is enabled by default.

But I'm not sure what's required for your version of ImageMagick to correctly draw text fill colour with user chosen RGB values. I know it works fine here.

 

I'll do some research :)

Share this post


Link to post
Share on other sites

Updated to v0.81

- Optimisation using pngquant is now enabled by default.

- Fix assigning colour to text and background by using RGB and not RGBA by default.  Use -a option to set text transparency (if your ImageMagick install can do it).

Share this post


Link to post
Share on other sites

For me instead of

        f) # FONT -  Check the arguments
            if [ ! -f "$OPTARG" ]; then
                echo "Font $1 not found"
                echo "exiting"
                exit 1
            else
                gFontToUse=$OPTARG
            fi
            ;;

write

        f) # FONT -  Check the arguments
                gFontToUse=$OPTARG
            ;;

because there is name of font, not a file. The font will be found in system.

 

Color format can be

-fill blue
-fill "#ddddff"
-fill "rgb(255,255,255)"

http://www.imagemagick.org/script/command-line-options.php?#fill

I see no RGBA ?


Binary download from imagemagick.org doesn't know png, jpeg, etc... so users can't use it.

Share this post


Link to post
Share on other sites

Hi Slice

 

because there is name of font, not a file. The font will be found in system.

 

I prefer to point the script to a font file as I don't wish to install a font to my system every time I create a PNG file.

 

 

I see no RGBA ?

 

The first sentence from that link you posted reads:

This option accepts a color name, a hex color, or a numerical RGB, RGBA, HSL, HSLA, CMYK, or CMYKA specification. See Color Names for a description of how to properly specify the color argument.

 

 

Binary download from imagemagick.org doesn't know png, jpeg, etc... so users can't use it.

My opening post states to use Homebrew.

I've found this to be the best way to install ImageMagick and it installs all necessary delegates required for this script.

 

I've just installed on a 10.7 system and it works first time. Same for 10.6.8  ;)

$ brew install imagemagick
==> Installing dependencies for imagemagick: xz, libtool, pkg-config, jpeg, libpng, libtiff, freetype
....

Share this post


Link to post
Share on other sites

I already have macport with a plenty of libraries and I can't mix it with Homebrew.

Let other users decide how they get ImageMagick but I see no way to get binary package. I'll try to make it including vital dylibs.

 

 

 

I prefer to point the script to a font file as I don't wish to install a font to my system every time I create a PNG file.

It doesn't exclude both way.

Share this post


Link to post
Share on other sites

Hi blackosx,
let compare our ImageMagick

Sergeys-iMac:~ slice$ convert -version
Version: ImageMagick 6.9.1-4 Q16 x86_64 2015-06-03 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features:  Cipher
Delegates (built-in): bzlib cairo fontconfig freetype jp2 lzma openexr pangocairo png rsvg x xml zlib

Sergeys-iMac:~ slice$ 

I think this is full archive.

To use follow instructions here

http://www.imagemagick.org/script/binary-releases.php

ImageMagick-6.9.1.tar.lzma.zip

Share this post


Link to post
Share on other sites

I already have macport with a plenty of libraries and I can't mix it with Homebrew.

Let other users decide how they get ImageMagick but I see no way to get binary package. I'll try to make it including vital dylibs.

 

Okay. Fair point.
 

It doesn't exclude both way.

I look at updating the script to look for both font file and in system if file not exist.

Share this post


Link to post
Share on other sites

Hi blackosx,

let compare our ImageMagick

Sergeys-iMac:~ slice$ convert -version
Version: ImageMagick 6.9.1-4 Q16 x86_64 2015-06-03 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features:  Cipher
Delegates (built-in): bzlib cairo fontconfig freetype jp2 lzma openexr pangocairo png rsvg x xml zlib

Sergeys-iMac:~ slice$ 

I think this is full archive.

To use follow instructions here

http://www.imagemagick.org/script/binary-releases.php

attachicon.gifImageMagick-6.9.1.tar.lzma.zip

 

Your package looks good.

The only difference I see initially, just by looking at the directory structure is in both my installs (10.10 and 10.6) I have a modules-Q16 directory under /lib/ImageMagick-6

post-331032-0-41802700-1433411989_thumb.png

 

From my 10.10 - ImageMagick v6.9.0-3

$ convert -version
Version: ImageMagick 6.9.0-3 Q16 x86_64 2015-01-09 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
Features: DPC Modules
Delegates (built-in): bzlib freetype jng jpeg ltdl lzma png xml zlib
 

I'll run more tests during the day when I get time.

Some good results. To use rescale it and recolor.

Great :D

I found disabling anti aliasing useful when using thin fonts or they won't be readable when used in Clover.

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.

Announcements

  • Similar Content

    • By cvad
      View File Bootdisk Utility
      Make bootable USB Flash Disk for MAC OS X with Latest Clover bootloader revision fast and easy by one click! under OS Windows.
      Special utility from cvad & russian MAC community for new hackintosh users.
       
      Enjoy...
       
      For more information and complete instructions please see this topic.
       
      Anyone who likes the program, please support its Community Score.
       
       
      Feel free to "Rate File"
      Submitter cvad Submitted 04/28/2013 Category Bootloaders  
    • By STLVNUB
      Script file to clone and help build Clover or Opencore repos
      Script will create link to itself in /usr/local/bin/bob
      Script SHOULD fix up any stray bobs you may have.
      Then you only need to type bob. and a parameter
      "a" for ACID repo, official
      "d" for ACID repo DUET build
      "c" for CLOVER
      "e" to erase UDK Folder
      Easier typing bob than.....usual stuff
      YOU WILL NEED TO cmod+x THE SCRIPT
      Enjoy
       
    • By blackosx
      Vector themes for Clover are new and currently still under development. Setting out to re-create my BGM theme to vector I realised there was some learning needed in order to create a theme.svg file for Clover to use. As SVG files are text based, I quickly realised that they could be manipulated from the command line and looking at the Clovy theme I decided to break it down in to parts for creating other themes.
       
      As a result, I've been working on Clover SVG Theme Builder
      https://bitbucket.org/blackosx/cloversvgthemebuilder
       
      Current Version:
      0.4.5
       
      Overview
      The idea is to allow a theme designer to work on individual images and not worry about the required overall file structure which Clover expects. The designer can populate a Theme directory with a settings file and individual .svg files and let the script generate a final theme.svg file for using with Clover.
       
      I've created a basic sample theme to help demonstrate the script.
      https://bitbucket.org/blackosx/cloversvgthemebuilder/downloads/Theme.zip
       
      The Theme directory contains Adobe Illustrator and SVG files for each image in the required folder structure for the script.
       
      Using this sample theme, the script will generate this theme from the files.
       

       
      The idea is these can be used to build new themes and I'm currently using it to build my BGM_SVG theme.
       
      I can imagine far more complicated themes will be generated in the future, but for now I hope this may serve to help kickstart basic vector theme development.
       
      Notes:
      • Clover's SVG theme development is still underway and things are likely to change so this script and it's supporting template file will need to change with Clover.
      • I've only tested this using SVG files saved from Adobe Illustrator using the following settings, for files from other apps may need added support.



      • For the script to correctly inject SVG code in to the template, each SVG image must contain a group of elements.
      • Font files are currently not included in the final theme file but this can be an option.
      • In time, maybe other templates can be added which have different layouts??
       
      These are early days, so I'll update this post when necessary.
    • By zazman
      Bonjour,
       
      Depuis Catalina, l'extention Applebacklightfixup ne fonctionne plus. J'ai trouvé une solution en le supprimant de EFI/CLOVER/KEXT/OTHER/ et en gardant SSDT-PNFL.aml dans EFI/CLOVER/ACPI/Patched.
       
      j'ai pourtant plusieurs soucis :
      - le réglage de luminosité de l'écran ne reste pas toujours en mémoire d'une session à l'autre après un shutdown ou un restart (c'est aléatoire)
      - Le curseur de luminosité du panneau de conf affichage, lorsqu'il est positionné complètement à gauche met la luminosité de mon écran à zéro, donc tout noir... et c'est embêtant si je relache ma souris dans cette position !
      - Dans le paramétrage "clavier" du panneau de conf, onglet raccourcis, je n'ai pas d'item "affichage" pour afffecter le réglage de luminosité à F11 et F12 (ou à F2 et F3 sur mon toshiba satellite).
       
      J'ai essayé de mettre une valeur dans config.plist dans system parameters/backlight level. j'ai saisi 100, il m'a affiché 0x100, mais au redémarrage, mon écran restait noir. J'ai donc effacé cette valeur. Comment fonctionne ce paramétre et quelle valeur faut-il y indiquer ? Existe-il une solution plus propre sur Catalina 10.15.5 pour résoudre ces problèmes (j'utilise le CPU intel de mon toshiba satellite L50B - 1N2, pas le GPU radeon).
       

    • By miliuco
      Install macOS 10.15 Catalina on Gigabyte P55-USB3 with Radeon RX 580 graphics card using a USB device created with the createinstallmedia command and Clover as bootloader. Instructions to install macOS 10.14 Mojave on this computer are almost identical, replacing Catalina app with Mojave, so this article is suitable for both versions of macOS. The Gigabyte P55-USB3 motherboard (and some others from the same brand with the P55 / H55 chipset) have made it easy to build a hackintosh and install macOS since 10 years ago. Although it is an old motherboard, the behavior with Mojave or Catalina is very good after changing the classic hard drive (HDD) for a solid state drive (SSD).

      Components of the hackintosh
      Gigabyte GA-P55-USB3 motherboard: P55 chipset, 1156 socket, ALC892 audio, Gigabit RTL8111D network, DDR3 RAM Intel Core i5-750 processor for socket 1156: 4 cores, 8MB cache, clock rate 2.66 GHz Fenvi FV-T919 wireless + Bluetooth card: PCI-Express, wifi is ac type, detected by macOS as Airport and Apple Bluetooth Radeon RX 580 8 GB graphics card: works OOB but with a few details to be considered, it has its own article.  
      Previous requirements
      Install macOS Catalina app in /Applications folder USB flash drive with at least 16GB prepared from Disk Utility with MBR partition scheme and formatted as Mac Os Plus (on older Gigabyte boards like mine, USB sticks partitioned with GUID scheme instead of MBR usually hang the system when booting) Recent version of Clover (I have used r5117) Recent versions of Lilu (at least 1.4.4) and WhateverGreen (at least 1.3.9) to fine-tune the behavior of the graphics card Recent version of RealtekRTL8111 (I have used 2.2.2) FaceSMC version 6.26-322 (newer versions disable automatic mounting of USB devices on my system).  
      Create install USB
      Run this command from Terminal (assuming the target device is called USB):
      Bash: sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/USB /Applications/Install\ macOS\ Catalina.app
      Clover must be installed on the USB memory, I choose the following options:
      Bootloader > Install boot0af on the MBR CloverEFi > CloverEFI 64-bit SATA BIOS Drivers, 64 bit > Recommended drivers > FSInject + SMCHelper + XhciDxe BIOS Drivers, 64 bit > File System drivers > ApfsDriverLoader Install RC scripts on selected volume Optional RC scripts > Disable sleep proxy client.  
      You have to copy 4 kexts to the EFI/CLOVER/kexts/Other folder of the USB device: FaceSMC 6.26-322, Lilu 1.4.4, WhateverGreen 1.3.9 and RealtekRTL8111 2.2.2. Regarding the config.plist file, the most significant is:
      Boot > kext-dev-mode = 1 in Boot arguments GUI > Theme embedded, EmbeddedThemeType Dark, Screen Resolution 1920x1080, Preboot in Hide Volume Graphics > blank, nothing is checked except if foxbox solution is used to have more than 2 connectors enabled RT Variables > 0x28 in BooterConfig and 0x67 in CsrActiveConfig SMBios > iMac14,2 Sytem Parameters> Yes in Inject Kexts and check Inject System ID.  
      Install macOS Catalina

      Boot from the USB device and choose Install macOS from Install macOS Catalina. The installation program runs until the PC restarts. Here choose Install macOS from HDD (the name of the volume you are installing macOS on). With RX 580 graphics card, the screen goes black in this second phase of the installation, it is a phase in which the user has nothing to do until the PC is restarted so you can let it work until the Clover menu again. You have to choose Boot macOS from HDDto boot the installed system from the hard disk, the screen is recovered and you can configure the account and the initial options. From this moment the screen works fine.

      In summary:
      Boot from USB > Clover menu > Install macOS from Install macOS Catalina > screen works fine Boot from USB > Clover menu > Install macOS from HDD > black screen Boot from USB > Clover menu > Boot macOS from HDD > screen works fine.  
      Install Clover and kexts on the hard drive

      Clover needs to be installed on the disk where we just installed macOS. Options are the same as when installing it on the USB memory. You also have to copy the 4 kexts (FaceSMC 6.26-322, Lilu 1.4.4, WhateverGreen 1.3.9 and RealtekRTL8111 2.2.2) into the EFI/CLOVER/kexts/Other folder on the EFI partition of the disk. And review the config.plist file remembering the comments for the USB.

      If everything goes well, the computer starts from the hard disk with a running copy of macOS Catalina.
       
       

×