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. 
rodrigocunha

Chameleon - Success loading kextcache

10 posts in this topic

Recommended Posts

Finally I got kernelcache loading in Chameleon!

 

1 - Edit /usr/standalone/bootcaches.plist and set "Preferred Compression" to lzss

<key>Preferred Compressions</key>
<string>lzss</string>

2 - Rebuild kext caches:

kextcache -system-prelinked-kernel
kextcache -system-caches

3 - Edit chamaleon preferences /Extra/org.chameleon.Boot.plist and add this setting:

<key>Kernel Cache</key>
<string>/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache</string>

4 - remove "-f", "UseKernelCache=no" from kernel flags, keep it like this  (add -v optionaly) and set UseKernelCache to Yes:

<key>Kernel Flags</key>
<string>kext-dev-mode=1</string>

<key>UseKernelCache</key>
<string>Yes</string>

That´s it! Reboot and it will work.

 

The step 3 is the missing piece. Without it, chameleon doesn´t know where is the kextcache.

 

ps: Using lastest chameleon (cbv2...)

 

Share this post


Link to post
Share on other sites
Advertisement

Hey! Also using Chameleon on my hack with 10.10, and was just wondering what exactly are the advantages of using kext cache? 

 

Some threads seems to say faster boots, but apart from that?

Share this post


Link to post
Share on other sites

Faster boot time.

boot with -v or -s is very slow without kextcache.

 

It´s even faster with a SSHD or SSD  :thumbsup_anim:

Share this post


Link to post
Share on other sites

Faster boot time.

boot with -v or -s is very slow without kextcache.

 

It´s even faster with a SSHD or SSD  :thumbsup_anim:

 

Thanks man it works for me.

Share this post


Link to post
Share on other sites

Worked for me, thanks !

 

Note: in order to have kernel cache to load successfully, I also had to move all kexts from E/E to S/L/E:

- AppleIntelE1000e.kext

- FakeSMC.kext

- NullCPUPowerManagement.kext

Share this post


Link to post
Share on other sites

work for me too ..

need to put to s/l/e

 

- FakeSMC.kext

- GenericUSBXHCI.kext (for USB3.0 pic card driver)

- NullCPUPowerManagement.kext
and modify the original ionetworkfamily.kext to add the Realtek Lxxxx.kext to the plugin.
 
and remove them from Extra/extension
 
now booting much faster.
 
 
my config:
ASUS P6T SE , i7 930, Asus 650 graphic card with dual monitor.

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.



×