big-sur-micropatcher
big-sur-micropatcher copied to clipboard
No sleep mode
Dear all I was able to patch an Early 2011 MacBook Pro and everything works fine even the patch-kexts.sh showed some errors. The only thing not working is the sleep mode. The MacBook Pro stays always on even if I close it. The brightness of the display cannot be adjusted. Any suggestion how to solve that? Mayn thanks
This is the error I get when appplying the patch-kexts.sh
-bash-3.2# /Volumes/Image\ Volume/patch-kexts.sh --2011 Using --2011 mode. No WiFi option specified on command line, so checking for 802.11ac... No 802.11ac WiFi card detected, so installing mojave-hybrid WiFi patch. You must specify a target volume (such as /Volumes/Macintosh\ HD) on the command line. -bash-3.2# /Volumes/Image\ Volume/patch-kexts.sh --2011 /Volumes/Macintosh\ HD Using --2011 mode. No WiFi option specified on command line, so checking for 802.11ac... No 802.11ac WiFi card detected, so installing mojave-hybrid WiFi patch. Installing kexts to: /Volumes/Macintosh HD
Volume appears to have a Big Sur installation (build 20B29). Continuing. Volume is mounted from device: /dev/disk1s5 Mounted device is an actual volume, not a snapshot. Proceeding. System Integrity Protection is off. Restart the machine for the changes to take effect. Successfully disabled authenticated root. Restart the machine for the changes to take effect. Remounting volume as read-write... Checking for KernelCollections backup... Backup found, so not overwriting. Beginning patched IO80211Family.kext installation Installing mojave-hybrid WiFi patch Installing High Sierra AppleHDA.kext Installing High Sierra Intel HD 3000 kexts Installing LegacyUSBInjector.kext Installing Catalina AppleBCM5701Ethernet.kext Using kmutil to rebuild boot collection... Error returned: <dictionary: 0x7fff800f35e0> { count = 1, transaction: 0, voucher = 0x0, contents = "XPCErrorDescription" => <string: 0x7fff800f3748> { length = 18, contents = "Connection invalid" } } Error returned: <dictionary: 0x7fff800f35e0> { count = 1, transaction: 0, voucher = 0x0, contents = "XPCErrorDescription" => <string: 0x7fff800f3748> { length = 18, contents = "Connection invalid" } } Error returned: <dictionary: 0x7fff800f35e0> { count = 1, transaction: 0, voucher = 0x0, contents = "XPCErrorDescription" => <string: 0x7fff800f3748> { length = 18, contents = "Connection invalid" } } Using kmutil to rebuild system collection... Error returned: <dictionary: 0x7fff800f35e0> { count = 1, transaction: 0, voucher = 0x0, contents = "XPCErrorDescription" => <string: 0x7fff800f3748> { length = 18, contents = "Connection invalid" } } Error returned: <dictionary: 0x7fff800f35e0> { count = 1, transaction: 0, voucher = 0x0, contents = "XPCErrorDescription" => <string: 0x7fff800f3748> { length = 18, contents = "Connection invalid" } } Error returned: <dictionary: 0x7fff800f35e0> { count = 1, transaction: 0, voucher = 0x0, contents = "XPCErrorDescription" => <string: 0x7fff800f3748> { length = 18, contents = "Connection invalid" } } Copying deferred prelinked kernels in /Volumes/Macintosh HD... /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/kext_tools/kext_tools-692.40.7/kc_staging.m.279: Encountered error while inspecting path: Error Domain=NSCocoaErrorDomain Code=260 "The folder “PrelinkedKernels” doesn’t exist." UserInfo={NSFilePath=/Volumes/Macintosh HD/Library/Apple/System/Library/PrelinkedKernels, NSUserStringVariant=( Folder ), NSUnderlyingError=0x7fa2c8c0b810 {Error Domain=NSOSStatusErrorDomain Code=-43 "fnfErr: File not found"}} /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/kext_tools/kext_tools-692.40.7/kc_staging.m.279: Encountered error while inspecting path: Error Domain=NSCocoaErrorDomain Code=260 "The folder “PrelinkedKernels” doesn’t exist." UserInfo={NSFilePath=/Volumes/Macintosh HD/Library/Apple/System/Library/PrelinkedKernels, NSUserStringVariant=( Folder ), NSUnderlyingError=0x7fa2c8d04fc0 {Error Domain=NSOSStatusErrorDomain Code=-43 "fnfErr: File not found"}} Copying KCs in /Volumes/Macintosh HD... System Volume UUID: F05F03BC-C1F8-4C18-A7EA-BA02E998E86C Volume Group UUID: EE70B6D1-A0CB-4FBE-9EE1-924A57E73F5D Preboot disk: /dev/disk1s2 Mounting Preboot: "/System/Volumes/Data/private/var/tmp/preboot.kcditto.VeUQMln" Preboot volume: /System/Volumes/Data/private/var/tmp/preboot.kcditto.VeUQMln Copying: /Volumes/Macintosh HD/System/Library/KernelCollections/BootKernelExtensions.kc.elides -> /System/Volumes/Data/private/var/tmp/preboot.kcditto.VeUQMln/EE70B6D1-A0CB-4FBE-9EE1-924A57E73F5D/boot/System/Library/KernelCollections Copying: /Volumes/Macintosh HD/System/Library/KernelCollections/BootKernelExtensions.kc -> /System/Volumes/Data/private/var/tmp/preboot.kcditto.VeUQMln/EE70B6D1-A0CB-4FBE-9EE1-924A57E73F5D/boot/System/Library/KernelCollections Unmounting Preboot: "/System/Volumes/Data/private/var/tmp/preboot.kcditto.VeUQMln" Volume Preboot on disk1s2 unmounted Creating new root snapshot. Installed patch kexts successfully. -bash-3.2#
Duplicate of #135
Also for the no sleep mode and no adjustment of the brightness?
Assuming this model has the same Sandy Bridge CPU as the iMac 2011 it possibly needs the same set of extensions to get sleep back. I could add these to my fork but I need you to check this. About brightness no idea, can you check which additional extensions the @dosdude1 catalina patcher installed. and finally you will not have fun without a metal GPU.