Category Archives: Computer Software

Z77x-UP5TH, Clover bootloader, Mavericks and Yosemite

From tonymacx86

Overview

1. Download the OS X Mavericks Application from the Mac App Store
2. Prepare a Installer USB flash drive
3. Install OS X Mavericks
4. Install the bootloader and drivers to system drive

STEP 1: Download OS X Mavericks

The full operating system is a free download for anyone who has purchased Mac OS X Snow Leopard, Lion, or Mountain Lion. Download the Application from the Mac App Store using your Apple ID on any Mac or functional computer running Mac OS X 10.6.8 or later.

1. Open Mac App Store
2. Log in with your Apple ID
3. Download OS X Mavericks

The Application Install OS X Mavericks will appear in /Applications.

STEP 2: Prepare Bootable USB Drive

This step extracts the OS X Installer contents, then installs Clover bootloader to the USB stick.

1. Insert the USB drive
2. Open /Applications/Utilities/Disk Utility
3. Highlight the USB drive in left column
4. Click on the Partition tab
5. Click Current and choose 1 Partition
6. Click Options…
7. Choose GUID Partition Table
8. Under Name: type USB (You can rename it later)
9. Under Format: choose Mac OS Extended (Journaled)
10. Click Apply then Partition
11. Open /Applications/Utilities/Terminal
12. Type the following, enter password and hit enter. This command completely erases the USB, then creates native OS X installer media from the Install OS X Mavericks Application.

sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia –volume /Volumes/USB –applicationpath /Applications/Install\ OS\ X\ Mavericks.app –no interaction

Upon completion, the USB will be renamed Install OS X Mavericks.

13. Download the latest version of Clover from sourceforge
14. Open Clover package installer
15. Hit Continue, Continue, Change Install Location…
16. Choose the USB, now called Install OS X Mavericks
17. Hit Customize and install Clover to the same USB with the following Custom Install settings:

Screen Shot 2014-02-25 at 7.42.02 AM

Legacy-USB

(Legacy Mode)

 NOTE: There are a few different ways to setup Clover on the USB. Using Legacy Mode is the simplest and most reliable for 5, 6, 7, and 8 series Gigabyte motherboards with standard default BIOS or UEFI settings.

A few more changes need to be made to the default Clover installation:

20. Navigate to /EFI/CLOVER/ and replace default config.plist with attached config.plist*
21. Navigate to /EFI/CLOVER/kexts/10.9/ and add FakeSMC.kext
22. Navigate to /EFI/CLOVER/kexts/10.9/ and add your ethernet kext
23. Navigate to /EFI/CLOVER/kexts/10.9/ and add NullCPUPowerManagement.kext
24. Navigate to /EFI/CLOVER/drivers64UEFI/ remove VBoxHfs-64.efi and add HFSPlus.efi
25. (Optional) Navigate to /EFI/CLOVER/ACPI/patched/ and add DSDT.aml and SSDT.aml

*See attached config.plist for a working minimal configuration.

STEP 3: Install OS X Mavericks

Unlike UniBeast, this is a 3 part installation process. The system will reboot twice in order to finish the installation and the recovery partition.

1. Turn on the computer
2. Press the hotkey to choose boot device
3. Choose USB

If using a USB 3.0 port, the boot manager screen may appear, at which point proceed with steps a-b.

a. Choose Boot Manager
b. Choose EFI USB Device

4. When Clover boot screen is visible, choose Boot OS X Install from OS X Install OS X Mavericks
5. The system will then boot into OS X Installer
6. For a new installation of OS X, you MUST erase and format the destination drive according to the following steps before continuing. If you are upgrading from Snow Leopard, Lion, or Mountain Lion and you want to keep your files and apps, skip steps a-j.

a. Choose Disk Utility
b. Highlight your target hard drive for the Mavericks installation in left column.
c. Click Partition tab
d. Click Current and choose 1 Partition
e. Click Options…
f. Choose GUID Partition Table
g. Under Name: type Mavericks (You can rename it later)
h. Under Format: choose Mac OS Extended (Journaled)
i. Click Apply then Partition
j. Close Disk Utility

7. When the installer asks you where to install, choose Mavericks, or your existing install.
8. Upon completion, system will restart a 1st time
9. Press the hotkey to choose boot device
10. Choose USB
11. When Clover boot screen is visible, choose Boot OS X Install from OS X Install OS X Mavericks

The system will boot into the new drive, create the recovery partition, and complete the installation. Upon completion, system will restart a 2nd time.

12. Press the hotkey to choose boot device
13. When Clover boot screen is visible, choose Mavericks
14. The system will launch OS X Setup

STEP 4: Post-Installation

At this point, the easiest way to proceed is to install the bootloader, grab backups from the root of your USB drive, and copy the files that worked directly to the system drive’s EFI partition. However, getting post-installation 100% right for your system is something that needs to be done on a case by case basis. No single Clover setup will work perfectly for every system. For best compatibility, it is recommended that the EFI partition also be reformatted to FAT32 instead of default HFS.

1. Open /Applications/Utilities/Terminal
2. Type: diskutil list and locate your system drive’s EFI partition. It will be under IDENTIFIER. Be sure to use the correct one. (For this example: disk0s1)
3. Type the following, enter password and hit enter:

sudo newfs_msdos -v EFI -F 32 /dev/rdisk0s1

4. Download the latest version of Clover from sourceforge
5. Install Clover to Mavericks with the following Custom settings:

UEFI-2

(Custom Install: UEFI-Capable Systems)

BIOS-2

(Custom Install: BIOS-Only Systems)

These settings will install the bootloader to the system drive’s EFI partition automatically as part of the scripting. After completion, the system drive’s EFI partition will automatically mount.

A few more changes need to be made to the default Clover installation:

6. Navigate to /Volumes/EFI/EFI/CLOVER/ and edit config.plist
7. Navigate to /Volumes/EFI/EFI/CLOVER/kexts/10.9/ and add FakeSMC.kext
8. Navigate to /Volumes/EFI/EFI/CLOVER/kexts/10.9/ and add your ethernet kext
9. (Optional) Navigate to /Volumes/EFI/EFI/CLOVER/ACPI/patched/ and add DSDT.aml andSSDT.aml

See attached config.plist for a working minimal configuration. For more details and documentation navigate to /EFI/CLOVER/doc. To help navigate the config.plist and add a system definition, check outClover Configurator. For a GUI to mount/unmount EFI partition, see EFI Mounter v2.

You’ve reached the end of the universal setup guide. If you have issues, please create a support thread in the Desktop Support or Laptop Support forums. Special thanks to toleda and Going Bald for their testing and comments during the making of this guide. Good luck!

Audio

To get sound to work, followed these steps from HackinDoge:

First off, download the DSDT Editor and Patcher, a tool for extracting/editing DSDT files. I recommend copying the whole DSDT Editor and Patcher folder to /Applications/Utilities (or /Applications) instead of just the application so you’ll have access to all the patches on-disk, as opposed to downloading them individually.

Now that the editor’s installed, go to File > Extract DSDT. For new users, don’t panic at the tons of code that just appeared. We’ll only be editing a small section of this, so there’s no need to worry!

In the left column, scan the list until you see “Device HDEF” (it should under the “folder” Scope _SP.PCI0); click it.

qP

Now, you should be looking at a piece of code that should be similar to this:

Device (HDEF)
        {
            Name (_ADR, 0x001B0000)
            OperationRegion (HDAR, PCI_Config, 0x4C, 0x10)
            Field (HDAR, WordAcc, NoLock, Preserve)
            {
                DCKA, 1,
                Offset (0x01),
                DCKM, 1,
                    , 6,
                DCKS, 1,
                Offset (0x08),
                    , 15,
                PMES, 1
            }
            Method (_PRW, 0, NotSerialized)
            {
                Return (GPRW (0x0D, 0x04))
            }
        }

That’s your audio device, which is what we’ll be patching. Highlight the entire original code up to the last bracket (From “Device (HDEF)” to the bracket above “Device (SAT0)”) and replace it with the code below.

Device (HDEF)
        {
            Name (_ADR, 0x001B0000)
            OperationRegion (HDAR, PCI_Config, 0x4C, 0x10)
            Field (HDAR, WordAcc, NoLock, Preserve)
            {
                DCKA,   1, 
                Offset (0x01), 
                DCKM,   1, 
                    ,   6, 
                DCKS,   1, 
                Offset (0x08), 
                    ,   15, 
                PMES,   1
            }
            Method (_PRW, 0, NotSerialized)
            {
                Return (Package (0x02)
                {
                    0x0D, 
                    0x05
                })
            }
            Method (_DSM, 4, NotSerialized)
            {
                Store (Package (0x04)
                    {
                        "layout-id", 
                        Buffer (0x04)
                        {
                             0x0C, 0x00, 0x00, 0x00
                        }, 
                        "PinConfigurations", 
                        Buffer (0x30)
                        {
                            /* 0000 */   0x10, 0x40, 0x11, 0x01, 0xF0, 0x00, 0x00, 0x40,
                            /* 0008 */   0xF0, 0x00, 0x00, 0x40, 0xF0, 0x00, 0x00, 0x40,
                            /* 0010 */   0xF0, 0x00, 0x00, 0x40, 0xF0, 0x00, 0x00, 0x40,
                            /* 0018 */   0x50, 0x30, 0x81, 0x01, 0x60, 0x90, 0xA1, 0x90,
                            /* 0020 */   0xF0, 0x00, 0x00, 0x40, 0x20, 0x21, 0x45, 0x07,
                            /* 0028 */   0xF0, 0x00, 0x00, 0x40, 0xF0, 0x00, 0x00, 0x40
                        }
                    }, Local0)
                DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                Return (Local0)
            }
        }

You may notice the string of code got bigger; that’s a good thing.  After you’ve done that, press F5. It should have:

  • 2 Errors
  • 4 Warnings
  • 12 Remarks
  • 113 Optimazations

One of the errors can be fixed with the DTGP patch, which, if you kept the entire DSDT Editor folder, should be in <DSDT Editor and Patcher Folder>/Patches/DTGP.txt. To apply:

  • Close the error window.
  • Go to Patch > Open… (or ⌘P)
  • Go to the Patches folder and open DTGP.txt.
  • In the window that should open, click “Apply”.

When the patch has been applied, press F5 again. The “error” window should pop up again, but this time should say “1 Error”. This can be fixed by simply doing the following:

  • Scroll through the list of remarks and warnings until you find the error; click it.
  • The text in the main window should shift so that the following line is at the very top:
    Name (_HID, "ABCDEFGH")
  • Once you delete this line, the error should be gone!

Go to “IASL > Save AML as…” and save the file as “dsdt.aml” (you need to include the file extension, otherwise it won’t have any when saved). Place it in /Extra (or EFI/CLOVER/ACPI/patched if using Clover) and you should be good to go!

 

Clover Developers:
Slice, with help of Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr…

Source code credits:
Intel, Apple, Oracle, Chameleon, rEFIt and Xom.

ATTACHMENTS:

config.plist
MaciASL
Clover boot loader
Clover Configurator
Vietnam Tool
AppleHDA modified for Yosemite

How to install bootloader themes for your Hackintosh

from: MacBreaker

 

While the default bootscreen that’s installed by Multibeast doesn’t look bad, it could definitely be better. Luckily, Chimera (the bootloader that’s installed by Easybeast and UserDSDT) has a theming feature built-in, so that you can download custom themes to make your bootscreen just a little more interesting every time you boot up your Hackintosh. Chameleon, the bootloader that Chimera is based off, supports themes as well. Jump past the break to learn how to download and install Chimera themes.

 

To give you an idea of the possibilities, this is the theme that I’m using right now (LoginToLion):

 

Yes, that’s what I see every time I boot my Hackintosh. Not bad, right? Follow these steps to install this bootloader theme yourself:

1. Download a desired theme. Unfortunately, there’s not just one big repository for all bootloader themes, but the tonymacx86 Customization forum has a few, as does the Theme Park section of the official forums for Chameleon bootloader (which Chimera is based off).

2. Unzip the theme (almost all themes are downloaded as a zip file). Open theme.plist in the theme folder with TextEdit, and change the parameters under “screen_width” and “screen_height” to whatever your monitor resolution is.

<key>screen_width</key>
<string>1920</string>
<key>screen_height</key>
<string>1080</string>

3. Go to /Extra and open the plist file org.Chameleon.boot.plist. Between <dict> and </dict> in the file, add the following lines.

<key>Graphics Mode</key>
<string>1920x1080x32</string>

Replace 1920 and 1080 with the width and height of your monitor, respectively. Then save the file. In Mac OS X Snow Leopard, you won’t be able to save the file normally because it’s a locked system file (in Lion, you can unlock system files). Instead, save a new copy of org.Chameleon.boot.plist to somewhere random (make sure that you save it as a .plist file). Then delete the old copy of the file and replace it with the new one.

Editing theme.plist and org.Chameleon.boot.plist will make Chimera attempt to run at your given resolution. However, Chimera can only display resolutions that are programmed into your graphics card (these are called VESA resolutions). For example, my graphics card can only display the following VESA resolutions at the Chimera bootscreen: 1024×768, 1440×900, and 1680×1050. Nevertheless, you should still edit theme.plist to your desired resolution. Chimera should display whichever one of these resolutions is closest to the width and height that you entered. If you have a widescreen monitor but your graphics card doesn’t have any widescreen VESA resolutions, check out my workaround method.

4. Copy the theme folder into /Extra/Themes in your main hard drive. In /Extra/Themes, you’ll also see the folder for the Default theme. If you want to be really thorough, just delete that folder and rename the new theme folder “Default”. If you want to apply your theme with less of a brute force method, check out Step 3.

5. Go to /Extra and open the file org.Chameleon.boot.plist. Add the following line between <dict> and </dict> in the file:

<key>Theme</key>
<string>theme name</string>

Obviously, replace “theme name” with the name of the folder that contains the new theme in /Extra/Themes.

Reboot, and enjoy the new look.

Accessing hosts file on Mac OSX

/etc/hosts file on Mac OSX

I just put this together to cover a question I was asked recently. Might be useful to someone…
Where is the /etc/hosts file in Mac OS X?

The hosts file used by Mac OS X is in /etc/. Windows users sometimes have problems finding it since there’s no %SystemRoot%\system32\drivers\etc folder in the Mac OS. UNIX users might not expect /etc/ to be hidden by the Mac OS X Finder, so they often look in /Library/Application Support/
Accessing /etc/hosts

/etc/ is hidden by default. The easiest way of getting to the hosts file is to open /Applications/Utilities/Terminal.app. Then type:
sudo nano /etc/hosts

…you will need to type in your password. Your hots file will open in the text editor ‘nano.’
Adding entries to /etc/hosts

On a new line type the IP Address followed by at least one space or tab and then the hostname. Examples:
127.0.0.1 mydevsite.local
192.168.1.222 ads.shadycompany.biz

…hit ctrl + o to Save, and then ctrl + x to quit the text editor.

See here for more about using /etc/hosts for Virtual Servers: Adding an entry to /etc/hosts on OS X
Background: What is /etc/hosts used for?

The hosts file is a simple way of mapping IP Addresses to hostnames. It overrides mappings provided by the Domain Name System network. The hosts file is commonly used by network administrators to provide access to LAN resources when no name resolution is available. The other common usage is to block access to specified hosts by adding host entries resolving them to — for example — 127.0.0.1.

More Resources:
http://en.wikipedia.org/wiki/Hosts_(file)

Lil Snitch blocking Software Update

from MacRumors,

It sounds like you have little snitch blocking software update, as the default is to ask. Check the Little Snitch Configuration and delete the entry for software update, then it will prompt for any connection. If that doesn’t work you could try whitelisting software update:

Go to the Little Snitch Configuration, click the Plus button, Chose the application (/System/Library/CoreServices/Software Update), allow any server any port any protocol.

If you want to be more strict than that this is what I have. I just did it by adding whenever software update tried to use it. I imagine you blocked

action: allow
process: /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update
destination: swcdn.apple.com.edgesuite.net
port: 80
protocol: 6
help: wants to connect to swcdn.apple.com.edgesuite.net on TCP port 80 (http).

action: allow
process: /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update
destination: swquery.apple.com
port: 80
protocol: 6
help: wants to connect to swquery.apple.com on TCP port 80 (http).

action: allow
process: /System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update
destination: swscan.apple.com
port: 80
protocol: 6
help: wants to connect to swscan.apple.com on TCP port 80 (http).

Add a Spacer to the Dock (Snow Leopard)

To add a separator to the left side of the dock (the application side) enter this into the terminal:

defaults write com.apple.dock persistent-apps -array-add ‘{tile-data={}; tile-type=”spacer-tile”;}’

Repeat this step for each separator you would like, and make sure to press Enter each time to execute the command.
To add a separator to the right side of the dock (the document side) enter this into the terminal:

defaults write com.apple.dock persistent-others -array-add ‘{tile-data={}; tile-type=”spacer-tile”;}’

Repeat this step for each separator you would like, and make sure to press Enter each time to execute the command.
Now you need to reset the Dock, which can be done by entering this into the terminal:

killall Dock

–Removing the Separators–

If you ever decide that you don’t want the separator(s) anymore there are two fast ways to get rid of them. Just like most other Dock items you can drag each one off the Dock to have them removed, or you can Ctrl+Click (a.k.a. right-click) on them and select the remove option.

Sabayon 4.2 (Linux)

I finally killed the cat. Not LITERALLY.

After all this time of being curious about Linux, I finally made the decision to take the plunge. Finding the right distribution for me was kind of tedious. After months of trying out LiveCDs and installing operating systems, I finally decided on Sabayon.

Why Sabayon? Well, for the newby that I am, I had a great experience with the LiveCD and then the full installation. Sabayon has a slick interface but still allows me to learn about Linux because it doesn’t do everything for me.

Head over to Sabayon.org to browse the website and download the OS. I actually downloaded a torrent version for the Live CD. Don’t know if it was faster or not (smile).

On the Sabayon site you can go to the wiki link to find out all there is to know about Sabayon. Heading over to gentoo.org ain’t a bad idea either – for those interested in “getting to know” how your operating system operates (smile).

As I play with this, I’ll post more.

iATKOS 5i Installation on GA-EP35-DS3R

Hardware:

Gigabyte GA-EP35-DS3R motherboard with latest BIOs
Corsair XMS2 DDR2 memory (3GB)
E4300 Core 2 Duo Processor OCd to 2.4GHz
6 SATA devices (including DVD-R Burner)
1 IDE DVD-R Burner
nVidia GeForce 7500 OpenGL Engine (EFI)

BIOs settings:

SATA Mode AHCI : Disabled
CPU Thermal Monitor 2 : Enabled
No Execute Memory Protect : Enabled

Configuration:

Chameleon
Apple Decrypt
SMBIOS by netkas
Disabler.kext
Remove PowerManagement.kext
OHR
Remove Thermal Kext
Graphics Update
NVKush
Intel SATA
JMicron
NTFS-3G

Run Universal Installer

Select motherboard: (download from preferences)
Check Apply kext package
Check Apply DSDT patch
Set Boot Timeout to : 5 seconds
Install PC_EFI v9 Chameleon Edition 1.0.12
Apply Ethernet EFI String (Time Machine Fix)
Apply EFI String for video card: NVIDIA GeForce 7500 256MB
Install Custom Kexts from HD : (browse for downloaded file)
Click Install and wait until finished
Restart

You may also want to look at these two packages:
AzaliaAudio.pkg and ALC883Audio.pkg

For more information about Gigabyte motherboards, go here or here.

Dual OS Vista Ultimate/OS X Leopard

While there are manuals out there on how to dual boot from a single hard drive, it proved easier for me to just have dedicated hard drives for each operating system and switch through the BIOS menu depending on which I preferred using.

I enjoyed great success using the iATKOS 5i 10.5.5 Intel DVD installer for Leopard.

I use my machine for a lot of graphics design, internet surfing/research/blogging, media recording, music and movies, and desktop publishing.

Most parts were purchased from Newegg and Frys. Both companies offer some really nice deals. With the exception of the Corsair memory (only able to install 3/4 – 1GB memory sticks) I am very pleased with the upgraded system:

Case: Cooler Master Cosmos 1000 Full Tower

A beautiful aluminum case with plenty of space.


Power Supply: APEVIA 750W Warlock Power Supply

Plenty of options here. In hindsight I would have gone with the Kingwin MACH 1 700W Modular Power Supply or the Thermaltake ToughPower 700w Modular SLI Certified Power Supply, because of the modular benefits. The Warlock is sufficient but requires a lot of cable management.

Motherboard: Gigabyte GA-EP35-DS3R with latest BIOS (F4a)

Excellent BIOS screen and I’ve had a lot of fun learning how to overclock on this board. It is rock solid! A couple of extra SATA inputs (for a total of 8 ) would be great though!

Processor: Intel Core 2 Duo E4300 Allendale 1.8GHz 2M shared L2 Cache LGA 775 65W Dual-Core Processor (O/C to 3.0GHz)

Pulled from an abandoned HP. I read the lit on this bad boy and absolutely love it! A great overclocker, especially combined with the Tuniq Tower CPU Cooler!

Graphics: NVIDIA GeForce 7500 LE (from a stripped HP)

I’m not a game-head so this was more than satisfactory for my needs.

Cooling: Tuniq Tower 120 Universal CPU Cooler 120mm Cooling Fan and Fan Controller/Heatsink

When I first started overclocking th E4300, I was getting temps at around 50° C idle (3.0GHz), and almost 70° C at full load. When I installed the Tuniq, it was down to 33° C idle and 43° C at full load. IMPRESSIVE!

Memory: Corsair XMS2 DHX 3 GB ( 3 x 1 GB ) Memory – DIMM 240-pin – 800 MHz ( PC2-6400 )

I think I would have done better with Kingston or OCZ

Storage: Maxtor 500GB, Seagate 300GB, Seagate 1TB, Western Digital 320GB, Western Digital 500GB

Operating Systems: Vista Ultimate (WD 320GB), OS X Leopard (Seagate 300GB)

I’ve heard a lot of complaints about Vista but haven’t experienced any of the hardships others complain about. Its a pretty stable system on my machine. Only problems I have had are with permissions and accessing drives after re-installation. Leopard is absolutely beautiful! No crashes to report for either OS.

Display: Samsung SyncMaster 2232GW

Speakers: Logitech Z-2300 Speakers

Highly recommended! Don’t waste your money on anything less powerful. You won’t regret it (smile)

How to show hidden files in OS X

1. Navigate to Applications/Utility/Terminal
2. Open Terminal window
3. Type: defaults write com.apple.finder AppleShowAllFiles TRUE
4. Press “enter”
5. Type: 
killall Finder
6. Press “enter”
7. Close and reopen finder

To reverse the process simply follow the above directions but replace “TRUE” with “FALSE”

A neat application to hide personal folders can be found here.