Contribute
Register

Which CMOS reset fix Perl script..??

Joined
Jul 2, 2011
Messages
69
Motherboard
Z170N-WIFI
CPU
i5-6600K
Graphics
HD530
Mac
MacBook Pro
Mobile Phone
iOS
Was about to re-fix this CMOS situation when I ran into two different Perl scripts, both claiming to do the same:

Code:
sudo perl -pi -e 's|\x75\x30\x44\x89\xf8|\xeb\x30\x44\x89\xf8|; s|\x75\x3d\x8b\x75\x08|\xeb\x3d\x8b\x75\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC
from here: viewtopic.php?p=228015#p228015

and

Code:
sudo perl -pi -e 's|\x8b\x45\xc8\x39\x45\xcc\x74\x0b|\x8b\x45\xc8\x39\x45\xcc\xeb\x0b|; s|\x8b\x45\xb4\x39\x45\xb8\x74\x08|\x8b\x45\xb4\x39\x45\xb8\xeb\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC
from here: viewtopic.php?p=214155#p214155

What's the difference? I believe I applied the latter one before and it was fine, but I'm curious to know what the difference is. Would it hurt if you ran both scripts for instance?
 
Joined
Dec 19, 2010
Messages
286
Motherboard
Gigabyte GA-Z77X-UD5H - F16
CPU
i7-3770K
Graphics
HD4000
Mobile Phone
iOS
This is the one I use...

Code:
sudo perl -pi -e 's|\x75\x30\x44\x89\xf8|\xeb\x30\x44\x89\xf8|; s|\x75\x3d\x8b\x75\x08|\xeb\x3d\x8b\x75\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC
 
Top