Jump to content

[Guide] Laptop Battery Indicator - The DSDT Patching Horror


Recommended Posts

  • Administrators
Posted
38 minutes ago, R-88 said:

but the strangest thing is this: immediately after sending you the message above I put my previous EFI back. I started and now I see the battery charger .... and the status of the battery being charged. If reboot disappears again ...

fix all bit registers

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Hackintosh Support since 2006 HERE

  • Administrators
Posted
16 minutes ago, R-88 said:

Uhm...all bit in the ssdt-1?

dsdt, device ec

NowPCVL.png

fix it, check

Ca0nN3I.png

 

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Hackintosh Support since 2006 HERE

  • Administrators
Posted
22 minutes ago, R-88 said:

Ok...how to? Have you a guide to fix the registers?

first post

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Hackintosh Support since 2006 HERE

Posted

Can someone please help me? I'm trying this on a Thinkpad l412 running Mojave.

I have found a few integers above 8 bits, but, none of them are called in EC0 region. Am I doing something wrong?

  • Administrators
Posted
6 minutes ago, divyesh jaiswal said:

Can someone please help me? I'm trying this on a Thinkpad l412 running Mojave.

first try with only virtualsmc

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Hackintosh Support since 2006 HERE

Posted
3 minutes ago, MaLd0n said:

first try with only virtualsmc

Hi. Thanks for the fast reply. Appreciate it.

Virtualsmc didn't work. I tried many other battery fixing kexts as well one by one, but none seemed to worked... Any suggestions?

Should I upload anything, so you could check?

Thanks for the help

  • Administrators
Posted
30 minutes ago, divyesh jaiswal said:

Hi. Thanks for the fast reply. Appreciate it.

https://www.olarila.com/files/Utils/RunMe.app.zip
https://www.youtube.com/watch?v=k9wmIfGLe3A

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Hackintosh Support since 2006 HERE

  • Administrators
Posted
43 minutes ago, divyesh jaiswal said:

I have attached the zip here.

test it with none usb stick bootable

EFI 2.zip

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Hackintosh Support since 2006 HERE

  • Administrators
Posted
52 minutes ago, Guillep84 said:

Hello,

DSDT.aml.zip

  • Like 1

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Hackintosh Support since 2006 HERE

Posted

RehabMan's battery patch worked for my laptop but I had to make some modifications. I'll write it here for future hackintoshers.

1. No existing patch supported my laptop(HP Pavilion au-003tx) so I tried the b1b2 method on my DSDT. This didn't work.

2. Tried out different patches for HP laptops but all gave errors. One patch(HP Pavilion n012tx) raised the least number of errors so I thought of tweaking it.

3. Applied b1b2 method on the missing parameters and it worked! ???

 

Laptop: HP Pavilion au-003tx

  • Like 1
Posted

Hello dear members,

I began the process of patching my DSDT and there's only one error left, but I can't seem to find a solution anywhere.

Could someone help me with it please?

The part of the code:

   OperationRegion (SPRT, SystemIO, 0xB2, 0x02)
    Field (SPRT, ByteAcc, Lock, Preserve)
    {
        Return(0)
    }

The line is: Return(0)

The error: Code 6126 | syntax error, unexpected PARSEOP_RETURN, expecting ','or '}'

DSDT.zip

  • Administrators
Posted
16 hours ago, mathewgx said:

Can anyone please check if I need any kind of patch for my battery?

use rehabman repo

 

9 hours ago, leafbottom said:

Hello dear members

Extract tables with F4 key in Clover boot screen, files generated in Clover/Acpi/origin, post here

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Hackintosh Support since 2006 HERE

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...