Contribute
Register

Combined U310/U410 Mavericks Thread

Status
Not open for further replies.
Joined
May 9, 2013
Messages
481
Mobile Phone
  1. iOS
Guide: Combined U310/U410 Mavericks Thread


Summary

I am not a developer, I'm just a hobbyist/enthusiast. I use my hack as my main computer, my main OS. It is stable and safe as of 10.9.5. I am using ONLY FakeSMC.kext (Rehabman), VoodooPS2Controller.kext (Rehabman), ACPIBatteryManager.kext (Rehabman), AppleRTL8169Ethernet.kext (Multibeast), patched AppleHDA.kext (CX20590/20672), ACPIBacklight.kext (hotKoffy), and patched AppleIntelFramebufferCapri.kext (HDMI Audio).

Back-up everything before you modify.
Make regular, whole volume back-ups using an external device.

Outline

Power Management:
Ivy Bridge CPU [100%]
Requirements:
Patched AppleIntelCPUPowerManagement.kext - Multibeast
Alternatively pmpatch BIOS, use vanilla AICPUPM.kext and enable XCPM
FakeSMC.kext - Multibeast or Rehabman
Mandatory kext
Custom SSDT (in /Extra) for your CPU; ProBook Installer OR ssdtPRGen
Tuning recommended, check p-states with DPCIManager or AppleIntelCPUPowerManagementInfo.kext
System Definition (smbios.plist) (in /Extra) for your CPU
I use MBA5,2. Install MacbookPro definition using Multibeast, later you should easily customize using Chameleon Wizard
org.chameleon.Boot.plist (in /Extra):
DropSSDT=Yes, GeneratePStates=No, GenerateCStates=No
Use Chameleon Wizard as a GUI to edit org.chameleon.Boot.plist. Confirm/set these ONLY after installing and/or tweaking custom SSDT
Battery, AC Adapter [100%]
Requirements:
ACAdapter Fix - DSDT Patch
Battery Ux10 - DSDT Patch
ACPIBatteryManager.kext - Rehabman
Graphics:
External digital monitor support via HDMI connector [100%]
NVIDIA® Optimus 610M/710M [DISABLED in BIOS; UMA Only]
Intel HD Graphics 4000 [100%]
Requirements:
HD4000 Low Res. - DSDT Patch
LVDS Brightness Control [100%]
Requirements:
ACPIBacklight.kext - Rehabman
Brightness Fix (PNLF) - DSDT Patch
Audio:
CX20672/CX20590 [100% minus Widget/Slider Sync "bug"]
Requirements:
Audio Layout 12 - DSDT Patch
IRQ Fix - DSDT Patch
Patched AppleHDA.kext - Attached
HDMI [100%]
Requirements:
Patched AppleIntelFramebufferCapri.kext - Attached
Networking:
Note, if bluetooth is desired a dedicated USB solution is optimal. Integrated bluetooth on Intel wifi cards lost if replaced with AR9280. Onboard LAN is not Gigabit, instead use a USB3 to Gbit LAN adapter.
Intel Centrino® Wireless-B\G\N 2200/2230 [UNSUPPORTED]
Bluetooth 4.0 wireless, integrated in Intel Centrino® Wireless-N 2230 [100%]
10/100 ethernet Realtek® RTL8105E [100%]
Requirements:
AppleRTL8169Ethernet.kext - Multibeast 5.5
Azurewave AR9280 [100%]
Requirements:
Whitelist Check Disabled BIOS
Install miniPCIE card
PS2:
Chicony (aka Bouncy) Keyboard [100%]
Synaptic's Trackpad [100%]
Requirements:
VoodooPS2Controller.kext - Rehabman
VoodooPS2Daemon - Rehabman
USB:
HD 720p Camera on top of screen, 1.0-megapixel, fixed focus, LED indicator [100%]
2-in-1 reader (SD, MMC) [80%- Not detected post-sleep]
USB 3.0, USB 2.0 [100%]
Requirements:
USB 7 Series (with ID) - DSDT Patch
USB 7 Series USB 3 Multiplex - DSDT Patch
​If you do not select "(with ID)" you will have issues with USB2 on USB3.

Supplies

An arsenal of USB 2.0 “thumb drives,” at the very least, you need one to create your UniBeast USB.
1. Bootable USB Drive - UniBeast for 10.9 Mavericks USB Drive (Installation Media)
2. USB Drive or USB HDD - A physical back-up location for software, documents, photos, videos, etc. Based on your individual needs. ALWAYS keep a back-up
3. USB Keyboard and Mouse - The built in trackpad and keyboard are not detected natively by OS X, we must install a kext, which will not occur until after Installation.
If you will be installing Windows 8/8.1 you will also need the following:
1. Bootable USB Drive - Windows 7/8/8.1 (installation Media and product key
Don’t have access to a real Mac to make a UniBeast USB for 10.9 Mavericks?
You’ll need the following:
1. Retail - Apple OS X Snow Leopard DVD
2. External (USB) DVD Drive
3. Bootable - iBoot Ivy Bridge CD
4. Access to a CDRW drive to create the iBoot Ivy Bridge CD.
I also keep the following USB media available, not required or necessarily recommended, but convenient:
1. Bootable USB Drive - Ubuntu 13 (Installation Media / Live Environment)
2. Bootable USB Drive - Clover EFI Boot-Loader (made with CVADs Utility)
Additional, recommended but not required, Hardware:
1. OS X Compatible USB Wifi Dongle (See Post #4 for Recommendation)
2. USB 3.0 to Gigabit Ethernet Adapter (On-Board Ethernet is not Gigabit)
3. HDMI Display and HDMI Cable (A HDTV will allow you to verify HDMI audio)
4. Headphones or iPhone Headset (to verify Headphone/Microphone jack)

Tips, Tricks, and Snippets for Success

1. Verify all your equipment is in working order, and that bootable media is actually bootable.
2. Boot USB drives via USB2 ports. A USB3 port will be blue; all other are USB2.
3. The “novo” button may be used to boot to an applet with startup options:
i. Normal Startup
ii. BIOS Setup
iii. Boot Menu
iv. System Recovery
It is important to mention that, the novo menu will not appear if your are running a version of the BIOS that has been corrupted by Windows Recovery. It is near impossible to select a boot device if this has occurred. The solution is to update the BIOS. An "emergency" option to reach a device selection menu is the Windows RE/PE
4. Use a USB keyboard and mouse during setup. The trackpad and built-in keyboard are not detected.
5. Initially, use keyboard and mice on the USB3 port. The BIOS has built in emulation.
6. Windows can not read OS X filesystems, however, OS X can read Windows filesystems.
7. Before you begin, download any installation software and save them on an external disk for offline access.
Examples:
Save Windows drivers or software on the same USB used to install Windows.
Download a combo-update in advance and avoid downloading slowly within Snow Leopard.
8. Your PC will not boot OS X natively, it requires a special boot loader. There are essentially two options for your boot loader: Chimera/Chameleon and Clover.
i. There are some technical differences between Chameleon and Clover. Chimera/Chameleon boot with older BIOS methods, and Clover boot uses newer UEFI methods. Both have merit, but UEFI is the future.
ii. Clover has some “magic,” that while very useful, can mask or cause problems for the novice.
iii.It is recommended to begin with Chimera/Chameleon first to configure your working DSDT, SSDT, and Kexts.
iv. Unfortunately, there are some limitations to using Chimera/Chameleon, notably, that it is unable to boot UEFI installations.
v. This means Chimera/Chameleon is unable to boot pre-installed versions of WIN8.
vi. Therefore, if you wish to dual boot OS X and Windows, you must re-install Windows.
Test for UEFI Windows Installation, using Windows:
1. Open an administrative command prompt, type “diskpart” press enter, once diskpart is loaded, type “list disk” press enter. The table output has a column titled GPT.
2. If a * is present under GPT, the disk is GPT. If the disk is GPT, it must be a UEFI install, because Windows can only be installed to a GPT disk in UEFI mode.
vii. Chimera is the TonyMac fork of Chameleon; easily installed via MultiBeast
viii. Chimera may be “upgraded” to Chameleon with relative ease via Chameleon Wizard
ix. After you have patched and tested both DSDT and SSDT, it is easy to boot with Clover.
9. OS X isn’t coded for non-Apple hardware, therefore we “patch” our DSDT, as well as create a supplemental SSDT.
10. DSDT,SSDT, Kexts, Huh-What? If you’re not already familiar with these terms:
i. DSDT - Differentiated System Description Table
ii. SSDT - Secondary System Description Table
iii. DSDT and SSDT can be thought of as being analogous to a set of instructions provided to the operating system for “talking” to the hardware.
iv. Kext - Kernel Extension broadly analogous to “drivers”
v. DSDT and SSDT are passed to the Operating System by the boot loader.
vi. Our custom SSDT essentially defines the p-states, or power states, for our CPU.
vii. A custom SSDT may be manipulated to further enhance power management, according to processor capability.
viii. “Ivy Bridge” refers the the “3rd Generation Intel Core” family of processors.
Basic Intel processor nomenclature
i3,i5,i7-3***; The 3 refers to Ivy Bridge or 3rd Gen.
i3,i5,i7-2***; The 2 refers to Sandy Bridge or 2nd Gen
Examples:
i7-3537U - Ivy Bridge, 3rd Gen
i7-2600K - Sandy Bridge, 2nd Gen
ix. With the exception of two models, which use Sandy Bridge processors, all U310/U410 notebooks use Ivy Bridge Processors.
x. U310/U410 systems with Sandy Bridge processors require additional configuration for mixed systems

Order of Operations

1. Action: Back-up of all important documents, pictures, software, etc.
Use your preferred method, and get help if you inexperienced. Store this data on a safe external drive. The installation process requires formatting and partitioning your hard drive. Consequently, anything you do not back up will be lost.

2. Action: Prepare UniBeast 10.9 Mavericks USB.
There are two possible scenarios.
A) You have access to a working Mac to create UniBeast USB:
ii. Recommended settings for the Lenovo UEFI/BIOS can be found later in this guide.
B) You do not have access to a working Mac to create UniBeast USB:
i. You must install Snow Leopard using a retail DVD.
(a) Specific Software Versions for the U410/U310:
(I) iBoot Ivy Bridge 1.1.0
(II) Snow Leopard DVD
(III) MultiBeast - Snow Leopard 3.10.1
iii. Important to Configure BIOS before attempting to boot.
v. Special Considerations & Useful Information:
(a) Scenario A is highly preferable. Scenario B is substantially more work.
(b) We must use the iBoot boot loader to boot the Snow Leopard DVD.
(c) This will require the use of an external DVD Drive accessible.
(d) You will not have working ethernet or wireless in Snow Leopard, use Multibeast for Snow Leopard to get working ethernet drivers. Make sure you have a copy of Multibeast for Snow Leopard available Offline.
(e) After installing Snow Leopard from a retail DVD, it is required to update Snow Leopard in order to “install” the App Store. Once you have the App Store, you can download Mavericks. It is “free,” if you already own Snow Leopard, Lion, Mountain Lion.
(f) The download will take a very long time using the on-board LAN. I recommend downloading the required Snow Leopard update prior to installing Snow Leopard. Save the update to USB and install the update offline.

3. Decision: Dual Boot, Multi-Boot or OS X only?
There are more advanced “options,” such as Fusion Drive, however, it is best to consider them after you have gained some experience with the the overall process. There are many possible topics to discuss here that are beyond the scope and purpose of this guide.
A) Important
i. The laptop is configured with a small (24GB or 32GB) mSATA hard drive.
ii. Because of this, OS X Disk Utility tries to configure the device as a Fusion drive.
iii. It is unsuccessful. The attempt however, causes damage to the partition scheme and table. This damage is difficult for the novice to resolve.
(a) Windows diskpart command "clean" should resolve the issue and allow you to continue configuration with diskutil in OS X.
iv. This means we must configure our partition scheme using diskutil in the terminal.
v. Alternatively, if you physically remote the mSATA drive from the motherboard, it is possible to to use Disk Utility GUI. Note, this can be difficult because the screws are potentially glued.
B) Multi-Boot Configuration
i. See A
C) Dual-Boot Configuration
i. See A
D) Fusion Drive.
i. See A.
ii. Advanced topic, requires Clover.
E) General Resource

3a. Action: Configure BIOS
In order to boot and for things to run smoothly, it is important to properly configure the BIOS. An incorrectly configured BIOS can cause various problems, preventing you from being able to successfully boot or install OS X. If you wish to update and patch your BIOS, complete step 3b prior to 3a.
1. Boot the Device using the Novo Button and enter BIOS Setup
2. Configure the BIOS:
A) Configuration Tab
i. USB Legacy - Enabled
ii. WLAN - Enabled
iii. SATA Controller Mode - AHCI
iv. Graphics Device - UMA Only
v. Intel Virtual Tech - Enabled
vi. Bios Back Flash -Enabled
vii. Intel Rapid Start Tech - iRST Disabled
viii. Memory Remap - Enabled
B) Boot Tab
ix. Boot Mode:Legacy Support
x. Boot Priority: Legacy First
xi. USB Boot : Enabled
xii. Boot Priority: 1) ATA HDD, 2)ATA SSD1
3. Exit, saving changes.


Potential Problem Point:
When switching between Optimus and UMA-Only graphics modes, an issue may occur where the device will power on to a black screen. The solution is to clear CMOS.
1. Power off the device
2. Disconnect the AC adapter
3. Remove bottom panel
4. Disconnect the battery
5. Disconnect the CMOS battery
6. Wait 15-20 minutes
7. Reconnect Power Sources
8. Reboot
9. Return to BIOS and verify the previous configuration
10. Save and Exit




3b. Action: Optional Update, PMPatch,Whitelist Disable BIOS
PMPatch allows you to use unmodified AppleIntelCPUPowerManagement.kext. Modification to the BIOS may lead to loss of warranty or even a "bricked" system. I recommend an update to the latest bios before patching.
1. Update to latest 65CN99WW:
Resolve issue, BIOS and boot menu can't be accessed after windows recovery
ReadMe:65cn99ww
2a. PMPatch DOS & Windows Method:
1. Using Windows; Download Bootable USB DOS Creator, unpack and run it.
2. Select the option "Create Bootable Drive" and select MS-DOS folder, that was unpacked with the .exe
3. Press Start and wait for program to finish.
4. Download FTK for DOS and unpack it to the USB.
5. Your FTK-flash disk is ready. Try to boot it and see if you get a DOS prompt from it.
6. Inside DOS execute the following fpt -bios -d dump.bin
7. After it is done creating the dump, shutdown with the command poweroff .
8. Reboot to Windows, unpack PMPatch and copy the dump.bin from the USB to the folder you unpacked PMPatch to.
9. Open an Admin Command Prompt and go to the PMPatch folder (chdir "C:\whatever your path is\").
10. Execute pmpatch dump.bin mod.bin this generates an output file mod.bin that is patched.
11. Copy mod.bin to the USB; reboot to the DOS environment.
12. Flash mod.bin with the command fpt -bios -f mod.bin
13. Use poweroff to shutdown.
2b. Pure Windows Method:
Alternatively this could be done completely within Windows (not recommend). The commands are the same. Use an admin command prompt, chdir to the directory you unpacked FTK for Win to, copy/paste pmpatch to the same directory, execute the following:
1. fpt -bios -d dump.bin
2. pmpatch dump.bin mod.bin
3. fpt -bios -f mod.bin
3. Whitelist Removal:
Take your mod.bin file after PMPatching it, rename it (i.e. 65CN99WW.bin), upload it (dropbox, googledrive, etc), and link to it on bios mods whitelist request forum; politely ask someone to remove/disable the whitelist. You can use the DOS USB you made earlier to flash your new BIOS. Follow the read me posted with your whitelist removed bios.
4. Action: Install OS X.
1. Follow the Guide for 10.9.X: UniBeast: Install OS X Mavericks on Any Supported Intel-based PC
2. Boot UniBeast USB via Novo menu
3. Remember, do not use Disk Utility to configure your partitions schemes. Instead you must use diskutil at the terminal.
4. The following combination of boot flags will successfully boot the 10.9 UniBeast USB on the U410/U310:
Code:
GraphicsEnabler=No IGPEnabler=Yes IGPlatformID=01660003 "Graphics Mode”=1366x768x32 -v
5. After Installation, boot USB again using the Novo menu, this time booting your Mavericks installation, not your USB. (Use the same boot flags used at the installer.)

5. Action: Run MultiBeast
1. Run MultiBeast - Mavericks 6.2.1
Quick Start
Select "DSDT Free"
Drivers
Click on "Disk"
Deselect 3rd Party SATA
Select 10.9.0 Trim Patch
Click on "Network"
Select Realtek - AppleRTL8169Ethernet 2.0.6
Click on "System"
Patched AppleIntelCPUPowerManagement, select OS X 10.9.0
Customize
Click on "Boot Options"
Deselect Hibernate Mode = Desktop
Select Hibernate Mode = Laptop
Click on "System Definitions"
Select MacBook Pro 8,1
Build
Quick Start > DSDT Free
Drivers > Disk > TRIM Enabler > 10.9.0 TRIM Patch
Drivers > Misc > FakeSMC v5.3.820
Drivers > System > Patched AppleIntelCPUPowerManagement > OS X 10.9.0
Drivers > System > AppleRTC Patch for CMOS Reset
Drivers > Network > Realtek - AppleRTL8169Ethernet 2.0.6
Bootloaders > Chimera v2.2.1
Customize > Boot Options > Basic Boot Options
Customize > Boot Options > Generate CPU States
Customize > Boot Options > Hibernate Mode - Laptop
Customize > Boot Options > Use KernelCache
Customize > System Definitions > MacBook Pro > MacBook Pro 8,1
Customize > Themes > tonymacx86 Black
Install

2. Reboot, this using the HDD not the USB.


Problem Point
boot0 Error
boot0 Error: The Official Guide
The following code block is from the above linked guide:
Code:
dd if=/usr/standalone/i386/boot1h of=/dev/[B]disk0s2[/B]
The bold portion needs to be the partition where you have installed OS X.
You can use diskutil at the terminal to find out where you've installed.
Code:
diskutil list
Match up your OS X partition name to find the identifier (diskXsY) you need to insert.
For example on my machine, my OS X is installed to disk1s5, so I would do this
Code:
dd if=/usr/standalone/i386/boot1h of=/dev/[B]disk1s5[/B]


6. Action: Patch DSDT
2. Extract DSDT using MaciASL
3. Apply patches using MaciASL :
system_IRQ.txt dsdt edits, github.com/rehabman -AUDIO
system_SMBUS.txt dsdt edits, github.com/rehabman -MISSING DEVICE
system_RTC.txt dsdt edits, github.com/rehabman -RTC/CMOS RESET FIX
system_ADP1.txt dsdt edits, github.com/rehabman -MISSING DEVICE
system_MCHC.txt dsdt edits, github.com/rehabman -ADD MISSING DEVICE
system_Mutext.txt dsdt edits, github.com/rehabman -FIXES NONZERO MUTEX
graphics_HD4k_low.txt dsdt edits, github.com/rehabman -GRAPHICS INJECTION
graphics_Rename-GFX0.txt dsdt edits, github.com/rehabman -IMPROVED IGPU PWR
battery_Lenovo-Ux10-Z580.txt dsdt edits, github.com/rehabman - BATTERY TOOLS
usb_USB_7-series-id.txt dsdt edits, github.com/rehabman -FIXES INSTANT WAKE
usb_7-series-multiplex.txt, github.com/rehabman -USB2 ON USB3 (EHCI on XHCI)
graphics_PNLF.txt dsdt edits, github.com/rehabman -LIDSLEEP, BRIGHTNESS SLIDER
audio_HDEF-layout12.txt dsdt edits, github.com/rehabman -AUDIO W/ APPLEHDA
fix_WAKv2, github.com/rehabman -FIX ARG0 GARBAGE
4. Compile, saved as DSDT.aml saved in /Extra
5. Use Probook Installer to Generate SSDT. Verify it is created in /Extra

6. Action: Install Supporting Kext(s)
1. Use DPCIManager or Kext Wizard
i. VoodooPS2Controller.kext (and Daemon)
ii. FakeSMC.kext
iii. ACPIBatteryManager.kext
iv. AppleHDA.kext (Attached; ver. 10.9.5)
v. AppleIntelFrameBufferCapri.kext (Attached; ver. 10.9.5)
vi. ACPIBacklight.kext
2. Repair Permissions, and Rebuild Kernel Cache.

Useful Software


DPCIManager Simple OS X app for viewing PCI hardware info
Chameleon Wizard Used to update bootloader and edit org.chameleon.Boot.plist and smbios.plist
Kext Wizard Easy to use Kext Installer and more.
IORegistryExplorer Apple Developer Tool
MacIASL AML compiler and IDE for OS X, with syntax coloring, tree navigation, automated patching,
online patch file repositories, and iASL binary updates.



Patched AppleHDA.kext and AppleIntelFrameBufferCapri.kext Explained


AppleHDA.kext Original Script, provided by Rehabman, which led to the final script, explained here.
AppleIntelFrameBufferCapri.kext Adopted patching script used in probook installer, details here


Sources

Rehabman -VoodooPS2Controller.kext, FakeSMC.kext, ACPIBatteryManager.kext, ACPIBacklight.kext
Compile from source, or see the read-me for links to download on bitbucket
Coderush - PMPatch.exe and BIOS patching using FTK
http://www.insanelymac.com/forum/topic/285444-pmpatch-uefi-patching-utility/page-2

kpkp - Regex search and replace patching AppleIntelFramebufferCapri.kext
Unified AppleIntelFramebufferCapri for Ivy ProBooks


Special thanks to Rehabman, ikkoku, XMYUKON, and TonyMacx86.com

 

Attachments

  • AppleHDA.kext.zip
    1.2 MB · Views: 579
  • AppleIntelFramebufferCapri.kext.zip
    182.7 KB · Views: 533
Last edited:
For those of you with an unsupported WiFi card (Intel Centrino® Wireless-B\G\N 2200/2230) there is another option for you to get WiFi working:

-Without opening the case and replacing hardware (voiding warranties), and flashing the BIOS to remove the whitelist (risky if you don't know what you are doing, also voids warranty)

-(Link) Nano WiFi Wireless-N USB adapter ($7.44):
http://www.monoprice.com/Product?c_id=105&cp_id=10501&cs_id=1050108&p_id=8072&seq=1&format=2



-(Drivers) You will want "RTL8188CUS" from this link. Scroll down:
http://www.realtek.com.tw/downloads...228&DownTypeID=3&GetDown=false&Downloads=true

PROS:
-You keep your native built-in Bluetooth 4.0
-Less power consumption using a USB WiFi than a built-in card
-Keep warranty and vanilla BIOS, don't have to open case

CONS:
-Takes up one of your three USB ports for WiFi
-Dousn't use the AirPort App, you need to use the Realtek WiFi App to connect to networks (No WiFi in menu bar)
 
It's probably due to the a word in the SPAM filters.
 
Please forgive me, this is my first attempt at a mackintosh. I installed Mavericks on my U410 but am a little lost when it comes to multi beast. I understand that the files provided above need to be loaded but don't know how to go about it. Im not sure what Quick Start option to select in multi beast and how to get files to show in multi beast. Also, you mentioned that your u410 is identified as a MB Air and the 6.0 version of multi beast does not have MB Air as an option. Any help is greatly appreciated.
 
Please forgive me, this is my first attempt at a mackintosh. I installed Mavericks on my U410 but am a little lost when it comes to multi beast. I understand that the files provided above need to be loaded but don't know how to go about it. Im not sure what Quick Start option to select in multi beast and how to get files to show in multi beast. Also, you mentioned that your u410 is identified as a MB Air and the 6.0 version of multi beast does not have MB Air as an option. Any help is greatly appreciated.

Select Macbook Pro 8,1 smbios in multibeast initially, then you can change it later with Chameleon Wizard to MBA5,2. In multibeast, you will want to select patched appleintelcpupowermanagement, trim enabler (if you have an ssd), realtek8169 for ethernet, and the MBP 8,1 smbios as I stated. Then, follow Rehabman's "power management" sticky in the mountain lion section.
 
Status
Not open for further replies.
Back
Top