Floris497 / mac-pixel-clock-patch-V2

994 stars 221 forks source link

Patch for macOS Catalina 10.15.6 #363

Closed guilhermefilippo closed 4 years ago

guilhermefilippo commented 4 years ago

Hello!

Does anyone have the patch for macOS Catalina 10.15.6? I just updated and my monitor lost its 2560x1440 resolution.

Thank you.

A backup file already exists - If you force this patch on an already patched version you will lose your original backup!
Be careful: Having no working version of CoreDisplay requires you to reinstall the OS.
It might be wise to undo the patch before trying to redo it using: ./CoreDisplay-patcher.command unpatch
Do you want to continue? [Y/n] Y
SIP looks to be disabled, all good!
Patching CoreDisplay with patch version 5
Can't rename /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay to /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay.bak: Read-only file system, skipping file.
touch: /System/Library/Extensions: Read-only file system
Re-signing /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay
/System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay: replacing existing signature
/System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay: Read-only file system
update_dyld_shared_cache: warning: x86_64 rejected from cached dylibs: /System/Library/PrivateFrameworks/CreateML.framework/Versions/A/CreateML (("Could not find dependency '/System/Library/PrivateFrameworks/TuriCore.framework/Versions/A/TuriCore'"))
update_dyld_shared_cache: warning: x86_64 rejected from cached dylibs: /System/Library/PrivateFrameworks/HelloWorldMacHelper.framework/Versions/A/HelloWorldMacHelper (("Could not find dependency '/System/Library/PrivateFrameworks/UHASHelloExtensionPoint-macOS.framework/Versions/A/UHASHelloExtensionPoint-macOS'"))
update_dyld_shared_cache: warning: x86_64 rejected from cached dylibs: /usr/lib/swift/libswiftCreateML.dylib (("Could not find dependency '/System/Library/PrivateFrameworks/TuriCore.framework/Versions/A/TuriCore'"))
The code is still the same. Patch seemed to run, but was probably for the wrong version.
If you are running a new OS, run ./CoreDisplay-patcher.command md5 and ask the maintainer of this script to add support for your system.
---- BEGINNING MD5 HASH SUMS ---- version: 10.15.6 build:19G2021

     otool CoreDisplay: 3aa757600fbdfac0ce19d98f98d428b6
 otool CoreDisplay.bak: 3aa757600fbdfac0ce19d98f98d428b6
           CoreDisplay: 5120da03b4a07ad07a6fa7cb3ca1d21b
       CoreDisplay.bak: eb856c6f6ffcc18822114865cfbf8982

---- ENDING MD5 HASH SUMS -------
guilhermefilippo commented 4 years ago

The problem was the read only mode. I just did "sudo mount -uw /" and ran the script. All right!

hoozecn commented 4 years ago

same problem here:

~/Downloads $ sh ./CoreDisplay-patcher.command.txt
SIP looks to be disabled, all good!

Unknown version of CoreDisplay found.
---- BEGINNING MD5 HASH SUMS ---- version: 10.15.6 build:19G2021

     otool CoreDisplay: 3aa757600fbdfac0ce19d98f98d428b6
 otool CoreDisplay.bak: NO FILE (this is okay)
           CoreDisplay: 5120da03b4a07ad07a6fa7cb3ca1d21b
       CoreDisplay.bak: NO FILE (this is okay)

---- ENDING MD5 HASH SUMS -------
victtavares commented 4 years ago

Same error for me, using patch v5 got me stuck in the apple logo boot screen.