August 20, 2009
FakeSMC – opensource smc emulator.
FakeSMC.kext is opensource smc emulator for macosx.
It emulates SMC device, smc shows no errors at start (unlike with other emus).
It’s opensource, so you can add another keys to smc keys list, in order to help to improve osx86.
Here is version compiled for SnowLeopard 32/64 , can be installed to Extra or /S/L/E fakesmc.kext.zip
a version for leopard – fakesmc.kext
And here is sources fakesmc.zip

p.s. uninstall dsmos.kext before using it
p.p.s. a links was updated (once) to correct smc-version detection, now it shows up in system profiler, in hardware overview
Comments(61)
Great work, sounds interesting
Zomg this is nice
Great netkas
working fine here. Thanks
Very cool! Does this mean no more DSMOS hacks are necessary for Snow Leopard (that we know of)? Is there a version for compiled for Leopard out there?
Tim
happy birgthday to me)))
I second the question of a Leopard version.
I’m fairly aware of what this will do, but could somebody give a more in-depth explanation of features in case I missed something and for the benefit of those who don’t otherwise know?
At this moment it is just an another version of dsmos/appledecrypt. It could be much more useful and nice if its algorythm will be realized by dsdt/acpi virtual device. And it’s possible!
///its not another version of dsmos/appledecrypt, and no, you cant make it in dsdt, its impossible.
Thanks mate both are working perfect!
Keep up the good work
Caused my shutdown not to work on my Dell Mini 10V running Snow Leopard Build 10A432.
Correction neither Restart, or shutdown works for me anymore, and i got the openhaltrestart.kext in Extra. It looks like back to dsmos.kext for me. Thanks anyways.
This Actually Fixed my sleep issue i can now sleep and wake with no probs.
Thanks
EP45C-Ds3R
scifan68
try to remove OpenHaltRestart.
Thanks for the fakesmc!
But can you fix this:
ACPI_SMC_PlatformPlugin::start – waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out
with the fakesmc?
Fantastic work! But Restart doesn’t work for me now. Shutdown works fine. Waiting for a solution.
Thanks
Intel D945-GCNL
I have also problems with shutdown – my MB is a Gigabyte P35 DS4 – Thanks Netkas, and I hope to see soon a solution for shutdown … thanks again !
btw shutdown is not working here
needs openhaltrestart, but it takes like 10 seconds to shutdown
Great !
Maybe an good base to put code in to read out the CPU fan speed or something else and “send” it to the fitting SMC Mac part so that OS X shows our FAN speed ?
THANKS
How about Apple update SMC for 1.2
“Maybe an good base to put code in to read out the CPU fan speed or something else and “send” it to the fitting SMC Mac part so that OS X shows our FAN speed ?
THANKS”
that would be amazing!
Damn nice work, it fixed the Coolbook Problem, so now I’m able to change the Voltage
Hallo Netkas,
unfortunately, fakesmc.kext dont working for me. The following errors:
AppleUSBEHCI : unable to get filterInterruptEventSource
AppleUSBUHCI : start unable to initialize UIM
still waiting for root device
Hardware: HP 530 with Intel Core Duo T5200, ICH7 Chipset, 2GB RAM
OS: MacOS 10.6(10A432)
With Your wonderfully dsmos.kext my system works good, however only one core.
Thanks for Your very good work
///usbehci has nothing to do with smc
netkas,
you are the world…
Shutdown & Restart don’t work for me. Please ignore my previous post. I’m on Mac OS X 10.5.8.
///remove openhaltrestart
hi Netkas,
my SL install is booting ok, but System Profiler is no longer showing the Hardware UUID that I’m setting in smbios.plist, com.apple.Boot.plist and PlatformUUID.kext ie the UUID of my SL partition.
Do i need to add this UUID into fakesmc.kext too?
///no
Ah, the above is true in 64bit mode, but in 32bit mode System Profiler reports the Hardware UUID I’m expecting.
Netkas, i would like to talk with you about the source code, i’m trying to get this emulator working from DSDT tables…
///its impossible
Removed OpenHaltRestart, still no Shutdown & Restart
Thanks for your efforts, netkas, and great that you are sharing the source (have not looked at it yet).
Shutdown works (no OpenHaltRestart.kext), albeit with a slight delay (10sec)
Restart does not work (no OpenHaltRestart.kext), screen and mouse turn off, but then it just hangs.
@ rennerst: Looks like a problem with interrupt routing in your DSDT that was always there but just got triggered by fakesmc.kext. It’s hard but not impossible to fix; I’ve never done it myself though
Mactos, did you clear your extensions cache after removing it?
For the record, I did recreate the Extensions.mkext for Chameleon 2RC2 and I also did touch /S/L/E and waited for kextcache to do its thing.
If I add OpenHaltRestart.kext, restart and shutdown work flawlessly as before. So for my machine (Intel DP35DP mobo), fakesmc.kext replaces dsmos.kext just fine.
Agains, thanks a lot, netkas.
Tested the Leopard version on my 10.5.8 setup. It loads fine but I am still forced to use AppleDecrypt.kext or else Leopard doesn’t boot.
Tested on GA-P35-DS4, Shutdown & Restart working perfectly! Shutdown takes now a little bit longer, about 10-15 seconds , but who cares^^ Great Work !!!
thank you johnny for your info. I think, I will live with this problem, because I am not such a good programmer how netkas.
thx so much, Master NetKas ! It works incredible fine !
Any chance of this being incorporated into PC-EFI, removing the need for the extra kext?
Nice work Netkas
Works perfect on Advent 4211 (10A432)
netkas, could you post a link to the sources for the leopard version? otherwise could you compile it with “smc-santarosa” instead of “smc-napa” under ioreg? thanks and keep up the good work
In this topic, EncryptedSoul was a bit close to get it working. The main problem is that while a kext can be called from userspace, the DSDT injection works only when the machine is booting. So the main problem is how can tell OSX that the the encryption keys for decrypting the necessary binaries to boot are in certain memory adresses. I can write in memory positions from DSDT, but when OSX call SMC to decrypt these binaries it can’t done this because can’t get the keys.
What do you think about it?
Anyway, congratulations for this kext. Your job is aswome.
What does this kext do for the average user? Will it make things faster, etc?
no shutdown..i deleted openhalt…restart and sleep fine
Be Sweet, it makes your pc closer to real mac. And protects you from apple updates.
Question – I have actual p-state tables for my CPU added to DSDTaml to give vanilla stepping and have c-state _cst tables from MP3,1 that simply removes cst evaluation error at boot.
I have made change to ACPI_SMCPlatformplugin plist, setting to MP3,1.
Obhviously I’ll test as soon as I can but do you forsee any major problems here?
Thanks in advance.
D.
I’m getting the same error as Tata:
ACPI_SMC_PlatformPlugin::start – waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out
Deleting this kext.
Oops… Forgot to install fakesmc.kext to /E/E
. Working.
Thanks again, netkas!
“waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out”
AppleIntelCPU….kext deleted or disabled by voodoo or disabler.kext.
If you delete the ACPI_Platfrom.plugin in IOPlatfrom.kext you get rid of that message.
I dont know if the fakesmc.kext needs the ACPI_Platfrom.plugin. I had deleted that when using dmos and disbaler
removed OpenHaltRestart and dsmos from EFI/E/E and installed fakesmc into EFI/E/E.
Sleep still works, but either Restart nor Shutdown works.
If booted verbose and issued a shutdown I could see last message “CPU Halted”… but PC stays on (PowerLED on and PowerSupply still on).
reverted to OpenHaltRestart and dsmos and everything back to working.
(Mainboard Gigabyte P35-DS3, Chameleon2RC2, OSX 10.5.8)
^^ now w8ing for new key in next smc update xD osx86 scene looking like battlefield
Emu works fine… but i see _CST problem still
any ideas to fix it?
Hi netkas
Many thanks for your work.
With fakeSMC I notice :- slightly faster boot time
– Machine will sleep without disk in TSSTcorp drive but still monitor not power back on (I believe function of ATI GPU pos’ DVI> VGA for one of my monitors but nothing to do with SMC.)
– Vanilla speedstep still working
– No addition error messages @ boot
– Shutdown and restart not working. Get to Mach restart, monitor powers down, CPU +MB still powered (OpenHR removed.)
– Shutdown and restart not working (OpenHR in /E/E or /S/L/E in fact OHR will not load.)
MB – GA EP35 DS4 Chameleon2RC2 – 10.5.8
Will try with EFI v10 at later date and report.
Cheers
D.
Ok same deal with EFI v10.2Beta – no shutdown or restart
Slightly OT but i notice I have to use RAID ID in boot.plist with EFI 10.2 – UUID it does not like.
Anywhos back to dsmos for the time being.
Many thanks
D.
I just tried fakesmc and found the system hung part way through the boot. Then I noticed messages about the voodoo2 kernel blacklisting don’t steal mac.
That obviously won’t work too well. I also tried blacklist=0 during boot but that caused a very early panic.
Does anyone have a workaround? something that would unblock just the “Dont_Steal_Mac” kext and continue blocking the rest of the list?
[...] gives for AppleSMC.kext keys osk0 and osk1, and now works original Dont Steal Mac OS.kext!!! http://netkas.org/?p=141 Notebook [Samsung NC10 | NB: Intel Calistoga-GSE i945GSE | SB: Intel 82801GBM ICH7-M | CPU: [...]
ya ya ya bro, Very cool !
Les here avakov build voodoo without inner blocker so use it with Disabler.kext
http://www.applelife.ru/mac_os_x_10_5_leopard99/voodoo_9_8_0_by_avakov/19859.html
Dont_Steal_Mac it’s so good with netkas projects
Hello Netkas, i have an idea for you. As many Mac OS users, i have installed iStat 2.0 toolbar which has Snow Leopard Support. It uses a small program to talk with SMC module for getting temperatures, fan speed, voltages… Obviously it doesn’t support hackintosh.
This program is GNU: http://www.islayer.com/help/istatmenus-intel/
I think that if you see what the program expects to recibe from SMC module, you can use your fakesmc.kext to get C2D Thermal sensor info (it’s only to read a register in the cpu) and insert into smc info.
Thank for your time.
Privet! Drujishe, a est’ versia pod Tiger? Ho4u izbavit’sya uj nakonec ot decrypta v Extensions-ah i bootit’sya s Retail-a! ) Spasibo
Which application is that screenshot??
Can’t seem to get past the same error tata had even with fakesmc installed.
Help!!!!!
The link of the source code dosen’t work.
The link to source code dosen’t work!
i just instaled the hazard version on my vostro 1320 and after a seamless instalation im geting this error on boot..
waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out
can you help me with this? i can see that there is a talk on deleting the ACPI plugin, but i dont know how to do it, sorry im just newbie to osx86 things…
kindly help me..