How To Patch AppleHDA.kext For ALC282 Yosemite 10.10.4

I’ve been using VoodooHDA.kext for my HP-X360 i7-4510u, HD4400 Realtek 0x10ec0282, but it doesn’t auto detect when I have to plugin the headphone which is inconvenient sometimes. I found the patched on kext that works well, but I still have to patch the DSDT to get it working. The result is only has 2 ports, input and