Jump to content
60 posts in this topic

Recommended Posts

Thanks to @Slice  @LockDown and  @luxinhaus for perfect patch for Clover

 

And @Luchina for Opencore video tutorial on Youtube.

 

This tutorial aims to disable FileVault during installation or updates using patch key in Clover and OpenCore through a kernel patch, simply by adding the following keys:

 

Clover

 

FilevaultDisabler.plist

 

 

 

image.thumb.png.00e1a4fa1b7d922c094bfe58f053e7c5.png

 

Optionally its possible add this Drivers UEFI/Off from Clover V2 

 

 - AppleKeyFeeder.efi

 

 - HashServiceFix.efi

 

 

Approved by @Slice (many thanks my friend!)

 

image.thumb.png.ce5c9ecf54147debdddc0a40fb907b2d.png

 

 

https://github.com/CloverHackyColor/CloverBootloader/actions/runs/19600386416 

 

 

 

Opencore

 

Opencorepatch.png.124e904b5e63a961abdbbaa5ed5568f5.png

 

FileVault-Disable Patch - Opencore - Hackintosh.plist.zip

 

 

The tests were performed using Clover 5164 (latest release), Opencore 1.0.6 and FileVault was not enabled during installation. 

 

If you need to enable it, you must remove or disable the patch in the config.plist.

 

Good Lucky 

 

;)

 

:plane:

 

Credits:  @Luchina 

 

https://youtu.be/9Wjvh--emWY

 

 

Edited by Max.1974
  • Like 6
  • Thanks 4

My friend, can you post here the patch for OpenCore in property list format? Or a plain text format. I am not a programmer and I feel very confused in the different languages to present data. I am not sure if I made something wrong here:

image.thumb.png.8413f5a4a19dd336050a499accefde02.png

  • Like 2
3 hours ago, Max.1974 said:

Hi @XanthraX, this patch is for Opencore. Use Xplist or Xcode to edit. ;) 

 

 

 

 

FileVault-Disable Patch - Opencore - Hackintosh.plist.zip 1.32 kB · 8 downloads

 

Thank you my friend. I have used prefedit and it not supported this string "B800000000C3" as data. Now it worked with Xplist. 

 

Edited by XanthraX
  • Like 2

@Max.1974Can confirm that your kernel patch for OC, to inhibit automatic activation by Tahoe of "filevault", when updating/upgrading,

works very well indeed.

 

Logging out of my Apple Account, prior to an update/upgrade, also works to achieve the same result, with the drawback that 

when an update/upgrade has been completed one must once again login to the various Apple Services, one wishes to use.

 

My perceived Apple longevity, in being able to use the latest Apple Intel Tahoe incarnation, has indeed been enhanced by your

simplified manner to prevent the automatic activation of "filevault", during an upgrade and or fresh installation of Tahoe.

 

Well done and thank you.

 

Greetings Henties

 

 

 

  • Like 1
  • Thanks 1
10 minutes ago, Henties said:

@Max.1974Can confirm that your kernel patch for OC, to inhibit automatic activation by Tahoe of "filevault", when updating/upgrading,

works very well indeed.

 

Logging out of my Apple Account, prior to an update/upgrade, also works to achieve the same result, with the drawback that 

when an update/upgrade has been completed one must once again login to the various Apple Services, one wishes to use.

 

My perceived Apple longevity, in being able to use the latest Apple Intel Tahoe incarnation, has indeed been enhanced by your

simplified manner to prevent the automatic activation of "filevault", during an upgrade and or fresh installation of Tahoe.

 

Well done and thank you.

 

Greetings Henties

 

 

 

Enjoy it my friend. Thank you 🙏🏻 

13 minutes ago, XanthraX said:

Thank you my friend. I have used prefedit and it not supported this string "B800000000C3" as data. Now it worked with Xplist. 

 

God bless you all 

 

  • Like 1

@Max.1974 This looks like the inverse of the _apfs_filefault_allowed patch used by Open Core Legacy Patcher - correct?

 

Screenshot2025-11-17at12_50_50PM.png.89124dbc0182153bf2a881efbb12cf14.png

 

Difference:

Allow FV: <B801000000C3>
 
Disable FV: <B800000000C3>

 

  • Like 3
5 hours ago, KGP-iMacPro said:

Thanks @Max.1974 ! Awesome work and excellent news for all of us! 💯 :thumbsup_anim:

Enjoy it my friend!!! ;) :plane:

Edited by Max.1974
  • Like 2

Arch has no function in Clover. Base  in Clover is called Procedure. Identifier is Name in clover, and so on...So the pic for clover in post #1 will not work. Same goes for FIND, clover needs it for REPLACE

 

Edited by LockDown
  • Like 2

image.png.54e1e7148729d89b76d04691f2ab60ab.png
7.6.6 under the OC configuration pdf. If find is not specified, it replaces bytes directly at wherever the Base value is. In this case, it's overriding _apfs_filevault_allowed to always return false (or true in the OCLP case).
Should work with clover since it uses Opencore's paching iirc, but there maybe additional checks and/or restrictions I'm not aware of within Clover.

  • Like 1
  • Thanks 1
18 minutes ago, Avery B said:

7.6.6 under the OC configuration pdf. If find is not specified, it replaces bytes directly at wherever the Base value is. In this case, it's overriding _apfs_filevault_allowed to always return false (or true in the OCLP case).

This is OC feature. Clover does not have that

 

 

18 minutes ago, Avery B said:

but there maybe additional checks and/or restrictions I'm not aware of within Clover.

This is true. (OC kernel/kext patching is different from Clover)

 

But nevertheless. We are good 😶

Nothing personal 

Edited by LockDown
  • Like 2
11 minutes ago, Max.1974 said:

@LockDown I’ll test it without mentioning the keys and reinstall it to show the results here, but I don’t have a capture card to record proof.

I’m not offended, mate. Its part of game ;) 

 

image.png.ea4463945cfebeff0f21250e1d742a80.png

This looks better now

Just fillup the Name (Identifier in OC) so it knows the target kext

Edited by LockDown
  • Like 2

@Max.1974

Of course it will be disabled since you didnt allow filevault to be enabled.

Run bdmesg and see if it has a single entry of the filevault disabler in config. Bet none.

 

You wouldnt find any of this:

21:835  0:000   - [19]: 850c08686ac53d7b90a5ddab2224de96 :: BinPatch :: [OS: 16.1 | MatchOS: 26.x | MatchBuild: All]

 

 

Can we take this in PM?   No need. we are not off-topic 😀

 

Edited by LockDown
  • Like 2

Yeap I will send PM for you my friend 

 

My first installation with the patch worked perfectly, and every other installation without the patch always had FileVault enabled automatically.

Edited by Max.1974
  • Like 1
4 hours ago, Max.1974 said:

I recorded all process installation with my first configuration for Clover 

 

16 min of video... and FileVault is disable. 

 

  Reveal hidden contents

 

 

This Key Works 

 

image.thumb.png.ff0fec91f19f84036fbd3a0c8f2a1528.png

 

 

 

@Slice what can you say about this? me says it's unformatted. Does not meet clover's patching definition

  • Like 1

If I’m understanding this correctly, you usually don’t need a Find value in an OpenCore kernel patch when you already give it a Base and Replace value.

When a Base is defined, OpenCore looks up the memory address of that symbol directly and doesn’t bother with whatever is in the Find field.

This approach is much more reliable, especially across small macOS updates.

Even if Apple shifts a function around in memory, the patch will still work as long as the function’s symbolic name (the Base) stays the same.

 

Find value is needed if:

You’re patching something inside a function, not at the very start of it, so there’s no dependable Base symbol for that exact spot.

You’re modifying code that shows up in more than one place, and the only way to target the correct instance is by matching the surrounding bytes with a Find pattern.

  • Like 2
  • Thanks 1
3 hours ago, Irish_Man said:

If I’m understanding this correctly, you usually don’t need a Find value in an OpenCore kernel patch when you already give it a Base and Replace value.

When a Base is defined, OpenCore looks up the memory address of that symbol directly and doesn’t bother with whatever is in the Find field.

This approach is much more reliable, especially across small macOS updates.

Even if Apple shifts a function around in memory, the patch will still work as long as the function’s symbolic name (the Base) stays the same.

 

Find value is needed if:

You’re patching something inside a function, not at the very start of it, so there’s no dependable Base symbol for that exact spot.

You’re modifying code that shows up in more than one place, and the only way to target the correct instance is by matching the surrounding bytes with a Find pattern.

 

Hi @Irish_Man Yes, I understand. In "my" (from OCLP) specific patch, I point to function X using Base because it has an exported symbol, so I can generally ignore the Find field in most cases. I would only need Find if I wanted to modify an internal section of that function or if the code pattern appeared in more than one place. Thanks! ;) 

Edited by Max.1974
  • Like 3

Hi all 

 

Tested patch for Opencore, and works fine with fresh install and with update ;) no need choose active or not FileVault. Just disabled. 

 

Lenovo T14 

 

 

CapturadeTela2025-11-20s11_14_09.thumb.png.09af2a59af8b61f9bbe139761c65eac0.png

 

 

 

 

  • Like 3
×
×
  • Create New...