Skip to content

Commit

Permalink
Fixed battery status issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
kreizlie committed Jul 28, 2020
1 parent 636001a commit d4bbc0b
Show file tree
Hide file tree
Showing 30 changed files with 486 additions and 511 deletions.
Binary file modified EFI/OC/ACPI/SSDT-ALS0.aml
Binary file not shown.
Binary file modified EFI/OC/ACPI/SSDT-BATT.aml
Binary file not shown.
Binary file modified EFI/OC/ACPI/SSDT-FREQ.aml
Binary file not shown.
Binary file modified EFI/OC/ACPI/SSDT-GPIO.aml
Binary file not shown.
Binary file modified EFI/OC/ACPI/SSDT-HPE0.aml
Binary file not shown.
Binary file added EFI/OC/ACPI/SSDT-MCHC.aml
Binary file not shown.
Binary file modified EFI/OC/ACPI/SSDT-PWRB.aml
Binary file not shown.
Binary file modified EFI/OC/ACPI/SSDT-RTC0.aml
Binary file not shown.
Binary file modified EFI/OC/ACPI/SSDT-SBUS.aml
Binary file not shown.
Binary file modified EFI/OC/ACPI/SSDT-TIM0.aml
Binary file not shown.
Binary file modified EFI/OC/ACPI/SSDT-UIAC.aml
Binary file not shown.
Binary file modified EFI/OC/ACPI/SSDT-USBX.aml
Binary file not shown.
Binary file modified EFI/OC/ACPI/SSDT-XOSI.aml
Binary file not shown.
Binary file removed EFI/OC/Kexts/USBPorts.zip
Binary file not shown.
Binary file removed EFI/OC/Kexts/VoodooPS2Controller.zip
Binary file not shown.
102 changes: 81 additions & 21 deletions EFI/OC/config.plist
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@
<key>Enabled</key>
<true/>
</dict>
<dict>
<key>Comment</key>
<string>SSDT-MCHC.aml</string>
<key>Path</key>
<string>SSDT-MCHC.aml</string>
<key>Enabled</key>
<true/>
</dict>
<dict>
<key>Comment</key>
<string>SSDT-MEM2.aml</string>
Expand Down Expand Up @@ -167,7 +175,7 @@
<true/>
</dict>
</array>
<key>Block</key>
<key>Delete</key>
<array>
</array>
<key>Patch</key>
Expand Down Expand Up @@ -330,7 +338,7 @@
</dict>
<dict>
<key>Comment</key>
<string>Rename EC method GBTC to GBTX</string>
<string>Rename EC method GBTC to XBTC</string>
<key>Count</key>
<integer>0</integer>
<key>Enabled</key>
Expand All @@ -344,7 +352,7 @@
<key>OemTableId</key>
<data></data>
<key>Replace</key>
<data>IEdCVFgA</data>
<data>IFhCVEMA</data>
<key>ReplaceMask</key>
<data></data>
<key>Skip</key>
Expand All @@ -356,7 +364,7 @@
</dict>
<dict>
<key>Comment</key>
<string>Rename EC method SBTC to SBTX</string>
<string>Rename EC method SBTC to SXTC</string>
<key>Count</key>
<integer>0</integer>
<key>Enabled</key>
Expand All @@ -370,7 +378,7 @@
<key>OemTableId</key>
<data></data>
<key>Replace</key>
<data>JlNCVFgD</data>
<data>JlNYVEMD</data>
<key>ReplaceMask</key>
<data></data>
<key>Skip</key>
Expand Down Expand Up @@ -434,21 +442,21 @@
</dict>
<dict>
<key>Comment</key>
<string>Rename SB NBTI to NBTX</string>
<string>Rename TZ method GCGC to XCGC</string>
<key>Count</key>
<integer>0</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>CE5CVEkS</data>
<data>B0dDR0MI</data>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data></data>
<key>OemTableId</key>
<data></data>
<key>Replace</key>
<data>CE5CVFgS</data>
<data>B1hDR0MI</data>
<key>ReplaceMask</key>
<data></data>
<key>Skip</key>
Expand Down Expand Up @@ -572,7 +580,7 @@
<dict>
<key>PciRoot(0x0)/Pci(0x1f,0x3)</key>
<dict>
<key>alc-layout-id</key>
<key>layout-id</key>
<data>FwAAAA==</data>
</dict>
<key>PciRoot(0x0)/Pci(0x2,0x0)</key>
Expand All @@ -585,7 +593,7 @@
<data>AwAAAA==</data>
</dict>
</dict>
<key>Block</key>
<key>Delete</key>
<dict/>
</dict>
<key>Kernel</key>
Expand Down Expand Up @@ -896,6 +904,22 @@
<key>BundlePath</key>
<string>VoodooPS2Controller.kext</string>
</dict>
<dict>
<key>Comment</key>
<string></string>
<key>MaxKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
<key>Enabled</key>
<true/>
<key>MinKernel</key>
<string></string>
<key>ExecutablePath</key>
<string>Contents/MacOS/VoodooInput</string>
<key>BundlePath</key>
<string>VoodooPS2Controller.kext/Contents/PlugIns/VoodooInput.kext</string>
</dict>
<dict>
<key>Comment</key>
<string></string>
Expand All @@ -912,6 +936,38 @@
<key>BundlePath</key>
<string>VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext</string>
</dict>
<dict>
<key>Comment</key>
<string></string>
<key>MaxKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
<key>Enabled</key>
<true/>
<key>MinKernel</key>
<string></string>
<key>ExecutablePath</key>
<string>Contents/MacOS/VoodooPS2Mouse</string>
<key>BundlePath</key>
<string>VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Mouse.kext</string>
</dict>
<dict>
<key>Comment</key>
<string></string>
<key>MaxKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
<key>Enabled</key>
<true/>
<key>MinKernel</key>
<string></string>
<key>ExecutablePath</key>
<string>Contents/MacOS/VoodooPS2Trackpad</string>
<key>BundlePath</key>
<string>VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Trackpad.kext</string>
</dict>
<dict>
<key>Comment</key>
<string></string>
Expand Down Expand Up @@ -1021,8 +1077,6 @@
<string>None</string>
<key>HideAuxiliary</key>
<true/>
<key>HideSelf</key>
<true/>
<key>PickerAttributes</key>
<integer>1</integer>
<key>PickerAudioAssist</key>
Expand All @@ -1042,12 +1096,16 @@
<dict>
<key>AppleDebug</key>
<true/>
<key>ApplePanic</key>
<true/>
<key>DisableWatchDog</key>
<true/>
<key>DisplayDelay</key>
<integer>0</integer>
<key>DisplayLevel</key>
<integer>2147483650</integer>
<key>SysReport</key>
<false/>
<key>Target</key>
<integer>0</integer>
</dict>
Expand All @@ -1062,8 +1120,10 @@
<true/>
<key>AuthRestart</key>
<false/>
<key>BlacklistAppleUpdate</key>
<false/>
<key>BootProtect</key>
<string>None</string>
<string>Bootstrap</string>
<key>ExposeSensitiveData</key>
<integer>6</integer>
<key>HaltLevel</key>
Expand All @@ -1087,7 +1147,7 @@
<key>Path</key>
<string>CleanNvram.efi</string>
<key>Auxiliary</key>
<false/>
<true/>
</dict>
<dict>
<key>Comment</key>
Expand All @@ -1101,7 +1161,7 @@
<key>Path</key>
<string>OpenShell.efi</string>
<key>Auxiliary</key>
<false/>
<true/>
</dict>
</array>
</dict>
Expand Down Expand Up @@ -1133,7 +1193,7 @@
<data>ZW4tVVM6MA==</data>
</dict>
</dict>
<key>Block</key>
<key>Delete</key>
<dict>
<key>4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14</key>
<array>
Expand Down Expand Up @@ -1193,7 +1253,7 @@
<key>MLB</key>
<string></string>
<key>ROM</key>
<data></data>
<data>ESIzRFVm</data>
<key>SpoofVendor</key>
<true/>
<key>SystemProductName</key>
Expand Down Expand Up @@ -1279,8 +1339,6 @@
<false/>
<key>ConsoleMode</key>
<string></string>
<key>DirectGopCacheMode</key>
<string></string>
<key>DirectGopRendering</key>
<false/>
<key>IgnoreTextInGraphics</key>
Expand Down Expand Up @@ -1333,16 +1391,18 @@
</dict>
<key>Quirks</key>
<dict>
<key>DeduplicateBootOrder</key>
<true/>
<key>ExitBootServicesDelay</key>
<integer>0</integer>
<key>IgnoreInvalidFlexRatio</key>
<false/>
<key>ReleaseUsbOwnership</key>
<false/>
<key>RequestBootVarFallback</key>
<true/>
<key>RequestBootVarRouting</key>
<true/>
<key>TscSyncTimeout</key>
<integer>0</integer>
<key>UnblockFsConnect</key>
<false/>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion hotpatch/SSDT-ALS0.dsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SSDT Fake ALS
DefinitionBlock ("", "SSDT", 2, "ACDT", "_ALS0", 0)
DefinitionBlock ("", "SSDT", 2, "ACDT", "ALS0", 0)
{
Scope (\)
{
Expand Down
Loading

0 comments on commit d4bbc0b

Please sign in to comment.