Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
rayap

CMOS Resets by AppleRTC.kext

71 posts in this topic

Recommended Posts

And again, there appears to be no change in the size of the Unix Executable AppleRTC file at 66,320 bytes in ML DP4. So the patch in the OP does help as expected.

Rgds.

Share this post


Link to post
Share on other sites

@rayap

 

after reading another thread about ML install, i am a bit confused. Can i copy the AppleRTC.kext to /Extra/Extensions, patch it and keep it there or do i need to copy the patched AppleRTC.kext back to /System/Extensions?

I would like to keep the unpatched kext in /System/Extensions

 

Under Lion, the patched kext is loaded from /Extra/Extensions and that worked good.

Share this post


Link to post
Share on other sites

@rayap

 

after reading another thread about ML install, i am a bit confused. Can i copy the AppleRTC.kext to /Extra/Extensions, patch it and keep it there or do i need to copy the patched AppleRTC.kext back to /System/Extensions?

I would like to keep the unpatched kext in /System/Extensions

 

Under Lion, the patched kext is loaded from /Extra/Extensions and that worked good.

 

You can use the AppleRTC.kext the same way You've done in Lion. I'm loading the kext from E/E and have the original in S/L/E.

Share this post


Link to post
Share on other sites

So are you guys using the one in the OP or the longer one further down that's the one used in Lion?

 

I still needed that patch in Lion with almost every point update, so I'm sure I'll need it to for 10.8. Maybe we can get people to chime in whether AppleRTC was changed, with every future point update, and whether or not they needed to patch once again ;-).

 

So now I wonder if this is working in 10.8.1. and if it needed re-patching.

Share this post


Link to post
Share on other sites
So now I wonder if this is working in 10.8.1. and if it needed re-patching.

 

There's not been regular changes to AppleRTC exec file from DP1 thro 10.8.1 - so the OP patch will work. If you replaced the kext file with any update, guess you have to patch again.

Share this post


Link to post
Share on other sites

Could somebody provide me the patched kext?

 

No need to download a kext. Patch yours with the first post from the OP. It's a simple perl script, cut and paste it into a terminal.

Share this post


Link to post
Share on other sites

Could somebody provide me the patched kext?

 

I see google is having an outage in your area. :fiery:

 

Get the file from HERE.

 

I was actually going to download that file but the uploader was kind enough to put the code he used right in the description. Open terminal and run this...

 

sudo perl -pi -e 's|\x75\x30\x89\xd8|\xeb\x30\x89\xd8|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC

 

 

This line of code patches the AppleRTC.kext in your S/L/E folder as opposed to one located in the E/E folder (If you even have on there). I don't have any kexts in my E/E folder so I had to use the attached bit of code.

Share this post


Link to post
Share on other sites

Have you changed AHCi to ESB2?

Have changed ICH10 to ESB2, I don't need patch AppleRTC.kext anymore, both 10.7 and 10.8

Unless I'm mistaken, or have forgotten about some other patch I've applied somewhere, I no longer need to patch the AppleRTC binary for 10.8 DP3. Rebooting after a sleep/wake cycle now performs normally without any CMOS error.

 

Can somebody else check this on their setup?

Indeed!

 

On GA-EP45-DS3 (F9) I have used just custom DSDT.aml, FakeSMC, AppleHDA rollback and RealtekRTL81xx kexts. There was no need to patch AppleRTC. The system with 10.8.1 is fully functional and stable. To verify the rersult, I have completely reinstalled the system over the weekend.

 

Regards

Share this post


Link to post
Share on other sites

Indeed!

 

On GA-EP45-DS3 (F9) I have used just custom DSDT.aml, FakeSMC, AppleHDA rollback and RealtekRTL81xx kexts. There was no need to patch AppleRTC. The system with 10.8.1 is fully functional and stable. To verify the rersult, I have completely reinstalled the system over the weekend.

 

Regards

 

How was that ?

Did ESB2 make sense ?

Share this post


Link to post
Share on other sites

Indeed!

 

On GA-EP45-DS3 (F9) I have used just custom DSDT.aml, FakeSMC, AppleHDA rollback and RealtekRTL81xx kexts. There was no need to patch AppleRTC. The system with 10.8.1 is fully functional and stable. To verify the rersult, I have completely reinstalled the system over the weekend.

 

Regards

 

There's no noticeable change to AppleRTC (MacOS exec file)from DP1 thro 10.8.2 , so elusive changes in other areas have overcome the CMOS resets. Hopefully for later system updates, we'll not need the patch at all.

Share this post


Link to post
Share on other sites

There's no noticeable change to AppleRTC (MacOS exec file)from DP1 thro 10.8.2 , so elusive changes in other areas have overcome the CMOS resets. Hopefully for later system updates, we'll not need the patch at all.

Apple didn't update the AppleRTC.kext

so we don't need to patch again :)

Share this post


Link to post
Share on other sites

So when was the last time you needed the patch?

I guess Mountain Lion DP4.

After several days with DP4 , I got back to Lion.

When Mountain Lion really came out, I installed it all completely new.

So that should be my last time when I patched AppleRTC

Share this post


Link to post
Share on other sites

So that should be my last time when I patched AppleRTC

I understand as such: the last time was with DP4. Now with ML thro 10.8.2 it is just vanilla AppleRTC.kext. Correct?

Thanks.

Share this post


Link to post
Share on other sites

I understand as such: the last time was with DP4. Now with ML thro 10.8.2 it is just vanilla AppleRTC.kext. Correct?

Thanks.

Nope

I installed Mountain Lion 10.8.0 when it released officially

I patch the AppleRTC at that time.

For 10.8.1 and 10.8.2 updates, since Apple didn't bring in new AppleRTC

So I didn't patch RTC again :)

Hope you understand what I mean this time.

Share this post


Link to post
Share on other sites

@p.H

Thanks. Apple recompiled the AppleRTC.kext with each update but the AppleRTC exec file remained the same.

From your earlier remarks I was excited you were not needing the patch. Alas, it was not true.

Share this post


Link to post
Share on other sites

@p.H

Thanks. Apple recompiled the AppleRTC.kext with each update but the AppleRTC exec file remained the same.

From your earlier remarks I was excited you were not needing the patch. Alas, it was not true.

 

sorry, didn't quite follow your last words.

What's not true ?

 

BTW, Maybe quoting my post is better so that I can follow along.

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.

×