Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

x230 - Mountain Lion

OS-X on ThinkPads
Message
Author
fraisdos125
Posts: 36
Joined: Fri May 25, 2012 12:51 am
Location: Fuveau, France

x230 - Mountain Lion

#1 Post by fraisdos125 » Fri Aug 09, 2013 12:49 pm

Processor 2.6GHz Intel Core i5-3320M
Memory 8GB, DDR3
USB 2 USB 3.0, 1 USB 2.0
Chipset Intel HM77
Graphics Intel HD Graphics 4000
Audio Realtek AL269 (code 269vc)
Others ExpressCard/34, SD card reader

What is currently working:
USB3
HD4000 fully working /AGPM (VGA not tested)
Audio with AppleHDA & HDMI output
Powermanagement
Battery status with AppleSmartBattery.kext from Rehabman.

ExpressCard,SD Card reader not tested.

Step by step how to:
(based on the one I did for x220)
1) Bios setup
2) Creation of the boot disk.
3) Install from the boot disk.
4) Several reboots with the boot disk as boot loader.
5) Finishing (Kexts install + DSDT patch + Kexts (CpuPowerManagement & RTC) patch + Chameleon install + SSDT creation + Multibeast for wired card) & reboot without the boot disk. Please note that all kexts have to be installed in /System/Library/Extensions !

1)BIOS setup:
USB 3 ports will not work up to the installation of USBXHCIGeneric.kext.
For the installation phase USB3 has to be disabled in the bios.
Recommended: Disable the Virtualization technology

2) Creation of the boot disk:
Use the following link, all steps are really detailed. Of Course replace all LION references to MOUNTAIN LION references and format your Stick with MRB as partition scheme if you are going to install ML in // with windows.

Download OSInstall(MBR)+OSInstall.mpkg(10.8.x.GM).zip and apply instructions step 5 only here.
This is mandatory for two points: remove hardware check during the installation process & allow installation with MBR disk.

Use this Extra folder into which one I have added FakeSMC. This will avoid some bugs as FakeSMC emulates your laptop as a real mac and help for hardware detection.
This set of kexts files will also enable PS2 mouse / keyboard and cancel the CPUPowerManagement.

Install Chameleon on the usb boot disk, use the one provided in this link under: Post Install\Softs & scripts\

Copy the content of this archive at the root of your USB boot disk and put it the content of this zip-file which contain all you need for the post install.
Content:
- Chameleon install --> bootloader.
- Multibeast (MultiBeast 5.4.3) ---> which contains kexts driver for wired card & USB3.
- Kext Utility --> Creation of the kernel cache and driver installation tool.
- Chameleon Wizard --> Used to define the boot loader options.
- DSDT Editor --> To patch your DSDT
- SSDT creation utility.
- Set of kexts (AppleSmartBattery.kext, PS2 Ultranav, AppleHDA, FakeSMC and their plugins).
- AppleCpuPowerManagement patch script & AppleRTC patch script.
- DSDT (AppleHDA, battery, HD4000… fixes) & SMBIOS (used for Hardware definition for MacBookPro10,2)

Download OS X Combo Update 10.8.4 or latest and put the archive in post install folder.

Image

Image

Keep in mind that this USB boot disk will help you in case of problem with your mackintosh install. For example after putting a bad kexts or doing an update which leads to a Kernel Panic (KP).
ALWAYS keep this USB boot disk as it in a safe place.

3) Installation:

Boot on your USB boot disk (use the usb port at the left & closest to the LCD).
Select you langage.
Click on Utilities & Select Disk Util.

Format / partition your futur Hackintosh disk. Select option and select MBR as partition scheme if you need a dual install with windows.

Start the Install & reboot.

4) Several reboots with the boot disk as boot loader:
Let the USB boot disk plugged into the USB port located at left top (the closest one of the screen at the left).

Immediately after boot loader screen appears, select your freshly install as disk to be booted on.

Doing this will boot your new hackintosh install with all important kexts present on you boot disk (AppleCpuManagement disabled & PS2 Mouse / Keyboard activated)

Update the installation to the last OS X version:
-Open Post Install folder & double click on OSXUpdCombo10.8.X.dmg.
-Reboot with the usb boot disk as described step 4).

Install Packages HWSensors, select all options & reboot with the usb boot disk.

Image

5) Finishing:

Open finder and open the folder "Post Install" located at the root of USB boot disk.

Install Chameleon without option (they will be defined with Chameleon wizard later). Just select a theme to be display at first stage of the boot loader and do not forget to select your hackintosh disk as disk destination.

Install Kext Utility, Chameleon Wizard, DSDT Editor into Applications folder.

Copy Extra folder from USB Boot disk /Post install/ to mackintosh disk /Extra. My DSDT can be used at first step , nevertheless I recommend you to create your own DSDT.aml.

Create your own SSDT.aml.
Go to Post Install/Scripts &..../ssdtPRgen-2013-08-09/ double click on ssdtPRGen
Copy iasl to /usr/local/bin
Open a terminal. Go to Post Install/Scripts &..../ssdtPRgen-2013-08-09/
sudo ./ssdtPRGen.sh
copy the ssdt_pr.aml located on the desktop to /Extra/SSDT.aml
The SSDT has a strong influence the CPU behavior. Create yours !

Keep your terminal open and patch RTC with the following command:
- cd /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/
- sudo perl -pi -e 's|\x75\x30\x89\xd8|\xeb\x30\x89\xd8|' AppleRTC (for Mountain Lion)
- sudo perl -pi -e 's|\x75\x2e\x0f\xb6|\xeb\x2e\x0f\xb6|' AppleRTC (for Yosemite)

Keep your terminal open and patch your AppleIntelCpuPowermanagement Kext :
- cd /Volumes/name of your boot disk/Post Install/xxxxx/AICPMPatch/
- sudo perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement --patch

Go to Post Install\Softs & scripts\Multibeast...\
Start Multibeast & select the following options:

Image

Image

Lunch Kext Utility, enter your password and wait for finishing. The kernel cache is created. Go into the folder /Post Install/Kexts. Select all kexts one by one and drag & drop them into Kext Utility interface. This will install theses kexts and recreate the Kernel Cache (used to fast up to boot process). Do it one after one.

Image

DSDT patches to be applied to create your own:

1) DTGP Method (use for almost all patches)

Code: Select all

    Method (DTGP, 5, NotSerialized)
    {
        If (LEqual (Arg0, Buffer (0x10)
                {
                    /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, 
                    /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
                }))
        {
            If (LEqual (Arg1, One))
            {
                If (LEqual (Arg2, Zero))
                {
                    Store (Buffer (One)
                        {
                            0x03
                        }, Arg4)
                    Return (One)
                }

                If (LEqual (Arg2, One))
                {
                    Return (One)
                }
            }
        }

        Store (Buffer (One)
            {
                0x00
            }, Arg4)
        Return (Zero)
    }
2)Brightness slider: add “Device (PNLF)”

Code: Select all

Device (PNLF) 
{ 
            Name (_HID, EisaId ("APP0002")) 
            Name (_CID, "backlight") 
            Name (_UID, 0x0A)
            Name (_STA, 0x0B)  
}
3)HPET: required for speed stepping.

Code: Select all

Device (HPET)
                 {
                     Name (_HID, EisaId ("PNP0103"))
                     Name (ATT3, ResourceTemplate ()
                     {
                         IRQNoFlags () 
                            {0} 
                        IRQNoFlags () 
                            {8}
                         Memory32Fixed (ReadWrite,
                             0xFED00000,         // Address Base
                             0x00000400,         // Address Length
                             )
                     })  
                   Name (ATT4, ResourceTemplate () 
                    {
                     })
                     Method (_STA, 0, NotSerialized)
                     {
                         Return (0x0F)
                     } 
                     Method (_CRS, 0, NotSerialized) 
                    { 
                        Return (ATT3) 
                    } 
                }

4)Graphics HD4000 with the correct id & HDMI audio (do not add any GraphicsEnabler in chameleon, this will do the correct things!)
To be added just before Device (VID) (have a look to my DSDT to know exactly where)

Code: Select all

Device (IGPU)
            {
                Name (_ADR, 0x00020000)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x06)
                        {
                            "device-id", 
                            Buffer (0x04)
                            {
                                0x66, 0x01, 0x00, 0x00
                            }, 

                            "AAPL,ig-platform-id", 
                            Buffer (0x04)
                            {
                                0x03, 0x00, 0x66, 0x01
                            }, 

                            "hda-gfx", 
                            Buffer (0x0A)
                            {
                                "onboard-1"
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
5) Audio:

Code: Select all

Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Name (_S3D, 0x03)
                Name (RID, Zero)
                Name (_PRW, Package (0x02)
                {
                    0x0D, 
                    0x04
                })
                Method (_PSW, 1, NotSerialized)
                {
                    Noop
                }

                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x06)
                        {
                            "hda-gfx", 
                            Buffer (0x0A)
                            {
                                "onboard-1"
                            }, 

                            "layout-id", 
                            Buffer (0x04)
                            {
                                0x1C, 0x00, 0x00, 0x00
                            }, 

                            "PinConfigurations", 
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
        }
5) For getting AppleSmartBatteryManager working:
You have first to apply this patch.

And correct your DSDT with the following content (what you should have somewhere in your DSDT / have a look to mine for comparison):

Code: Select all

                    Field (ECOR, ByteAcc, NoLock, Preserve)
                    {
                                Offset (0xA0), 
                        BRC0,   8, 
                        BRC1,   8, 
                        BFC0,   8, 
                        BFC1,   8, 
                        SBAE,   16, 
                        SBRS,   16, 
                        BAC0,   8, 
                        BAC1,   8, 
                        BVO0,   8, 
                        BVO1,   8, 
                        SBAF,   16, 
                        SBBS,   16
                    }

                    Field (ECOR, ByteAcc, NoLock, Preserve)
                    {
                                Offset (0xA0), 
                            ,   15, 
                        SBCM,   1, 
                        SBMD,   16, 
                        SBCC,   16
                    }

                    Field (ECOR, ByteAcc, NoLock, Preserve)
                    {
                                Offset (0xA0), 
                        BDC0,   8, 
                        BDC1,   8, 
                        BDV0,   8, 
                        BDV1,   8, 
                        SBOM,   16, 
                        SBSI,   16, 
                        SBDT,   16, 
                        BSN0,   8, 
                        BSN1,   8
                    }

                    Field (ECOR, ByteAcc, NoLock, Preserve)
                    {
                                Offset (0xA0), 
                        SBCH,   32
                    }

                    Field (ECOR, ByteAcc, NoLock, Preserve)
                    {
                                Offset (0xA0), 
                        SBMN,   128
                    }

                    Field (ECOR, ByteAcc, NoLock, Preserve)
                    {
                                Offset (0xA0), 
                        SBDN,   128
                    }

                    Mutex (BATM, 0x07)
                    Method (GBIF, 3, NotSerialized)
                    {
                        Acquire (BATM, 0xFFFF)
                        If (Arg2)
                        {
                            Or (Arg0, One, HIID)
                            Store (SBCM, Local7)
                            XOr (Local7, One, Index (Arg1, Zero))
                            Store (Arg0, HIID)
                            If (Local7)
                            {
                                Multiply (B1B2 (BFC0, BFC1), 0x0A, Local1)
                            }
                            Else
                            {
                                Store (B1B2 (BFC0, BFC1), Local1)
                            }

                            Store (Local1, Index (Arg1, 0x02))
                            Or (Arg0, 0x02, HIID)
                            If (Local7)
                            {
                                Multiply (B1B2 (BDC0, BDC1), 0x0A, Local0)
                            }
                            Else
                            {
                                Store (B1B2 (BDC0, BDC1), Local0)
                            }

                            Store (Local0, Index (Arg1, One))
                            Divide (Local1, 0x14, Local2, Index (Arg1, 0x05))
                            If (Local7)
                            {
                                Store (0xC8, Index (Arg1, 0x06))
                            }
                            Else
                            {
                                If (B1B2 (BDV0, BDV1))
                                {
                                    Divide (0x00030D40, B1B2 (BDV0, BDV1), Local2, Index (Arg1, 0x06))
                                }
                                Else
                                {
                                    Store (Zero, Index (Arg1, 0x06))
                                }
                            }

                            Store (B1B2 (BDV0, BDV1), Index (Arg1, 0x04))
                            Store (B1B2 (BSN0, BSN1), Local0)
                            Name (SERN, Buffer (0x06)
                            {
                                "     "
                            })
                            Store (0x04, Local2)
                            While (Local0)
                            {
                                Divide (Local0, 0x0A, Local1, Local0)
                                Add (Local1, 0x30, Index (SERN, Local2))
                                Decrement (Local2)
                            }

                            Store (SERN, Index (Arg1, 0x0A))
                            If (Zero)
                            {
                                Or (Arg0, 0x06, HIID)
                                Store (SBDN, Index (Arg1, 0x09))
                                Or (Arg0, 0x04, HIID)
                                Name (BTYP, Buffer (0x05)
                                {
                                    0x00, 0x00, 0x00, 0x00, 0x00
                                })
                                Store (SBCH, BTYP)
                                Store (BTYP, Index (Arg1, 0x0B))
                                Or (Arg0, 0x05, HIID)
                                Store (SBMN, Index (Arg1, 0x0C))
                            }
                        }
                        Else
                        {
                            Store (Ones, Index (Arg1, One))
                            Store (Zero, Index (Arg1, 0x05))
                            Store (Zero, Index (Arg1, 0x06))
                            Store (Ones, Index (Arg1, 0x02))
                        }

                        Release (BATM)
                        Return (Arg1)
                    }

                    Method (GBST, 4, NotSerialized)
                    {
                        Acquire (BATM, 0xFFFF)
                        If (And (Arg1, 0x20))
                        {
                            Store (0x02, Local0)
                        }
                        Else
                        {
                            If (And (Arg1, 0x40))
                            {
                                Store (One, Local0)
                            }
                            Else
                            {
                                Store (Zero, Local0)
                            }
                        }

                        If (And (Arg1, 0x0F)) {}
                        Else
                        {
                            Or (Local0, 0x04, Local0)
                        }

                        If (LEqual (And (Arg1, 0x0F), 0x0F))
                        {
                            Store (0x04, Local0)
                            Store (Zero, Local1)
                            Store (Zero, Local2)
                            Store (Zero, Local3)
                        }
                        Else
                        {
                            Store (Arg0, HIID)
                            Store (B1B2 (BVO0, BVO1), Local3)
                            If (Arg2)
                            {
                                Multiply (B1B2 (BRC0, BRC1), 0x0A, Local2)
                            }
                            Else
                            {
                                Store (B1B2 (BRC0, BRC1), Local2)
                            }

                            Store (B1B2 (BAC0, BAC1), Local1)
                            If (LGreaterEqual (Local1, 0x8000))
                            {
                                If (And (Local0, One))
                                {
                                    Subtract (0x00010000, Local1, Local1)
                                }
                                Else
                                {
                                    Store (Zero, Local1)
                                }
                            }
                            Else
                            {
                                If (LNot (And (Local0, 0x02)))
                                {
                                    Store (Zero, Local1)
                                }
                            }

                            If (Arg2)
                            {
                                Multiply (Local3, Local1, Local1)
                                Divide (Local1, 0x03E8, Local7, Local1)
                            }
                        }

                        Store (Local0, Index (Arg3, Zero))
                        Store (Local1, Index (Arg3, One))
                        Store (Local2, Index (Arg3, 0x02))
                        Store (Local3, Index (Arg3, 0x03))
                        Release (BATM)
                        Return (Arg3)
                    }
6) USB Wake after sleeping:
To be created/found ;-)


Reboot without USB boot disk.
Enable USB3 in the bios.
Enable Virtualization.

Update 1
AppleSmartBatteryManager without debug info.
Click here.

Update 2
Guide updated from differents experiences
Pics added.
Links/Packages updated.

Update 3
Get the bluetooth working.

Go to /S/L/E/
right click on IOBluetoothFamily.kext
Image

Go to Content/Plugins
Right click on Broadcom...kext
Image

Open Info.plist
Image

Go to the section IOKitPersonalities.
Image

Scroll down to the last entry (That was Microsoft or USB... before modification.
Rename the entry to x230 for example. Modify the idProduct & idVendor to the one you can see below.
Image

Copy the kext IO80211Family.kext to your desktop. Use Kext Utility to install it.
Reboot.

If you get a pop-up with no keyboard detected. This is not a bug. This is option to unstick into Bluetooth preferences in case of do not have any keryboard or bluetooth mouse.

Update 4: OS X Combo Update 10.8.5
Download the combo update.
Launch Kext Utility
Drag and drop Nullcpupowermanagement & the last GenericUSBxhci.
Copy the binary xhcdump to /usr/local/bin
Start the Combo Update.
Reboot with -x
Start Multibeast and reinstall AppleACPIPlatform 10.8.1 Rollback.
Patch AppleIntelCpuManagement & IOBluetoothFamily.kext as described above.
Remove the kext /S/L/E/Nullcpupowermanagement.kext
Start Kext Utility. Drag and drop patched version of AppleHDA & AppleSmartBatteryManager.
Reboot without any option.

Update 5:OS X Mountain Lion 10.8.5 Supplemental Update
Install from AppStore.
Reboot.
Install AppleHDA patched with Kext Utility
Reboot

Update 6:AppleHDA all functionnalities
Install this kext.
And update your DSDT with:

Code: Select all

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 (_DSM, 4, NotSerialized)
            {
                Store (Package (0x08)
                    {
                        "built-in", 
                        Buffer (One)
                        {
                             0x00
                        }, 
                        "hda-gfx", 
                        Buffer (0x0A)
                        {
                            "onboard-1"
                        }, 
                        "layout-id", 
                        Buffer (0x04)
                        {
                             0x01, 0x00, 0x00, 0x00
                        }, 
                        "PinConfigurations", 
                        Buffer (Zero) {}
                    }, Local0)
                DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                Return (Local0)
            }
        }
Last edited by fraisdos125 on Sat Oct 18, 2014 1:33 am, edited 29 times in total.

myrnehr
Posts: 8
Joined: Sun Aug 11, 2013 8:10 pm
Location: Colorado Springs, Colorado

Re: x230 - Mountain Lion

#2 Post by myrnehr » Sun Aug 11, 2013 8:15 pm

I've an i7 x230 that I'd like to give a shot at putting OSX on... This would be super handy.
What wireless card are you currently using, and will my Centrino 6205 function in Lion?
Thanks!

fraisdos125
Posts: 36
Joined: Fri May 25, 2012 12:51 am
Location: Fuveau, France

Re: x230 - Mountain Lion

#3 Post by fraisdos125 » Mon Aug 12, 2013 5:21 am

Hi,

Currently I still have inside the original one. I think we have no chance to get it working.
I have asked for removing the whitelist: http://www.bios-mods.com/forum/Thread-R ... st-removal.
If I get a the mod, I will replace the centrino card by a Dell DW1515, AR9280 card.

If not I will use a dongle.

By the end of the day I will provide the kexts, org.chameleon,.... which I use.
I will recommend you to create your own dsdt.aml, ssdt.aml and use smbios.plist definition Macboopro10,1 which should match to your proc.

myrnehr
Posts: 8
Joined: Sun Aug 11, 2013 8:10 pm
Location: Colorado Springs, Colorado

Re: x230 - Mountain Lion

#4 Post by myrnehr » Tue Aug 13, 2013 9:14 am

First of all, I am incredibly thankful for this guide, just wanted to make that clear... I will set aside today for getting this up and running.
Thanks a ton.

fraisdos125
Posts: 36
Joined: Fri May 25, 2012 12:51 am
Location: Fuveau, France

Re: x230 - Mountain Lion

#5 Post by fraisdos125 » Tue Aug 13, 2013 10:43 am

Hi myrnehr,

Good, if this can help that good enough for me. Keep me informed about errors in my tutorial or difficulties. I will modify this how to accordingly.

Bye

myrnehr
Posts: 8
Joined: Sun Aug 11, 2013 8:10 pm
Location: Colorado Springs, Colorado

Re: x230 - Mountain Lion

#6 Post by myrnehr » Tue Aug 13, 2013 1:59 pm

Hey, I nearly managed to boot the installer, but it halts here... http://img.tapatalk.com/d/13/08/14/ygyhuvu5.jpg (114KB image)

Sent from my CM10 EVOLTE using Tapatalk 2

Admin edit: Changed inline image to link. If you are NOT the original poster to the thread, use a link. if you ARE the original poster, then please keep images <50KB and put a PIC warning in the original subject line.

fraisdos125
Posts: 36
Joined: Fri May 25, 2012 12:51 am
Location: Fuveau, France

Re: x230 - Mountain Lion

#7 Post by fraisdos125 » Tue Aug 13, 2013 11:30 pm

OK,
A the beginning USB3 doesn't work.
During the installation phase, go the BIOS --> USB3 ---> Disabled.
If this step doesn't solve this issue. when you see this message: unplug and plug again your usb stick in the usb slot.

myrnehr
Posts: 8
Joined: Sun Aug 11, 2013 8:10 pm
Location: Colorado Springs, Colorado

Re: x230 - Mountain Lion

#8 Post by myrnehr » Wed Aug 14, 2013 12:00 am

http://img.tapatalk.com/d/13/08/14/y2e5ymy2.jpg (132KB image)
That fixed that issue, but then I hit another... It stopped here. Note the beach ball....

fraisdos125
Posts: 36
Joined: Fri May 25, 2012 12:51 am
Location: Fuveau, France

Re: x230 - Mountain Lion

#9 Post by fraisdos125 » Wed Aug 14, 2013 12:31 am

Hihi,

Even if you wait a little bit ?
Witch ML version are you using ? I recommend at least 10.8.2.
Which Chameleon version ? I recommend the one of the latest : http://www.osx86.net/view/3856-chameleo ... r2256.html

Klaymator14
Posts: 18
Joined: Sat Dec 01, 2012 3:24 pm
Location: Castaic, CA

Re: x230 - Mountain Lion

#10 Post by Klaymator14 » Wed Aug 14, 2013 3:11 am

oh my goodness i love you so much

myrnehr
Posts: 8
Joined: Sun Aug 11, 2013 8:10 pm
Location: Colorado Springs, Colorado

Re: Re: x230 - Mountain Lion

#11 Post by myrnehr » Wed Aug 14, 2013 8:57 am

fraisdos125 wrote:Hihi,

Even if you wait a little bit ?
Witch ML version are you using ? I recommend at least 10.8.2.
Which Chameleon version ? I recommend the one of the latest : http://www.osx86.net/view/3856-chameleo ... r2256.html
I'll make another boot disk and give it another go, there's a possibility I messed up the disk making process somehow.. Thanks

Sent from my EVO using Tapatalk 4

myrnehr
Posts: 8
Joined: Sun Aug 11, 2013 8:10 pm
Location: Colorado Springs, Colorado

Re: x230 - Mountain Lion

#12 Post by myrnehr » Wed Aug 14, 2013 1:24 pm

It remains astute in it's decision to not completely boot. Same message after re-creating the boot disk and disabling USB3

fraisdos125
Posts: 36
Joined: Fri May 25, 2012 12:51 am
Location: Fuveau, France

Re: x230 - Mountain Lion

#13 Post by fraisdos125 » Wed Aug 14, 2013 2:36 pm

Try with -x -v at the boot

gilros
Posts: 6
Joined: Fri Aug 16, 2013 2:16 pm
Location: Milpitas, CA

Re: x230 - Mountain Lion

#14 Post by gilros » Fri Aug 16, 2013 2:20 pm

First step and I've somehow already hit a wall. When I mount my .dmg (from the Mac App Store) and use the show hidden files program, I don't see anything BUT the .app contained within. Is there anything I'm missing? I ran the app and hit show special files. The UI flashed but nothing else happened. Next I tried adding the .dmg to the folder chooser thing and showing invisible files like that. It gave me a permission related error. Any advice?

The exact error is:

AppleScript Error
ERROR: Write Permissions Error. (-61) on file: /Volumes/Mac OS X 10.8.4/ (2)

EDIT: Okay, figured that one out. I had to open the app and dig around for some .dmgs inside of .dmgs but I got it working eventually. Things went smoothly until I tried to install. The installer launched fine but none of my hard drives were valid. I wasn't surprised since none were formatted for OS X, but instead of being able to format them in Disk Utility I got a really strange error. The names and partitions of my hard drives were in red, and when I tried to select them I got the error: "Disk Error: A [sic] error has occured [sic] with your disk, Would you like to revert it to a working disk?" I can either ignore the error or hit okay. Hitting okay wipes the hard drives (or so it tells me) and I'm EXTREMELY hesitant to wipe my Windows 8 hard drive in case OS X doesn't work out.

I've tried everything I can so far. I wiped the hard drive, partitioned it as blank, NTFS, and FAT with Disk Management and partitioned it at HSF+ with MacDrive. Any ideas? At the very least when I had it with HSF+ instead of just saying I couldn't install OS X on a such-and-such hard drive it said it had to be a journaled hard drive. I have no idea if there's a way of doing this without having access to Disk Utility, and obviously that isn't an option if I can't fix the red text error.

Any ideas?

EDIT 2: Formatted the USB stick and went through writing the installer files to it again. It's written as MBR and I followed all steps exactly. Because of the spelling errors (highly unusual for Apple) I'm inclined to believe the Mountain Lion .dmg I'm using is corrupted or otherwise flawed. I'll see if I can find another source for it. In all honesty it was obtained illegally. While I'm open to purchasing it I'm hesitant to do so when it may not even work. The hard drives I'm using are pretty standard-- the stock 500GB HDD included by Lenovo (as far as I know, at least-- it's a Hitachi. I bought the laptop from a reseller) and a 120GB Mushkin mSATA SSD. Nothing unusual at all. Other than the SSD and my RAM, the laptop is pretty much totally stock (with an i5-3320m). No idea why I'm having these troubles when no one else is.

EDIT 3: GOT IT! Had to format the disk by command line in Terminal. I used the commands: "diskutil list" to find the right name for the disk (disk0 in my case) then "diskutil eraseDisk jhsf+ "OS X" disk0" to format disk0 to journaled HFS+ and name it OS X. Now I just need to take care of the post install stuff!

EDIT 4: Wooo. Next problem. When I try to install Chameleon, for whatever reason it asks me for an admin name and password. Is this normal? My user/pass didn't work, and I'm the only user. I'm becoming suspicious this installer wasn't quite pristine (though the comments on the torrent suggest otherwise.) Odd.

Klaymator14
Posts: 18
Joined: Sat Dec 01, 2012 3:24 pm
Location: Castaic, CA

Re: x230 - Mountain Lion

#15 Post by Klaymator14 » Sat Aug 17, 2013 5:01 pm

gilros wrote:EDIT 4: Wooo. Next problem. When I try to install Chameleon, for whatever reason it asks me for an admin name and password. Is this normal? My user/pass didn't work, and I'm the only user. I'm becoming suspicious this installer wasn't quite pristine (though the comments on the torrent suggest otherwise.) Odd.
it's normal for it to ask for username and password, all mac installers do this

if it doesnt automatically fill in your username, it sounds like you dont have an administrator account, maybe try to set one up through system preferences? that sounds very odd

Also I have my installation fully up and going, but it seems that the internal microphone doesnt work even though speakers and headphone output works wonderfully (everything else seems to be running quite well too!)

is there any way to get them to work? i'd really like to use my mic C:

gilros
Posts: 6
Joined: Fri Aug 16, 2013 2:16 pm
Location: Milpitas, CA

Re: x230 - Mountain Lion

#16 Post by gilros » Sat Aug 17, 2013 6:18 pm

Yeah, for whatever reason it asks. When I boot into the installer and try to change the password using the password reset utility thing it shows me as the only user. However, in System Prefs I am NOT marked as an admin and I have no idea why. If I try to unlock things to make myself one, it asks for admin login...

Klaymator14
Posts: 18
Joined: Sat Dec 01, 2012 3:24 pm
Location: Castaic, CA

Re: x230 - Mountain Lion

#17 Post by Klaymator14 » Sat Aug 17, 2013 6:20 pm

http://www.rit.edu/its/services/desktop ... count.html take a look at this article maybe? just boot from your external USB drive with the bootloader on it and boot with -s to follow his steps

gilros
Posts: 6
Joined: Fri Aug 16, 2013 2:16 pm
Location: Milpitas, CA

Re: x230 - Mountain Lion

#18 Post by gilros » Sat Aug 17, 2013 9:35 pm

Thanks for the tip. Didn't end up needing to though. I just wiped the hard drive and reinstalled the OS. Works fine now! No idea what went wrong but there's another hurdle jumped.

fraisdos125
Posts: 36
Joined: Fri May 25, 2012 12:51 am
Location: Fuveau, France

Re: x230 - Mountain Lion

#19 Post by fraisdos125 » Sat Aug 17, 2013 11:40 pm

The password for admin user is normally defined during the first boot after installation.
For the first boot on your fresh install you have to use the USB stick and select your install asa the chameleon boot screen appears.
Did you do it ?
Chameleon has to be installed after this step, just after first settings completion. When your are logged in with your new user.

Klaymator14
Posts: 18
Joined: Sat Dec 01, 2012 3:24 pm
Location: Castaic, CA

Re: x230 - Mountain Lion

#20 Post by Klaymator14 » Sat Aug 17, 2013 11:42 pm

fraisdos125 wrote:The password for admin user is normally defined during the first boot after installation.
For the first boot on your fresh install you have to use the USB stick and select your install asa the chameleon boot screen appears.
Did you do it ?
Chameleon has to be installed after this step, just after first settings completion. When your are logged in with your new user.
it seems like he's got it working, but do you know whether any progress can be made with getting the internal mic to work? i wish i could do it myself but i just dont have the know-how in DSDT and kext patching haha

thank you so much for this guide though! it was a huge help for me :D

fraisdos125
Posts: 36
Joined: Fri May 25, 2012 12:51 am
Location: Fuveau, France

Re: x230 - Mountain Lion

#21 Post by fraisdos125 » Sat Aug 17, 2013 11:50 pm

Klaymator14 wrote: Also I have my installation fully up and going, but it seems that the internal microphone doesnt work even though speakers and headphone output works wonderfully (everything else seems to be running quite well too!)

is there any way to get them to work? i'd really like to use my mic C:
That's a issue I have to work on.
A temporary solution: use the headset from a cellular.

Klaymator14
Posts: 18
Joined: Sat Dec 01, 2012 3:24 pm
Location: Castaic, CA

Re: x230 - Mountain Lion

#22 Post by Klaymator14 » Sat Aug 17, 2013 11:52 pm

oh okay, i suppose i can do that for now! thanks a lot for replying c: i appreciate you!

Klaymator14
Posts: 18
Joined: Sat Dec 01, 2012 3:24 pm
Location: Castaic, CA

Re: x230 - Mountain Lion

#23 Post by Klaymator14 » Sat Aug 17, 2013 11:55 pm

also did you have to patch the Device (VID) in the DSDT as well? i realized that mine looked different to yours and that it looked like you added some stuff intentionally so i just made it the same as yours, i dont know if it made an effect in the end because i did that before i got to test anything out

if you do indeed have to patch that up, you should mention it in the guide if you skipped over it on accident, i'm just trying to give you some feedback <3

fraisdos125
Posts: 36
Joined: Fri May 25, 2012 12:51 am
Location: Fuveau, France

Re: x230 - Mountain Lion

#24 Post by fraisdos125 » Sun Aug 18, 2013 12:39 am

That was an accident, do not patch Device (VID). I will update the archive including the DSDT.

Klaymator14
Posts: 18
Joined: Sat Dec 01, 2012 3:24 pm
Location: Castaic, CA

Re: x230 - Mountain Lion

#25 Post by Klaymator14 » Sun Aug 18, 2013 12:40 am

ah whoopsie haha, what effect would that give on my computer?

gilros
Posts: 6
Joined: Fri Aug 16, 2013 2:16 pm
Location: Milpitas, CA

Re: x230 - Mountain Lion

#26 Post by gilros » Sun Aug 18, 2013 5:00 pm

After dealing with some kernel panics and assorted issues I had it booting without issue consistently! Unfortunately, now I'm getting an issue where I simply cannot boot, regardless of boot flags (-v -x -f still keeps me from booting.) I get stuck at the line "IOAPIC: Version 0x20 Vectors 64:87" and can't progress past it. Earlier I would hit that and get stalled for about a minute but now I get stuck forever. I've already tried replacing the kext it's supposedly associated with (AppleACPIPlatform.kext) with no luck. Planning on trying with a different version now-- fingers crossed. Anyone else experienced this? I hit it right after rebooting after installing ControllerMate. At the time I was using an external graphics card (which worked without issue) but now I am not. Perhaps it'll only boot with the eGPU plugged in? I'll give that a shot as well.

EDIT: Replaced the kext to no avail. It's definitely the eGPU. For whatever reason something I've done has set up my system so that it can ONLY boot with the eGPU plugged in. In desktop terms, despite my system having integrated graphics, I can only boot when my discrete graphics card is plugged in to one of my PCI-e slots. Apparently this has something to do with my SSDT... getting well out of my depth now. Help would be *greatly* appreciated.

EDIT2: Removed my DSDT.aml from /Extra. No idea how this will affect how my computer runs (I still don't full understand DSDT), but at least it's booting fine now.

fraisdos125
Posts: 36
Joined: Fri May 25, 2012 12:51 am
Location: Fuveau, France

Re: x230 - Mountain Lion

#27 Post by fraisdos125 » Mon Aug 19, 2013 2:54 am

Which laptop do you have ?
How many graphics card inside ?

The intelHD4000 can create strange issues.
My DSDT will force the iGPU to " ig-platform-id: 01660003, Stolen RAM for FB: 64MB, Pipes: 2, Ports: 2, FBMem: 2" (http://www.tonymacx86.com/mountain-lion ... d4000.html)

Seems to be different for your laptop.

FI, by default if you enable GraphicsEnabler it will boot with "ig-platform-id: 01660009, Stolen RAM for FB: 64MB, Pipes: 3, Ports: 3, FBMem: 3". This activate the miniportdisplay instead of the internaldisplay: black screen for the internal display, minidisplay correctly works.

I have decided to do not use device properties, I have decided to force the HD4000 to match with " ig-platform-id: 01660003, Stolen RAM for FB: 64MB, Pipes: 2, Ports: 2, FBMem: 2" by using this code (see the bold section below):

Code: Select all

Device (IGPU)
            {
                Name (_ADR, 0x00020000)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x06)
                        {
                            "device-id", 
                            Buffer (0x04)
                            {
                                0x66, 0x01, 0x00, 0x00
                            }, 

                            [b]"AAPL,ig-platform-id", 
                            Buffer (0x04)
                            {
                                0x03, 0x00, 0x66, 0x01
                            }, [/b]

                            "hda-gfx", 
                            Buffer (0x0A)
                            {
                                "onboard-1"
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

Klaymator14
Posts: 18
Joined: Sat Dec 01, 2012 3:24 pm
Location: Castaic, CA

Re: x230 - Mountain Lion

#28 Post by Klaymator14 » Mon Aug 19, 2013 3:22 am

from what it sounds like, his computer was working just fine until he used the computer with an external GPU plugged in, which has changed something within the system and now cannot boot without having the external GPU connected. i dont think it's a matter of the DSDT being patched for the wrong HD4000

unfortunately i have no idea how to fix that, but maybe you do fraisdos?

fraisdos125
Posts: 36
Joined: Fri May 25, 2012 12:51 am
Location: Fuveau, France

Re: x230 - Mountain Lion

#29 Post by fraisdos125 » Mon Aug 19, 2013 9:47 am

Which kind of eGPU are talking about ?
I would like to keep this theard dedicated to x230 ML.

gilros
Posts: 6
Joined: Fri Aug 16, 2013 2:16 pm
Location: Milpitas, CA

Re: x230 - Mountain Lion

#30 Post by gilros » Mon Aug 19, 2013 12:58 pm

fraisdos125 wrote:Which kind of eGPU are talking about ?
I would like to keep this theard dedicated to x230 ML.
I'm using this adapter connected to a GTX 460 768mb model. The adapter is connected to my computer via Express Card. Anyway, like I said, removing my DSDT.aml from /Extra fixed it. I'm not sure why but it did, so at least I have an out if something happens again. No need to worry about it. My next target is getting my touch screen and stylus to work well (I have an X230 tablet). If you like I can avoid posting about that, but the X230t is very close in hardware to the X230 and this thread is the most thorough and recent for hackintoshing our laptop models, so I feel it would still be appropriate.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “OS-X Questions”

Who is online

Users browsing this forum: No registered users and 54 guests