Giter Club home page Giter Club logo

Comments (14)

Floris497 avatar Floris497 commented on August 18, 2024

What is the output? it looks like there is still a version of 10.11.2 as a bak file, this may has stopped the script from overwriting the old backup.. if md5 -q /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit outputs a7afb2dd9df1e4c48f12b4b52f7da212 remove it and try the patch again.

please let me know if that works

from mac-pixel-clock-patch-v2.

LETRA avatar LETRA commented on August 18, 2024

Hello. Same problem here:

---- BEGINNING MD5 HASH SUMS ---- version: 10.11.3 build:15D21

     otool IOKit: 422c441e207a011b355f712fc0ff7fba
 otool IOKit.bak: e70f3a302a6f87190e6d6fe7609cb4b5
           IOKit: ffc7c67b9facc3bd9a24f39c77d28d0e
       IOKit.bak: a7afb2dd9df1e4c48f12b4b52f7da212

---- ENDING MD5 HASH SUMS -------

from mac-pixel-clock-patch-v2.

Floris497 avatar Floris497 commented on August 18, 2024

That is really interesting.. What does md5 -q /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit and md5 -q /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit.bak give you? @LETRA it seems like your patch has worked because the code of IOKit has changed. If the otool md5's are different code has changed. The interesting thing is that the IOKit.bak file seems to be the one found in 10.11.2, i'm currently updating my computer to 10.11 so i can see it for myself, can you confirm the patch does not work while the code has changed?

from mac-pixel-clock-patch-v2.

Floris497 avatar Floris497 commented on August 18, 2024

There seems to be a little mistake in the script that won't let you use it, i'm fixing it as i speek (typ). quick fix is to run $ patch.command patch v6

EDID: patch now working as expected

from mac-pixel-clock-patch-v2.

LETRA avatar LETRA commented on August 18, 2024

I can confirm. I tried the update with the earlier version of the script and not worked. And I tried again running the latest version of the script and it has not worked.

from mac-pixel-clock-patch-v2.

LETRA avatar LETRA commented on August 18, 2024

It does not work with that command. The output is as follows:

Mac-mini-de-LETRA:~ LETRA$ /Users/LETRA/Downloads/IOKit-patcher.command patch v6
An backup file already exists, if you force this patch on an already patched version you will loose the original backup!
This will lead you to reinstall the OS if you loose a working version of IOKit. be carefull
It might be wise to undo the patch before trying to redo it. using: /Users/LETRA/Downloads/IOKit-patcher.command unpatch
Do you want to continue? [Y/n] Y
Mac-mini-de-LETRA:

from mac-pixel-clock-patch-v2.

Floris497 avatar Floris497 commented on August 18, 2024

This is unfortunate.. does the old script work? the problem i see is that the version of your IOKit backup is different to mine.. but the code in both patched and unmatched is the same.

---- BEGINNING MD5 HASH SUMS ---- version: 10.11.3 build:15D21

     otool IOKit: 422c441e207a011b355f712fc0ff7fba
 otool IOKit.bak: e70f3a302a6f87190e6d6fe7609cb4b5
           IOKit: 9bf4b606cc64b24c929d662e63730c03
       IOKit.bak: 3cec8ae287ee52a3622082bfc049bb86

---- ENDING MD5 HASH SUMS -------

the "IOKit: md5hash" line is different for every person (if it is patched), this due to a unique code signing certificate. but the IOKit.bak file must be the same.. but it is not.. your IOKit.bak has an md5 hash of "a7afb2dd9df1e4c48f12b4b52f7da212" which is the hash of the IOKit of 10.11.2.. it almost looks like an odd update by apple.. my update path was 10.11 -> 10.11.3 but maybe 10.11.2 -> 10.11.3 didn't change the code of IOKit because the code has not changed.. i can only guess they used a different signing certificate..

What version of mac mini do you have? the 2012 model has had some frame buffer updates.. with made this script unusable.. taking back the frame buffer kext from an older version of OS X solved this.. i would recommend reinstalling OS X.. A normal reinstall will take about 40 minutes to an hour.. i'm going to test this on my mini 2011 now.. see what happens..

On my mac mini:

---- BEGINNING MD5 HASH SUMS ---- version: 10.11.2 build:15C50

     otool IOKit: 422c441e207a011b355f712fc0ff7fba
 otool IOKit.bak: e70f3a302a6f87190e6d6fe7609cb4b5
           IOKit: 5718d75dc7390e3209bb7f8092e7d05b
       IOKit.bak: a7afb2dd9df1e4c48f12b4b52f7da212

---- ENDING MD5 HASH SUMS -------

When it is done updating to 10.11.3 i'll see if IOKit was updated or not..

very strange condition

EDIT after instilling 10.11.3 over 10.11.2
(see it did not remove the old .bak file.. because the newly placed IOKit is identified as unpatched it will not warn for the old IOKit.bak file..)

---- BEGINNING MD5 HASH SUMS ---- version: 10.11.3 build:15D21

     otool IOKit: e70f3a302a6f87190e6d6fe7609cb4b5
 otool IOKit.bak: e70f3a302a6f87190e6d6fe7609cb4b5
           IOKit: 3cec8ae287ee52a3622082bfc049bb86
       IOKit.bak: a7afb2dd9df1e4c48f12b4b52f7da212

---- ENDING MD5 HASH SUMS -------

After applying the patch:

---- BEGINNING MD5 HASH SUMS ---- version: 10.11.3 build:15D21

     otool IOKit: 422c441e207a011b355f712fc0ff7fba
 otool IOKit.bak: e70f3a302a6f87190e6d6fe7609cb4b5
           IOKit: 9bf4b606cc64b24c929d662e63730c03
       IOKit.bak: 3cec8ae287ee52a3622082bfc049bb86

---- ENDING MD5 HASH SUMS -------

The interesting part is that the IOKit of 10.11.2 has a different hash, but the same code as the 10.11.3 IOKit.. this is rather odd.. can you run "patch.command test" i just updated the script again..

It works in all the ways i tested.. :/

from mac-pixel-clock-patch-v2.

LETRA avatar LETRA commented on August 18, 2024

Hi Floris. I restore OSX from my Time Machine copy. In this moment run 10.11.2 and I doubt update OSX & install the script until you confirm me that's all right.

from mac-pixel-clock-patch-v2.

Floris497 avatar Floris497 commented on August 18, 2024

I can confirm it works. I tested it on my 2011 mac mini, what model or mac mini do you have? the 2012 model has been subject to frame buffer changes that made the patch irrelevant not working.. I hope this is not the case with 10.11.3. What you can see is that your IOKit was correctly patched: otool IOKit: 422c441e207a011b355f712fc0ff7fba this checksum is the same as mine and at my machine this defiantly worked.. If we would be able to confirm the patch does indeed not work on your system then you must try to update to 10.11.3 run the patch and test if it is working. if it is not working you should copy either the Apple /System/Library/Extensions/AppleIntelFramebufferAzul.kext or /System/Library/Extensions/AppleIntelFramebufferCapri.kext depending on which one is used for your mac from the Time Machine backup, (it depends on the Integrated graphics you have). Also if you have dedicated graphics This patch works only for integrated graphics. the 'old' one still has support for Nvidia and AMD although i don't usually update them because many people don't want them to be patched. this patch will get it's own Nvidia and AMD patch in the near future.

from mac-pixel-clock-patch-v2.

LETRA avatar LETRA commented on August 18, 2024

Everything is right now. Thank you very much for your attention Floris.

I use Mac Mini late 2012 i7 2'3 GHz, 16 GB RAM 1600 MHz DDR3, Intel HD Graphics 4000 (1536 MB)

Información del hardware:

Nombre del modelo: Mac mini
Identificador del modelo: Macmini6,2
Nombre del procesador: Intel Core i7
Velocidad del procesador: 2,3 GHz
Cantidad de procesadores: 1
Cantidad total de núcleos: 4
Caché de nivel 2 (por núcleo): 256 KB
Caché de nivel 3: 6 MB
Memoria: 16 GB
Versión de la ROM de arranque: MM61.0106.B0A
Versión SMC (sistema): 2.8f0

Intel HD Graphics 4000:

Modelo de chipset: Intel HD Graphics 4000
Tipo: GPU
Bus: Integrado
VRAM (dinámica, máx.): 1536 MB
Fabricante: Intel (0x8086)
ID del dispositivo: 0x0166
ID de la revisión: 0x0009

Pantallas:

LG ULTRAWIDE:
Resolución: 2560 x 1080 @ 60 Hz
Profundidad de píxel: Color de 32 bits (ARGB8888)
Pantalla principal: Sí
Duplicado: Desactivado
En línea: Sí
Rotación: Compatible
Televisor: Sí

LG ULTRAWIDE:
Resolución: 2560 x 1080 @ 60 Hz
Profundidad de píxel: Color de 32 bits (ARGB8888)
Duplicado: Desactivado
En línea: Sí
Rotación: Compatible
Televisor: Sí

from mac-pixel-clock-patch-v2.

LETRA avatar LETRA commented on August 18, 2024

The right output:

Last login: Wed Jan 27 01:33:57 on console
Mac-mini-de-LETRA:~ LETRA$ chmod +x /Users/LETRA/Downloads/IOKit-patcher.command
Mac-mini-de-LETRA:~ LETRA$ /Users/LETRA/Downloads/IOKit-patcher.command(otool) Detected unpatched IOKit on OS X 10.11.2 and 10.11.3.
Patching IOKit with patch version 6
Password:
Re-singing IOKit
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit: replacing existing signature
Closing..
Mac-mini-de-LETRA:~ LETRA$ /Users/LETRA/Downloads/IOKit-patcher.command test
(otool) Detected patched IOKit on OS X 10.11.2 and 10.11.3.
Mac-mini-de-LETRA:~ LETRA$

Thank you !!

from mac-pixel-clock-patch-v2.

Floris497 avatar Floris497 commented on August 18, 2024

Great :) I'm happy it works now!

If @aren13 can confirm his version works too I can close the issue.

from mac-pixel-clock-patch-v2.

Devolv avatar Devolv commented on August 18, 2024

Ok so I had an earlier patch from V1. 10.11.2.

--- BEGINNING MD5 HASH SUMS ---- version: 10.11.3 build:15D21`

     otool IOKit: e70f3a302a6f87190e6d6fe7609cb4b5
 otool IOKit.bak: 6999a527ba1a10c38a76295981026df1
           IOKit: 3cec8ae287ee52a3622082bfc049bb86
       IOKit.bak: cf5811f915406b59a5e382e11a52135a

---- ENDING MD5 HASH SUMS -------

So I deleted the old IOKit.bak, and reran the script.

Alfreds-MacBook-Pro:mac-pixel-clock-patch-V2-master alee$ ~/Downloads/iokit-patcher.command
SIP looks to be disabled, all good!

(otool) Detected unpatched IOKit on OS X 10.11.2 and 10.11.3.
SIP looks to be disabled, all good!
Patching IOKit with patch version 6
Password:
Re-singing /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit: replacing existing signature
Closing..
Alfreds-MacBook-Pro:mac-pixel-clock-patch-V2-master alee$ ~/Downloads/iokit-patcher.command md5

Here's the Output with md5

---- BEGINNING MD5 HASH SUMS ---- version: 10.11.3 build:15D21

     otool IOKit: 422c441e207a011b355f712fc0ff7fba
 otool IOKit.bak: e70f3a302a6f87190e6d6fe7609cb4b5
           IOKit: 5c91441d636cb302ad09057e0e65b6b7
       IOKit.bak: 3cec8ae287ee52a3622082bfc049bb86

---- ENDING MD5 HASH SUMS -------

Did it work? This is on a MacBook Pro Mid 2012. I will confirm later as I am not using a higher resolution monitor currently.

from mac-pixel-clock-patch-v2.

Floris497 avatar Floris497 commented on August 18, 2024

Yep that looks totally fine :D As long as nothing weird has happend and otool IOKit and otool IOKit.bak are different the patch has been successful :)

from mac-pixel-clock-patch-v2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.