android – Installing HAXM on osx Yosemite-ThrowExceptions

Exception or error:

I’m following the instructions to install Intel HAXM on OS X.

https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x

These instructions say to install the driver, and once it’s done run kextstat | grep intel to see if it’s installed. If not, then run sudo kextload –b com.intel.kext.intelhaxm.

However, at least on OS X Yosemite, I get the following error when I run kextload:

$ kextstat | grep intel

$ sudo kextload –b com.intel.kext.intelhaxm
/Users/mike/–b failed to load - (libkern/kext) not found; check the system/kernel logs for errors or try kextutil(8).
/Users/mike/com.intel.kext.intelhaxm failed to load - (libkern/kext) not found; check the system/kernel logs for errors or try kextutil(8).

What is the proper way to install the HAXM kernel extension on 10.10 Yosemite?

How to solve:

Getting IntelHAXM_1.1.1_for_10_9_and_above.dmg from Intels website (https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager) actually solved my issue without the need of setting the boot-args to “kext-dev-mode=1”.

###

NEW: V1.1.1 that can be found here fix the problem

OLD METHOD:

Two fixes were necessary to get this to work.

First, the -b option no longer appears to be correct. Instead use -bundle-id.

Second, if you check in Console.app you will notice

ERROR: invalid signature for com.intel.kext.intelhaxm, will not load

To fix this, you must run sudo nvram boot-args="kext-dev-mode=1" and then restart your computer.

In summary:

  1. Run sudo nvram boot-args="kext-dev-mode=1"
  2. Restart.
  3. Run sudo kextload -bundle-id com.intel.kext.intelhaxm

Thank you to reddit for the answer.

NOTE: By running sudo nvram boot-args="kext-dev-mode=1" you will allow ALL UNSIGNED KEXT to be loaded. Know your system.

###

I had the same issue. I installed the latest release from Intel (24 Oct) and now it works fine!

Here is the link:

https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement-macosx

###

For those running Android Studio and looking for the .dmg of HAXM for Yosemite (10.10) it would be located here:

/Applications/Android Studio.app/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM_1.1.0_for_10.10.dmg

###

The approach worked for me.

MBP 2012 w/ 10.10.5

Step 1: Uninstall any HAXM you have.

Go to Terminal and Hit.

sudo
/Library/Extensions/intelhaxm.kext/Contents/Resources/uninstall.sh

Choose ‘Y’

Step 2: Go to the link – ( HAXM github -> Wiki -> HAXM 6.x Release Archive )

https://github.com/intel/haxm/wiki/HAXM-6.x-Release-Archive#HAXM_v621

Download as per your preference. For me haxm-macosx_v6_2_1.zip worked like charm.

Step 3: Extract the zip and proceed with Installation.

Step 4: Go to Terminal and hit

kextstat | grep intel

It should populate something like this: (this is what I got in mine.)

  146    0 0xffffff7f82b66000 0x1d000    0x1d000    com.intel.kext.intelhaxm (6.2.1) <7 5 4 3 1>

If you get the similar, You are done. It should be working now. (Well, atleast, it worked for me. )

If it shows blank or showed ‘failed to load… ( like the top )’, try a different Release from the link.

Reference Image

###

problem with mac yosemite. first try …. IntelHAXM_1.1.0_for_10.10.dmg
but resolved to IntelHAXM_1.1.1_for_below_10_9.dmg

###

Installing the [Android Emulator] has worked for me. It was not installed by default.
Android Emulator can be accessed by running the Android SDK/SDK Tools tab as you see:

Leave a Reply

Your email address will not be published. Required fields are marked *