Jump to content



Member Since 10 Oct 2012
Offline Last Active Mar 17 2013 12:46 PM

Topics I've Started

[Guide] Lenovo B570 with Mountain Lion

12 October 2012 - 10:18 PM

My system:
Lenovo B570
CPU: i3-2330M 2.20GHz
WLAN: Atheros AR9285 Rev 2
Ethernet: Realtek RTL8xxx Gigabit
Audio: ALC272

My BIOS version: 44CN43WW

Huge thanks to macinsane for his great Lion guide.
I start this thread just to update his guide to Mountain Lion.

This guide should be useful for similar laptops like Lenovo V570, V470, z570, z560…
I'm not English, sorry for any mistake I've made in this guide (please report, I will happy to correct them).

What works:
Speedstep and sleep
Audio (speakers, microphone, headphones, external mic)
HDMI (audio via HDMI not tested, but should work)
Webcam with CamTwist, or switching camera module (read below)
Brightness keys (remapped to Fn+Home and Fn+Insert) (I can't be able to set lowest brightness steps like in Ubuntu. See details)
Volume keys
HWMonitor (Temp, Multiplier, Frequency)
DVD burner

What doesn't work:
Card reader (Realtek rts5139 USB)
Fingerprint Scanner (LighTuning Technology)
I've not tested VGA, please report (maybe need patching)

Ok, lets have some fun!

Part 1 - Prerequisites
Download all the stuff!
micred_kexts_v1.0.zip http://www.sendspace.com/file/kgxwqv (or attached to this post)
micred_Extra_v1.0.zip: http://www.sendspace.com/file/1vulbl (or attached to this post)
installer_v1.0.zip: http://www.sendspace.com/file/q3f2du

Last but not least Mac OS X 10.8.2. If you have a working OS X, you can buy it from an app store.

Get an empty 8GB USB drive.

Now enable AHCI SATA and USB legacy from your BIOS setup.
I've also enabled Intel Virtual Technology.

Partition your internal hard drive to have space for OS X partition.

Part 2 - Creating the installer
I will be pretty synthetic on this part, for further details follow this excellent newbie guide.
Lenovo UEFI doesn't support HFS+, so you must format your USB drive (and your hard drive, too) with MBR partition table, not GUID as explained in that guide.
From a working OS X:
Open Disk Utility, click on your USB drive, click on partition tab, under "Partition Layout" click “1 Partition”, click Options and select MBR. Click Apply and wait.

Mount your Mountain Lion DMG.

Type in a Terminal:
open /Volumes/Mac\ OS\ X\ Install\ ESD/BaseSystem.dmg

Open Disk Utility, click on “Mac OS X Base System”, click the “Restore” tab then drag and drop your USB partition (not whole drive, just the inner Untitled partition) to “destination” and click restore then erase. This will take a while.

Open a Terminal and type:
sudo rm /Volumes/Mac\ OS\ X\ Base\ System\ 1/System/Installation/Packages
sudo cp -R /Volumes/Mac OS X Install ESD/Packages /Volumes/Mac\ OS\ X\ Base\ System\ 1/System/Installation/		 (this step takes a few minutes)
sudo cp /Volumes/Mac OS X Install ESD/mach_kernel /Volumes/Mac\ OS\ X\ Base\ System\ 1/

Now unextract installer_v1.0.zip and copy the kexts:
sudo cp -R ~/Downloads/installer_v1.0/installer_kexts/* /Volumes/Mac\ OS\ X\ Base\ System\ 1/System/Library/Extensions
And copy Extra folder, too:
sudo cp -R ~/Downloads/installer_v1.0/installer_extra/Extra /Volumes/Mac\ OS\ X\ Base\ System\ 1/

On the USB stick (/Volumes/Mac OS X Base System 1) navigate to /System/Installation/Packages/. Delete OSInstall.mpkg and replace it with the one you have downloaded.
Now navigate to /System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A/. Delete OSInstall and replace it with the one you just downloaded.

Install Chameleon on the USB drive (Mac OS X Base System 1).

You are done.

Part 3 - Installing OS X
Boot your Lenovo with the USB stick and press F12 at boot. Select your USB and wait the Mountain Lion installer starts.
Attach an USB mouse.
Select your current OSX partition to upgrade or an empty partition where install ML from scratch. You can use Disk Utility to format your drive (pay attention!).
Follow installer instructions and wait.
When the computer reboots, press F12 and boot to the installer another time (boot back into the install USB - NOT OS X!)

Open Terminal and type:
cd /System/Library/Extensions/
cp –R NullCPUPowerManagement.kext /Volumes/"OS X"/System/Library/Extensions/
cp –R FakeSMC.kext /Volumes/"OS X"/System/Library/Extensions/
cp –R AppleACPIPS2Nub.kext /Volumes/"OS X"/System/Library/Extensions/
cp –R ApplePS2Controller.kext /Volumes/"OS X"/System/Library/Extensions/

cp –R IO80211Family.kext /Volumes/"OS X"/System/Library/Extensions/
cp –R RealtekRTL81xx.kext /Volumes/"OS X"/System/Library/Extensions/

cp –R /Extra /Volumes/"OS X"/
NOTE: This assumes your install partition is called “OS X” as I said above. If for whatever reason you called it something else replace “OS X” with whatever you called it.
NOTE 2: pay attention to avoid trailing slash after Extra or after individual kext file name.


Part 4 - Booting ML
Reboot your system and boot to the USB stick again but this time select your OS X install. This should boot you into your installed copy of ML.
Open "System Preferences" go-to "Security and Privacy", click the lock and give it your password then set "Allow applications downloaded from" to anywhere.
Navigate to your folder of installer software and run the chameleon package, install it to your OS X drive.

Unpack micred_Extra_v1.0.zip and overwrite Extra folder:
sudo cp -R ~/Downloads/micred_Extra_v1.0/Extra /

Then remove NullCPU to enable SpeedStep:
sudo rm -R /System/Library/Extensions/NullCPUPowerManagement.kext

Clean up old kexts if you upgrade from Lion (and you follow the macinsane guide):
sudo rm -R /System/Library/Extensions/Voodoo*
sudo rm -R /System/Library/Extensions/AHCI_Intel_SATA.kext
sudo rm -R /System/Library/Extensions/SleepEnabler.kext

Unpack KEXTs and copy them all to /System/Library/Extensions. From Terminal type:
sudo cp -R ~/Downloads/micred_kexts_v1.0/* /System/Library/Extensions/
(Note: write the path you unpack the files in place of Downloads)

Launch Kext Utility for fixing kext permissions and rebuild cache.
You are done! Reboot.
Enjoy OS X. And remember to try Ubuntu 12.10 ;-)

I got a huge problem upgrading from Lion 10.7.2. All seems to work but in the background there was a process (launchd) that was crashing every few seconds. It ate up battery and made the system less reactive.
In the Activity Monitor I saw that ReportCrash was using CPU and in /var/log/kernel.log I saw many lines like this:
com.apple.launchd.peruser.1000[430] (com.apple.UserEventAgent-Aqua[880]): Could not setup Mach task special port 8: (os/kern) invalid argument
Oct 10 00:30:21 MacBook-Pro-di-Michele.local UserEventAgent[880]: +[CLLocationManager appsUsingLocationWithInfo]: unrecognized selector sent to class 0x10b785ea8
Oct 10 00:30:21 MacBook-Pro-di-Michele.local UserEventAgent[880]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[CLLocationManager appsUsingLocationWithInfo]: unrecognized selector sent to class 0x10b785ea8'
I also wasn't able to open Security & Privacy preferences pane nor Console.
I resolved reinstalling 10.8.2 from scratch.
EDIT: Steve O find how to solve that problem without reinstalling.

Extra notices

You have to install CamTwist to make the webcam works. Start the app that use the webcam (e.g. Photo Booth) then open CamTwist and select "Webcam".
I can't be able to make it work in Skype.
Otherwise you can buy a webcam from Lenovo G575 or similar on eBay for less then $20. You have to switch it (it's compatible, that's just 2 screws). It works OOTB (in Skype, too) and image quality is better. Pay attention that the webcam you buy is the same form factor (Lenovo G575 is ok) and has at least 0.3M pixel resolution (cheap Lenovo B570 has a crappy 320x240 resolution :-O ).

I think that power management is fully working. MSRDumper show PStatesReached: 8 9 11 15 19 22. Is it correct?
Battery life should be around 3 hours on a new battery (to be tested deeply, forum feedback reports inconsistent results).

AppleIntelCPUPowerManagement.kext is patched using this script.
IOAHCIFamily.kext is patched using this patch.
IO80211Family.kext is edited with vendorId and deviceId of AR5B195.
AnyiSightCam.kext is edited with vendorId and deviceId of B570 webcam (058F:A006).

macinsane for his great guide and stuff.
data14 for research and tests with patched AppleIntelCPUPowerManagement and SSDT.
other well known guys behind the hackintosh world.

Share your experience, I will update this guide.
© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy