Jump to content

AppleRTC patch (CMOS reset after sleep/wake)


oldnapalm
 Share

48 posts in this topic

Recommended Posts

  • 5 months later...
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's the same patch as ML, just different location, thanks rayap

 

For the sake of information, I did a clean re-install of my Gigabyte GA-P55M-UD4 with Mavericks directly 10.9.5 lastest image from AppStore.

 

The patch above works and after sleep, when the Desktop comes back alive and I choose to reboot the computer, the CMOS settings are no longer reset.

 

Thanks again, oldnapalm & rayap!

 

For safety I used a 0x00 in front of the hex codes in each side, i.e.:

sudo perl -pi -e 's|\x00\x75\x2e\x0f\xb6|\x00\xeb\x2e\x0f\xb6|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC
Link to comment
Share on other sites

  • 5 weeks later...
  • 4 months later...

Does this solution works with MAC OS X Mavericks GM2 vanilla installation 10.9 - 13A603 ( I just installed yesterday this version on my good old PC and EVERYTHING is working pretty well but I have no sound yet + this well-known CMOS reset bug... ) ?

Link to comment
Share on other sites

  • 1 month later...

Works Perfectly..on Mavericks 10.9.4. This was the only thing that was missing from my Perfect Hackintosh..

 

It now sleeps normally, Hard drives go off, fans stop spinning, and wakes up normally too with a keyboard press or mouse click, without issues..!! 

 

AMD Phenom II x3 720 BE (disabled the 3rd core, so Mavericks detects it as a Core 2 Duo, Mac Pro 3.1)

Asus M4A785TDV EVO 

4GB Corsair 1600Mhz

Powercolor HD 4890 PCS

M-audio Fast Track C400

 

I do not have a DSDT or a Patched DSDT.

 

Thank You So Much For Your hard Work..!!  :)  

Link to comment
Share on other sites

 

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's the same patch as ML, just different location, thanks rayap
 
 
10.8
< 0000000000001d32 jne 0x1d64
---
> 0000000000001d32 jmp 0x1d64
10.9
< 0000000000000d3e jne 0xd6e
---
> 0000000000000d3e jmp 0xd6e

 

 

 

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's the same patch as ML, just different location, thanks rayap
 
 
10.8
< 0000000000001d32 jne 0x1d64
---
> 0000000000001d32 jmp 0x1d64
10.9
< 0000000000000d3e jne 0xd6e
---
> 0000000000000d3e jmp 0xd6e

 

Works Perfectly..Mavericks 10.9.4

AMD Phenom II x3 (3rd core disabled) (detected as core 2 duo) SMBIOS MacPro 3.1

Asus M4A785TDV EVO

Corsair 4 GB

Powercolor 4890 PCS

M-audio Fast Track C400

 

I DO NOT HAVE A DSDT FOR MY MOBO.

 

Thank You..!!

Link to comment
Share on other sites

  • 2 weeks later...

the patch for yosemite

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;
 

work to for EL CAPITAN ( 15A178w )

 

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;

  • Like 2
Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...

the patch for yosemite

 

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;

 

work to for EL CAPITAN ( 15A178w )

 

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 doesn't work in el capitan , man ! . 

any ideas ??

Link to comment
Share on other sites

  • 2 months later...

 

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's the same patch as ML, just different location, thanks rayap
 
 
10.8
< 0000000000001d32 jne 0x1d64
---
> 0000000000001d32 jmp 0x1d64
10.9
< 0000000000000d3e jne 0xd6e
---
> 0000000000000d3e jmp 0xd6e

 

whoo !!  :thumbsup_anim:

 

thanks , works very well with GA78lmtusb3 / Phenom x4 B55 / GTX 950 open/halt/restart/sleep (no dsdt)  

Link to comment
Share on other sites

  • 9 months later...
  • 3 months later...

Without a patched DSDT you will have CMOS reset even without using sleep/wake on many machines.

 

AppleRTC patch avoids CMOS reset after sleep/wake.

 

It's a well known issue, anyway I've updated the title.

 

More info

http://www.insanelymac.com/forum/topic/253992-cmos-resets-on-restarts-after-sleep-and-wake-in-107-lion/

 

If it's not the case, how do you patch DSDT to avoid CMOS reset after sleep/wake?

i got auto reboot on wake up from sleep in 10.9,maybe patch and cache kext problem.

Link to comment
Share on other sites

i got auto reboot on wake up from sleep in 10.9,maybe patch and cache kext problem.

i have auto reboot when is shutdown but is because  the cmos reset enable the network wake, so I disable it every time I boot my hack

looks better with a Mac Pro definition instead of a iMac, but it is not solved yet

Link to comment
Share on other sites

  • 2 months later...

Frank, did you solve the Cmos reset? How?

My apologies for such a long delay, this isn't a thread I mainly frequent. If you're using Clover then I can't help u. My issue is specific to Enoch which I did find a solution to which involves the AppleRTC patch from 10.9

Link to comment
Share on other sites

 Share

×
×
  • Create New...