Archive for July 2012

OSX Lion Install on Asus P8Z68-V/GEN3 [Intel i5 “Sandy Bridge” ]

Official Icon of OSX Lion
I came to a point where I felt that my simple Intel e2200 Hackintosh system was in need of an upgrade. I had been wanting to look into building either an i5 or i7 Sandy Bridge system. When a local retailer decided to put the i5-2600k and i7-2600k on sale, I could not resist the temptation and found myself researching for the perfect motherboard.
Here, I will outline the software build from start to finish, and show how easy it is to build a i5 Sandy Bridge Hackintosh with OSx Lion.
Requirements: Hardware and Software
Parts List:
Intel i5 Logo
The Offical Intel i5 logo
  • Asus P8Z68-V/GEN3
  • Intel i5-2500k (Sandy Bridge) 3.4Ghz Quad-Core
  • 16Gb Patriot CL9 PC-1333 DDR3 (4Gb Modules)
  • XFX Radeon HD6770 1Gb DDR5 (Flashed to show as a 5770 until Lion or Mountain Lion adds it. Look here for flashing.)
  • Western Digital 340Gb Blue
  • OCZ ModXStream-PRO500W Power Supply
  • Corsair H50 Hydro Series CPU Water Cooler
  • Antech One-Hundred Mid-Tower Case
  • Plextor PX-B320SA Blu-Ray/Dvd-Writer
  • Logitech Z-5 USB Speakers
  • Logitech MX700 Wireless Keyboard/Mouse Combo
Software List:
  • Legal copy of OSx Lion (Apple Store USB or App Store download)
  • Unibeast
  • Another Hackintosh or Apple Computer (To create the Unibeast drive and/or download Lion from the App Store)
  • Windows desktop (Optional for Radeon flashing)
  • Blank 8Gb Flash Drive (Used for the Unibeast drive)
  • Multibeast 4.2.1
  • Kext Utility
  • Kext Beast
  • Speed Stepper Lion (optional for native speed step)
  • Athreros Bluetooth Firmware (optional for on-board bluetooth, however I was unable to get devices to work after pairing)
  • Updated AppleHDA (optional for on-board audio)
  • DSDT Editor or DSDTSE (required for the updated AppleHDA to work)
Step 1: Installation of Lion
Once you have a  fully assembled tower, it is time to get down to the fun part. You will need to create a bootable UniBeast flash drive and can follow the directions in steps 1 and 2 here . Once the UniBeast flash drive is created, we can move onto Bios settings. You could follow steps 3 and 4 and potentially get a working system, but I will cover a few more specifics for the Asus P8Z68-V/GEN3.
Bios Settings:
We first need to make sure that a critical EUFI Bios setting is set prior to booting into our Unibeast created Lion installer. Make sure that SATA is running in ACHI mode. Do not put it into IDE or RAID as OSX will not see the drive connected.
Unibeast Boot Screen
Unibeast Boot Screen
Running the Lion Installer:
Once we have set one Bios setting, it is now time to install Lion onto our system. Reboot the system and hit the del key to enter the simple EUFI screen and then press F8 to select a boot device. Select your new Unibeast USB drive. You should be presented with the Unibeast boot screen.
In most cases, you can hit enter to start the installer, but if you have any other OSes installed in your system, you may need to select the installer first. I recommend that you disconnect all hard drives except for the one that you will install Lion onto. I will not be covering dual booting in this article. You can refer to Tonymacx86's article/video here for dual booting goodness.
Step 2: The Moment of Truth
Lion's Desktop
First look at Lion's desktop after installation.
Now the the installer has finished installing all of the required files, it is time to boot into the fresh Lion install. The installer should automatically restart the computer, but you can go ahead and manually restart. When the Bios posts, make sure to hit del and then F8 again and select the USB install drive again. This time, select the name of the partition that you installed Lion to and hit enter. I did not need any startup flags here either.
If everything works, you should now be at the <what is this page called?>. This section should be filled out how you would like and I will not cover it in great detail. The only suggestion here is that I recommend that you do not register with Apple as I believe this is more for their hardware warranty. I also did not import data and settings from my old Hackintosh.
Once the forms have been completed, you should now be at the desktop.
Step 3: The Beast Within Us
Select Updates
Select the updates that are needed. In this case, the 10.7.2 Combo.
To make things easier when making changes to get the rest of the P8Z68-V/GEN3's features working, we should go ahead and install any system updates. At the time of this article, the 10.7.2 Combo should be installed as there are changes that we will need to make that would otherwise be removed.
NOTE: Anytime we run a new combo update, we will need to re-run the following items from this point on in order to ensure that our system reboots. It may be required to make sure that you have updated copies of the programs and scripts that are about to be used to ensure that they are compatible with the current combo update being installed.
When the updates finish, you will be asked to reboot. You can reboot the system at this point, but again using the Lion install usb as the boot device and then selecting your new Lion install. Once booted back in and if you have not already, go get Multibeast. I used version 4.2.1 in this guide. We are going to select the options required to allow the system to be bootable. The following items need checked:
Multibeast Selected Options
These Options are the minimum to allow the Asus board to boot.
Required MultiBeast Options
  • System Utilities (Repairs permissions and rebuilds kext cache)
  • FakeSMC (Absolutely Required)
  • Bootloaders (Installs Chimera so that the partition is bootable)
  • 64-bit Apple Boot Screen (Runs the OS in 64-bit)
  • Generate CPU States
  • iMac 12,2 (This is the closest real mac model to a Sandy Bridge iMac)
  • nullcpupowermanagment (Optional: See next sub section)
See the Screenshot for a visual list in the application.
Optional Script:
If you chose not to install the <nullcpupowermanagment> next in multi beast, then you must apply a patch that will keep AppleIntelCpuPowerManagment? from giving a kernel panic. I chose this option because it gets me as close to using vanilla code as possible. Hopefully a DSDT edit can be found to resolve this issue, but for now, Asus boards do have this issue and this script needs ran.
Speed Stepper in Terminal
This is what the output should look like when the script completes.
After Multibeast finishes, we need to run the Speed Stepper Lion script that will patch /System/Library/Exensions/AppleIntelCPUPowerManagement.kext to allow Speed Step to work properly on the Sandy Bridge and Asus P8Z68-V/GEN3 board. You must make sure that you download the proper script for your Lion version. At this time, there is only one for the GM (Gold Master 10.7.0 and 10.7.1) and the current 10.7.2. Since we already updated to 10.7.2 earlier, we will need to download speed_stepper_lion_1072.zip. Extract the script to your desktop.
NOTE: You will probably require a new patch every time there is a combo update. This setup was 10.7.2 at the time.
Open a Terminal and enter in the following code:
$ cd Desktop

$ sudo ./speed_stepper_lion_1072 /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement
Once the script is completed, download and then run Kext Utility.
Now another moment of truth, reboot the system to make sure that it is able to boot off of the new hard drive. It is also safe to remove your Lion install usb at this time.
Step 4: Additions to the Team
Additional kext installs
Install these additional kexts for added functionality.
Now that we have verified that the system is bootable on it's own, we can install some additional kexts from MultiBeast that enables USB 3.0, Intel's Ethernet, and the optional Audio.
Additional MultiBeast Options
  • System Utilities (Needs ran again to get these kexts to work)
  • USB 3.0 - NEC/Renesas and Etron (USB 3.0 support, not hot pluggable)
  • hnak's AppleIntelE1000e Ethernet (For onboard ethernet)
I am not currently running these kexts, but I have tested and verified that these work. I am using a custom built AirPort card for wireless, and I do not currently have any USB 3.0 devices. The current USB 3.0 next will not allow you to hot swap devices, and it will kernel panic if you use anything other then a flash drive or hard drive. I am hoping that there will be a much more graceful solution in the near future.
Audio Options in MultiBeast
These options audio settings give us basic sound.
You can also install Audio from here using the following settings, but I will be covering a more in-depth audio install that gives us better input/output support for this board's ALC889 chipset. If you plan to skip DSDT edits, you may, but all three options must be selected to make audio work.
Highly Optional MultiBest Audio Options
  • ALC8xxHDA
  • AppleHDA Rollback
  • ALC889 (Required only if you are not using a custom DSDT file.)
The DSDT edits we will do in the next step will allow you to not use the ALC889 kext, but if you plan to do the edits, then I would install the updated AppleHDA from the next section.
Step 5: Code Diving for DSDT Edits (Audio)
To get audio to work, a few DSDT edits need to be done prior to installing any additional audio kexts. It is best to extract the DSDT from your own machine because it will give you the best compatibility with OSX and the hardware. There may also be other DSDT edits that you find elsewhere that may help control/detect other features on other add-in cards that you may have.
For On-Board Audio
Device (HDEF)

{
Name (_ADR, 0x001B0000)
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x04)
{
"layout-id",
Buffer (0x04)
{
0x7C, 0x03, 0x00, 0x00
},
"PinConfigurations",
Buffer (Zero) {}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}

For HDMI Audio (The Radeon Card Only)
Device (GFX0)

{
Name (_ADR, Zero)
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"hda-gfx",
Buffer (0x0A)
{
"onboard-1"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}



Device (HDAU)
{
Name (_ADR, One)
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"hda-gfx",
Buffer (0x0A)
{
"onboard-1"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
}

Once we have these DSDT edits in, it is time to install the updated AppleHDA kext from here. Extract and place the AppleHDA.kext to your desktop. Run KextBeast to install. Then run next Utility to clean up and reboot. On board audio should be working including headphone detection.
Step 6: Bluetooth (Optional)
The last piece of the puzzle is bluetooth, but because I could not get this to work 100% of the time with the on-board module, I will send you to this forum thread over at Tonymacx86. Be aware that there are reports of the Magic Mouse not working very well with gestures. I was unable to get any bluetooth devices to work after pairing.
It seems that the best bluetooth option still is to use an external usb dongle. Some have mentioned one made by Rocketfish with could be found at Best Buy or online somewhere. I happen to have a generic one that I purchased years ago that works out of the box

SiyahKernel: "One kernel to rule them all"





SiyahKernel for S2 & S3 
"One kernel to rule them all"










Changelog:
  • based on i9100 update6 sources
  • fixed /vendor symlink for cm9/aosp roms
  • Linux 3.0.37
  • Update 3.4 -> 3.4.1: bluetooth fix to work on 4.0.4 based ROMs (by tungstwenty)

Enabling OpenCL on 10.7.5 and ML GM


10.7.5/mbp2012 drivers run opencl on Fermi just fine out of box, no more need to enable it binpatching, but..

If you have a card with more than 2 gb of video memory, opencl suddenly gets disabled, wtf?
Here is why: (warning, assembler skills needed for the pic)
basicaly, if your video ram amount > 2GB by at least 1 byte, then you are screwed.
Funny Apple, they decided to control it themselves instead of putting check in the nvidia driver.
But, we can just disable the check and enjoy.
The file you wanna patch is /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
Just do these two simple patches you can do with any hex editor and you are good to go:
1) for 32-bit part:
find 3d 01 00 00 80 73 e7
replace with 3d 01 00 00 80 90 90

yes, its just last two bytes to disable the check
2) for 64-bit part, for lion
find ff 50 68 48 39 d8 73 e5
replace with ff 50 68 48 39 d8 90 90

for mountain lion
find ff 50 68 4c 39 e0 73 e7
replace with ff 50 68 4c 39 e0 90 90

P.S. doesnt applies to gtx670/gtx680, they have a different problems.

iAtkos Lion 10.7.3 V2 For All Computers Including AMD (TORRENTS)




Mac OSX Lion 10.7.3 V2 For All Computers Including AMD - by Niresh | 4.19 GB



Created and Seeded By Niresh12495, Version 10.7.3 V2  

Thanks to My Friend "Jude Nirosan" Initial Seeding and Thanks to All Seeders
Thanks to MoElleven For Giving Me The Background Image 

Changes in This Release
- Fixed The Display Error
- PS2 Drivers Were Changed Again
- Fixed "Keyboard Not Found" problem for PS2 Keyboard Users
- Added Boot Plist Commands as Packages
- Added Support for VESA Display Support
- Chameleon was Updated to svn 1913 + nscript Was Added (Not as a Package)
- Voodoo Battery Packages Was Modified
- Installation Supports USB3.0 Install Method
- USB 3.0 Kext Was Updated from the kext from MultiBeast 4.2.1
- SuperVIAATA Was updated
- FakeSMC and The Plugins Were Added
- Java for Mac OS X 10.7 V1 Was Added to The Essential Packages
- Removed Most of Graphics Driver as They Were Made from 10.7.2
- Added Support for AD2000B Audio Driver
- AppleNForce ATA Was Added to Fixed Kexts Instead of SuperNForce ATA as It Was only a 32 Bit Supported Kext
- A Few Language Translations Were Added
- Nvidia Natit Driver Was Updated
- GMA 4500 Driver Was Updated
- Added HandBrake and "The UnArchiver" Applications
- Updated MPlayerX , Champlist , VLC and CleanMyMac Applications
- Removed Disabler Kext From The Package "Fixed Kexts" as NullCPUPowerManagement Kext was an Alternative to Disabler Kext
- Fixed Some Errors Faced During Installation
- Added AMD Kernel
- npci was changed from 0x2000 to 0x3000
- Updated The Package ALC662
Updated Chimera to 1.9.0
My Next Release Will Be Mountain Lion On September Until Then Bye 


Especial thanks to Niresh and to all links contributors.


iAtkos Lion 10.7.3 V2 For All Computers Including AMD (TORRENTS)





Top 10 Features of Mountain Lion (iAtkos ML)


Facebook and Twitter Integration

Facebook and Twitter have been integrated throughout the entire operating system. This means you can log in with Facebook and Twitter in System Preferences and that’s it. Other Apps can access this information and you don’t need to worry about signing on again. Also, you can Tweet and post to Facebook straight from the share sheet found in Safari and other Apps (including Quick View!) and you can Tweet and post in notification center. Finally, your contact information is connected with Twitter and Facebook so that email addresses and phone numbers are automagically (that’s the word Apple will use, especially after resolutionary…) updated. Not sure how this will work or how annoying it’ll be when it accidentally deletes all of my contacts…


Unification of Apple ID and Phone Number This is perhaps my favourite feature. You can now link your Apple ID and phone number so that when somebody sends you a message or calls you via FaceTime, you will receive it on all devices no matter what they use to call you. Both your phone number and Apple ID will work for everything. (I don’t know how this will work yet…)


Notification Center I like it on my iPhone and iPad, and I’m looking forward to it on my Mac. Notification center will get rid of annoying centre screen notifications such as iCal event reminders and others. It’ll also make Twitter @ replies more noticeable. Anyway, check out the video below for details of integration.

iCloud Tabs Just like I mentioned yesterday, you will now be able to view tabs in Safari from one device on another. So if you’re researching for a blog post on the train home on your iPad and you have a number of tabs open in Safari, then you’ll be able to view those tabs on your Mac when you get home, and you’ll be able to view those tabs on your iPhone when you’re in bed. Marvellous.

Dictation Siri may not have come to the Mac yet, but dictation is a good first step. Anywhere you can see a cursor on your make, you can now use dictation. Just double tap the function key and you can talk to your Mac. I’m looking forward to seeing how easy to use this will be, and how accurately it’ll interpret my voice.

AirPlay Mirroring This is perhaps my favourite feature in Mountain Lion, that is the ability to wirelessly show your computer screen on your HDTV via an Apple TV. I’m excited for few flash-based video on the Apple TV and also excited to see this being used as a presentation tool. I’m already convinced that every projector should have an Apple TV connected to it to mirror an iPad or iPhone display, and now that you can mirror a Mac display I am definitely convinced!

iOS Apps There is a host of iOS Apps that are making their way across to the Mac, including Reminders, Messages, Notes and Game Center. These will all sync wireless via iCloud (goodbye Evernote) and look almost identical to their iOS counterparts. In addition, Address Book and iCal are being renamed to Contacts and Calendar respectively.

Full Screen On Any Display At the moment, if you are running two displays and go full screen on one,You Just See a Black Background of Apple Lines n Mountain Lion you go full screen on any display. Hopefully getting rid of the linen.

Software Updates in Mac App Store Instead of receiving pesky Software Update alerts that require you to restart your computer at inconvenient times, Apple is now allowing you to update the OS via the Mac App Store. As well as download updates for Apps in the background so that they’re ready to update as soon as you are. Lovely.

$20! Apple has announced that you will be able to get all of these great features and 200 more for only US$20. Seeing as it’s only been one year since the last update I would expect it to be cheap, at least as cheap as last years Lion update ($30). And $20 seems like a cheap price. I mean, I would pay $20 for Airplay alone! It is definitely my favourite feature.