Jump to content

36 posts in this topic

Recommended Posts

sudo perl -pi -e 's|\x75\x2e\x0f\xb6|\xeb\x2e\x0f\xb6|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC
sudo touch /System/Library/Extensions 

It is the same of Mountain Lion and Mavericks, but at different location:

 

10.9

< 0000000000000d3e jne 0xd6e
---
> 0000000000000d3e jmp 0xd6e

10.10

< 0000000000001cb3 jne 0x1ce3
---
> 0000000000001cb3 jmp 0x1ce3

Thanks to:

http://www.insanelymac.com/forum/topic/289798-applertc-patch-cmos-reset-after-sleepwake

 

Share this post


Link to post
Share on other sites
Advertisement

After patching it's not loading, invalid signature error, what to do?

You got this when you rebuild cache? Is all ok. If your system don't reset CMOS you are ok.

Share this post


Link to post
Share on other sites

Yeah, cache rebuild omitting this kext because of invalid signature, not allowing to load. My system does not boot without this kext loaded, it hang after USB over current notification. For now I'm loading this kext using Clover kext inject from EFI>Clover>kexts>10.10, in this way it's working fine.

Share this post


Link to post
Share on other sites

Yeah, cache rebuild omitting this kext because of invalid signature, not allowing to load. My system does not boot without this kext loaded, it hang after USB over current notification. For now I'm loading this kext using Clover kext inject from EFI>Clover>kexts>10.10, in this way it's working fine.

If you use Clover you can restore the original kext and add the patch to the bootloader! Use "Clover Configuration" to simplify the things.

Share this post


Link to post
Share on other sites

Thanks Marchrlus  :) but I'm not at Clover, using it for 1st time with Yosemite.

Ok. You can download Clover Configuration and then add AppleRTC patch.

Share this post


Link to post
Share on other sites

Hi, can someone explain me where to run this i don't get it, im using Chameleon.

Thanks, sorry im not an advance user....

You can use the first method

Share this post


Link to post
Share on other sites

Whats the first method?

Sorry i mean the method at first post

Share this post


Link to post
Share on other sites

This work on Yosemite or not?

Yes, It's writed in first post. If you have clover bootloader use the internal patch.

Share this post


Link to post
Share on other sites

I use a Clover.Please give me patch for Yosemite...

Thanks in advanced.

 

This patch?

sudo perl -pi -e 's|\x75\x2e\x0f\xb6|\xeb\x2e\x0f\xb6|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC
sudo touch /System/Library/Extensions 

I have this problem LINK

and this LINK

Share this post


Link to post
Share on other sites

Use Clover Configurator to enable "Apple RTC" patch.

Share this post


Link to post
Share on other sites

In Mavericks AppleRTC thread was posted patch that completly remove any CMOS write from AppleRTC.kext

perl -pi -e 's|\x41\x89\xd7\x41\x89\xf4|\xe9\xb8\x00\x00\x00\x90|;' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC

 

Is any similar patch for yosemite ? Patch that removes cmos reset only is unsuitable for me because of cmos corruption on every restart/shutdown.

Share this post


Link to post
Share on other sites

In Mavericks AppleRTC thread was posted patch that completly remove any CMOS write from AppleRTC.kext

Is any similar patch for yosemite ? Patch that removes cmos reset only is unsuitable for me because of cmos corruption on every restart/shutdown.

If you have Clover bootloader you can enable the patch directly in the bootloader. Also, you can use the Mavericks patch to disable cmos reset, it works on yosemite too.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By HBP
      Any ideas on what is causing this?
      I have not had this sleep wake issue except with 10.13.x but then all previous builds I turned PM off.
      Any Help would be greatly appreciated!!!
       
      Anonymous UUID: A0914F98-0853-1674-87D3-84AADB1F892B Thu May 31 22:16:33 2018 *** Panic Report *** panic(cpu 0 caller 0xffffff8000388c2d): Kernel trap at 0xffffff7f83a014ca, type 14=page fault, registers: CR0: 0x000000008001003b, CR2: 0xffffff8083a59331, CR3: 0x00000000179de000, CR4: 0x00000000001627e0 RAX: 0xffffff7f83a59360, RBX: 0x0000000000000000, RCX: 0x0000000000000000, RDX: 0x0000000000000024 RSP: 0xffffff8026d539d0, RBP: 0xffffff8026d539d0, RSI: 0xffffff81f12bd024, RDI: 0x00000000ffffffd1 R8: 0x0000000000000052, R9: 0x0000000000000008, R10: 0x0000000000000010, R11: 0x0000000000000000 R12: 0xffffff81f12bd000, R13: 0xffffff7f83a64db4, R14: 0x0000000000000000, R15: 0x0000000000000000 RFL: 0x0000000000010246, RIP: 0xffffff7f83a014ca, CS: 0x0000000000000008, SS: 0x0000000000000010 Fault CR2: 0xffffff8083a59331, Error code: 0x0000000000000000, Fault CPU: 0x0, PL: 0, VF: 1 Backtrace (CPU 0), Frame : Return Address 0xffffff8026d53480 : 0xffffff800026e166 0xffffff8026d534d0 : 0xffffff8000396714 0xffffff8026d53510 : 0xffffff8000388a00 0xffffff8026d53590 : 0xffffff8000220180 0xffffff8026d535b0 : 0xffffff800026dbdc 0xffffff8026d536e0 : 0xffffff800026d99c 0xffffff8026d53740 : 0xffffff8000388c2d 0xffffff8026d538c0 : 0xffffff8000220180 0xffffff8026d538e0 : 0xffffff7f83a014ca 0xffffff8026d539d0 : 0xffffff7f83a39143 0xffffff8026d53a40 : 0xffffff7f83a393fb 0xffffff8026d53a60 : 0xffffff7f83a33fac 0xffffff8026d53ab0 : 0xffffff7f83a2b60c 0xffffff8026d53af0 : 0xffffff7f83a2fd6d 0xffffff8026d53b50 : 0xffffff7f839e8267 0xffffff8026d53be0 : 0xffffff7f8195de99 0xffffff8026d53c30 : 0xffffff7f8195d34c 0xffffff8026d53c50 : 0xffffff7f839ed4ce 0xffffff8026d53c90 : 0xffffff7f839ed728 0xffffff8026d53cd0 : 0xffffff7f839ede99 0xffffff8026d53d20 : 0xffffff7f839f240f 0xffffff8026d53d40 : 0xffffff80008b9ef8 0xffffff8026d53d90 : 0xffffff80008e8293 0xffffff8026d53e00 : 0xffffff8000881ddb 0xffffff8026d53e50 : 0xffffff800087efc8 0xffffff8026d53eb0 : 0xffffff800087bfa3 0xffffff8026d53ef0 : 0xffffff800087be32 0xffffff8026d53f30 : 0xffffff8000898772 0xffffff8026d53f70 : 0xffffff8000897dac 0xffffff8026d53fa0 : 0xffffff800021f4f7 Kernel Extensions in backtrace: com.apple.iokit.IOACPIFamily(1.4)[95DA39BB-7C39-3742-A2E5-86C555E21D67]@0xffffff7f8195c000->0xffffff7f81964fff com.apple.driver.AppleACPIPlatform(6.1)[FC118BB9-2E67-35DD-BB25-BA6DFAF5AE88]@0xffffff7f839e2000->0xffffff7f83a86fff dependency: com.apple.iokit.IOACPIFamily(1.4)[95DA39BB-7C39-3742-A2E5-86C555E21D67]@0xffffff7f8195c000 dependency: com.apple.iokit.IOPCIFamily(2.9)[580E0204-B37A-32BA-AC27-E8DBCA519B1F]@0xffffff7f80b34000 dependency: com.apple.driver.AppleSMC(3.1.9)[497D69E7-C1FB-3435-B4D9-ED1DC51727D1]@0xffffff7f81a7c000 BSD process name corresponding to current thread: kernel_task Boot args: slide=0 dart=0 -xcpm Mac OS version: 17E202 Kernel version: Darwin Kernel Version 17.5.0: Fri Apr 13 19:32:32 PDT 2018; root:xnu-4570.51.2~1/RELEASE_X86_64 Kernel UUID: 7134F18E-AAC2-3C5B-B2C4-ABB799B4B9DF __HIB text base: 0xffffff8000100000 System model name: iMac14,2 (Mac-27ADBB7B4CEE8E61) System uptime in nanoseconds: 11467924159533 last loaded kext at 848223449578: com.apple.filesystems.smbfs 3.2.2 (addr 0xffffff7f83bda000, size 434176) last unloaded kext at 338340125414: com.apple.filesystems.msdosfs 1.10 (addr 0xffffff7f83bda000, size 61440) loaded kexts: com.nvidia.CUDA 1.1.0 com.nvidia.web.GeForceWeb 10.3.1 com.nvidia.web.NVDAGM100HalWeb 10.3.1 com.nvidia.web.NVDAResmanWeb 10.3.1 com.no-one.BrcmPatchRAM2 2.2.10 com.no-one.BrcmFirmwareStore 2.2.10 org.hwsensors.driver.LPCSensors 1655 com.insanelymac.IntelMausiEthernet 2.4.0 org.hwsensors.driver.GPUSensors 1655 org.rehabman.driver.FakePCIID.XHCIMux 1.3.9 org.rehabman.driver.FakePCIID 1.3.9 org.hwsensors.driver.ACPISensors 1655 org.hwsensors.driver.CPUSensors 1655 as.lvs1974.IntelGraphicsFixup 1.2.0 as.vit9696.AppleALC 1.2.6 as.lvs1974.BT4LEContiunityFixup 1.1.0 org.netkas.driver.FakeSMC 1655 as.vit9696.Shiki 2.2.6 as.vit9696.Lilu 1.2.2 com.rehabman.driver.USBInjectAll 0.6.2 com.apple.filesystems.smbfs 3.2.2 com.apple.driver.AudioAUUC 1.70 com.apple.driver.AGPM 110.23.33 com.apple.driver.ApplePlatformEnabler 2.7.0d0 com.apple.driver.X86PlatformShim 1.0.0 com.apple.filesystems.autofs 3.0 com.apple.driver.AppleUpstreamUserClient 3.6.5 com.apple.driver.AppleHDA 281.51 com.apple.driver.AppleMCCSControl 1.5.4 com.apple.AGDCPluginDisplayMetrics 3.18.48 com.apple.driver.pmtelemetry 1 com.apple.iokit.IOUserEthernet 1.0.1 com.apple.iokit.IOBluetoothSerialManager 6.0.5f3 com.apple.Dont_Steal_Mac_OS_X 7.0.0 com.apple.driver.Apple16X50ACPI 3.2 com.apple.driver.AppleHV 1 com.apple.driver.eficheck 1 com.apple.driver.AppleLPC 3.1 com.apple.driver.AppleOSXWatchdog 1 com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0 com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1 com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0 com.apple.BootCache 40 com.apple.filesystems.hfs.kext 407.50.6 com.apple.driver.AirPort.Brcm4360 1240.19.1a3 com.apple.driver.AppleAHCIPort 329.50.2 com.apple.driver.AppleACPIButtons 6.1 com.apple.driver.AppleRTC 2.0 com.apple.driver.AppleHPET 1.8 com.apple.driver.AppleSMBIOS 2.1 com.apple.driver.AppleAPIC 1.7 com.apple.nke.applicationfirewall 183 com.apple.security.quarantine 3 com.apple.security.TMSafetyNet 8 com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 6.0.5f3 com.apple.iokit.IOBluetoothHostControllerUSBTransport 6.0.5f3 com.apple.iokit.IOBluetoothHostControllerTransport 6.0.5f3 com.apple.kext.triggers 1.0 com.apple.driver.DspFuncLib 281.51 com.apple.kext.OSvKernDSPLib 526 com.apple.iokit.IOAcceleratorFamily2 378.18.1 com.apple.driver.AppleSMBusController 1.0.18d1 com.apple.iokit.IOSurface 211.12 com.apple.iokit.IOBluetoothFamily 6.0.5f3 com.apple.iokit.IOAVBFamily 675.6 com.apple.plugin.IOgPTPPlugin 675.12 com.apple.iokit.IOEthernetAVBController 1.1.0 com.apple.iokit.IONDRVSupport 519.15 com.apple.driver.Apple16X50Serial 3.2 com.apple.iokit.IOSerialFamily 11 com.apple.driver.AppleSSE 1.0 com.apple.driver.AppleHDAController 281.51 com.apple.iokit.IOHDAFamily 281.51 com.apple.iokit.IOAudioFamily 206.5 com.apple.vecLib.kext 1.2.0 com.apple.driver.AppleSMBusPCI 1.0.14d1 com.apple.driver.X86PlatformPlugin 1.0.0 com.apple.AppleGPUWrangler 3.18.48 com.apple.AppleGraphicsDeviceControl 3.18.48 com.apple.iokit.IOGraphicsFamily 519.15 com.apple.driver.IOPlatformPluginFamily 6.0.0d8 com.apple.iokit.IOUSBHIDDriver 900.4.1 com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0 com.apple.driver.usb.IOUSBHostHIDDevice 1.2 com.apple.driver.AppleUSBHostMergeProperties 1.2 com.apple.driver.usb.networking 5.0.0 com.apple.driver.usb.AppleUSBHostCompositeDevice 1.2 com.apple.driver.usb.AppleUSBHub 1.2 com.apple.filesystems.hfs.encodings.kext 1 com.apple.iokit.IOAHCISerialATAPI 267.50.1 com.apple.driver.usb.AppleUSBHostPacketFilter 1.0 com.apple.iokit.IOUSBFamily 900.4.1 com.apple.iokit.IOAHCIBlockStorage 301.40.2 com.apple.iokit.IO80211Family 1200.12.2 com.apple.driver.mDNSOffloadUserClient 1.0.1b8 com.apple.driver.corecapture 1.0.4 com.apple.driver.usb.AppleUSBEHCIPCI 1.2 com.apple.driver.usb.AppleUSBEHCI 1.2 com.apple.driver.usb.AppleUSBXHCIPCI 1.2 com.apple.driver.usb.AppleUSBXHCI 1.2 com.apple.iokit.IOAHCIFamily 288 com.apple.driver.AppleEFINVRAM 2.1 com.apple.driver.AppleEFIRuntime 2.1 com.apple.iokit.IOHIDFamily 2.0.0 com.apple.iokit.IOSMBusFamily 1.1 com.apple.security.sandbox 300.0 com.apple.kext.AppleMatch 1.0.0d1 com.apple.driver.AppleFDEKeyStore 28.30 com.apple.driver.AppleEffaceableStorage 1.0 com.apple.driver.AppleKeyStore 2 com.apple.driver.AppleUSBTDM 439.50.6 com.apple.driver.AppleMobileFileIntegrity 1.0.5 com.apple.iokit.IOUSBMassStorageDriver 140.50.3 com.apple.iokit.IOSCSIBlockCommandsDevice 404.30.2 com.apple.iokit.IOSCSIArchitectureModelFamily 404.30.2 com.apple.driver.AppleCredentialManager 1.0 com.apple.driver.KernelRelayHost 1 com.apple.iokit.IOUSBHostFamily 1.2 com.apple.driver.usb.AppleUSBCommon 1.0 com.apple.driver.AppleBusPowerController 1.0 com.apple.driver.AppleSEPManager 1.0.1 com.apple.driver.IOSlaveProcessor 1 com.apple.driver.DiskImages 480.50.10 com.apple.iokit.IOStorageFamily 2.1 com.apple.iokit.IOReportFamily 31 com.apple.iokit.IOTimeSyncFamily 675.12 com.apple.iokit.IONetworkingFamily 3.4 com.apple.driver.AppleACPIPlatform 6.1 com.apple.driver.AppleSMC 3.1.9 com.apple.iokit.IOPCIFamily 2.9 com.apple.iokit.IOACPIFamily 1.4 com.apple.kec.Libm 1 com.apple.kec.pthread 1 com.apple.kec.corecrypto 1.0 EOF Unable to gather system configuration information. HBP
    • By bigpoppa206
      My signature should have all of my equipment info.  Everything has been running fine up until 10.12.4.  Booting with Clover and yes the AppleRTC.kext has been patched.
    • By Once!
      Hello!
       
      I actually don't know where to post this...
       
      I run an intel-powered multiboot system (one HDD is Mavericks 10.9.2, the other one is Windows 7). HDD with OSX was the primary one to boot, all was fine for half a year, but today I was rebooting from Win to OSX and somewhy it was Win booting again (despite OSX HDD priority).
       
      I rebooted again and got the "The data in EC or EC flash might be corrupted" error.
       
      Extracted the battery of the motherboard for 5 minutes, the error's gone, but OSX just won't start - stuck on flashing "_".
      If I disconnect the Win HDD, the system gives me "Reboot and Select proper Boot device or Instert Boot Media..." etc.
       
      Windows boots just fine for some reason.
       
      What could be the problem and how to fix it?
       
       
      Main components of the system:
      intel i5-2500 3.30ghz
      Asus P8Z68-V LX
      AMD Radeon HD 6800
       
       
      Don't know how to delete the topic and if I need to at all. Maybe it would be useful to someone, maybe not.
       
       
      SOLVED! 

      - created a bootable usb-stick using Mavericks ##### (yeah yeah those guys) from my another mac
      - booted up from the stick choosing to boot from my HDD which contained installed OS X
      - found a problem with "Missing Bluetooth Controller Transport!"
      - booted up in safe mode with -x, added dart=0 to the chameleon's kext in /Extra

      This fixed the problem. I guess, something went wrong after resetting the BIOS (VT-X appears disabled there).

      Solution was inspired by themacmeister from reddit
    • By sameh0
      i managed to install os x el capitan yesterday and since then almost everything worked except the AppleRTC patch so i get a cmos reset every time i sleep or wake the device . 
       
      back on Mountain lion , Maverick and Yosemite i used this patch 
      sudo perl -pi -e 's|\x75\x2e\x0f\xb6|\xeb\x2e\x0f\xb6|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC sudo touch /System/Library/Extensions the patch isn't working anymore , anyone patched it yet ? 
    • By stylisch
      Hi everyone,
      I am happy with my hackintosh since two years. I just recently upgraded to OSX Yosemite, starting with 10.10.3.
      I did a complete reinstall on a new SSD and I have the problem that I have random CMOS setting resets since than.
      It occurs about once a day and it never happened before.
      In Clover.config, there is
      <key>KernelAndKextPatches</key> <dict> <key>AppleRTC</key> <true/> <key>AsusAICPUPM</key> <true/> <key>KextsToPatch</key> <array> <dict> <key>Comment</key> <string>Trim Patch</string> <key>Find</key> <data> AEFQUExFIFNTRAA= </data> <key>Name</key> <string>IOAHCIBlockStorage</string> <key>Replace</key> <data> AAAAAAAAAAAAAAA= </data> </dict> </array> </dict> which should prevent the reset with patching of AppleRTC.
      Any help is appreciated.
×