Jump to content
30960 posts in this topic

Recommended Posts

Just now, arsradu said:

 

Well, yeah, I made a "clean install", so that one was checked by default. And...now I'm curious if anyone else booting in Legacy mode had/has this issue with this particular driver.

We can just remove it from BIOS drivers?

4 minutes ago, vector sigma said:

We can just remove it from BIOS drivers?

If no one is using it...in my opinion, yes. I mean, if it's causing more problems than it solves, and especially since this seems to be a new addition, either not make it checked by default, ooor...yeah, remove it.

 

It's only my opinion though. So...if anyone else has a better idea, we can discuss it. But I've spent a looot of time debugging this issue. When it wasn't even caused by either of the two boot files. Turns out I can boot just fine with either SATA or BiosBlockIO. But I can't boot with that driver.

Edited by arsradu
31 minutes ago, vector sigma said:

Ok that make sense. The option is enabled/selectable only if the target volume contains /bin/launchctl. That was a way to say "this is an OS", but now is on the wrong side. Need a revise, please guys help to find a way compatible with old OSes and we can make appear CTM, the prefpanel .. (rc scrips?) only if some conditions are met, i.e. only on the right partition!


I thought we can't check/tick Preference pane because Catalina Disk - Data don't have "System/Library/PreferencePanes" directory.

Anyway, i have solved my problem about empty app in /Applications.
image.thumb.png.26820ca7788f053a5e0ea31788000115.png
ReRun Install macOS Catalina.app is the only solution :D

 

Edited by Andres ZeroCross
  • Like 1

Guys, want a tool to build Clover wihin Clover itself?? Ok update and:

cd Clover
./buildme

 

What it does?

Anything special other then call make if you already have every things in place (nasm and gettext), otherwise installs them in ../src/opt/local/bin/

 

WARNING: by updating edk2, the old repo will be replaced with the content of the zipped release found at tianocore/edk2/release. Now is set to use vUDK2018, but is ready to use the new one, i.e. edk2-stable201905 that actually require new Patches_for_EDK2 before be functional.

 

Better than use svn or git? Yes! no headcache to find the right revision just because we use stable and released software. Plus is faster to checkout.

Patches are applied automatically based on the fact that edk2/BaseTools/Conf/tools_def.txt exists and or contains or not the XCODE8 toolchain.

 

Want to try before using it dayly? Set up Clover to your Desktop (one line command):

mkdir -p $HOME/Desktop/src/edk2 && cd $HOME/Desktop/src/edk2 && svn checkout https://svn.code.sf.net/p/cloverefiboot/code/ Clover

double click on ~/Desktop/src/edk2/Clover/buildme

----------------------------------------------------------
buildme Beta, Clover v2.5k r5017
EDKII in use: vUDK2018
Patches in use: Patches_for_UDK2018

1) build Clover	  3) make iso	    5) update edk2
2) make pkg	  4) update Clover  6) Quit
Please enter your choice: 

 

is Beta, let see if it's usefull.

Edited by vector sigma
  • Like 2
13 minutes ago, vector sigma said:

Guys, want a tool to build Clover wihin Clover itself?? Ok update and:


cd Clover
./buildme

 

What it does?

Anything special other then call make if you already have every things in place (nasm and gettext), otherwise installs them in ../src/opt/local/bin/

 

WARNING: by updating edk2, the old repo will be replaced with the content of the zipped release found at tianocore/edk2/release. Now is set to use vUDK2018, but is ready to use the new one, i.e. edk2-stable201905 that actually require new Patches_for_EDK2 before be functional.

 

Better than use svn or git? Yes! no headcache to find the right revision just because we use stable and released software. Plus is faster to checkout.

Patches are applied automatically based on the fact that edk2/BaseTools/Conf/tools_def.txt exists and or contains or not the XCODE8 toolchain.

 

Want to try before using it dayly? Set up Clover to your Desktop (one line command):


mkdir -p $HOME/Desktop/src/edk2 && cd $HOME/Desktop/src/edk2 && svn checkout https://svn.code.sf.net/p/cloverefiboot/code/ Clover

double click on ~/Desktop/src/edk2/Clover/buildme


----------------------------------------------------------
buildme Beta, Clover v2.5k r5017
EDKII in use: vUDK2018
Patches in use: Patches_for_UDK2018

1) build Clover	  3) make iso	    5) update edk2
2) make pkg	  4) update Clover  6) Quit
Please enter your choice: 

 

is Beta, let see if it's usefull.


Get some error here,,, 
Step :
after run BuildMe,,, i type 5. After finish i type 1 and enter,, result as below
image.png.ea5653be65981bb161566d34accf3cf3.png

29 minutes ago, Andres ZeroCross said:

after run BuildMe,,, i type 5. After finish i type 1 and enter,, result as below

Ha ha, stdio.h it is a very common header inside Xcode's sdk. 

what's the result of 

/usr/bin/xcodebuild -version && xcode-select --print-path

?

Edited by vector sigma
typo
2 minutes ago, vector sigma said:

Ha ha, stdio.h it is a very common header inside Xcode's sdk. 

wath's the result of 


/usr/bin/xcodebuild -version && xcode-select --print-path

 


You're right,, i need to sudo xcode-select --switch xcodepath.

Trying again :D

 

 image.thumb.png.263205805a9e826481a61038dbfe333f.png
 

Just now, Andres ZeroCross said:

You're right,, i need to sudo xcode-select --switch xcodepath.

Trying again :D

this usually happen when Xcode is w/o the command line tools installed, i.e when Xcode was never opened once :lol:

ok tell me if you can compile :)

Just now, vector sigma said:

this usually happen when Xcode is w/o the command line tools installed, i.e when Xcode was never opened once :lol:


I have compiled AppleALC.kext before run "buildme" :D

I have Build Clover r5015 with this. I don't know why...

5 minutes ago, vector sigma said:

this usually happen when Xcode is w/o the command line tools installed, i.e when Xcode was never opened once :lol:

ok tell me if you can compile :)

 

Done :)

image.thumb.png.70d00c5a27477f41f6b3e24275a3c2e5.png

  • Like 1
17 minutes ago, Andres ZeroCross said:

Missing AptioMemoryFix??

Is this the first time you ask this? :P joke. Anyway just before make the package copy any desired driver in the appropriate sub directory at:

src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI

in this case inside 'MemoryFix'. See the result.

Edited by vector sigma
  • Like 1
12 minutes ago, vector sigma said:

Is this the first time you ask this? :P joke. Anyway just before make the package copy any desired driver in the appropriate sub directory at:


src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI

in this case inside 'MemoryFix'. See the result.


Yes, this is my first time. I always use Clover from Official release, or from Did Clobber in Github. Will try it, thanks very much

7 minutes ago, Andres ZeroCross said:


Yes, this is my first time. I always use Clover from Official release, or from Did Clobber in Github. Will try it, thanks very much

curl -L https://github.com/acidanthera/AptioFixPkg/releases/download/R26/AptioFix-R26-RELEASE.zip -o /tmp/AptioFix-R26-RELEASE.zip

cd /tmp
unzip AptioFix-R26-RELEASE.zip

cp -r /tmp/Drivers/AptioInputFix.efi $HOME/Desktop/src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI/MemoryFix
cp -r /tmp/Drivers/AptioMemoryFix.efi $HOME/Desktop/src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI/MemoryFix

Edited by chris1111
  • Thanks 1
30 minutes ago, vector sigma said:

Is this the first time you ask this? :P joke. Anyway just before make the package copy any desired driver in the appropriate sub directory at:


src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI

in this case inside 'MemoryFix'. See the result.

 

12 minutes ago, chris1111 said:

curl -L https://github.com/acidanthera/AptioFixPkg/releases/download/R26/AptioFix-R26-RELEASE.zip -o /tmp/AptioFix-R26-RELEASE.zip

cd /tmp
unzip AptioFix-R26-RELEASE.zip

cp -r /tmp/Drivers/AptioInputFix.efi $HOME/Desktop/src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI/MemoryFix
cp -r /tmp/Drivers/AptioMemoryFix.efi $HOME/Desktop/src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI/MemoryFix

 

 

Thanks all :D
image.png.3d64d717f4e43136acd7a9cefe2345f4.png

37 minutes ago, vector sigma said:

Is this the first time you ask this? :P joke. Anyway just before make the package copy any desired driver in the appropriate sub directory at:


src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI

in this case inside 'MemoryFix'. See the result.


Just for the input, how about change this menu to this

 

1. Update Edk2
2. Update Clover
3. Build Clover
4. Make Pkg
5. Make ISO

6. Quit

 

image.png.c95c0298629a1b1bc490c625810e6e23.png

  • Like 1
28 minutes ago, chris1111 said:

curl -L https://github.com/acidanthera/AptioFixPkg/releases/download/R26/AptioFix-R26-RELEASE.zip -o /tmp/AptioFix-R26-RELEASE.zip

cd /tmp
unzip AptioFix-R26-RELEASE.zip

cp -r /tmp/Drivers/AptioInputFix.efi $HOME/Desktop/src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI/MemoryFix
cp -r /tmp/Drivers/AptioMemoryFix.efi $HOME/Desktop/src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI/MemoryFix

Hi, I have a question here: Is there a compatibility issue between AptioFix-R27-RELEASE.zip and Clover r5017, so that we have to use AptioFix-R26-RELEASE.zip? 

Edited by stevezheng
  • Like 1
44 minutes ago, stevezheng said:

Hi, I have a question here: Is there a compatibility issue between AptioFix-R27-RELEASE.zip and Clover r5017, so that we have to use AptioFix-R26-RELEASE.zip? 

No you can use latest R27 

I did not even check the R27 release

  • Like 1
  • Thanks 1
8 hours ago, chris1111 said:

curl -L https://github.com/acidanthera/AptioFixPkg/releases/download/R26/AptioFix-R26-RELEASE.zip -o /tmp/AptioFix-R26-RELEASE.zip

cd /tmp
unzip AptioFix-R26-RELEASE.zip

cp -r /tmp/Drivers/AptioInputFix.efi $HOME/Desktop/src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI/MemoryFix
cp -r /tmp/Drivers/AptioMemoryFix.efi $HOME/Desktop/src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI/MemoryFix

 

Great job, thanks :) The script must be modified for each AptioFix Release: how to check and download the latest version without changing the script.

 

EDIT: AptioInputFix.efi wouldn't be in EFI/CLOVER/drivers/off/UEFI/MemoryFix, I think. But in EFI/CLOVER/drivers/off/UEFI/FileVault2. Just my opinion.

Edited by Matgen84
function abort() {
  echo "ERROR: ${1}" 1>&2
  exit 1
}

#
# Get the latest release tag on GitHub.
#
# @param author Name of user/organization on GitHub
# @param repo   Repository belonging to the author
#
# @return latest tag of author/repo
#
function getGitHubLatestReleaseTag() {
  local author="$1"
  local repo="$2"

  if [ -z "${author}" ] || [ -z "${repo}" ]; then
    echo 'Author or repository is null!' 1>&2
    exit 1
  fi

  local url="https://api.github.com/repos/${author}/${repo}/releases"

  local tag="$(curl --silent "${url}" | grep 'tag_name' | head -n 1 | awk -F ":" '{print $2}' | tr -d '"' | tr -d ',' | tr -d ' ')"
  if [ -z "${tag}" ]; then
    abort "WARNING: Failed to retrieve latest tag of release from ${author}/${repo}." 1>&2
  fi

  echo "${tag}"
}

#
# Download a file from release page of author/repo.
#
# @param author   Name of user/organization on GitHub
# @param repo     Repository belonging to the given author
# @param tag      Tag to search for, or null for latest
# @param fileName Asset of the tag
#
function downloadGitHubRelease() {
  local author="$1"
  local repo="$2"
  local tag="$3"
  local fileName="$4"

  if [ -z "${author}" ] || [ -z "${repo}" ] || [ -z "${fileName}" ]; then
    abort 'Author/repository/file name is null!'
  fi

  if [ -z "${tag}" ]; then
    tag="$(getGitHubLatestReleaseTag "${author}" "${repo}")"
  fi

  local url="https://github.com/${author}/${repo}/releases/download/${tag}/${fileName}"

  curl --silent -L "${url}" -o "${fileName}" || abort "Failed to download ${fileName}!"
}

Tiny functions extracted from one of my scripts for download from GitHub release page.

 

For this specific case, let's abstract it based on tag and fileName:

- tag is Rxx, which can be retrieved by getGitHubLatestReleaseTag()

- fileName, generally RELEASE is grabbed, then it would be "AptioFix-${tag}-RELEASE.zip"

Edited by PMheart
Fixed a severe typo.
  • Like 2
  • Thanks 1

Hi, @vector sigma

How about chnage readme.md in Clover Source forge about ManualBuild Clover with your script or another script???
https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/Readme.md

Honestly,, for who want to start build clover will get some trouble to build if don't read some pages of this thread :D

Edited by Andres ZeroCross
  • Haha 1
14 hours ago, vector sigma said:

By the way can I ask why there's a need to use hfs instead of apfs? It is not clear to me if this is allowed.. 

Forget about Clover installation failure on Catalina with HFS+.. But the "javascript" error also occurred on 10.11.6 and 10.12.6 (which has no APFS support CMIIW). Plus, 10.13.6.. that I use daily. Does clover installer now only support APFS and drop 10.6 up to 10.12? But installer said HFS is supported either. Thanks.

×
×
  • Create New...