Jump to content
iHackintosh_PT

DSDT Auto-Patcher

11 posts in this topic

Recommended Posts

If you are having problems applying large patch files using DSDT Editor, you can use this simplified version of DSDT Auto-Patcher (Mac OS, Windows and Linux).

 

autopatcher.png

 

Download:

DSDT_Auto-Patcher.tar.gz

 

Requires JRE.

 

 

Patches from the extinct version 0.6 are available here (registration required).

 

If you use patched AppleHDA you may need to update the HDEF patch according to your audio codec. Make sure layout-id in DSDT (hex) coincides with LayoutID in AppleHDA (decimal).

 

layoutid.png

 

If your mobo/laptop is not listed, you can use the individual patches or create a new patch based on other with same chipset.

 

Here is a basic guide about DSDT patching.

 

If you want to add your patch to the list, please attach it here.

 

MaLd0n's thread (previous versions, discontinued).

 

 

Credits:

DSDT Editor and Auto-Patcher software by el coniglio

Patches HP DV8 Nehalem and DV6 Core i Nehalem by NIXin

HP Compaq 610 by Cassio

HP DV7 6B32US by stuck

Intel DP67BG by artur-pt

All other patches by MaLd0n

Share this post


Link to post
Share on other sites
Advertisement

I have created an app bundle version of this auto patcher using Platypus. It makes it a little easier to launch, since it shows up in Spotlight search results (Alt+Space, type 'auto', hit Enter).

 

I have also updated the iasl to a more recent build.

 

I have uploaded my package here as an attachment.

 

Is there any opposition with me providing this download on my github site at https://github.com/R...Patch/downloads?

 

I have instructions for patching raw DSDT for HP ProBook 4530s and one confusing part for people is getting auto patcher setup correctly. Mostly because of the out-of-date iasl. If I could just refer to a ZIP which contains the app bundle, it would be simpler.

 

But I'm a little unclear on the redistribution on this package (open source, closed source, freeware, ???), so I'm asking here. Thanks,

 

 

If you are having problems applying large patch files using DSDT Editor, you can use this simplified version of DSDT Auto-Patcher (Mac OS, Windows and Linux).

...

 

Here is a basic guide about DSDT patching.

 

If you want to add your patch to the list, please attach it here.

 

MaLd0n's thread (previous versions, discontinued).

 

 

Credits:

DSDT Editor and Auto-Patcher software by el coniglio

Patches HP DV8 Nehalem and DV6 Core i Nehalem by NIXin

HP Compaq 610 by Cassio

HP DV7 6B32US by stuck

Intel DP67BG by artur-pt

All other patches by MaLd0n

Auto Patcher.zip

Share this post


Link to post
Share on other sites

Hi, sorry about my english...

 

I need dsdt for asus p8h61 -m le, how can i get it?

Thank you very much ;)

 

You could look here for DSDT patches for your board: http://olarila.com/forum/packs.php

 

Then extract your native DSDT using Linux or Windows.

Then use Auto Patcher here or DSDT Editor to apply the patch.

Share this post


Link to post
Share on other sites

how many dsdt i need?

i haven´t got OS in my computer, i erase the hdd how can i extract the dsdt?

 

thank you very much for the help

Share this post


Link to post
Share on other sites

how many dsdt i need?

i haven´t got OS in my computer, i erase the hdd how can i extract the dsdt?

 

thank you very much for the help

 

You only need one DSDT... and there is only one in your BIOS.

 

You will have to install or otherwise run an OS to get at the native DSDT. I would suggest creating an Ubuntu Live CD/USB...

 

I've written a guide... it is for the HP ProBook, but you could read the instructions for extracting the DSDT as they pretty much apply to any computer: https://github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch/wiki/How-to-patch-your-DSDT

 

Then, you will do a base install of OS X and then use the patching tools here to create your OS X compliant DSDT...

 

Of course, you could always do some google searching for the DSDT you are looking for, and maybe you'll find a good one. But, in the end, it is always best to patch your own.

 

I recently hacked my desktop machine, with an Intel DH67GD/Core i7-2600. I found patches on the site I linked and they were close, but sleep was pretty much broken (it would take 2-3 minutes to sleep). But I ended up figuring out the offending DSDT code and wrote some more patches for it. I don't know what your experience is... but doing that kind of task requires programming knowledge and an ability to read/understand the ACPI spec. Hopefully, you find some patches or a DSDT that mostly works.

Share this post


Link to post
Share on other sites

Whath patches i need to my hardware?

 

CPU

Intel Core i3 2100 @ 3.10GHz 41 °C

Sandy Bridge 32nm Tecnología

RAM

8,00 GB Doble-Canal DDR3 @ 686MHz (9-9-9-24)

Motherboard

ASUSTeK Computer INC. P8H61-M LE/USB3 (LGA1155) 31 °C

Gráfics

L196WTQ (1440x900@60Hz)

1024MBGeForce GTX 550 Ti (ASUStek Computer Inc) 33 °C

HDD

466GB Seagate ST3500410AS ATA Device (SATA) 32 °C

Unidades ópticas

HL-DT-ST DVD-ROM DH16NS10 ATA Device

HL-DT-ST DVDRAM GH20NS15 ATA Device

DTSOFT Virtual CdRom Device

Audio

Realtek High Definition Audio

wireless

D-link dwl g122

Share this post


Link to post
Share on other sites

Whath patches i need to my hardware?

 

I don't know... you're going to have to try it yourself. I believe you will find a set of patches for your board at the site I linked -- that's where I would start. But each computer is a science experiment.

 

It helps to have a working mac/hack to build SSDT / DSDT, download from Mac App Store, do google searches for solutions, etc.

Share this post


Link to post
Share on other sites

If you are having problems applying large patch files using DSDT Editor, you can use this simplified version of DSDT Auto-Patcher (Mac OS, Windows and Linux).

 

autopatcher.png

 

Download:

DSDT_Auto-Patcher.tar.gz

 

Requires JRE.

 

 

Patches from the extinct version 0.6 are available here (registration required).

 

If you use patched AppleHDA you may need to update the HDEF patch according to your audio codec. Make sure layout-id in DSDT (hex) coincides with LayoutID in AppleHDA (decimal).

 

layoutid.png

 

If your mobo/laptop is not listed, you can use the individual patches or create a new patch based on other with same chipset.

 

Here is a basic guide about DSDT patching.

 

If you want to add your patch to the list, please attach it here.

 

MaLd0n's thread (previous versions, discontinued).

 

 

Credits:

DSDT Editor and Auto-Patcher software by el coniglio

Patches HP DV8 Nehalem and DV6 Core i Nehalem by NIXin

HP Compaq 610 by Cassio

HP DV7 6B32US by stuck

Intel DP67BG by artur-pt

All other patches by MaLd0n

 

I posted a thread on the forums about my issues. Hope someone can help. Thanks in advance. http://olarila.com/forum/viewtopic.php?f=27&t=2772

Share this post


Link to post
Share on other sites

Hi!

 

I have an ASUS P5GC (without MX). Would the Autopatcher work though not having a "MX"? :-/

 

CU,

Mészi.

Share this post


Link to post
Share on other sites

hello

 

u can try apply the patch and see the results...

 

if compile with no error

 

u can test it..

 

good hack

Share this post


Link to post
Share on other sites

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

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By MaLd0n
      Install MacOS with Olarila Image, Step by Step, Install and Post Install  
      https://www.olarila.com/topic/5794-hackintosh-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/
          First... If you need DSDT edits for SkyLake, KabyLake or CoffeeLake... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Post Ioreg, extract with Ioreg Explorer http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222606 -Run it, post files generated in your desktop http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222609  Installation   --Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   --Paste my EFI folder into EFI partition  EFI GA H110M-S2.zip     --Install Sierra/High Sierra and boot into system!   Post Installation   --Paste my EFI folder into EFI partition  EFI GA H110M-S2.zip     --Reboot and activate video!   -Nvidia WebDriver Sierra http://www.insanelymac.com/forum/topic/312525-nvidia-web-driver-updates-for-macos-sierra-update-07212017/ -Nvidia WebDriver High Sierra http://www.insanelymac.com/forum/topic/324195-nvidia-web-driver-updates-for-macos-high-sierra-update-10162017/ -Cuda http://www.insanelymac.com/forum/topic/302795-cuda-90214-is-out-update-10162017/   --DSDT My DSDT with Skylake patches DSDT.GA H110M-S2.zip   Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -PNLF -HDMI   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
    • By kylon
      A big thanks to wegface for teaching me a lot of things.
       
       
      Tested on Catalina 10.15.4 and Clover EFI 5104 (Catalina Patcher)
       
      Not Working:
      - realtek sd card reader (pm me if you have a fix)
       
      Notes:
      **CPU patches are disabled, if you are using a locked BIOS you must enable them**
       
      Clover EFI:
      - Install it in UEFI Mode and change your hdd partition table to GPT.
      - You will be able to install ANY OS in EFI mode, even if this pc does not support EFI at all! (No guide available for this)
       
      You will need:
      My unlocked BIOS (OPTIONAL) (here) Latest Clover config from CCE Bank (here) (asus k53sj-kylon) Rehabman Voodoo PS2 Controller (here) acidanthera AppleALC (here) acidanthera Lilu (here) acidanthera VirtualSMC (here) acidanthera SMCBatteryManager (here) acidanthera SMCLightSensor (here) acidanthera WhateverGreen (here) Mieze Realtek RTL8111 (here)
    • By hacking2apple
      It's been known that there is indeed support for VGA in Coffe Lake and that support for prior iGPUs was deprecated as the VGA port was removed since Sierra. However, using port patches in Devices Properties (Open Core), I made the VGA port to work again with graphics acceleration.
      But there's a catch, the port is glitchy. Once macOS displays the accounts, you can see the Enter Password box with the blur effect. But after some seconds, the whole display will turn to another color (depends on the background). I'm not sure why that happens.
      I would suggest learning what are Ports, Connectors, Indexes, Types, and BusIDs before continuing, otherwise, you would get lost.
      These are the patches that are supposed to enable the VGA port according to the Whatevergreen Intel guide:
      06020000 02000000 30000000 // Option 1 06020000 01000000 30000000 // Option 2 None of those ports seem to work. The first problem is that the Index is 6, which does not make any sense as the Azul framebuffer only supports up to 3 Indexes (software ports). So we first have to change the Index for the VGA port on your motherboard, which is 2 (physical port is 0x06)) for me.
      So that means that the target port is the Index 2, which is 02040A00 00040000 87000000.
      bus-id 4 is for DP so we would change that to 2, which is VGA. That is according to what Hackintool says. I also proved other bus-ids but none of the other ones seem to work.
      I have no idea what pipe does so I just type zeros.
      I think pipe is basically another way group ports. So later I changed that to 10, which is 0A in hex. That means pipe remains the same as it was originally.  02020A00 01000000 87000000
      The next part is the connector-type, for which I used 02000000.
      I tried the VGA connector-types that Hackintool suggested but I noted some weird differences whereas 02000000 and 01000000 seem to work okay.
      Finally, I don't know what flags do so I tried with 30000000 and 87000000. The only difference is that with 87000000 I'd gain more seconds before the whole screen turns to another color.
       
      This is the final configuration:
      AAPL,ig-platform-id <0300220D> framebuffer-con1-alldata <02020A00 0100000 87000000> framebuffer-con1-enable <01000000> framebuffer-patch-enable <01000000> This is the video proof:
      https://i.imgur.com/bd6jtFh.mp4
       
      macOS Catalina 10.15.3
      Kexts: Whatevergreen 1.3.7
      Boot loader: OpenCore 0.5.6
      PC Specs:
      Intel Core i5 4460
      Intel HD Graphics 4600
      ECS H81H3-M4
      4GB RAM DDR3
      bd6jtFh.mp4
    • By DoZe
      Hi :0)
       
      Hope As usual a perfect matching DSDT for this good Laptop.
       
      Regards, Ray
       
       
      SendMeStudiMac.zip
    • By MaLd0n
      --Donations via PayPal--
      https://tinyurl.com/r2bvzm7
       
      --Original Topic--
      https://www.olarila.com/topic/6874-olarila-hackbook-lenovo-ideapad-s145-mojave-catalina-full-dsdt-patches/
       

       
      -Perfect HackBook, HDMI Audio/Video, Bluetooth, AirPlay, Sleep, Lid Sleep, Auto Sleep, Audio, etc!
      -Wifi card has been replaced with Dell DW1560!
      -I'm using a S145-15IWL Model with Intel Core i5 8265u / Intel UHD Graphics 620
      -Update bios/uefi to last version
       
      --Installation--
      https://www.olarila.com/topic/5794-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/
       
      --Clover Folder--
      Just paste EFI folder inside EFI partition
      https://www.olarila.com/files/Clover.Folder/Lenovo IdeaPad S145.zip
      Notebooks with ELAN trackpad use it with my folder above
      IdeaPad S145 ELAN.zip
       
      Bluetooth Broadcom
      Bluetooth Broadcom.zip
       
      CPUFriend for i5-8265U
      CPUFriend i5-8265U.zip
       
      --Full DSDT Patches--
      -My DSDT
      DSDT Lenovo IdeaPad S145.zip
       
      This DSDT work on S145-14IWL, S145-15IWL, V14-IWL, V15-IWL models
      -Patches
      -FIX ERRORS AND WARNINGS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA SERIE 11 ID -DMAC -REMOVE LINES, PROBLEMATIC and UNUSED -SLPB -DARWIN / WINDOWS 2015 -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -REAL TIME CLOCK -ARTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -FWHD -USBX -PMCR -PPMC -XSPI -GMM -IMEI -EC -PRWs -_DSMs -PNLF -BRIGHTNESS KEYS -I2C -NATIVE USB -ARPT -GFX0 -DTGP -kUSBCompanionIndex -io-device-location -FULL RENAMED DEVICES   --IGPU Patch--
      Video solution with HDMI Audio and Video
      <key>PciRoot(0x0)/Pci(0x2,0x0)</key> <dict> <key>AAPL,GfxYTile</key> <data> AQAAAA== </data> <key>AAPL,ig-platform-id</key> <data> CQClPg== </data> <key>device-id</key> <data> pT4AAA== </data> <key>enable-hdmi20</key> <data> AQAAAA== </data> <key>framebuffer-con0-alldata</key> <data> AAAIAAIAAACYAAAA </data> <key>framebuffer-con0-enable</key> <integer>1</integer> <key>framebuffer-con1-alldata</key> <data> AQEJAAAIAADHAQAA </data> <key>framebuffer-con1-enable</key> <integer>1</integer> <key>framebuffer-con2-alldata</key> <data> AgYKAAAEAADHAQAA </data> <key>framebuffer-con2-enable</key> <integer>1</integer> <key>framebuffer-fbmem</key> <data> AACQAA== </data> <key>framebuffer-patch-enable</key> <data> AQAAAA== </data> <key>framebuffer-stolenmem</key> <data> AAAwAQ== </data> <key>framebuffer-unifiedmem</key> <data> AAAAgA== </data> <key>hda-gfx</key> <string>onboard-1</string> <key>model</key> <string>Intel Corporation, Cannon Point-LP Iris Plus Graphics 655</string> </dict>   --Native USB Fix for Notebooks - No Injector/Kext Required--
      https://www.olarila.com/topic/6878-guide-native-usb-fix-for-notebooks-no-injectorkext-required/
      https://www.olarila.com/topic/6181-guide-native-usb-fix-for-desktops-no-injectorkext-required-skylake/
       
       
      -ScreenShots

































      -Links
       
       
      Clover https://github.com/CloverHackyColor/CloverBootloader
      AirportBrcmFixup.kext https://github.com/acidanthera/AirportBrcmFixup
      AppleALC.kext https://github.com/acidanthera/AppleALC
      Brcm Bluetooth https://github.com/acidanthera/BrcmPatchRAM
      Lilu.kext https://github.com/acidanthera/Lilu
      SystemProfilerMemoryFixup.kext https://github.com/Goldfish64/SystemProfilerMemoryFixup
      VirtualSMC.kext https://github.com/acidanthera/VirtualSMC
      VoodooI2C.kext https://github.com/alexandred/VoodooI2C
      VoodooPS2Controller.kext https://github.com/acidanthera/VoodooPS2
      WhateverGreen.kext https://github.com/acidanthera/WhateverGreen
      MaciASL - https://github.com/acidanthera/MaciASL
      acpica - https://github.com/acpica/acpica
      AptioMemoryFix.efi https://github.com/acidanthera/AptioFixPkg
      ApfsDriverLoader.efi https://github.com/acidanthera/AppleSupportPkg
      HFSPlus.efi https://github.com/JrCs/CloverGrowerPro/blob/master/Files/HFSPlus/X64/HFSPlus.efi?raw=true
      Hackintool https://github.com/headkaze/Hackintool
       
      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
       
      Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad, Sampath007, onemanosx, erroruser, Jenny David, Olarila Facebook Community, Hackintosh Facebook Community and many others!
       
      We're all here to have fun and learn from each other!
×