Comments (32)
Ok, I tried the following:
-
Replacing AppleKeyAggregator.efi by AppleGenericInput.efi from OpenCore => Not booting at all (not even the Apple logo). Corresponding log:
clover_debug_replacing_apple_keyaggregator_only.log -
Replacing AppleUITheme.efi alone by AppleUISupport.efi from OpenCore => Boots but still takes 2 minutes before the FileVault 2 password screen. Corresponding Log:
clover_debug_replacing_apple_ui_theme_only.log -
Replacing AppleImageCodec.efi alone by AppleUISupport.efi from OpenCore => Boots to FIlevault2 screen quickly !
Corresponding log file:
debug.log
Conclusion: The driver causing the issue is AppleImageCodec.efi. Also note that AppleUISupport from OpenCore contains features from all following Clover's drivers AppleUITheme.efi, AppleImageCodec.efi, HashServiceFix.efi and FirmwareVolume.efi (as you can see in source code link below) so when replacing using AppleUISupport.efi instead of AppleImageCodec.efi, all these drivers can also be removed.
Btw, here is the latest source code of standalone AppleUISupport.efi from OpenCore, before it was integrated:
https://github.com/acidanthera/AppleSupportPkg/tree/2.0.9/Platform/AppleUiSupport
Image conversion code alone:
https://github.com/acidanthera/AppleSupportPkg/tree/2.0.9/Platform/AppleUiSupport/AppleImageConversion
The latest integrated code for image conversion can be found here: https://github.com/acidanthera/OpenCorePkg/tree/master/Library/OcAppleImageConversionLib
Hope this helps ! I wish you a happy bug fixing ! :)
from cloverbootloader.
Fixing the issue using AppleSupportPkg EFI drivers can only be a temporary solution as these drivers are made for OpenCore normally (and have even been integrated in it since).
The drivers included with Clover have to be fixed themselves.
from cloverbootloader.
There is an efi driver that can help us to understand the issue. Place it in drivers and after boot you may find a log
/efi/clover/misc/eficalls.log
DumpUefiCalls.efi.zip
from cloverbootloader.
Forgot to say, for Mojave boot, the pause time on the apple logo before being able to enter password went from 35 seconds to 4 seconds.
from cloverbootloader.
Hi, any working on this?
from cloverbootloader.
Possible solution here, looks like some EFI drivers need to be swapped out:
https://www.tonymacx86.com/threads/filevault-2-preloader-takes-long-time.285306/#post-2021475
from cloverbootloader.
Possible solution here, looks like some EFI drivers need to be swapped out:
https://www.tonymacx86.com/threads/filevault-2-preloader-takes-long-time.285306/#post-2021475
Thank, that fixes the issue 🍡
from cloverbootloader.
My test machine finished locking its drive, and now I can confirm the fix works for me too!
from cloverbootloader.
Any update on this?
Is it fine to update clover using the pkg? I feel hesitant since I have a modified install now.
Or just udpate the clover.bin file?
from cloverbootloader.
If it doesn’t work, you might want to turn off csrutil, Catalina verifies the disk so that is probably why
** Use at own risk **
from cloverbootloader.
Hi,
The driver swap works here as well (temporarily of course) - at least to get through the very long wait. But when the password screen comes up .. where I need to enter the password is just a square of "missing" graphics / text (pic below). Is there a way to address this?
Thanks!
from cloverbootloader.
Same thing happens to me, I've just been typing the password in blind.
from cloverbootloader.
Hmmm ... assuming it's a driver related thing. Have you tried OC, just to get to the bottom of it?
Thanks!
from cloverbootloader.
@SergeySlice @asava @vectorsigma72 Any news on that issue ? For now we can workaround it by using old EFI drivers from OpenCore, but it'd be nice to have it fixed in Clover's included drivers also :)
from cloverbootloader.
I am not sure, I don't use FileValut so I cannot test myself, which makes it more difficult.
Are you sure you need to replace all mentioned drivers there? Or it's just a matter of one of them (I would guess InputFix)? If you point me to something more specific, maybe I can figure out what it is.
from cloverbootloader.
I see any log to speak about.
May be users install VirtualSMC but using SMCHelper which is not compatible.
from cloverbootloader.
@SergeySlice I personnally use FakeSMC and SMCHelper.efi. I also tried VIrtualSMC with VirtualSMC.efi and no changes are observed.
@asava For the log, at least there are nothing printed, even with "-v" boot flag, on screen. I'll try with Clover EFI debug log activated.
from cloverbootloader.
Clover debug log when using Clover's provided FileVault2 drivers:
- AppleImageCodec.efi
- AppleUITheme.efi
- AppleKeyAggregator.efi
- FirmwareVolume.efi
- HashServiceFix.efi
From what I see nothing relevant from the log, except the huge gap in the timestamp at the end, which confirm the very slow loading.
from cloverbootloader.
Maybe I didn't explain clear enough.
That thread you linked to, talks about replacing many drivers.
We need to know exactly, which driver you are replacing that fixes it.
from cloverbootloader.
I was answering @SergeySlice comment, not yours
I’m working on yours but because of this bug it takes more than 2 full minutes to boot each time I try! So please be patient!
from cloverbootloader.
BTW, with this driver swap - do you still get the big square block I mentioned above?
Thanks!
from cloverbootloader.
BTW, with this driver swap - do you still get the big square block I mentioned above?
Thanks!
I never had this bug on my setup.
from cloverbootloader.
FYI, I tried your fix (files) above - it works, thanks! But I still have the block issue above. What is your host OS? That may be part of it - I'm on Linux, not sure what you are using.
BTW, for OC, this fix works, but not sure how to set this same thing in Clover?
acidanthera/bugtracker#751 (comment)
Thanks again.
from cloverbootloader.
I don’t have host OS. I’m running macOS natively, not on a VM.
from cloverbootloader.
Conclusion: The driver causing the issue is AppleImageCodec.efi.
Thanks.
Kind of a shot in the dark, but I do see one possible simple problem. Please try this driver:
AppleImageCodec.zip
from cloverbootloader.
Thanks I’ll try it right now.
Btw, you really should have a test computer with FileVault 2 activated to be able to reproduce FV2 issues in the future to avoid to fix with “shots in the dark”, as you said ;)
from cloverbootloader.
Ok, I’ve tried your attached driver. It doesn’t fix the issue. The FV2 UI is still taking ages to appear with this driver.
Here is the log, but there doesn't seem to have more output than with the stock driver. We just see a huge time gap, but no error or warning or even info log from the driver.
debug_new_imagecodec_driver.log
Again, you should have a test machine with FV2 to reproduce issues related to FV2.
from cloverbootloader.
from cloverbootloader.
I have a problem with Catalina/FV. it stays at white Apple on black background.
The problem comes from Preboot volume/[GUID]/System/Library/Caches/com.apple.corestorage/EFILoginLocalizations/loginui.efires.
With High sierra, it's one MB. With Catalina (testing 10.15.4) it's 56MB.
So I copy the high sierra version over, and, except that I have a blur high sierra image, it's working fine.
from cloverbootloader.
So huge image == long boot?
If not load the image with OpenCore drivers then fast boot without password prompt.
from cloverbootloader.
After (a lot of) further investigations and some luck, I found what was causing it for me : I just removed AppleImageCodec-64.efi from drivers folder.
I don't know what it's supposed to do, but boot Mojave (I think I also tried high sierra) fine without it.
I didn't try Catalina, who have an even bigger loginui.efires (56MB on Catalina, 26MB on Mojave).
from cloverbootloader.
This issue can be solved much more easily now that clover has iplimented OC quirks and core files. literally all the filevault 2 stuff was merged into those after they deprecated the stand alone efi. Clover should clean house on all the obsolete EFI drivers at this point and this issue wold be solved
In fact every driver from https://github.com/acidanthera/applesupportpkg/releases release history has been deprecated as stand alone and part of OC Quirks, at least in OC, not sure about the fork here. But considering all driver improvements since being merged into OC are only available by using the OC versions, it's definite progression that clover do same, remove all obsolete drivers for file vault, apfs, etc and use the single unified driver that's up to date.
from cloverbootloader.
Related Issues (20)
- Incorrect orientation after replacing the screen with a better version. HOT 8
- Incorrect display of the order of lines with memory slots in the profiler. HOT 19
- Problem Boot HOT 39
- Error loading kernel (0x1) with MLPostFactor HOT 7
- [AMD AM5] RestrictEvents.kext not working HOT 39
- Touchpacd not working in Windows 11
- `./buildme` script barely usable on light colour scheme terminals, and ignores `TERM=dump` environment variable.
- The starting sound disappeared. HOT 16
- Vulnerable for logofail? HOT 2
- Clover doesn't appear, blinking dash. HOT 4
- Clover r5157 - No startup sound HOT 2
- [Feature implementation Request] Add block kext feature in config.plist HOT 89
- vince
- Clover r5157 not boot HOT 10
- special booting questions? HOT 1
- Failure boot Clover-5152 ? HOT 5
- General Protection Fault on Dell R720 HOT 13
- where is my mistake HOT 2
- Clover build on r5158++ : GCC131 Compil error due to unrecognized switch '--no-warn-rwx-segments' in 'Conf/tools_def.template' HOT 1
- XCODE14 Clover r5158++ compil error due to use of undeclared identifier 'TIMEOUTFP' in ~/CloverBootloader/Library/OsxBdsPlatformLib/BdsPlatform.c HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloverbootloader.