Cimmerian-Iter / Sony-SVD1321Z9E-VAIO-Hackintosh-OpenCore

A working Hackintosh made with OpenCore for the SVD1321Z9E VAIO laptop
MIT License
5 stars 1 forks source link

About battery 'hotpatch' #5

Open kleqing opened 2 years ago

kleqing commented 2 years ago

Hi. I very supprise about your efi because of your patched ssdt. How can you create a patched for battery. I've read Rehabman's guide but i don't know how to create it. Can you help me to make a 'hotpatch' for my system? Thank you! Sorry about bad english. I'm not good at it.

Cimmerian-Iter commented 2 years ago

Wow I certainly didn't expect someone to actually find this repo lmao.

Rehab man guide is hard to understand I know. It took me a couple of days with the help of other people explaining to me to understand how it worked. But it was 3 years ago and I have forgotten a little (i can remember if I look through it again)

But today patching isn't necessary, you should try the ECenabler kext that replace the battery patch action to have a working battery %

https://dortania.github.io/OpenCore-Post-Install/laptop-specific/battery.html#dual-battery

kleqing commented 2 years ago

@Cimmerian-Iter I tried ECEnabler.kext for 2 week ago. It working but it had a delay. When i booting to macOS for the first time, the icon appear and no issues found. But when i boot for the second time, the icon disappeared. At the moment, i think that the kext didn't working anymore, but after 15 minutes using mac, the battery icon appeared again. I don't have no idea with it. If i using DSDT with rehabman's battery patched, the battery display perfect but i don't want to use it since OpenCore inject everything to all OSes. I've read about the way to convert from DSDT to SSDT but i didn't understanded how to make it.

Cimmerian-Iter commented 2 years ago

Oh then if the DSDT patch works fine then it should be easy to convert as DSDT, once I'm out of holiday I'll explain how to do the SSDT

kleqing commented 2 years ago

@Cimmerian-Iter I waiting for you!^.^ I can wait for you until you have free time after your holiday. I hope that to convert from DSDT to SSDT would be easier when someone help me to do that:)