Jump to content

[Guide] Laptop Battery Indicator - The DSDT Patching Horror


Recommended Posts

Posted

I have a problem, I can't find any item above 8, what do I do?

Just install battery kext in C/K/O. Read post 1.

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Posted

New Year, new life in Hackintosh! :lol::lol::lol::lol::lol::lol:


Congratulations for this contribution!!!


By the way, I have one doubt about patching DSDT/SSDT. RehabMan says that "the OS Check Fix patch we use has nothing to do with the version of Windows the laptop came with, nor with the version of Windows we're currently using."


So how can I decide which Windows OS Check Fix I must apply to my DSDT?


THANK YOU!!!

SAMSUNG NP300E4C-AD2BR core i3 2328m Intel HD Graphics 3000 (1366x768) 4Gb RAM DDR3 HDD 120Gb Ethernet Realtek RTL8168 Wi-Fi Atheros AR9485 Bluetooth Atheros AR3012

  • Administrators
Posted

New Year, new life in Hackintosh!

check ur dsdt, search for _OSI

-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
On 12/14/2019 at 9:31 PM, pchitech said:

Hi,

can anyone help me with this problem?

I try to patch dsdt for battery and find this fields that are call in EC:

 

B1DC, 16,

B1FV, 16,

B1FC, 16,

B1CR, 16,

B1RC, 16,

BCYC, 16,

 

then patch as guide suggested :

 

into device label EC code_regex B1DC,\s+16, replace_matched begin 1DC0,8,1DC1,8, end;

into device label EC code_regex B1FV,\s+16, replace_matched begin 1FV0,8,1FV1,8, end;

into device label EC code_regex B1FC,\s+16, replace_matched begin 1FC0,8,1FC1,8, end;

into device label EC code_regex B1CR,\s+16, replace_matched begin 1CR0,8,1CR1,8, end;

into device label EC code_regex B1RC,\s+16, replace_matched begin 1RC0,8,1RC1,8, end;

into device label EC code_regex BCYC,\s+16, replace_matched begin CYC0,8,CYC1,8, end;

 

when i compile dsdt i receive this error :

18980, 6126, syntax error, unexpected PARSEOP_INTEGER, expecting ',' or '}'

and I don't know how to go on.

 

Pleasse help me!

 

Thinkbook 13 IWL:

CPU: i5-8265U

Display : 13,3" FHD 1920x1080

Ram : 8GB

SSD: 256GB Solid State Drive PCIe-NVMe M.2 Samsung

Audio: Alc257

DSDT.aml.zip 53.29 kB · 4 downloads

@pchitech I've patched the battery and it is working thank to the @onemanosx detailed guide. In the attachment of this file you can find the patch

battery_Lenovo-ThinkBook-13s.zip

Posted
On 2/12/2020 at 1:22 AM, astibojr said:

@pchitech I've patched the battery and it is working thank to the @onemanosx detailed guide. In the attachment of this file you can find the patch

battery_Lenovo-ThinkBook-13s.zip 1.34 kB · 5 downloads

Tnx astibojr,

i try it but dosen't work with my origin DSDT.

After a few attempts I managed to modify the patch so that it also works on mine.

Now i've a full working Hackintosh ;-)

 

battery_Lenovo-ThinkBook-13s modificata da me.txt.zip

Posted

 

Hi @onemanosx and thanks for the guide, two years ago I wrote my notebook patch. RH published it in its repositories (Wbin Airbook)

The problem is that today it no longer works. I extracted the dsdt / ssdt again, as you can see from my attachment

I noticed that there are more files than before, I mean that when I patched not all the RSDT-XXXX files.

In addition, the extracted files are full of errors that were not there before ...

My patch no longer works, you see the battery but I do not detect the battery charge or the state of charge, only occasionally it works, but not always, as it happened until some time ago.

Can you tell me what these RSDT are ?? Do I have to patch these too?

Send me MacBook-Pro.home-life.hub.zip

  • Administrators
Posted
12 hours ago, R-88 said:

(Wbin Airbook

try it

EFI.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

Posted
17 hours ago, MaLd0n said:

Thanks for replying, but unfortunately nothing changes. The PC sees the battery but continues not to detect the charger, and does not show me the "charging" status.
I did a rune with your EFI, I had to keep my SSDT-1 because with the DSDT only it doesn't see the battery at all.
I noticed that you inserted a DEVICE (EC) ... embedded ... in the DSDT, in the original one there is not.
I wonder if the problem isn't caused by the modified DSDT.

With thisone DSDT i have also too many ACPI error at boot, please check the attached file
Should I also keep SSDT-EC and SSDT-UIAC in the patched folder?

This is a runme with the last  folder you sent me yesterday,
If I re-apply my patch (RH repo Wbin Airbook) to the original SSDT-1 file it does not apply all the patches… .this is strange

Send me MacBook-Pro.home-life.hub.zip

Posted

 

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 ...

  • 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

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...