Contribute
Register

[Guide] How to patch DSDT for working battery status

Joined
Apr 29, 2019
Messages
36
Motherboard
Lenovo Z50-70
CPU
i7-4510U
Graphics
Intel HD4400 1920x1080
Mobile Phone
  1. Android
So the .txt file that I download from rehab man's repo. I open it wit macIASL and then what do I do from there?
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
19,212
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
So the .txt file that I download from rehab man's repo. I open it wit macIASL and then what do I do from there?
no, you open your DSDT.dsl file in macIASL then press the Patch button and copy and paste the contents of your text file in the Patch Text section, then you click apply
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
19,212
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
I tried to open the file with MaciASL and I get the error "The document “battery_Lenovo-Z50-70.txt” could not be opened. MaciASL cannot open files in the “text” format." however when I downloaded it, it only comes as a .txt not a .dsl
maybe read what i said above....
 
Joined
Apr 29, 2019
Messages
36
Motherboard
Lenovo Z50-70
CPU
i7-4510U
Graphics
Intel HD4400 1920x1080
Mobile Phone
  1. Android
no, you open your DSDT.dsl file in macIASL then press the Patch button and copy and paste the contents of your text file in the Patch Text section, then you click apply

ok I went to get my DSDT.dsl file but I wen't to the patched folder and it is empty. What should I do in this case? There are other SSDT files but no DSDT files
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
19,212
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
ok I went to get my DSDT.dsl file but I wen't to the patched folder and it is empty. What should I do in this case?
it won't be in there if you haven't extracted yet, it will appear in your origin folder:
 
Joined
Apr 29, 2019
Messages
36
Motherboard
Lenovo Z50-70
CPU
i7-4510U
Graphics
Intel HD4400 1920x1080
Mobile Phone
  1. Android
it won't be in there if you haven't extracted yet, it will appear in your origin folder:


Alright I will follow the guide so once I patch it I simply drag my DSDT.aml file to the patched folder and reboot?
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
19,212
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
Joined
Apr 29, 2019
Messages
36
Motherboard
Lenovo Z50-70
CPU
i7-4510U
Graphics
Intel HD4400 1920x1080
Mobile Phone
  1. Android
Ok so I went to the MaciASL I paste it in I clicked patch and I got an error.
 

Attachments

  • 15819479034632064833421437527612.jpg
    15819479034632064833421437527612.jpg
    3.4 MB · Views: 15

Feartech

Moderator
Joined
Aug 3, 2013
Messages
19,212
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
Ok so I went to the MaciASL I paste it in I clicked patch and I got an error.
because you got errors, did you actually read and follow all the instructions on the link i gave you? or did you just open your DSDT.aml and try and patch it???
 
Top