pernacabeluda Posted July 25, 2013 Posted July 25, 2013 Então o comando yes foi somente para ver se o SpeedStep estava funcionando né. Exato. Só mais uma pergunta: Como posso saber se meu CPU suporta o Kernel Vannila? Pois sendo ele tem mais vantagem no gerenciamento certo? Com certeza funciona, deve ser o que você está usando. -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
PimentelX86 Posted July 25, 2013 Posted July 25, 2013 Olá camarada Que bom saber que tenho Kernel Vanilla. Somente uma coisa falta: Creio que não tenho Sleep funcionando direito. Dou repouso e o computador repousa até o cooler para, mas quando volto do repouso é que o problema aparece. O mouse do computador fica lentíssimo e travando. Tens alguma ideia? Talvez eu deva aplicar algum patcher na DSDT?
pernacabeluda Posted July 25, 2013 Posted July 25, 2013 Não tenho idéia. Testa se faz alguma diferença com ou sem a DSDT que eu te enviei. Não é assunto para este tópico, dá uma procurada e se não encontrar nada cria um novo tópico. -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
PimentelX86 Posted July 25, 2013 Posted July 25, 2013 Olá camarada Vou procurar acerca disso tudo. *Meu hack já tem um gerenciamento de energia quase perfeito(só falta Sleep). *Tem gráfica trabalhando(só não sei se tem QE/CI, mas já possuo barra translucida). *Áudio funcionado(só falta ajeitar os canais para 5.1 surround). *Internet já funciona. Valeu a pena 4 meses de "fabricação" do hack. Obrigado PernaCabeluda por todo o suporte até agora me ajudou muito.
mendietinha Posted August 5, 2013 Posted August 5, 2013 não sei pq mas sigo os comandos daqui como sempre mas aparece esse erro na aicpm do mavericks dp4: Unrecognized character \xCF; marked by <-- HERE after <-- HERE near column 1 at /Users/mendietinha/Desktop/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement line 1. como posso corrigir isso? no dp1 não tive problemas. Se quando viaja faz o que quer, quando viajar, não leve a mulher ---- No PM support. Use the forum. . Lenovo Core I5 6200U 12Gb 256Gb HD520 (macOS 13.7.6 - macOS 26) OC Ryzen 7 5700X 32Gb 2Tb nvme RTX 3060TI 8Gb (W11)
pernacabeluda Posted August 5, 2013 Posted August 5, 2013 Quando aparece essa mensagem? Aqui vai normal found wrmsr at 9e33, patched found wrmsr at 9e9e, patched found wrmsr at 9f00, patched found wrmsr at a78b, patched found wrmsr at a99d, patched found wrmsr at aba5, patched found wrmsr at b5d5, patched found wrmsr at b92b, patched found wrmsr at 11733, patched found wrmsr at 12a5a, patched found wrmsr at 143ee, patched found wrmsr at 1ce3d, patched found wrmsr at 1e229, patched -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
mendietinha Posted August 5, 2013 Posted August 5, 2013 aparece quando dou o sudo. estranho. mas já resolvi pegando de um pacote no insanelymac. Se quando viaja faz o que quer, quando viajar, não leve a mulher ---- No PM support. Use the forum. . Lenovo Core I5 6200U 12Gb 256Gb HD520 (macOS 13.7.6 - macOS 26) OC Ryzen 7 5700X 32Gb 2Tb nvme RTX 3060TI 8Gb (W11)
philip_petev Posted September 7, 2013 Posted September 7, 2013 Hi there, This patch works perfectly (at least with OS X ML and later), but I think there's something wrong, when it's being used with OS X Lion and earlier. Initially, the patch is doing its job under these two OS X versions, but if you run it one more time on the same binary, it will find again something for patching. I've made a test script, which uses this one to patch the AICPM binary 10 times in a row and here are the results: With vanilla AICPM.kext from OS X SL 10.6.8 Starting the patch test on ./AppleIntelCPUPowerManagement Initial MD5: 34b41cf327a6914acb3a26e55e7df292 Attempt 1 ./AppleIntelCPUPowerManagement arch: x86_64 found wrmsr at 948e, patched found wrmsr at 98c1, patched found wrmsr at 997e, patched found wrmsr at 99eb, patched found wrmsr at 9aae, patched found wrmsr at a958, patched found wrmsr at abff, patched found wrmsr at ac96, patched found wrmsr at 11d0e, patched found wrmsr at 11dc2, patched arch: i386 found wrmsr at 34a46, patched found wrmsr at 34d3e, patched found wrmsr at 34d5f, patched found wrmsr at 34f03, patched found wrmsr at 34fa2, patched found wrmsr at 35f27, patched found wrmsr at 3617c, patched found wrmsr at 361ce, patched found wrmsr at 3d61a, patched found wrmsr at 3d677, patched MD5: 475e6e9103be251e31cfbc4c8b77775e Attempt 2 ./AppleIntelCPUPowerManagement arch: x86_64 found wrmsr at 9c8e, patched arch: i386 found wrmsr at 351a9, patched MD5: 4d3d57cac6d440d6d8f97725587ea6b1 Attempt 3 ./AppleIntelCPUPowerManagement arch: x86_64 found wrmsr at 9c93, patched arch: i386 found wrmsr at 351ad, patched MD5: 72708c9ed6272a7fdb230a5deadff99a Attempt 4 ./AppleIntelCPUPowerManagement arch: x86_64 arch: i386 found wrmsr at 35382, patched MD5: 47fc309fe056e45aa6f4c7d62fe29bcd Attempt 5 ./AppleIntelCPUPowerManagement arch: x86_64 arch: i386 MD5: 47fc309fe056e45aa6f4c7d62fe29bcd Attempt 6 ./AppleIntelCPUPowerManagement arch: x86_64 arch: i386 MD5: 47fc309fe056e45aa6f4c7d62fe29bcd Attempt 7 ./AppleIntelCPUPowerManagement arch: x86_64 arch: i386 MD5: 47fc309fe056e45aa6f4c7d62fe29bcd Attempt 8 ./AppleIntelCPUPowerManagement arch: x86_64 arch: i386 MD5: 47fc309fe056e45aa6f4c7d62fe29bcd Attempt 9 ./AppleIntelCPUPowerManagement arch: x86_64 arch: i386 MD5: 47fc309fe056e45aa6f4c7d62fe29bcd Attempt 10 ./AppleIntelCPUPowerManagement arch: x86_64 arch: i386 MD5: 47fc309fe056e45aa6f4c7d62fe29bcd With vanilla AICPM.kext from OS X Lion 10.7.5 Starting the patch test on ./AppleIntelCPUPowerManagement Initial MD5: ca66ae8acf93d6bbae4f8b47e9b8ab11 Attempt 1 ./AppleIntelCPUPowerManagement arch: x86_64 found wrmsr at a312, patched found wrmsr at a35b, patched found wrmsr at a6e5, patched found wrmsr at ac6b, patched found wrmsr at ad36, patched found wrmsr at addf, patched found wrmsr at b639, patched found wrmsr at bda9, patched found wrmsr at 1253f, patched found wrmsr at 13f05, patched found wrmsr at 153bd, patched arch: i386 found wrmsr at 39b73, patched found wrmsr at 39ba4, patched found wrmsr at 39eff, patched found wrmsr at 3a484, patched found wrmsr at 3a52d, patched found wrmsr at 3a5a7, patched found wrmsr at 3ad5b, patched found wrmsr at 3b4d0, patched found wrmsr at 418de, patched found wrmsr at 43556, patched found wrmsr at 449b6, patched MD5: 0955d983091bf150d66fad037f3f3284 Attempt 2 ./AppleIntelCPUPowerManagement arch: x86_64 found wrmsr at ad8c, patched arch: i386 MD5: 169bf480405177e88235aab87f891dd7 Attempt 3 ./AppleIntelCPUPowerManagement arch: x86_64 arch: i386 MD5: 169bf480405177e88235aab87f891dd7 Attempt 4 ./AppleIntelCPUPowerManagement arch: x86_64 arch: i386 MD5: 169bf480405177e88235aab87f891dd7 Attempt 5 ./AppleIntelCPUPowerManagement arch: x86_64 arch: i386 MD5: 169bf480405177e88235aab87f891dd7 Attempt 6 ./AppleIntelCPUPowerManagement arch: x86_64 arch: i386 MD5: 169bf480405177e88235aab87f891dd7 Attempt 7 ./AppleIntelCPUPowerManagement arch: x86_64 arch: i386 MD5: 169bf480405177e88235aab87f891dd7 Attempt 8 ./AppleIntelCPUPowerManagement arch: x86_64 arch: i386 MD5: 169bf480405177e88235aab87f891dd7 Attempt 9 ./AppleIntelCPUPowerManagement arch: x86_64 arch: i386 MD5: 169bf480405177e88235aab87f891dd7 Attempt 10 ./AppleIntelCPUPowerManagement arch: x86_64 arch: i386 MD5: 169bf480405177e88235aab87f891dd7 As you can see, the kexts under these two OS X versions can be patched several times (4 times in SL 10.6.8 and 2 times in Lion 10.7.5). My presumption is the situation will be the same with all kext versions between these two. There is no such issue on ML: With vanilla AICPM.kext from OS X ML 10.8.1 Starting the patch test on ./AppleIntelCPUPowerManagement Initial MD5: 25c8cdae193c973521ccfea021d66a77 Attempt 1 ./AppleIntelCPUPowerManagement arch: x86_64 found wrmsr at 97cc, patched found wrmsr at a05e, patched found wrmsr at a0e9, patched found wrmsr at a136, patched found wrmsr at a266, patched found wrmsr at a580, patched found wrmsr at afd2, patched found wrmsr at b2c5, patched found wrmsr at 1165b, patched found wrmsr at 12a7a, patched found wrmsr at 13389, patched MD5: e4ac16e5bf43d51010a0ba2accef5cf4 Attempt 2 ./AppleIntelCPUPowerManagement arch: x86_64 MD5: e4ac16e5bf43d51010a0ba2accef5cf4 Attempt 3 ./AppleIntelCPUPowerManagement arch: x86_64 MD5: e4ac16e5bf43d51010a0ba2accef5cf4 Attempt 4 ./AppleIntelCPUPowerManagement arch: x86_64 MD5: e4ac16e5bf43d51010a0ba2accef5cf4 Attempt 5 ./AppleIntelCPUPowerManagement arch: x86_64 MD5: e4ac16e5bf43d51010a0ba2accef5cf4 Attempt 6 ./AppleIntelCPUPowerManagement arch: x86_64 MD5: e4ac16e5bf43d51010a0ba2accef5cf4 Attempt 7 ./AppleIntelCPUPowerManagement arch: x86_64 MD5: e4ac16e5bf43d51010a0ba2accef5cf4 Attempt 8 ./AppleIntelCPUPowerManagement arch: x86_64 MD5: e4ac16e5bf43d51010a0ba2accef5cf4 Attempt 9 ./AppleIntelCPUPowerManagement arch: x86_64 MD5: e4ac16e5bf43d51010a0ba2accef5cf4 Attempt 10 ./AppleIntelCPUPowerManagement arch: x86_64 MD5: e4ac16e5bf43d51010a0ba2accef5cf4 Such was the result with the kexts from 10.8.5 12F36 and Mavericks DP7. Is there a way for this issue to be fixed? HP ProBook 4330s (BIOS F.41): Core i7-2720QM @ 2.2 GHz, 8 GB RAM, Intel HD 3000, OS X 10.8.4 GA-H77N-WiFi (BIOS F2): Core i7-3770 @ 3.4 GHz, 8 GB RAM , Intel HD 4000, OS X 10.8.4
RehabMan Posted September 7, 2013 Posted September 7, 2013 I've been working with philip_petev on this very issue... and... I have my own version of this script. Change log: - it will work with a (newer) otool where the disassembler writes immediates in decimal - it will not patch an already patched AppleIntelCPUPowerManagement binary - there is a bit more debug info (as I was using it to figure out what the changes should be...) Code follows: #!/usr/bin/perl # by el coniglio # # modified by RehabMan to work with more versions of otool # (some versions of otool are writing disassembled code using # decimal instead of hex) # # other changes by RehabMan to not patch if already patched $file = $ARGV[0]; $patch = 0; if($ARGV[1] and $ARGV[1] eq "--patch") { $patch = 1; } if(!$file) { die "Usage: perl $0 <file> [--patch]\n"; } my %arch; my %off; my %addr; open(PIPE, "lipo -detailed_info $file|"); while(<PIPE>) { chomp; $line = $_; if($line =~ /^architecture (.*)$/) { $carch = $1; } elsif($line =~ /offset (\d+)$/) { $arch{$carch} = $1; } elsif($line =~ /^Non-fat .* architecture: (.*)$/) { $carch = $1; $arch{$carch} = 0; } } close(PIPE); print "\n$file\n"; foreach $ar (keys %arch) { my @enderecos = (); print "\narch: ".$ar."\n\n"; open(PIPE, "otool -l -arch $ar $file|"); $segname = ""; while(<PIPE>) { chomp; $line = $_; if($line =~ /sectname (.*)$/) { $segname = $1; } elsif($segname eq "__text" and $line =~ /addr 0x(.*)$/) { $addr{$ar} = hex($1); } elsif($segname eq "__text" and $line =~ /offset (\d+)$/) { $off{$ar} = $1; } } close(PIPE); open(PIPE, "otool -tV -arch $ar $file|"); $flag = 0; while(<PIPE>) { $line = $_; if($line =~ /mov[lw]\t\$0x([0-9A-Fa-f]+),\s*\%e?cx/) { # rehabman: monitoring deltas $line_mov = $line; $delta = -1; # rehabman end $value = hex($1); if($value == 0xe2) { $flag = 1; } else { $flag = 0; } } # rehabman: added ecx to be set with decimal (226) # mov[lw]\t\$226,\s*\%e?cx if($line =~ /mov[lw]\t\$([0-9]+),\s*\%e?cx/) { # rehabman: monitoring deltas $line_mov = $line; $delta = -1; # rehabman end if($1 == 0xe2) { $flag = 1; } else { $flag = 0; } } # rehabman end # rehabman: monitoring deltas if ($flag == 1) { $delta++; #rehabman: one other way to detect (distance of mov to wrmsr) #if ($delta > 20) { # $flag = 0; #} } #rehabman end # rehabman: added so patching already patched does nothing # (if 'ret' instruction seen, no need to patch a following wrmsr # because it is part of a different function) if($flag == 1 and $line =~ /^(.*)\tret/) { $flag = 0; } # rehabman end if($flag == 1 and $line =~ /^(.*)\twrmsr/) { # rehabman: printing line of mov/wrmsr + delta info printf("delta: %d\n", $delta); printf("%s", $line_mov); printf("%s\n", $line); # rehabman end $tmp = hex($1) + $arch{$ar} + $off{$ar} - $addr{$ar}; push(@enderecos, $tmp); $flag = 0; } } close(PIPE); $found = 0; $ignored = 0; open(FILE, "+<".$file) or die "$file: $!\n"; binmode FILE; foreach $offset (@enderecos) { seek FILE, $offset, 0; $ret = read FILE, $data, 2; ($char1, $char2) = split(//, $data); if(ord($char1) == 15 and ord($char2) == 48) { if($patch) { seek FILE, $offset, 0; print FILE chr(144).chr(144); } printf("found wrmsr at %x".($patch?", patched\n":"\n"), $offset); # rehabman: monitoring patching totals $found++; } else { printf("ignored %x (%02x %02x)\n", $offset, ord($char1), ord($char2)); # rehabman: monitoring ignored totals $ignored++; } } close(FILE); # rehabman: counting just FYI... printf("wrmsr found: %d\n", $found); printf("wrmsr ignored: %d\n", $ignored); # rehabman end } I tried to bracket my changes with #rehabman/#rehabman end. Hope you find it useful.
oldnapalm Posted September 9, 2013 Posted September 9, 2013 Hi there,This patch works perfectly (at least with OS X ML and later), but I think there's something wrong, when it's being used with OS X Lion and earlier. Initially, the patch is doing its job under these two OS X versions, but if you run it one more time on the same binary, it will find again something for patching. I've made a test script, which uses this one to patch the AICPM binary 10 times in a row and here are the results: You are right, the script works with all versions, but in some, if you try to patch a kext that is already patched, it will patch instructions that do not need to be patched. I've been working with philip_petev on this very issue... and... I have my own version of this script. Change log: - it will work with a (newer) otool where the disassembler writes immediates in decimal - it will not patch an already patched AppleIntelCPUPowerManagement binary - there is a bit more debug info (as I was using it to figure out what the changes should be...) Thanks, I added your changes and a link to your post in the OP. -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
Allan Posted September 22, 2013 Posted September 22, 2013 Então estava lendo sobre os states do user Pixel. dai rodei o comando "yes" no Terminal e verifiquei meus states e parecem estar errados... Meu processador vai até 3.10 GHz ou seja deveria ir a 3100MHz mas vejam como fica os meus states. E quando eu cancelo o comando Yes. Como posso concertar isso?? Thanks & Regards IdeaPad Gaming 3i • Aspire A515-52 • Clover / OpenCoreWe are in a great Forum, so, let's have some fun and learn from each other!
artur-pt Posted September 22, 2013 Posted September 22, 2013 olá o patch é só para n teres KP com a kext tens de ter ssdt http://Olarila.com/forum/viewtopic.php?f=2&t=34 bom hack PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000 My OS X Files
Allan Posted September 22, 2013 Posted September 22, 2013 olá o patch é só para n teres KP com a kext tens de ter ssdt http://Olarila.com/forum/viewtopic.php?f=2&t=34 bom hack Sim, amigo Artur, eu tenho SSDT. Veja se esta tudo oks. SSDT.aml.zip Thanks & Regards IdeaPad Gaming 3i • Aspire A515-52 • Clover / OpenCoreWe are in a great Forum, so, let's have some fun and learn from each other!
artur-pt Posted September 22, 2013 Posted September 22, 2013 olá gera com o novo script do pike tá ai no topico o k n deve tar a fazer é os turbo.. bom hack PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000 My OS X Files
Allan Posted September 23, 2013 Posted September 23, 2013 (edited) Bem tentei o Script mas nada de Turbo!! Coloquei o comando "yes" mas ainda permanece assim, trocar para uma FakeSMC mais atual tem haver com isso? Uso a versão 4.2, e ja tem a versão 5.2. Edited September 23, 2013 by Guest Thanks & Regards IdeaPad Gaming 3i • Aspire A515-52 • Clover / OpenCoreWe are in a great Forum, so, let's have some fun and learn from each other!
artur-pt Posted September 23, 2013 Posted September 23, 2013 olá já tentaste com outro smbios ? por exemplo macbookpro8,1 ou 8,2 dá uma leitura daqui para baixo http://Olarila.com/forum/viewtopic.php?p=28493#p28493 bom hack PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000 My OS X Files
Allan Posted September 23, 2013 Posted September 23, 2013 olá já tentaste com outro smbios ? por exemplo macbookpro8,1 ou 8,2 dá uma leitura daqui para baixo http://Olarila.com/forum/viewtopic.php?p=28493#p28493 bom hack Há sim Artur, isso ai eu ja tentei, eu até participei desse topico. Eu testei com Macbook Pro 8,2, dai adaptei pro meu Macbook Pro 9,2 q da suporte ao meu processador IvyBridge. A performace foi incrivel, mas meus states se limitam, como mostra a imagem, só vai até seus 2.80 GHz. Thanks & Regards IdeaPad Gaming 3i • Aspire A515-52 • Clover / OpenCoreWe are in a great Forum, so, let's have some fun and learn from each other!
artur-pt Posted September 23, 2013 Posted September 23, 2013 olá tás a usar chameleon ? começa a pensar em usar Clover... bom hack PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000 My OS X Files
Allan Posted September 23, 2013 Posted September 23, 2013 olá tás a usar chameleon ? começa a pensar em usar Clover... bom hack Uso o Chameleon, to pensando mesmo em usar o Clover mesmo hem!! Thanks & Regards IdeaPad Gaming 3i • Aspire A515-52 • Clover / OpenCoreWe are in a great Forum, so, let's have some fun and learn from each other!
mendietinha Posted September 30, 2013 Posted September 30, 2013 que estranho. já tive 2 laptops com esse i5 3210m e com ssdt sempre tinha o turbo lá até 3100. com chameleon gerando os states não, mas com ssdt sim. Se quando viaja faz o que quer, quando viajar, não leve a mulher ---- No PM support. Use the forum. . Lenovo Core I5 6200U 12Gb 256Gb HD520 (macOS 13.7.6 - macOS 26) OC Ryzen 7 5700X 32Gb 2Tb nvme RTX 3060TI 8Gb (W11)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now