Contribute
Register

<< Solved >> OpenCore battery patch

Status
Not open for further replies.
@kvmKillerman

Have you tried ECEnabler.kext? Google it up real quick, it substitutes all field-splitting related patches, so disable them when loading the kext.
My acpi and kext folders look like this, so you say i need to disable some of the kexts and i dont have to have dsdt in order to get battery percentage showing and brightness slider working?
 

Attachments

  • Näyttökuva 2021-12-3 kello 17.46.41.png
    Näyttökuva 2021-12-3 kello 17.46.41.png
    1.1 MB · Views: 32
  • Näyttökuva 2021-12-3 kello 17.46.53.png
    Näyttökuva 2021-12-3 kello 17.46.53.png
    987.3 KB · Views: 35
@kvmKillerman

ACPIBatteryManager and SMCBatteryManager will clash, obviously, remove the former. Don't load SMCLightSensor if you have no sensor built-in.

ACPI folder looks good, although I have no way of telling what SSDT-840G3 is all about. Also, share your whole EFI folder if you want me to be able to really make judgememts.
 
@kvmKillerman

ACPIBatteryManager and SMCBatteryManager will clash, obviously, remove the former. Don't load SMCLightSensor if you have no sensor built-in.

ACPI folder looks good, although I have no way of telling what SSDT-840G3 is all about. Also, share your whole EFI folder if you want me to be able to really make judgememts.
Ummm... So what do i do, can you please do like 1. 2. 3. step by step guide bc im still littlebit new with all of this. Here is my efi, i removed platform id bc i dont want to share that part of it

EDIT:

I have some sort of lightsensor on the laptop i guess that shows those blinking lights but i guess that kext is not for that then?
 

Attachments

  • EFI NO ID.zip
    31.3 MB · Views: 43
Last edited:
Ummm... So what do i do, can you please do like 1. 2. 3. step by step guide bc im still littlebit new with all of this. Here is my efi, i removed platform id bc i dont want to share that part of it

EDIT:

I have some sort of lightsensor on the laptop i guess that shows those blinking lights but i guess that kext is not for that then?
please update your hardware profile to allow others to help you easier

please read the faq for proper hardware profile setup:
 
@kvmKillerman

If you want to have a working hackintosh you'll need to get into things at least to a certain degree... Your whole setup is a steaming mess tbh, and it would take quite some time to clean it up.

SMCLightSensor doesn't mean any status-leds, but rather an ambient light sensor for adaptive brightness. Check if you have it, if not, remove the kext. Also remove ACPIBatteryManager.kext, as it's legacy and only conflicts with SMCBatteryManager.kext.

You have EC region patches within SSDT-840G3.aml, with corresponding renames in the plist. That file seems like one of those "do it all", which is horrible. But just leave it as is for now, and try to remove the mentioned kexts. Otherwise, we'll have to pull out all that EC patching and let ECEnabler do it's work properly.
 
@kvmKillerman

If you want to have a working hackintosh you'll need to get into things at least to a certain degree... Your whole setup is a steaming mess tbh, and it would take quite some time to clean it up.

SMCLightSensor doesn't mean any status-leds, but rather an ambient light sensor for adaptive brightness. Check if you have it, if not, remove the kext. Also remove ACPIBatteryManager.kext, as it's legacy and only conflicts with SMCBatteryManager.kext.

You have EC region patches within SSDT-840G3.aml, with corresponding renames in the plist. That file seems like one of those "do it all", which is horrible. But just leave it as is for now, and try to remove the mentioned kexts. Otherwise, we'll have to pull out all that EC patching and let ECEnabler do it's work properly.
I cleaned up my kexts folder a little and did those you asked, after that i made the changes to my plist by doinf oc snapshot and oc clean snapshot so those automaticly removes missing paths right?

Still no success with battery percentage or the brightness slider. Sooo... Whats the next step i should do?

Here is new pic from my kexts folder:
 

Attachments

  • Näyttökuva 2021-12-4 kello 14.17.40.png
    Näyttökuva 2021-12-4 kello 14.17.40.png
    288.4 KB · Views: 29
I cleaned up my kexts folder a little and did those you asked, after that i made the changes to my plist by doinf oc snapshot and oc clean snapshot so those automaticly removes missing paths right?

Still no success with battery percentage or the brightness slider. Sooo... Whats the next step i should do?

Here is new pic from my kexts folder:
zip and upload your OC folder would be better than posting a picture of your kexts
 
zip and upload your OC folder would be better than posting a picture of your kexts
My apologies. "removed the generic part from the plist just for the share"
 

Attachments

  • OC no generic.zip
    32.1 MB · Views: 48
My apologies. "removed the generic part from the plist just for the share"
you already have a battery patch in your SSDT along with your config,plist renames, you should need ECEnabler.kext

also XhciPortLimit should be disabled

not sure you need this:
agdpmod=vit9696

you probably only need:
HfsPlus.efi
OpenRuntime.efi
in your Drivers section in your config.plist

what mac model are you using? assuming MacBookPro13,1?
 
@kvmKillerman

To be honest, I think you should just generate a "trashable" PlatformInfo, and then keep it in there, so that we can edit and you just boot the EFI directly. This seems very cumbersome...

SystemProfilerMemoryFixup.kext could also easily be achieved through a PlatformInfo value called "SystemMemoryStatus", set it to "Upgradable". The less kexts the better.

I could try and help to get your battery working, but not if you always play this "section removed" game, and I can't fully adjust all settings. Like, come on, those random generated values have next to no meaning whatsoever.
 
Status
Not open for further replies.
Back
Top