Jump to content



Member Since 10 Jan 2012
Offline Last Active Today, 12:17 AM

Topics I've Started

Creating a daemon to turn Off/On screen at boot

16 November 2013 - 07:48 PM

Hi everyone, i have a cosmetic issue with Mavericks where the brightness control works only after the Screen is turned OFF/On, what i need to do is simply to create a daemon that does this thing at every Mavericks start.  Tried tu use apps like SleepDisplay to start at boot but it only works once i enter my password, this solution brings me back to the start screen which is annoying (still it activate brightness control).  Can any experienced people help me on this ?

[Guide] OSX Mavericks 10.9 on MSI Haswell GT70-2oD, GT60-2oD, GT60 2oc Barebone GT70, B...

27 October 2013 - 03:48 PM

Note: If you own a GT70-2PC or newer GT70 version (with Nvidia GTX 8xx) please consider this thread instead.


The config:

  • CPU
    The latest 4th generation Intel® Core™ i7 Processor
  • Chipset
    Intel® HM87
  • Memory
    DDR3L up to 1600MHz, 4 slots, Max: 32GB
  • LCD Size
    17.3" Full HD (1920x1080), Anti-glare
  • Graphics
    Nvidia GeForce GTX 780m 4GB VRAM GDDR5
  • Optical Drive
    BD Writer / BD Combo / DVD Super Multi
  • Audio
    Audio Boost, 2x2W Speakers, 1 subwoofer
  • Webcam
    HD type(30fps@720p)
  • Card Reader
  • LAN
    Killer DoubleShot
  • Wireless LAN
    Killer DoubleShot
  • Bluetooth
  • D-Sub (VGA)
  • HDMI
  • USB 2.0 port
  • USB 3.0 port
  • Mic-in/Headphone-out
  • Line-in

Step 1 : Address Early Reboot: Without this Step the laptop will reboot a few seconds after we select the installer.

Option 1: mach_kernel Patching:

When creating the USB installer, follow the steps provided by RehabMan in the opening post: http://www.insanelym...63cl-i7-4700mq/


If using Clover as bootloader, simply use KernelPm=true as boot argument.


Option 2: Bios Patching: (long term solution, no more need to patch mach_kernel on overy OSX update):

You have 2 choices here : 1- You can either backup and patch your own Bios using this thread : http://www.insanelym...ty/?hl= pmpatch

2- Use my patched Bios (this one is only for Barebone GT70 model 1763-001 (780m GTX version) , Do not use it on other versions!)


Once patched just flash it by creating a Dos Bootable USB key using the clear explanation here : http://forum-en.msi....orum-flash-tool .  When succesfully created you will have a USB content like this:


Screenshot (7).png


You will notice that there are 2 large files : E1763IG6.70H (this is the newest Bios attached in this topic) and the E1763SSS.703 (which is the older one that i kept there just in case).  In your case you will only have one of them.  I would suggest to also copy an untouched Bios for your specific Laptop on the USB key to flash it back if anything goes wrong.


In order to boot with this USB key make sure to put your Bios into Legacy Mode (Not UEFI or UEFI + Csm), and make sure to have both Battery and AC plugged.  Once at the boot screen (red text) go to command Line (Shift + F5).


Use the following command : AFUDE238 E1763IG6.70H (in this case we are flashing the latest Bios, if using another Bios replace E1763IG6.70H by your Bios file name).

The flash operation will start (don't freak out if the fans go 100% its normal).  Make sure that all the lines are saying Done or OK ( if not perform the same command but using your previous Bios).


If everything is ok, shut down your PC, unplug the battery and the AC cable and leave it for 30 seconds, turn it on again, go into the Bios and use RESTORE TO DEFAULTS, save and reboot.


The risky Part is done, now the easy stuff.


Step 2 : Mavericks USB Creation:


Simply follow this guide, pretty straight forward :



If using Clover, install it first on the USB key ( with the option for UEFI Motherboard and the drivers for UEFI64).


The options to check when installing Clover are as shown in this screenshot:

Attached File  Screen Shot 2014-08-22 at 5.04.26 PM.png   641.38KB   8 downloads


If Using Chameleon, same thing, install Chameleon on the USB Key and check the following options:

Attached File  Screen Shot 2014-08-22 at 5.22.13 PM.png   435.78KB   5 downloads

Attached File  Screen Shot 2014-08-22 at 5.23.04 PM.png   464.5KB   4 downloads


Now we are good to go.


Step 3 : Installation:


Go back into Bios and ensure the followings:

-Disk Mode : AHCI

-Fast Boot : Disabled ( Enabled works the same but just in case for now).

-If using clover : Boot Mode = UEFI then select your USB key as first boot device

-If Using Chameleon, Boot Legacy and select the USB key as first device to boot.


Do not use any boot arguments as they are already embedded in my Clover or Chameleon files.  (if it doesn't boot, try adding -f )

Once at the OSX Installation, do your stuff the way you want then reboot


Step 4 : First Boot:


Boot again from the USB Key (again if it doesn't boot use -f), then install your bootloader on the HDD this time (and using same options above).  When installing clover the EFI partition will be mounted.  Extract these files Attached File  DSDT+SSDTs.zip   36.57KB   25 downloads into EFI/Clover/ACPI/Patched.

Next use CloverConfigurator to build your config.plist the way you want, i am using the following options for my build, everything is working stable:


Attached File  Screen Shot 2014-08-22 at 5.29.30 PM.png   467.38KB   6 downloads

Attached File  Screen Shot 2014-08-22 at 5.29.53 PM.png   431.36KB   2 downloads

Attached File  Screen Shot 2014-08-22 at 5.30.00 PM.png   422.09KB   2 downloads

Attached File  Screen Shot 2014-08-22 at 5.30.07 PM.png   402.23KB   2 downloads

Attached File  Screen Shot 2014-08-22 at 5.30.17 PM.png   361.95KB   2 downloads

Attached File  Screen Shot 2014-08-22 at 5.30.24 PM.png   413.33KB   2 downloads

Attached File  Screen Shot 2014-08-22 at 5.30.28 PM.png   386.39KB   2 downloads

Attached File  Screen Shot 2014-08-22 at 5.30.56 PM.png   393.12KB   2 downloads

Attached File  Screen Shot 2014-08-22 at 5.30.59 PM.png   411.53KB   2 downloads

Attached File  Screen Shot 2014-08-22 at 5.31.21 PM.png   423.34KB   3 downloads


Put FakeSMC.kext in EFI/Clover/Kexts/10.9 just in case you forget to install it on your HDD.


 If Installing Chameleon Bootloader, once you use the same installation options above copy the DSDT.aml into /Extra on your HDD root and by using Chameleon Wizard, create your own Smbios.Plist and org.chameleon.boot.plist according to clover's options in the screenshots.  Rebuild caches, again make sure the FakeSMC.kext is installed into your System/Library/Extensions and reboot but this time from your local drive.


The best SMBios to use is Macbook Pro 11,2.  Please note that in order to boot with this Smbios using clover you need to add the followings in /System/Library/CoreServices/PlatformSupport.plist:

Under <key>SupportedBoardIds</key> :



and under <key>SupportedModelProperties</key>:



-If using Chameleon you may have Boot 0 : Error , if so do the following:


Boot again from the USB key to the Installer
Run Disk Utility and unmount the drive you installed OSX on (and take note of its disk number, click on your OSX HDD then Info, you will see DiskXsY, example : disk0s1)
Launch Terminal and execute the following command (replace X and Y by your values):

dd if=/usr/standalone/i386/boot1h of=/dev/diskXsY

Exit Terminal
Reboot Normally


-Using Clover is much easier: boot again from your USB key onto clover, then go to Clover Boot Options, there may be 2 of them (one for USB and the other one for HDD, select the HDD one), add your UEFI entry in the boot menu then reboot.  You will find in your Bios Clover X Boot as a UEFI boot option.


Step 5 : Post Install:


Install the attached Kext for Battery and AppleHDA for Audio + EAPD kext to get audio after sleep.

Install the AppleBacklight.kext Attached File  AppleBacklight.kext.zip   20.56KB   27 downloads to get native brightness control (using Pause/Break for brightness up and Scroll/Lock for Brightness down).  No more need for Blinkscreen.  Warning: The attached kext is for 10.9.4 only (you may test it on older versions at your own risk, i did not test it myself but you may let me know), if you want the same for 10.9.0 up to10.9.3 follow RehabMan's instructions, google : native brightness working without blinkscreen and go to the first link.


Also check you EFI folder, you need to have only the following drivers in EFI/Clover/Drivers64UEFI:




HFSPlus-64.efi (in replacement of VBox-64.efi), this one provides faster cache loading.




Last Thing:

-If installing 10.9.2 or higher, make sure to install the kexts for IntelHD and Nvidia from 10.9.1 or it won't boot anymore.


So what works:


-Intel HD 4600 with full acceleration.
-HDMI video out
-All USB ports (2.0 and 3.0) Nativelly working at full speed.
-Blueray working (you may have something different, feel free to check)
-Webcam native.
-Audio using applehda with all pins working (Also Audio working after sleep).
-Bluetooth working.
-Keyboard, Fn Keys, Trackpad with 2 fingers scrolling (both horizontal and vertical + disable) - Use the Keyboard kexts that you want, Check for RehabMan PS2 Controller-> the best.
-Keyboard backlight and control

-Battery (with the kext provided here)

-Ethernet (Killer E2200)


-SpeedStep ( the benchmark scores are a bit slower than Windows, need to check this)

-Brightness control working using Pause/Break for brightness down and Scroll Lock for brightness Up)


What doesn't Work:

-HDMI audio (i'm giving up on this one).

-Nvidia 780m GTX (don't expect it to work-> Optimus), but well i guess we already have windows for Gaming :whistle:


Update November 16th:

-I included a working AppleHDA (with the DSDT), everything is working (Integrated and Line in mics, Speakers, Line outs)-> All credits to Mirone.
-I considered to replace my Wifi Ship (Intel AC 7260 + BT 4) with a working solution (BCM4352) which is a combo AC card as well with BT 4.0 -> Working Flawlessly and takes 5mins to replace, pretty cheap (30$):


Drivers for mac and windows included in the above link.


-In order to get iMessage/iCloud/Appstore working use a Macbook Air Smbios (as it doesn't include Ethernet, only WIFI).  If you use an alternative Wifi adapter that works, make sure to have Ethernet as built in and as en0.



Update December 30th:

In order to get brightness control working without need to sleep, you can use the workaround developped by Rehabman here:


What it does is simply turn Off/On screen at boot and you get brightness control working right away.


Updated on July 2014:

-Added updated AppleHDA from 10.9.1 (All Pins Working).

-Added EAPD kext to get audio working after wake from sleep.

-Now Boot with Cache gives working audio!

-Added Updated DSDT.

-Added Updated Battery Kext.

-If installing 10.9.2 or higher, make sure to install the kexts for IntelHD and Nvidia from 10.9.1 or it won't boot anymore.


Updated on August 2014:

-Added AppleBacklight.Kext for native brightness control.

-Added screenshots for easier understanding.

-Updated DSDT and SSDTs


Verdict: Perfect Gaming Hackintosh :thumbsup_anim:


Credits: @RehabMan for brightness control, Battery, PS2 controls, DSDT laptop patches and much more.

@Mirone & Toleda for Audio and DSDT patching.

@CodeRush for Bios patching to enable native CPU power management

DSDT MSI GT70-001 (Barebone) with 780m GTX

09 October 2013 - 11:36 PM

Hi Everyone, i spent the last 2 hours over my DSDT to fix the initial 145 errors i had.  I found that many objects not found were in fact in another scope, so i could fix most of this issues by adding them as External (e.g. External (\_SB.PCI0.LPCB.EC.ADP1.BFLG)) - Can anyone please confirm that it is the right thing to do in similar cases?


Also now I'm getting those last 4 errors that i could not find how to solve, can any one please give me a hand on this?


10201 Error syntax error, unexpected PARSEOP_IF, expecting ',' or ')'

10202 Error syntax error, unexpected ')'

10205 Error syntax error, unexpected ')'

12196 Error syntax error, unexpected PARSEOP_NAME, expecting $end

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy