Contribute
Register

[Guide] How to patch DSDT for working battery status

Follow your guide my battery status look good except the AC Adapter information,for my dell 7559 ,the ac adapter is 130w ,but the system information shows 45w

It is normal. Ignore. Hacks don't have the special AC adapter that Macs do (where this info comes from), so it is hardcoded into FakeSMC.
 
Dear Rehabman,

Thanks for your wonderful tutorials! I have managed to get my hackintosh working. However, my 9470m will need to reset EC one or twice a week. I started to look at the dsdt patch and find that battery_HP-ProBook-4x0s-G1.txt from your repo has sightly different with 9470m, but I cannot patch the following B1B2 and B1B4 method. Kindly advise if they are necessary to patch. These two days, I just added FixRTC and FixMutex onto config.plist (as reflected on the attachments)
16 bit
method GPMC --> CPWR, CVLT and CCUR
method SBTC --> MAXC
method GBTT, GBTL and SBRT -->BCL
32 bit
method HPMC --> PMCD
After 2 hours I posted the above message, I have to reset EC again. It would not happen if using windows 10 or lubuntu.
 
After 2 hours I posted the above message, I have to reset EC again. It would not happen if using windows 10 or lubuntu.

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.

Keep in mind your laptop has a guide:
https://www.tonymacx86.com/threads/...book-zbook-using-clover-uefi-hotpatch.232948/

If you did not follow it, I will simply direct you to read it and follow as written...
 
No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.

Keep in mind your laptop has a guide:
https://www.tonymacx86.com/threads/...book-zbook-using-clover-uefi-hotpatch.232948/

If you did not follow it, I will simply direct you to read it and follow as written...
In fact, I had followed your guide 3 times already, but still have some problem, got sound, can adjust but no effect on the volume; brightness has slider, can adjust, but no effect on brightness too, (but I did not start from scratch). So I followed your individual guides for brightness, usb, dsdt, wifi/bluetooth, battery, clover hot patch. Now my 9470m is fully functioning, wifi/bluetooth, usb, brightness, sound, wwan but left this battery issues. I am attaching the debug information as per your instruction. Not sure if the battery issues can be resolved.
 

Attachments

  • debug_2581.zip
    3.1 MB · Views: 56
Last edited:
In fact, I had followed your guide 3 times already, but still have some problem, got sound, can adjust but no effect on the volume; brightness has slider, can adjust, but no effect on brightness too, (but I did not start from scratch). So I followed your individual guides for brightness, usb, dsdt, wifi/bluetooth, battery, clover hot patch. Now my 9470m is fully functioning, wifi/bluetooth, usb, brightness, sound, wwan but left this battery issues. I am attaching the debug information as per your instruction. Not sure if the battery issues can be resolved.
you haven't followed the guide

you have all your kexts in clover/kext/other

they should be installed to system

only essential kexts should be in clover/kexts/other

and config.plist should be:

<key>InjectKexts</key>
<string>Detect</string>

read up on the clover guide post 2:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
 
In fact, I had followed your guide 3 times already, but still have some problem, got sound, can adjust but no effect on the volume; brightness has slider, can adjust, but no effect on brightness too, (but I did not start from scratch). So I followed your individual guides for brightness, usb, dsdt, wifi/bluetooth, battery, clover hot patch. Now my 9470m is fully functioning, wifi/bluetooth, usb, brightness, sound, wwan but left this battery issues. I am attaching the debug information as per your instruction. Not sure if the battery issues can be resolved.

You did not follow the guide.
My guide uses ACPI hotpatch.
It also installs kexts to /L/E.
Your config.plist is not from my guide.
Wrong version of Clover.

In summary, you didn't follow it at all...
Start over:
https://www.tonymacx86.com/threads/...book-zbook-using-clover-uefi-hotpatch.232948/
 
you haven't followed the guide

you have all your kexts in clover/kext/other

they should be installed to system

only essential kexts should be in clover/kexts/other

and config.plist should be:

<key>InjectKexts</key>
<string>Detect</string>

read up on the clover guide post 2:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
Hi Feartech,
Thanks for highlighting what my problem is. I think when I read the guide for laptops with clover, I noticed there is a specific guide for my model on post 1, so I just jumped to that guide. As a result, I did not aware that the importance of post 2. At the moment, I will copy all the kext from clover/kexts/other to /Library/Extensions, update the permission and rebuild the cache. After that, I will force to load the kext of Lilu and AppleALC. See how it goes. If the problem persist, I think I will start from scratch to reinstall Sierra again and make sure I should strictly follow Rehabman's guide for 9470m.

Thanks again!
 
After that, I will force to load the kext of Lilu and AppleALC.

The ProBook guide does not use AppleALC.kext.
You should follow the guide as written. Nothing less. Nothing more.
 
The ProBook guide does not use AppleALC.kext.
You should follow the guide as written. Nothing less. Nothing more.
Thanks for your advice. The differences are due to I encountered some problems after following your guide. Think I should make another usb installer instead of using the one by unibeast. For clover version, I had just upgraded yesterday.
 
Thanks for your advice. The differences are due to I encountered some problems after following your guide. Think I should make another usb installer instead of using the one by unibeast. For clover version, I had just upgraded yesterday.

The Probook guide does not use Unibeast.
 
Back
Top