Welcome to osx86.net

If you need help with your Hackintosh we have all the drivers, kexts and bootloaders and other stuff that you hadn't figured out you needed yet. Register now to get access to all of the files and forums.


HackinDoge

ASUS X555LB-NS51 "HacBook Pro"

19 posts in this topic

ZdU9B7E.jpg

 

ASUS X555LB-NS51

Specs

CPU: Intel i5-5200U 2.2GHz

RAM: 8GB DDR3-1600

GPU: Intel HD5500 / NVIDIA GeForce GT940M

HDD: 750GB 7200RPM HDD

 

Not Working

WiFi (replace with BCM94360HMB)

 

To-Do

Guide is not final and is subject to change; still looking for bugs.

SD Card Reader

 

Spoiler

I am aware of a couple other guides floating around for ASUS laptops in the same family.  It wasn't until very late in the installation process that I found these guides, and so I can say with certainty that the contents herein are the result of my own independent research.

 

If anyone should have any concerns regarding this matter, if you find any mistakes in this guide, or if you have any other questions, feel free to let me know.

 

Installation Guide

This guide only contains installation information unique to this laptop, and a few essential how-to's.  For complete documentation on how to perform basic tasks, please search around before asking.

 

Access to a working OS X system is required for this guide, and the OS we'll be using is OS X 10.11 El Capitan.

 

I.  Pre-Installation

Spoiler

Set the following in the BIOS:

 

VT-d = Disabled

DVMT = 128MB

Fast Boot = Disabled

Secure Boot = Disabled

CSM = Enabled

II. Installation

Spoiler

1.  Manually create an installer USB:


/Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume [path to USB, i.e. /Volumes/USB] --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction

2.  Install Clover to the USB with the following options:

 

[*] Install for UEFI booting only

[*] Install Clover in the ESP

[-] Drivers64UEFI

 |-- [*] OsxAptioFixDrv-64

 |-- [*] EmuVariableUEFI-64

 

(Optional) Themes > black_green

 

3.  Paste the following in [USB]/EFI/CLOVER/config.plist:

 

Spoiler


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>ACPI</key>
	<dict>
		<key>SSDT</key>
		<dict>
			<key>DropOem</key>
			<false/>
			<key>Generate</key>
			<false/>
		</dict>
	</dict>
	<key>Boot</key>
	<dict>
		<key>Arguments</key>
		<string>nv_disable=1</string>
		<key>Timeout</key>
		<integer>5</integer>
	</dict>
	<key>Graphics</key>
	<dict>
		<key>Inject</key>
		<true/>
		<key>ig-platform-id</key>
		<string>0x16260006</string>
	</dict>
	<key>GUI</key>
	<dict>
		<key>Scan</key>
		<dict>
			<key>Legacy</key>
			<false/>
		</dict>
		<key>ScreenResolution</key>
		<string>1920x1080</string>
	</dict>
	<key>KernelAndKextPatches</key>
	<dict>
		<key>KernelPm</key>
		<true/>
	</dict>
	<key>RtVariables</key>
	<dict>
		<key>BooterConfig</key>
		<string>0x28</string>
		<key>CsrActiveConfig</key>
		<string>0x3</string>
	</dict>
	<key>SystemParameters</key>
	<dict>
		<key>InjectKexts</key>
		<true/>
	</dict>
</dict>
</plist>

 

 

4.  Place the following kexts in [USB]/EFI/CLOVER/kexts/10.11: X555LB_kexts_installation.zip - 237KB

 

5.  Boot from the installer.  You should reach the install screen without any further tweaking, and installation should be successful.

III. Post Installation

Spoiler

1.  Boot into the HDD via the installation USB's Clover bootloader.

2.  Install Clover to the HDD using the same options as the installer, except adding these additional options:

 

[*] Install RC scripts on target volume

[*] Install Clover preference pane

 

3.  Paste the following in [ESP]/EFI/CLOVER/config.plist:

 

Spoiler


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>ACPI</key>
	<dict>
		<key>SortedOrder</key>
		<array>
			<string>SSDT.aml</string>
			<string>SSDT-0.aml</string>
			<string>SSDT-1.aml</string>
			<string>SSDT-2.aml</string>
			<string>SSDT-3.aml</string>
			<string>SSDT-4.aml</string>
			<string>SSDT-5.aml</string>
			<string>SSDT-6.aml</string>
			<string>SSDT-7.aml</string>
			<string>SSDT-8.aml</string>
			<string>SSDT-9.aml</string>
			<string>SSDT-10.aml</string>
			<string>SSDT-11.aml</string>
			<string>SSDT-12.aml</string>
			<string>SSDT-13.aml</string>
		</array>
		<key>SSDT</key>
		<dict>
			<key>DropOem</key>
			<false/>
			<key>Generate</key>
			<false/>
		</dict>
	</dict>
	<key>Boot</key>
	<dict>
		<key>DefaultVolume</key>
		<string>Macintosh HD</string>
		<key>Timeout</key>
		<integer>0</integer>
	</dict>
	<key>Graphics</key>
	<dict>
		<key>Inject</key>
		<dict>
			<key>Intel</key>
			<true/>
		</dict>
		<key>ig-platform-id</key>
		<string>0x16260006</string>
	</dict>
	<key>GUI</key>
	<dict>
		<key>Scan</key>
		<dict>
			<key>Legacy</key>
			<false/>
		</dict>
		<key>ScreenResolution</key>
		<string>1920x1080</string>
	</dict>
	<key>KernelAndKextPatches</key>
	<dict>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Comment</key>
				<string>Expect 2 matches</string>
				<key>Find</key>
				<data>YQLsEA==</data>
				<key>Replace</key>
				<data>AAAAAA==</data>
			</dict>
			<dict>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Comment</key>
				<string>Expect 2 matches</string>
				<key>Find</key>
				<data>YgLsEA==</data>
				<key>Replace</key>
				<data>AAAAAA==</data>
			</dict>
			<dict>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Comment</key>
				<string>Expect 2 matches</string>
				<key>Find</key>
				<data>hQjsEA==</data>
				<key>Replace</key>
				<data>AAAAAA==</data>
			</dict>
			<dict>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Comment</key>
				<string>Expect 2 matches</string>
				<key>Find</key>
				<data>gxnUEQ==</data>
				<key>Replace</key>
				<data>AAAAAA==</data>
			</dict>
			<dict>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Comment</key>
				<string>Expect 2 matches</string>
				<key>Find</key>
				<data>hBnUEQ==</data>
				<key>Replace</key>
				<data>MwLsEA==</data>
			</dict>
			<dict>
				<key>Name</key>
				<string>IOGraphicsFamily</string>
				<key>Comment</key>
				<string>Boot graphics glitch, 10.10.x/10.11.x (credit lisai9093, cecekpawon)</string>
				<key>Find</key>
				<data>AQAAdRc=</data>
				<key>Replace</key>
				<data>AQAA6xc=</data>
			</dict>
		</array>
		<key>KernelPm</key>
		<true/>
	</dict>
	<key>RtVariables</key>
	<dict>
		<key>BooterConfig</key>
		<string>0x28</string>
		<key>CsrActiveConfig</key>
		<string>0x3</string>
	</dict>
	<key>SMBIOS</key>
    <dict>
        <key>BiosReleaseDate</key>
        <string>03/24/2015</string>
        <key>BiosVendor</key>
        <string>Apple Inc.</string>
        <key>BiosVersion</key>
        <string>MBP121.88Z.0167.B02.1503241251</string>
        <key>Board-ID</key>
        <string>Mac-E43C1C25D4880AD6</string>
        <key>BoardManufacturer</key>
        <string>Apple Inc.</string>
        <key>BoardType</key>
        <integer>10</integer>
        <key>ChassisAssetTag</key>
        <string>MacBook-Aluminum</string>
        <key>ChassisManufacturer</key>
        <string>Apple Inc.</string>
        <key>ChassisType</key>
        <string>08</string>
        <key>Family</key>
        <string>MacBook Pro</string>
        <key>Manufacturer</key>
        <string>Apple Inc.</string>
        <key>Memory</key>
		<dict>
			<key>Channels</key>
			<integer>2</integer>
			<key>Modules</key>
			<array>
				<dict>
					<key>Frequency</key>
					<string>1600</string>
					<key>Size</key>
					<string>8192</string>
					<key>Slot</key>
					<string>0</string>
					<key>Type</key>
					<string>DDR3</string>
					<key>Vendor</key>
					<string>ASUS</string>
				</dict>
			</array>
			<key>SlotCount</key>
			<integer>1</integer>
		</dict>
        <key>Mobile</key>
        <true/>
        <key>ProductName</key>
        <string>MacBookPro12,1</string>
        <key>Trust</key>
        <true/>
        <key>Version</key>
        <string>1.0</string>
    </dict>
	<key>SystemParameters</key>
	<dict>
		<key>InjectKexts</key>
		<true/>
	</dict>
</dict>
</plist>

 

 

4.  Download the following kexts and place them in [ESP]/EFI/CLOVER/kexts/10.11: X555LB_kexts.zip - 519KB

 

5.  Reboot.  Press any key repeatedly to delay Clover from booting OS X, then press F4.  Boot OS X.

 

At this point, we only need to do a few more things:

 

Disable NVIDIA GPU

Spoiler

1.  Mount the ESP:



mkdir /Volumes/EFI; sudo mount_msdos /dev/disk0s1 /Volumes/EFI

2.  Copy all relevant ACPI tables to the desktop:



mkdir ~/Desktop/ACPI

cd /EFI/CLOVER/ACPI/origin; cp DSDT.aml SSDT-*.aml ~/Desktop/ACPI

3.  Disassemble the ACPI tables using iasl:



cd ~/Desktop/ACPI

/path/to/iasl -da -dl *.aml

4.  Open SSDT-12.dsl with MaciASL.  Go to Preferences and change the iASL "ACPI Specification" to 5.1.  Back in the main window, click "Patch", and enter the following into the subsequent window:



into method label _INI insert begin
External (\_SB.PCI0.RP05._OFF, MethodObj)\n
_OFF ()\n
end;

Click "Apply".

 

5.  Navigate to \_SB.PCI0.RP05.PEGP > SGOF in the sidebar, and delete the following lines:



Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0521), Local0)
And (Local0, 0xCF, Local0)
\_SB.PCI0.LPCB.EC0.WRAM (0x0521, Local0)
\_SB.PCI0.LPCB.EC0.WRAM (0x0520, 0x95)
\_SB.PCI0.LPCB.EC0.WRAM (0x03A4, Zero)
\_SB.PCI0.LPCB.EC0.WRAM (0x03A5, Zero)

6.  Compile the SSDT, save it as an ACPI Machine Language Binary file named "SSDT-12.aml", and place it in [ESP]/EFI/CLOVER/ACPI/patched.

 

Patch DSDT

Spoiler

1.  Open ~/Desktop/ACPI/DSDT.dsl with MaciASL.

2.  In the menu bar, go to MaciASL > Preferences > Sources, and add the following repo: http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master

3.  Apply the following patches, in this order: [Syntax], [System], [USB], [Graphics], [Battery], [Audio]

 

[Syntax]

Spoiler

1.  Fix PARSEOP_ZERO Error

2.  Fix ADBG Error

3.  Remove _DSM Methods

 

[System]

Spoiler

1.  Add IEMI

2.  Add MCHC

 

[USB]

 

  • USB3 _PRW(0x0D) and Rename XHC to XHC1

 

[Graphics]

 

  • Brightness fix (Haswell/Broadwell)
  • Rename GFX0 to IGPU

 

[Battery]

 

  • ASUS N555SL/VivoBook

 

[Audio]

 

  • Audio Layout 3

 

4.  Paste the following in the patch window:



into method label _Q0E replace_content
begin
If (ATKP)\n
	{\n
		\_SB.ATKD.IANE (0x20)\n
	}\n
end;

into method label _Q0F replace_content
begin 
If (ATKP)\n
	{\n
		\_SB.ATKD.IANE (0x10)\n
	}\n
end;

into method label _REG parent_hid PNP0C09 insert
begin
If (LAnd(LEqual(Arg0,3),LEqual(Arg1,1)))\n
{\n
    Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0521), Local0)\n
    And (Local0, 0xCF, Local0)\n
    \_SB.PCI0.LPCB.EC0.WRAM (0x0521, Local0)\n
    \_SB.PCI0.LPCB.EC0.WRAM (0x0520, 0x95)\n
    \_SB.PCI0.LPCB.EC0.WRAM (0x03A4, Zero)\n
    \_SB.PCI0.LPCB.EC0.WRAM (0x03A5, Zero)\n
}\n
end;

5.  You should receive 1 Error concerning Method _DOS.  Navigate to it, then simply uncomment (remove the "//" before the line) the line the program tells you to uncomment.

 

5.  Compile the DSDT and save it as an ACPI Machine Language Binary file named "DSDT.aml".

 

6.  Place the finished DSDT in [ESP]/EFI/CLOVER/ACPI/patched.

 

Rename GFX0 to IGPU

Spoiler

1.  Copy SSDT-0.aml and SSDT-1.aml from ~/Desktop/ACPI to [ESP]/EFI/CLOVER/ACPI/patched.

2.  Apply the "Rename GFX0 to IGPU" patch (under [Graphics]) to SSDT-8.dsl, SSDT-11.dsl, and SSDT-13.dsl, then compile and copy the exported ACPI Machine Language Binary files to [ESP]/EFI/CLOVER/ACPI/patched.  For SSDT-11, you'll need to apply the following patches to get rid of the GPPR errors:



into method label GPPR replace_content begin //nothing end;

into definitionblock code_regex External.*_SB_\.PCI0\.PEG0\.PEGP\.SGPO,.*MethodObj.* remove_matched;

3.  Set ACPI > SSDT > DropOem in config.plist to <true/>.

 

Enable Audio

 

1.  Download the following kext: DummyHDA-ALC233.zip - 11KB

2.  Place it in /System/Library/Extensions.

 

Power Management

Spoiler

1.  Download ssdtPRGen:



curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh; chmod +x ~/ssdtPRGen.sh

curl -o ~/Library/ssdtPRGen.zip https://codeload.github.com/Piker-Alpha/ssdtPRGen.sh/zip/Beta
unzip -qu ~/Library/ssdtPRGen.zip -d ~/Library/
mv ~/Library/ssdtPRGen.sh-Beta ~/Library/ssdtPRGen; rm ~/Library/ssdtPRGen.zip

2.  Run the script:



~/ssdtPRGen.sh -b Mac-E43C1C25D4880AD6 -m MacBookPro12,1 -x 1

3.  Copy the finished SSDT to the ESP:



cp ~/Library/ssdtPRGen/SSDT.aml /EFI/CLOVER/ACPI/patched

4.  Open /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/Resources/Mac-E43C1C25D4880AD6.plist using Xcode.

5.  Navigate to IOPlatformPowerProfile > FrequencyVectors > Item 0 in the PLIST.  Change the second value from 0d000000 to 08000000, then save the PLIST.

6.  Open /System/Library/Extensions/AppleGraphicsPowerManagement.kext/Contents/Info.plist and find the Mac-E43C1C25D4880AD6 <key>.  Look for the GT3Floor <key> inside, and change it's value to 6.  Save the PLIST.

7.  Repair permissions:



cd /System/Library; sudo chmod -R 755 Extensions; sudo chown -R 0:0 Extensions; sudo touch Extensions

sudo kextcache -system-prelinked-kernel; sudo kextcache -system-caches

8.  Reboot.

 

The post installation steps above are meant to be done in order, from top to bottom, in one boot cycle (meaning, don't reboot in between them).  You cannot pick and choose from "Disable NVIDIA GPU", "Patch DSDT", and "Rename GFX0 to IGPU" (unless you know what you're doing and can read between the lines to eliminate any interdependent steps); if you do, you will break your system.  "Enable Audio" and "Power Management" can be considered as "standalone", meaning the entire system won't explode if you don't do them, although failing to complete "Power Management" will cause your CPU/GPU to run at higher-than-normal frequencies when idling, which will decrease the lifetime of your hardware as well as battery life.  "Enable Audio" will not work without "Patch DSDT"; if you, for some reason, choose not to patch the DSDT, be sure you inject layout-id 3 via Clover.  Both "Enable Audio" and "Power Management" require a repair of permissions, so if you somehow decide to only choose one, make sure you repair permissions after you've completed all the respective steps.

 

 

Dual-Booting

The process for dual-booting is pretty straightforward.  Before you begin, make sure you backup your EFI folder to a FAT32-formatted flash drive.

Spoiler

1.  Shrink your OS X partition in Disk Utility to your desired size (i.e. 64-512GB).  The new Disk Utility, for some weird reason, doesn't allow unformatted free space, so create a sacrificial FAT32 partition in the remainder.

2.  Download the latest version of GParted (gparted-live-[latest version]-amd64.iso).

3.  Flash GParted to a USB drive:


hdiutil convert -format UDRW -o ~/path/to/GParted.img ~/path/to/gparted-*.iso

mv ~/path/to/GParted.img.dmg ~/path/to/GParted.img

diskutil list

# Find your USB drive on the list.

sudo dd if=~/path/to/GParted.img of=[USB Disk Identifier] bs=1m

4.  Boot from your GParted USB, preferably in UEFI mode.  Delete your sacrificial FAT32 partition, and in it's stead, create an NTFS partition with your desired size.

5.  Obtain and boot from a Windows installer.  Go through the menus until you reach the Standard and Custom Installation choices.  Pick "Custom Installation", select the NTFS partition you created, and install Windows.

6.  Let Windows boot, and configure it as you like.  To make sure the Windows and OS X clocks don't conflict, we need to add a DWORD with a value of 1 named "RealTimeIsUniversal" to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation.  To do this, run (Windows key + R) "regedit", navigate to the path in the left pane, then right click in the right pane and add the DWORD.

7.  Boot into OS X with the EFI partition you hopefully backed up on a FAT32 flash drive, reinstall Clover, then copy EFI/BOOT and EFI/CLOVER from your backup to the ESP.  Make sure, during this process, the Microsoft folder in [ESP]/EFI is not damaged.  Clover will not overwrite it during reinstallation, but if you copy over the entire EFI folder, you risk overwriting it entirely.  Without the Microsoft folder, you will not be able to boot Windows, and you will have to reinstall.

 

Optional: If you don't want your Windows partition automatically mounting in OS X, you can do the following:

 

1.  Open System Information.app and, in the left pane, navigate to "SATA/SATA Express".

2.  Select your hard drive in the right pane, then in the bottom pane, find your Windows partition.  Take note of it's Volume UUID.

3.  Add the following to /etc/fstab, which will likely need to be created:


UUID=[Volume UUID]	none	ntfs	rw,noauto

Save the file, exit, then reboot.  The Windows partition should no longer mount on boot.

 

BIOS Modding - MSR Unlock

Up until now, we've been booting with KernelPm=true.  While this does allow us into the OS, it isn't exactly a "true" power management solution; it only bypasses the kernel panic.

 

Quote

Better is to get a patched (read unlocked) BIOS because all the (Clover) patch does is stop the reboot loop, but power management is not 100% functional.

 

--PikerAlpha [source]

 

That doesn't necessarily mean that KernelPm is a bad thing, or that your Hackintosh isn't functioning correctly.  It's just less "native".

 

The following is based on the process in this guide.

 

Spoiler

1.  Download the AMI Firmware Update Utility.

2.  Extract the ZIP, navigate to AMIBIOS_and_Aptio_AMI_Firmware_Update_Utility\AptioV\afu\afuwin\64, extract AfuWin64.zip, then launch afuwingui.exe.

3.  Click "Save" at the bottom of the window.  Save the BIOS dump as "X555LB.rom".

4.  Download MMTool 5.0.0.7.  Once inside the tool, click "Load Image" and select your BIOS dump.

5.  Scroll through the bottom pane until you find the Setup module.  For my laptop, it's at Index 3E.

6.  Switch to the "Extract" tab, choose an output location in the "Module file" form (save the file as "setup.bin"), and, making sure the Setup module is selected, click "Extract".  You should be able to "Extract As is" under Extract FFS Options.

7.  Download Universal IFR Extractor v0.6.  Open your setup.bin in the tool; if the protocol stays "Unknown", you'll need to extract your Setup module as UnCompressed in MMTool.

8.  Open the outputted TXT.  From here, you have two options:

 

Disable MSR Lock via EFI Shell - Easier, Less Risky, Untested by Me - Based on Step 2.2 of This Guide

Spoiler

1.  Find "CFG Lock".  You should see a section similar to this:



Setting: CFG lock, Variable: 0x88 {05 91 BE 02 BF 02 71 00 01 00 88 00 10 10 00 01 00}
 	Option: Disabled, Value: 0x0 {09 07 EF 01 00 00 00}
 	Option: Enabled, Value: 0x1 {09 07 EE 01 30 00 01}
 End of Options {29 02}

Take note of the Setting Variable (in this case, "0x88") and the "Disabled" value (0x0).

 

2.  Download the EFI Shell, and copy the extracted BOOT folder to a FAT32-formatted flash drive.

3.  Run the following when you've booted into the EFI Shell:



setup_var [Setting Variable] ["Disabled" value]

4.  Reboot and try booting without KernelPm.  Note that if you ever restore your BIOS settings to the Optimized Defaults, you may need to do this procedure again.

 

Disable MSR Lock via Unlocked Boot Menu - Slightly Harder, Riskier, Confirmed Working by Me

Spoiler

1.  Find "CPU Configuration".  There will be multiple matches, but find the section nearest the top of the file that looks something like this:



Suppress If: {0A 82}
 	Variable 0x46B equals 0x1 {12 86 6B 04 01 00}
 		Not {17 02}
 	End {29 02}
 	Ref: CPU Configuration, Variable: 0xFFFF {0F 0F 55 02 56 02 15 00 00 00 FF FF 00 21 27}
 End If {29 02}

2.  Download HxD, then open the setup.bin you extracted with MMTool.

3.  Search for the hex value of the menu, which is the combination of the values inside the brackets, from top to bottom.  So, using the above as an example, we would search for:



0A 82 12 86 6B 04 01 00 17 02 29 02 0F 0F 55 02 56 02 15 00 00 00 FF FF 00 21 27

Make sure the "Datatype" is set to "Hex-values" when searching.

 

4.  There should only be one match.  When you've found it, refer back to the output from the Universal IFR Extractor.  Take a moment to contemplate the first and second lines: "Suppress If:", "Variable 0x46B equals 0x1", and "{12 86 6B 04 01 00}".  Looking at the hex value, we can see that "6B 04" is the variable they speak of, and "01 00" is the value.

 

Before we continue, note that you could theoretically use the EFI Shell method above, now that you know the variable and the value.  However, like the earlier method, it's likely that the change will only be temporary, should you reset your BIOS settings for any reason.  The purpose of this section is to demonstrate how to make the change permanent/toggle-able, with a few bonuses, so we'll move on.

 

Make sure, in HxD, the hex value in question is highlighted, so you don't lose it.  The value won't be highlighted when editing, but the important part is that you keep track of which string you're editing.  There are multiple "12 86 6B 04 01 00" strings in the file, and you could end up enabling the wrong menu, or even, potentially break the module.

 

5.  Keeping in mind what we learned earlier in Step 4, change the value so that 0x1 becomes 0x0:

 

Before: 0a 82 12 86 6B 04 01 00 17 02 29 02 0F 0F 55 02 56 02 15 00 00 00 FF FF 00 21 27

After:   0a 82 12 86 6B 04 00 00 17 02 29 02 0F 0F 55 02 56 02 15 00 00 00 FF FF 00 21 27

 

6.  Save the file.  Back in MMTool (refer to Steps 4-5 in the main section if you closed the program), click on the "Replace" tab, point it to your modified Setup module, then click "Replace".  Make sure the Setup module is selected in the bottom pane before replacing.

7.  In the left area of MMTool, click "Save Image as...", and save the ROM.  Don't overwrite the old ROM, in case you need it again.  You can ignore the "saving as unsigned" warning.

8.  Open the AMI Firmware Update Utility (refer to Step 2 in the main section).  Click "Open" in the bottom left and point the program to your modified ROM.  This should automatically bring you to the "Setup" tab.

9.  Under "Block Options", tick the "Program All Blocks" box, and then click "Flash".  Make sure you're plugged in and/or at an adequate battery level before flashing.

10.  Reboot into the BIOS settings when the flash is complete.  Restore Optimized Defaults, Save Changes and Exit, then re-set your Hackintosh options from Section I - Pre-Installation.  The CPU Configuration menu should now be visible in "Advanced".

11.  Scroll down until you find "CFG Lock", then disable it.  After this, you should be able to boot OS X without KernelPm.

 

 

----

Credits

RehabMan - For his excellent laptop resources

Mieze - For her work on the RTL8111 LAN family

EMlyDinEsH - For his work on the ASUS trackpad/keyboard PS2 driver

Mirone - For his work on the ALC233 codec

PikerAlpha - For ssdtPRGen.sh and his help on power management

...and anyone else I forgot to mention! :victorious:

TpwUK, kyndder, vcreatyv and 3 others like this

Share this post


Link to post
Share on other sites
3 minutes ago, noname said:

Nice. :)

 

Long time no see. :)

 

Hey @noname!  Yes it has!

 

This is what I've been working on for the past week. :P

noname likes this

Share this post


Link to post
Share on other sites

Hello, 

All I have to say is that after following these steps, I finally reached the setup screen on my Asus X555AL laptop!!

But, I used the following boot flags: -v npci=0x3000 kext-dev-mode=1 nv_disabled=1 GraphicsEnable=No

 

thank you so much for the guide! ;)

HackinDoge and Rene like this

Share this post


Link to post
Share on other sites

Hello, i got a question, can I boot from windows and OSX, or I just lose the windows patition? 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now