Jump to content

Search the Community: Showing results for tags 'patch'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • InsanelyMac Lounge
    • Front Page News and Rumors
    • Reader News and Reviews
    • Forum Information and Feedback
  • OSx86 Project
    • New Releases and Updates
    • New Users Lounge
    • Developers Corner
    • Tutorials (The Genius Bar)
    • Technical FAQ
    • Installation
    • Post-Installation
    • DSDT and SSDT
    • Hardware Components and Drivers
    • Desktops
    • Notebooks
    • Netbooks
    • Tablets
    • MacMod of the Month
    • Multi-booting and Virtualisation
  • International
    • Your Language
    • Deutsch
    • Español
    • Français
    • Italiano
    • Português
    • Русский
  • Apple World
    • Mac OS X
    • Apple Computers and Hardware
    • iOS Devices
    • Mac Applications
    • Mac Programming and Development
    • iOS Programming and Development
    • Mac Gaming
    • Mac Accessories
  • Discuss and Learn
    • Windows Discussion
    • *nix
    • Apple Opinions and Discussion
    • The Great Debates
    • Internet(s), Servers, and Networks
    • Buying Thoughts, Reviews, and Recommendations
    • Mods and Overclocking
    • The Big Issues [Real Life]
  • Everything Else
    • Creativity
    • Thunderdome (Random Stuff)
    • Laughs
    • The Marketplace

Categories

  • Kexts
    • Graphics Cards
    • Audio
    • LAN and Wireless
    • Other
  • Kernels
  • Bootloaders
  • DSDTs
    • Patches
  • Pandora
  • Apps
  • Miscellaneous
  • Customization

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 64 results

  1. [GUIA] Correção de assinatura BIOS Insyde H2O Recentemente comprei um notebook Lenovo L440 pra instalar o macOS Mojave e fui substituir a placa wireless pela DW1560 porque a atual não é compatível. Descobri que existia uma whitelist de placas permitidas que as fabricantes estão adotando recentemente (no meu caso utiliza uma bios Phoenix Insyde BIOS H2O). Procurei em fórums de BIOS MODDING e encontrei pessoas que fizeram o patch pra mim. Só que após substituir a BIOS notei que o computador ficava apitando 5 vezes todas vez que ligava e fui me aprofundar no caso. E foi aí que descobri como resolver isso e por isso criei esse guia baseado nas informações que achei em alguns fóruns russos. Prefácio Quando a BIOS falha no teste te integridade, algumas funcionalidades Intel AMT param de funcionar e é emitido uma sequência de 5 apitos duas vezes no boot. Após modificar para remover whitelist (habilitar placas WI-FI não autorizadas), destravar MSR 0xe2 (hackintosh), habilitar menu avançado, etc. a BIOS não vai passar no teste de integridade causando esse problema. Essa verificação de integridade é feita através da assinatura RSA do bloco da BIOS chamado TCPABIOS (mais informações abaixo) com a chave pública no formato modulus 3 também armazenada na BIOS. Esse bloco TCPABIOS armazena os checksums de cada volume da BIOS. O que faremos é gerar novos checkums para esses volumes que foram modificados, gerar um para de chaves RSA (privada e pública), assinar esse bloco com a chave privada e substituir a chave pública. Ferramentas necessárias - EFITool NE alpha 54: https://github.com/LongSoft/UEFITool/releases - HxD 2.1.0: https://mh-nexus.de/en/hxd/ - OpenSSL: http://gnuwin32.sourceforge.net/packages/openssl.htm (Download -> Binaries) - Microsoft File Checksum Integrity Verifier (FCIV.exe): https://www.microsoft.com/en-us/download/details.aspx?id=11533 Passo a passo Vamos abrir a BIOS modificada, localizar o bloco TCPABIOS e entender sua anatomia. 1. Abra a BIOS no HxD (Vamos utilizar nesse guia a BIOS modificada no fórum MyDigitalLife.com pelo usuário Serg008 para o notebook Lenovo B590) 2. Busque a palavra TCPABIOS: 3. O bloco começa com TCPABIOS e termina com antes de TCPACPUH 4. Anatomia: 54 43 50 41 42 49 4F 53 48 31 38 34 61 31 31 2F 32 36 2F 31 33 49 42 4D 53 45 43 55 52 00 FD 27 34 2A 35 AB 41 26 39 E3 32 E5 B6 8A D6 49 5B 0B 77 F9 82 58 48 00 00 00 CE 18 1F 00 00 00 03 00 00 00 00 00 00 00 27 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF 83 04 D4 52 52 95 C5 D7 21 55 78 0E 5C AD 47 EE C4 3D 1D C1 EC 69 03 2B 51 A5 42 61 96 22 F9 7B 88 57 B7 A8 9D D0 20 DB 5B 11 10 55 07 84 6C 62 DF FA 2F 6A A8 43 0C 8A 40 AF 79 0D 31 DB 5A 5D C8 2F EB F8 7C 87 B0 A6 3D 2A 88 AE 91 9D 88 E3 AA 85 E3 5A B3 91 7F 28 68 1F BA 92 C4 7E 10 F5 1A 7E 75 A9 6F CE C0 4F BA FA 79 A5 98 2B 50 60 BA 09 73 7B 03 D1 0C 3E A2 9C 44 DF E9 F2 92 34 7B Cinza: Nome e informações do bloco Vermelho: Informações dos volumes (Checksum e Cabeçalho) Azul: Separação da lista de volumes para a assinatura do bloco Verde: Assinatura do bloco TCPABIOS são os últimos 128 bytes Lista de Volumes: Cada volume tem o formato: 00 FD 27 34 2A 35 AB 41 26 39 E3 32 E5 B6 8A D6 49 5B 0B 77 F9 82 58 48 00 00 00 CE 18 1F 00 00 00 03 00 00 00 00 00 (prefixo 3 bytes + checksum 20 bytes + offset 4 bytes + tamanho do volume 6 bytes + separador do fim 6 bytes) Os volumes são enumerados e utilizam o primeiro byte no prefixo para isso (00 FD 27), começando do 0. A BIOS utilizada nesse exemplo possui somente um volume, mas no caso de mais de um volume, seria: 00 FD 27 .., 01 FD 27 ..., 02 FD 27 ... - Checksum é o cálculo SHA1 do volume. - Offset é a posição do volume dentro da BIOS. Os bytes ficam invertidos, nesse caso seria 00 00 00 48 ou seja: 48h - Tamanho do volume também está com os bytes invertidos, então: 1F18CEh Então é isso. Precisamos corrigir essas informações (checksum, offset e tamanho) 5. Para extrair os volumes abra a BIOS com o UEFITool e veja como identificar os volumes (nosso exemplo há somente um volume, se houvessem outros estariam também dentro de EfiFirmwareFileSystemGuid): Na BIOS original, circulado em vermelho podemos ver o nosso volume. Observe que em azul temos Offset e verde o tamanho. Exatamente como verificamos acima no HxD. Já na BIOS modificada vemos que está diferente o tamanho: Oridinal: 1F18CEh Modificada: 1F12D5h (vamos precisar disso mais tarde) 6. Vamos extrair esse volume escolhendo a opção “Extract as is...” 7. Utilize esse comando para obter o checkum desse volume: fciv.exe -sha1 File_Volume_image_FvMainCompact.ffs Agora temos o checksum que é 396e0dc987219b4369b1b9e010166302ce635202 8. Substitua as informações no bloco TCPABIOS: Observe que o tamanho do volume precisa ter os bytes invertidos, então se o total são 6 bytes e é 1F12D5h, fica D5 12 1F 00 00 00 no lugar de CE 18 1F 00 00 00. Se o offset for diferente, também realizar o mesmo procedimento invertendo os bytes. Checksum alterar de 34 2A 35 AB 41 26 39 E3 32 E5 B6 8A D6 49 5B 0B 77 F9 82 58 para 39 6E 0D C9 87 21 9B 43 69 B1 B9 E0 10 16 63 02 CE 63 52 02 Faça esse procedimento para cada volume na BIOS. 9. Agora precisamos gerar o checksum de todo o bloco TCPABIOS mas sem considerar os últimos 131 bytes, ou seja desconsiderar de FF FF 83 + 80 bytes da assinatura anterior. Copie para um novo arquivo no HxD e salve como tcpabios Utilize o comando para gerar o checksum desse bloco: fciv.exe -sha1 tcpabios Checksum do bloco TCPABIOS: 0da6715509839a376b0a52e81fdf9683a8e70e52 Crie um novo arquivo no HxD e adicione 108 bytes com 00 e cole o checksum no final e salve como tcpabios_sha, ficando assim: 10. Agora vamos gerar a chave privada RSA com modulus 3: openssl genrsa -3 -out my_key.pem 1024 Assinar o arquivo tcpabios_sha: openssl rsautl -inkey my_key.pem -sign -in tcpabios_hash -raw > tcpabios_sign Agora aproveite para gerar a chave publica: openssl rsa -in my_key.pem -outform der -pubout -out my_key_pub.der E gerar modulus 3 da chave pública: openssl rsa -pubin -inform der -in my_key_pub.der -text -noout Copie e cole a chave em um arquivo de texto para utilizar daqui a pouco. Remova todos os “:” e coloque tudo em uma única linha, ficando assim: 11. Abra o arquivo tcpabios_sign no HxD, copie o conteúdo e substitua a assinatura no final do bloco TCPABIOS: 12. Agora vamos localizar na BIOS o local da chave pública e substituir. Essa chave começa com 12 04 e termina com 01 03 FF e fica após o bloco TCPABBLK. A chave fica assim: 12 04 + 81 bytes + 01 03 FF. Faça uma busca por 01 03 FF para localizar mais facilmente. Verifique se antes dos 81 bytes tem os bytes 12 04 para ter certeza que achou. Agora substitua pela chave pública que ficou anotado no arquivo de texto anteriormente, ficando assim: Salve e está pronto. Sua BIOS está assinada e pronta.
  2. Drovosek

    How fix some errors id DSDT?

    Hello.I extracted .aml files via F2 to Clover, then moved iasl and patchmatic to .../bin and DSDT converted.aml to DSDT.dslThen I patched the DSDT.dsl patch battery_HP-G6-2221ss.txt and clicked "Compile".11750, 6126, syntax error, unexpected PARSEOP_ARG119689, 6126, syntax error, unexpected PARSEOP_METHOD19735, 6126, syntax error, unexpected PARSEOP_CLOSE_PAREN19738, 6126, syntax error, unexpected '}', expecting $end and premature End-Of-FileThe first error disappears if you remove all the "args", the third if you remove the closing parenthesis (but I do not know how this is the correct solution to the errors) debug_9278.zip battery_HP-G6-2221ss.txt DSDT after bat patching.dsl DSDT primary.dsl
  3. CodeRush

    [UEFIPatch] UEFI patching utility

    PMPatch is obsolete and not supported by me anymore. I have developed the successor of it, UEFIPatch, which is both more universal and reliable, and uses UEFITool's engine for proper UEFI modification. Combined topic about all my UEFITool-based utilities is here, sources and binaries are available on GitHub. Bug reports are welcome. To any new readers of this topic: it's you who takes all the risk of bricking your board, it's you who is responsible for all things that you do to your PC, not me or any other developer out there! BIOS modifications are risky by their nature, please be aware of it and don't blame me if anything is gone wrong for you. Old PMPatch post and FAQ is in spoiler below:
  4. grisno

    IDT 92HD87B2/4

    Version 1.30

    1,416 downloads

    Hi people, This is a preliminary installer to activate the sound card IDT 92HD87B2/4 (111D:76D9) in MacOS. This new version of the installer does not contain AppleHDA patched Kext. To work properly, it must be installed over vanilla AppleHDA Kext. I want to thank the whole community for their efforts and content provided, because without these it would not be possible to create this installer. I would appreciate comments and suggestions!! Status: Speakers : OK Headphones : OK HDMI Audio : OK (Intel HD3K/4K Tested) LineIn : OK MicInt : OK MicIntNoiseReduction : OK MicExt : OK AutoDetectLineIn : OK Sleep : OK WakeUp : OK AutoSleep : OK Hibernate : OK Siri : OK Tested Laptops: - HP Pavillion G6-2209SS - HP Probook 4440S Coming Soon: - Unified installer for the different supported operating systems Original Verbs: 00a71cf0 00a71d00 00a71ef0 00a71f40 00b71c1f 00b71d10 00b71e21 00b71f04 00c71c20 00c71d10 00c71ea1 00c71f04 00d71c10 00d71d01 00d71e17 00d71f90 00f71cf0 00f71d00 00f71ef0 00f71f40 01171c30 01171d01 01171ea3 01171fd5 Modified Verbs Layer ID 3 & 12: 00A71CF0 00A71D00 00A71EF0 00A71F40 01371C40 01371D10 01371E21 01371F04 00C71C20 00C71D10 00C71E81 00C71F04 01471C10 01471D01 01471E17 01471F90 00F71C50 00F71D00 00F71EF0 00F71F40 01171C30 01171D01 01171EA0 01171F90 Modified Verbs Layer ID 2: 00B71C10 00B71D10 00B71E21 00B71F04 00C71C20 00C71D10 00C71E81 00C71F04 00D71C30 00D71D00 00D71E17 00D71F90 01171C40 01171D00 01171EA0 01171F90 AppleHDAHardwareConfigDriver.kext > Info.plist (Layer ID 2, 3 & 12): <key>HDAConfigDefault</key> <array> <dict> <key>AFGLowPowerState</key> <data> AwAAAA== </data> <key>Codec</key> <string>IDT 92HD87B2/4</string> <key>CodecID</key> <integer>287143641</integer> <key>ConfigData</key> <data> AKcc8ACnHQAApx7wAKcfQAE3HEABNx0QATce IQE3HwQAxxwgAMcdEADHHoEAxx8EAUccEAFH HQEBRx4XAUcfkAD3HFAA9x0AAPce8AD3H0AB FxwwARcdAQEXHqABFx+Q </data> <key>FuncGroup</key> <integer>1</integer> <key>LayoutID</key> <integer>2</integer> </dict> <dict> <key>AFGLowPowerState</key> <data> AwAAAA== </data> <key>Codec</key> <string>IDT 92HD87B2/4</string> <key>CodecID</key> <integer>287143641</integer> <key>ConfigData</key> <data> ALccEAC3HRAAtx4hALcfBADHHCAAxx0QAMce gQDHHwQA1xwwANcdAADXHhcA1x+QARccQAEX HQABFx6gARcfkA== </data> <key>FuncGroup</key> <integer>1</integer> <key>LayoutID</key> <integer>3</integer> </dict> <dict> <key>AFGLowPowerState</key> <data> AwAAAA== </data> <key>Codec</key> <string>IDT 92HD87B2/4</string> <key>CodecID</key> <integer>287143641</integer> <key>ConfigData</key> <data> ALccEAC3HRAAtx4hALcfBADHHCAAxx0QAMce gQDHHwQA1xwwANcdAADXHhcA1x+QARccQAEX HQABFx6gARcfkA== </data> <key>FuncGroup</key> <integer>1</integer> <key>LayoutID</key> <integer>12</integer> </dict> </array> DSDT: Patch to apply with MaciASL in your DSDT. You must change the value of the layout-id before applying the patch. In MacOS Mojave should always be 0x02 ######################################### HDEF ######################################## into method label _DSM parent_label HDEF remove_entry; into device label HDEF insert begin Method (_DSM, 4, NotSerialized)\n {\n If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n Return (Package()\n {\n "built-in", Buffer () { 0x00 }, \n "hda-gfx", Buffer() { "onboard-1" }, \n "layout-id", Buffer () { 0x03, 0x00, 0x00, 0x00 }, \n "PinConfigurations", Buffer () {}, \n "MaximumBootBeepVolume", Buffer () { 0x4d } \n })\n }\n end;
  5. Please be advised that this is not a discussion topic. This topic is a "direct" line of communication between the Developers of Clover (Clover Team). Unless a Developer/Coder asks for more information, all the critical information of a post should be contained in the subject and first post. Every post will be responded to in some fashion before being locked. Invalid Posts Since we are strictly interested in issue reports on this topic, the following post/reply are likely to be deleted immediately: 1. Discussion topic aka OFF-TOPIC (What do you all think?) 2. Invalid issue reports 3. Feedback / Suggestion threads. 4. Posts requesting information about the bootloader. 5. Posts made on other forums (Don't spam.) 6. "Accomplishment" threads, threads to advertise screenshots unrelated to bug reports. 7. Posts requesting status updates on existing issues.
  6. Hello, My desktop Hackintosh is running macOS Mojave 10.14.2 with two dedicated GPUs installed: NVIDIA GTX 1080 Ti, AMD Radeon HD 7970. The AMD GPU is used primarily under macOS and the NVIDIA one under Windows. macOS boots without issues as long as there are no displays connected to the NVIDIA GPU. If a display is connected then the display connected to the AMD GPU will become blank. The system can be accessed using Screen Sharing/VNC. There are no problems if I swap PCI-e slots for the GPUs so that the AMD GPU is in the first slot (primary GPU), but I prefer not to do this. I have tried to remove the whole PCI (bridge) device in the DSDT file and all the lines that refer to it. The PCI entries in ioreg and System Information are gone but System Information still shows an NVIDIA GPU under Graphics/Display. Many of the suggestions I have found in guides and forum posts do not seem to apply here. My problem with some of the guides and answers is that they give the solution without explaining how anything works, or they tell you what to do without explaining the reasons behind it. What else can I do? Thank you for any assistance you can provide! I have attached some files that may help you help me. DSDT_BIOS_3101.zip contains the original ACPI (*.aml) files without any patches. Send me Steffens-iMac.zip is a file produced by RunMe.app, and do contain simple patches to rename some devices. DSDT.dsl.patch is a diff of the original DSDT.dsl file and the one with the PCI devices removed (commented out). Motherboard: ASUS Rampage V Extreme (X99), BIOS version 3101 (macOS does not boot with anything newer). Clover version: 4813. DSDT.dsl.patch: --- /Users/sl/Desktop/DSDT_BIOS_3101/DSDT.dsl 2018-12-17 05:24:30.000000000 +0100 +++ /Volumes/EFI/EFI/CLOVER/ACPI/patched/DSDT.dsl 2018-12-17 16:52:08.000000000 +0100 @@ -5,7 +5,7 @@ * * Disassembling to symbolic ASL+ operators * - * Disassembly of DSDT.aml, Mon Dec 17 05:24:30 2018 + * Disassembly of DSDT.aml, Mon Dec 17 04:01:52 2018 * * Original Table Header: * Signature "DSDT" @@ -2128,7 +2128,7 @@ ^^PCI0.BR2B.OSHP () ^^PCI0.BR2C.OSHP () ^^PCI0.BR2D.OSHP () - ^^PCI0.BR3A.OSHP () + //^^PCI0.BR3A.OSHP () ^^PCI0.BR3B.OSHP () ^^PCI0.BR3C.OSHP () ^^PCI0.BR3D.OSHP () @@ -2274,7 +2274,7 @@ ^^PCI0.BR2B.OSHP () ^^PCI0.BR2C.OSHP () ^^PCI0.BR2D.OSHP () - ^^PCI0.BR3A.OSHP () + //^^PCI0.BR3A.OSHP () ^^PCI0.BR3B.OSHP () ^^PCI0.BR3C.OSHP () ^^PCI0.BR3D.OSHP () @@ -2420,7 +2420,7 @@ ^^PCI0.BR2B.OSHP () ^^PCI0.BR2C.OSHP () ^^PCI0.BR2D.OSHP () - ^^PCI0.BR3A.OSHP () + //^^PCI0.BR3A.OSHP () ^^PCI0.BR3B.OSHP () ^^PCI0.BR3C.OSHP () ^^PCI0.BR3D.OSHP () @@ -2570,7 +2570,7 @@ ^^PCI0.BR2B.OSHP () ^^PCI0.BR2C.OSHP () ^^PCI0.BR2D.OSHP () - ^^PCI0.BR3A.OSHP () + //^^PCI0.BR3A.OSHP () ^^PCI0.BR3B.OSHP () ^^PCI0.BR3C.OSHP () ^^PCI0.BR3D.OSHP () @@ -2803,12 +2803,14 @@ If ((CSTA (Arg0, Arg1) == 0x00)) { FLAG = 0x00 - PRID (APID = 0xFF) = 0xFF + APID = 0xFF + PRID = 0xFF } Else { Local0 = APID - PRID (FLAG = 0x01) = Local0 + FLAG = 0x01 + PRID = Local0 } Return (APIC) @@ -15259,7 +15261,7 @@ ^BR2B.OSHP () ^BR2C.OSHP () ^BR2D.OSHP () - ^BR3A.OSHP () + //^BR3A.OSHP () ^BR3B.OSHP () ^BR3C.OSHP () ^BR3D.OSHP () @@ -26861,7 +26863,7 @@ } } - Device (BR3A) + /*Device (BR3A) { Name (_ADR, 0x00030000) // _ADR: Address OperationRegion (MCTL, SystemMemory, 0xE0013188, 0x04) @@ -27496,7 +27498,7 @@ { Name (_ADR, 0xFFFF) // _ADR: Address } - } + }*/ Device (BR3B) { @@ -30267,7 +30269,7 @@ ^^PCI0.BR2B.OSHP () ^^PCI0.BR2C.OSHP () ^^PCI0.BR2D.OSHP () - ^^PCI0.BR3A.OSHP () + //^^PCI0.BR3A.OSHP () ^^PCI0.BR3B.OSHP () ^^PCI0.BR3C.OSHP () ^^PCI0.BR3D.OSHP () @@ -30567,21 +30569,21 @@ WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x4158, // Range Minimum - 0x0000, // Range Maximum + 0x4158, // Range Maximum 0x0000, // Translation Offset 0x0001, // Length ,, , TypeStatic, DenseTranslation) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x5758, // Range Minimum - 0x0000, // Range Maximum + 0x5758, // Range Maximum 0x0000, // Translation Offset 0x0000, // Length ,, , TypeStatic, DenseTranslation) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x5858, // Range Minimum - 0x0000, // Range Maximum + 0x5858, // Range Maximum 0x0000, // Translation Offset 0x0000, // Length ,, , TypeStatic, DenseTranslation) @@ -37604,7 +37606,7 @@ ^^PCI0.BR2B.OSHP () ^^PCI0.BR2C.OSHP () ^^PCI0.BR2D.OSHP () - ^^PCI0.BR3A.OSHP () + //^^PCI0.BR3A.OSHP () ^^PCI0.BR3B.OSHP () ^^PCI0.BR3C.OSHP () ^^PCI0.BR3D.OSHP () @@ -37904,21 +37906,21 @@ WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x4558, // Range Minimum - 0x0000, // Range Maximum + 0x4558, // Range Maximum 0x0000, // Translation Offset 0x0001, // Length ,, , TypeStatic, DenseTranslation) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x4259, // Range Minimum - 0x0000, // Range Maximum + 0x4259, // Range Maximum 0x0000, // Translation Offset 0x0000, // Length ,, , TypeStatic, DenseTranslation) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x4359, // Range Minimum - 0x0000, // Range Maximum + 0x4359, // Range Maximum 0x0000, // Translation Offset 0x0000, // Length ,, , TypeStatic, DenseTranslation) @@ -44941,7 +44943,7 @@ ^^PCI0.BR2B.OSHP () ^^PCI0.BR2C.OSHP () ^^PCI0.BR2D.OSHP () - ^^PCI0.BR3A.OSHP () + //^^PCI0.BR3A.OSHP () ^^PCI0.BR3B.OSHP () ^^PCI0.BR3C.OSHP () ^^PCI0.BR3D.OSHP () @@ -45241,21 +45243,21 @@ WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x4958, // Range Minimum - 0x0000, // Range Maximum + 0x4958, // Range Maximum 0x0000, // Translation Offset 0x0001, // Length ,, , TypeStatic, DenseTranslation) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x4559, // Range Minimum - 0x0000, // Range Maximum + 0x4559, // Range Maximum 0x0000, // Translation Offset 0x0000, // Length ,, , TypeStatic, DenseTranslation) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x4659, // Range Minimum - 0x0000, // Range Maximum + 0x4659, // Range Maximum 0x0000, // Translation Offset 0x0000, // Length ,, , TypeStatic, DenseTranslation) @@ -53823,7 +53825,7 @@ Notify (\_SB.PCI0.BR2D.H007, Local0) } - If ((\_SB.PCI0.BR3A.PMEP == 0x01)) + /*If ((\_SB.PCI0.BR3A.PMEP == 0x01)) { Local0 = \_SB.PCI0.BR3A.PMEH (0x05) } @@ -53848,7 +53850,7 @@ Notify (\_SB.PCI0.BR3A.H005, Local0) Notify (\_SB.PCI0.BR3A.H006, Local0) Notify (\_SB.PCI0.BR3A.H007, Local0) - } + }*/ If ((\_SB.PCI0.BR3B.PMEP == 0x01)) { @@ -54608,11 +54610,11 @@ \_SB.PCI0.BR2D.PMEP = 0x01 } - If ((Local1 == 0x07)) + /*If ((Local1 == 0x07)) { \_SB.PCI0.BR3A.PMES = 0x01 \_SB.PCI0.BR3A.PMEP = 0x01 - } + }*/ If ((Local1 == 0x08)) { @@ -54879,10 +54881,10 @@ Notify (\_SB.PCI0.BR2D, 0x02) } - If ((\_SB.PCI0.BR3A.DEVS () != 0x00)) + /*If ((\_SB.PCI0.BR3A.DEVS () != 0x00)) { Notify (\_SB.PCI0.BR3A, 0x02) - } + }*/ If ((\_SB.PCI0.BR3B.DEVS () != 0x00)) { @@ -55927,10 +55929,10 @@ { Notify (\_SB.PCI0.BR2D, 0x00) } - Case (0x28) + /*Case (0x28) { Notify (\_SB.PCI0.BR3A, 0x00) - } + }*/ Case (0x29) { Notify (\_SB.PCI0.BR3B, 0x00) @@ -56736,11 +56738,11 @@ } } - Scope (_SB.PCI0.BR3A) + /*Scope (_SB.PCI0.BR3A) { Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { - If ((Arg0 == ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */)) + If ((Arg0 == ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") / * Device Labeling Interface * /)) { If (((Arg1 == 0x02) && (Arg2 == 0x00))) { @@ -56765,7 +56767,7 @@ 0x00 }) } - } + }*/ Scope (_SB.PCI1.QR1A) { DSDT_BIOS_3101.zip Send me Steffens-iMac.zip DSDT.dsl.patch
  7. Hi, I have been trying to follow @RehabMan 's guide to disable my dGPU ( https://www.tonymacx86.com/threads/guide-disabling-discrete-graphics-in-dual-gpu-laptops.163772/ ) for two days now, but haven't found a way to disable my 1080 Ti on my desktop Clover hack. I have a dual-boot (Win/Mac) machine on a Z370 Aorus 7. Since there's no nvidia drivers for Mojave atm, I want to stick with the iGPU under Mac, but still use the 1080 Ti under Win. The hack boots just fine when I remove the 1080 Ti, if it's plugged in via PCIe I get a kernel panic. Please find attached my ACPI folder, my clover config.plist and the kernel panic details. Might there even be a less hacky way than patching these ACPI files? I appreciate any kind of support! Thanks! ACPI.zip config.plist systemReport.txt
  8. electrovalent

    Help on syntax error of dsdt

    Hi, I am trying to compile dsdt from maciasl but i get the following error: 5318, 6126, syntax error, unexpected PARSEOP_NOOP How to resolve this please? My system is acer aspire 3810tz and running Mac OS X 10.9.5 through clover. Thank you. DSDT&ACPI.zip
  9. Hi guys! Im posting this because there's something really wrong with sleep in el capitan... I had a very nice install of Mavericks, with everything working, including sleep.. I have made a new fresh install of EL Capitan, and while performance is pretty much better, i have a big issue. Every time i put the laptop to sleep the screen just goes black, and the lights remain on. There's no instant wake problem, but the onlyway to get out of the black screen state is forcing the shutdown. I've been reading RehabMan's post about 10.11 USB changes and solutions, but i am a bit lost. I have no problem with doing DSDT patching or whatever would be necessary to solve this issue, it's just that there are many alternatives to solve it and I don't wanna mess up the install. Could anyone kindly guide me to what would be the best procedure to follow? My DSDT has been freshly patched, and i followed Rehabmans advice to not use multiplex patch, nor GenericUSBXHCI kext. Anyone would help? Thanks in advance PS: The only USB patch i used for the DSDT was the USB7/8 series patch
  10. After weeks of digging, I've found a partial solution for the USB problem of my hack. No guide I've found worked so far, injectors or fake kexts made the problem even bigger in every case. So I concentrated on getting the DSDT as correct as possible. My personal DSDT does only apply to a few people out there I know, but may be used as a helpful reference. For example I renamed XHC to XHC1 (so that OS X can find it) removed _PWR arguments from EHCI, XHC1 and HDEF to make sleep working (resulted in a new wake-problem ). What is working with the attached DSDT and what not : Ports detected: 2 of 2 USB 3 on the front, 2 of 4 USB rear ports, 2 of 2 USB 2 rear ports USB 2 devices not recognized when plugged into USB 3 ports Sleep is working, however, wake up works only when power button is pressed. I'm using iMac14,2 SMBIOS for now. Still looking for alternatives that fit my pc better. Does anybody has any advice or a possible DSDT fix regarding the wake / sleep problem? Thanks in advance for all the effort !!! DSDT.aml.zip
  11. I dont know what it is, but my Internal laptop Mic is detected thanks to the patched AppleHDA, and OSX reports it as working, but no matter how loud, the input seems to be 0..Internal speakers and microphone/Headphone jack all work wonderfully. I use audio layout 3 Any help would be appreciated... Realtek ALC233 Asus X550LDV Intel core i7 Mac OSX 10.9.5 (sound has always worked with patched AppleHDA, in many OSX versions, but the mic never has, and it would be so awesome if it did) Thanks a lot! Attaching pictures of system info, sound pref, and midi setup
  12. This thread is aimed at developers and people who are willing to help with the AMD kernel specifically the FX problems. Here are two diff files from my kernels in an attempt to get FX working as it should. I am no developer so I'm hoping someone can help us. If you've made a kernel different from these sources please share your diff too so it can help us. Note that this topic is not for testing but discussing the source itself. For FX testing visit here, http://www.insanelymac.com/forum/topic/310796-amd-os-x-el-capitan-1011-fx-kernel-task-force/ Shaneee-diff.zip xnu-3248.20.55-legacy-v4.diff.zip To build the kernel you will need xCode installed which is available from the App Store. Once installed perform the following commands to install the dependencies, curl -O https://opensource.apple.com/tarballs/dtrace/dtrace-168.tar.gz curl -O http://opensource.apple.com/tarballs/AvailabilityVersions/AvailabilityVersions-22.40.2.tar.gz tar zxf dtrace-168.tar.gz cd dtrace-168 mkdir -p obj sym dst xcodebuild install -target ctfconvert -target ctfdump -target ctfmerge ARCHS="x86_64" SRCROOT=$PWD OBJROOT=$PWD/obj SYMROOT=$PWD/sym DSTROOT=$PWD/dst sudo ditto $PWD/dst/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain cd .. tar zxf AvailabilityVersions-22.40.2.tar.gz cd AvailabilityVersions-22.40.2 mkdir -p dst make install SRCROOT=$PWD DSTROOT=$PWD/dst sudo ditto $PWD/dst/usr/local `xcrun -sdk macosx -show-sdk-path`/usr/local Now you can download the kernels source from here, http://opensource.apple.com/tarballs/xnu/xnu-3248.60.10.tar.gz Copy to your desktop or chosen folder and extract then in terminal type "cd " without the quotes and with the space and drag the extracted folder onto window and press enter. Now to apply a diff patch use the following, patch -p1 < /Path/To/Diff/File Replace /Path/To/Diff/File by dragging the diff file onto the terminal window. Then you can edit the source within the xnu-3248.60.10 folder as you wish and to build the kernel enter the following, make SDKROOT=macosx ARCH_CONFIGS=X86_64 KERNEL_CONFIGS=RELEASE install Once complete the Kernel and matching System.Kext are found in xnu-3248.60.10/BUILD/dst/System/Library. You can ignore the Frameworks.
  13. I have written a tool to auto-patch cpuids and auto-decrypt system binaries on Mountain Lion and Lion. It is based on AutoAPBDecrypt but uses a launcher to elevate itself to admin rights. This way it can directly patch and replace the system binaries. Pre-built binaries for Mountain Lion and Lion are built. Source is, as usual, also included in the zip package. Make sure you do a Time Machine backup just to be safe. Enjoy AutoAMDTool.zip
  14. Hi there, I was using VoodooHDA for audio, but I can't get mic working, so I uninstalled VoodooHDA and now I'm trying to patch AppleHDA using Mirone's AppleHDA Patcher App. my codec is Realtek ALC255, I have one untouched AppleHDA.kext that I copied when I finish installation before install anything, I dragged this and my config.plist to AppleHDA Patcher; selected my codec and pressed patch AppleHDA, it generate some files in my desktop, I get the AppleHDA.kext that it generates and also config.plist, installed kext using KextUtility 2.6.6 and copied config.plist to CLOVER folder in my EFI. didn't worked, in PDF that AppleHDA Patch generated says: this is the patch that it is talking about: system_IRQ.txt and this is other patch that the AppleHDA Patch generates: HDEF_Patch.txt I'm trying to compile my DSDT with this patch system_IRQ.txt, but get the errors that I exposed in this post Someone know an alternative way that I can get Audio and mic working as well? this is my codec_dump: codec_dump.txt and my actual config.plist: config.plist.zip before I forget, I already tried to patch using Pandora's box's Zeus App and neither worked. thank you for your time!
  15. ATi 7850 in 10.8.3 needs patch kexts (AMDRadeonAccelerator.kext & ATI7000Controller.kext) Replace text '0x68181002' in Info.plist with '0x68191002' to both kexts. How can I use Clover's KextsToPatch to do this? I tried but I failed. <key>0</key> <dict> <key>Name</key> <string>AMDRadeonAccelerator</string> <key>Find</key> <string>0x68181002</string> <key>Replace</key> <string>0x68191002</string> </dict> <key>1</key> <dict> <key>Name</key> <string>ATI7000Controller</string> <key>Find</key> <string>0x68181002</string> <key>Replace</key> <string>0x68191002</string> </dict> Won't work. You will see a black screen when start Clover and can't do anything. I've tried use base64 to encode hex '0x68181002' and set the type to <data>. It didn't work either.
  16. Hi! I read on an other forums that is possible to patch AppleHDA to disable console (IOLog) messages. My AppleHDA.kext spamming my console with "Sound assertion "kTypePinComplex != fType" failed in AppleHDAWidget at line 2043 goto Exit" message in every 30sec! But my sound works fine... Anyone knows how to patch AppleHDA.kext to disable this message? Please!
  17. tempered

    Brightness Patch

    My hackintosh is currently running 10.6.8 on an HP 4530s, and I experience an issue where I can't fine tune the screen brightness after I first turn it on. In order to control screen brightness properly I need to sleep the display first, then wake it back on, and finally I can fine tune the brightness. I grew tired of needing to do that everytime I booted so I decided to find a work-around. Once I figured out a reliable method I went ahead and packaged it up for anyone who might also benefit from it! In no way do I guarantee this will work for everyone, but give it a shot if you have the brightness bug. The patch makes no permanent changes and does not require elevated access to install. It's all local to the user and does not make any system changes. It has a provided uninstaller just in case things go awry! The README in the .zip contains all information about the files that will be installed and what they do. The patch is a collective of two open source applications to control the screen and brightness via command line, and some bash scripting by me. It requires the Terminal to install for now... I don't know a thing about making a GUI Installer but if anyone can provide any tips, I would be greatful! Download the zip, use Terminal to install by navigating to the file and typing "./install.sh", then log out or reboot to enable the patch. - Adam brightness_fix.zip
  18. Hello all, I have set-up several hackintosh machines last 2 years and I still don't feel very comfortable on this DSDT subject. I have a Gigabyte EP45C-DS3R board at home, for which Mald0n helped me to build dsdt.aml. I am now using Lion 10.7.2 (http://www.insanelym...l=&fromsearch=1) He told me that I had to patch: -DTGP -HID/CID -HPET -IRQs -LPC -SBUS -SHUTDOWN -_WAK -CMOS reset -Renamed devices -HDEF/ALC889a + LegacyHda in folder Extra/Extensions My question is how do we determine which patches we are going to need for different boards? Then again how do we guess which kexts to use with the resulting DSDT.aml? I always got help from boars&forum until now and wanted to have some in-depth information. For example I also bought an EP45C-DS3 rev F5 board, for which I extracted a clean dsdt.dsl using a Windows XP Live CD then applied those patches. This time i am using a Core 2 Duo E8400 CPU and an ATI 5670 but unfortunately experiencing sudden white screens and halts. I have AHCIPortInjector.kext, FakeSMC.kext, IOAHCIBlockStorageInjector.kext in my Extra/Extensions folder. I am also attaching those files along with my extra folder just in case if somebody can help. Otherwise I am going to start a new subject on that matter. (I found out that those crashes were because of 5670 graphics card) EP45C-DS3 untoched DSDT.dsl.zip DSDT Fixes.zip Extra.zip
  19. Installing Command Line Tools for Lion on Snow Leopard I've encountered many programs which won't just install on my Mac, so I decided to find out how to install them. One way is to just extract the installer and install the packages straight from there, but then the scripts won't run and this is horrible pain with big installations. *.mpkg files usually have a file called "Distribution" inside. That file is just simple XML script, which tells the installer where the software can be installed. By editing the Distribution file, you can easily get OS X 10.8 install on an AMD machine, but of course it won't run because of the kernel. Another example is XCode's Command Line Tools. I only found CTL for Lion available in the Apple Download Center, so I decided to patch it for SL. I tried with Flat Package Editor (comes with XCode), but it couldn't save the file, so I did it the manual way: First I created an copy of the DMG file with Disc Utility, to make it writable. Then I executed few commands: bash-3.2# cd /Volumes/Command* bash-3.2# mkdir patch bash-3.2# cp Command* patch bash-3.2# cd patch bash-3.2# mv Com* CTL.mpkg bash-3.2# xar -x -f CTL.mpkg Then I opened Distribution with TextEdit: Well, well, well... Look what we got there var majorOSVersion = '10.7'; var lessThanOSVersion = '10.8'; So, I just changed the majorOSVersion to 10.6 and voilà! Sometimes the script is a little more complicated (like the OS install script), which checks for supported machines, 64/32-bit, etc. Then you will just need to edit some functions output to true or otherwise just find a way around the checks. The language used in Distribution file is very easy to understand in my opinion, it can require a little bit of coding knowledge though.
  20. Hi friends, first of all, thanks for this platform. I have been working since 3 days trying hard to install Mac (I love it ). At the end of installation it said "OS x cannot be installed. Installer could not start up computer from disck. Try selecting ytour disk using startup disc utility" somehow I rebooted my PC and used "GraphicsEnabler=Yes -x" it took me Mac login screen but if I reboot, gives me error screen (screenshot) So I need your help on getting the right PATCH file for my Motherboard which I can't find anywhere. AMD athlon II x4 630 4 GB DDR2 Gigabyte GA-M61pme-s2p (f5 version of bios) Nvidia GeForce GT 630 any help is much appreciated. thanks in advance EDIT : problem is in BIOS there is no AHCI options, also DSDT for my mobo is unavailable. what can be done in this case?
  21. Hallo, zusammen... it just seems that since 10.8.5 Apple's original wlan or lan kext drivers are updated, which leads to the consequence that many hackintosh network drivers don't work anymore in 10.8.5 and 10.9. But... They just works well before 10.8.4. Is there anyone knows why? Or just please write down a simple patch guide? My wlan bcm4312 just can't work well in 10.9: It can't access to the encrypt Wifi, but it can connect to a non-encrypt one. Anyone any idea? Lots of thanks!
  22. Ingwie Phoenix

    Brightness on HD 4000

    Oh yeah, the ever-frustrating brightness, is it not? ._. So I tried a BUNCH of topics to solve my issue - here are the links to each: In Topic: [Guide] Backlight + Brightness for Intel 8086:0046 (1st gen HD) (GMA 5700MHD) In Topic: ACPI Backlight Driver In Topic: ACPIBrightness level Fix problem ...result? Zero. My PNLF device exists, and works, and changes brightness...without a kext. BUT. It stays incredibly dark. Only when my screen wakes, from sleep, it suddenly decides to work again...errrrm, yeah? >.> So, in the second link, I just recently posted my DSDT, though I realized I have a duplicate of the _DSM method...I might reupload my DSDT at some point and put a link into my signature. Whatever. Anybody who can give me a working solution would be a hero in my eyes. Im not too dumb to work with scripts and learned to understand my DSDT. But I am still new on that one. Regards, Ingwie
  23. I've been reading guides and trying to get help on patching my DSDT. I know basic DSDT patching, and know how to do all the patches I need except for battery patching. I really don't know if this is the place to get help (I hope so ), but I have attached my unedited disassembled DSDT of anybody is interested in helping me out here. DSDT.zip
  24. Hello, i wonder if anyone could shine some light, bit in the dark on this one. got a p67a-gd55 b3 from MSI, tried to patch the DSDT.aml file to get things working in Lion 10.7.3... but still got a few things i can't seem to get around... all my HDDs and SSDs show up as orange usb external drives, and my SSDs show "Medium Type: Rotational" in the System Profiler. if use AHCIInjector they show up as Silver SATA drives, but the SSDs still give me "Medium Type: Rotational" TRIM Enabler does not work. can't even detect SSD. can anybody help me out with this?
×