HAXM Virtualisation Install - android

I'm a new Android developer and learner, and I am actually facing some strange issue. (config : Intel Core i7 3630QM # 2.40GHz , 6go ram , windows 8.1)
Just like many, I encountered the HAXM issue when I tried the emulator on the AVD manager.
What I have done :
1. Download the package for intel accelerated HAXM virtualisation via my SDK manager
Figure out the sdk location on my pc, and click on install (manually on the app)
C:\Users\didier\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager)
2.1 I get this error,
My PC meets the requirements but...
This means that my HAXM virtulisation may not be enabled on my pc.
2.2 I checked that on my BIOS, enabled it , saved and exit.
3. I retry the install from the exe file in my sdk location.
- I get the same error message.
So I tried install from intel website : Software from intel Website link , ==> I get the same
error message
I download Speccy, a program that tells you what is on your PC, I found that on BIOS, the Virtualisation option that I enabled , was actually DISABLED.
So I rebooted, and check that, it was ENABLED.
So now, I don't know what to do, I have found some other solution to emulate, but it's quite slow, it uses ARM technology.

Here is a possible solution to your problem, what I've found from your information given is that:
Your processor supports HAXM, see this spec sheet.
The hardware requirements are:
Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality
At least 1 GB of available RAM
Referring to that list of possible solutions, you should try:
Double check if Execute Disable Bit, VT-x, VT-d are turned on in BIOS
Disable Hyper-V in Windows 8.1
There have been issues with Hyper-V tech conflicting with HAXM, refer to this SO question.
Create a separate boot entry that disables hyper-V completely, or just disable all of it by:
Press Start.
Type CMD.
Right-Click, select Run As Administrator (must do this even if on Admin account)
type this in bcdedit /set hypervisorlaunchtype off
Reboot. Hyper-V should be off now.

I had the same problem with a similar processor, core i3, in my VAIO laptop. VT was also enabled on the BIOS and the problem was fixed when I uninstalled the avast anti-virus(no disabling the protection) and so I could finish the HAMX installation. After that, I installed the Avast software again.
I hope this issue can help more people.

I had terrible trouble getting an Android Virtual Device to work on Android Studio. I thought I had done everything right but then I checked the Hewlett Packhard BIOS again and realised that the word Enable beside Virtualisation really meant Enable and not Enabled, which is VERY confusing. Switch to Disable (which seems to mean Enabled) and all should be good. Talk about double negatives!

Related

android Intel haxm bug

I have installed android studio and in order to use emulators on my pc I did try to install intel HAXM. It prompted for error due to lack of intel vt-x support and I tried to enabled this options with many tricks which explained in detail here. After many changes, intel processor identification utility which was installed on my windows 10 pro, reported that intel vt-x is enabled on my pc and also a utility called haxm_check.exe reported that intel vt-x and nx is enabled on my pc. but when i tried to install intelhaxm-android.exe version 7.0.3 it prompted that vt-x or nx is missing and rolled back the setup.
Can somebody figure out what is wrong or how can I resolve this issue?
List of things to check is much larger for this issue.
Also posted at https://stackoverflow.com/a/53676171/975887 likely after you checked it.
Below is the full list for Windows (so far as of circa 12/2018)
Check BIOS
go into BIOS/UEFI setup and look for settings like VT-x, VT-d, Virtualization Technology, Hardware Virtualization and make sure it is Enabled. If the option is not there, check with your manufacturer and model to make sure it is supported.
Disable Hyper-V
Type 'windows features' into start menu, select 'Turn Windows Features On or Off'.
Unselect all Hyper-V related options, press OK, Reboot.
This will break any Hyper-V VMs you have, including any Windows Phone emulators and anything else you have setup that requires Hyper-V
Reboot Required
on an admin command prompt, run systeminfo. If it shows 'hypervisor is detected' under Hyper-V requirements, even after removing Hyper-V feature, you may have 'Core Isolation' enabled. See below on how to disable it.
As another option, try enabling 'Windows Hypervisor Platform' if you still want your Hyper-V support. More info here
AMD Ryzen ?
If your CPU is AMD Ryzen, you may need to enable 'Windows Hypervisor Platform' feature just like you disabled Hyper-V above.
If it is enabled and still things don't work, try disabling it. ¯\_(ツ)_/¯
Reboot required
Disable Antivirus
Try disabling your antivirus.
AVAST! and a few others interfere with the detection of virtualization. You can enable them after.
AVAST and some others also has some options that uses virtualization based isolation. Either disable them or temporally uninstall your AV.
Disable Core Isolation
Clean installs of Windows 10 1803 enables Core Isolation by default, which runs secure processes inside a virtualized container for security. This interferes with the detection of virtualization.
Machines that upgraded from an earlier version have this disabled, but check anyway.
Go to Windows Defender Security Center
Device Security > Core Isolation > details
Disable Memory Integrity
Reboot
Disable hypervisor launch at boot
on an admin command prompt, run bcdedit /set hypervisorlaunchtype off
reboot
to revert run bcdedit /set hypervisorlaunchtype auto and reboot
Nothing works
You shouldn't get here, since Android emulator can now run alongside with Hyper-V if you have 'Windows Hypervisor Platform' is enabled.
If nothing above works, as a last resort you can try running Android in a Hyper-V VM and get ADB to connect to it. (Not a solution, but a workaround)
You can also run android using a third-party emulator like Genimotion.
¯\_(ツ)_/¯
Debug on a physical device

Unable to run Android Studio Emulator - "(VT-x) is not turned one" when installing HAXm

I've seen many posts similar to my problem, and even though I tried to do the same steps, it still didn't work.
Intel Core i7 - 2670QM CPU # 2.20GHz Windows 10
I need to create an emulator for Android Studio in order to test my apps, but it doesnt work, it says that I need Intel HAXM.
Then I try to install and says (VT-x) is not enable (like in the picture below)
Error while installing HAXM
I've already tried:
(1) Check the BIOS (there is no option in my BIOS about VT-x virtualization, but I've check with the application "coreinfo" that says its actually working on my system.
(2) Disable Hyper-V on Windows (also, I couldn't find this option on "Windows Features" on Windows 10, but I've disabled everything that says Hyper-V in Windows "Services"
(3) I've checked about AVAST.
(4) I've updated my Windows
Thank you guys!!
I just don't get the fact that Windows doesnt show the Hyper-V option, and the BIOS doesnt give VT-x option also, but the Haxm_check says:
"VT support -- yes
NX support -- yes"
You don't mention what OS you're using. Have you tried downloading separate installer rather than install thru Android studio
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager
also run the bcedit commands to make sure the CPU is enabled, not just capable
bcdedit /set hypervisorlaunchtype off
bcdedit /set nx AlwaysOn
your list shows hypervisor enabled. You should go into control panel>Programs>turn WINDOWS features on/off on the left side. Then whether it's on or off you should still see the HyperV checkbox. Make sure nothing is checked. If it's really off, you should be able to search for HyperV Manager and not find it.

Error trying to install HAXM - Intel VT-x turned off

I've Installed Android Studio, and I'am getting this error while I'm trying to install HAXM.
I tried to enable Virtualization in bios, but It didn't solve the problem. Then I disabled Hyper V in my Windows 8.1 (64 bits):
After restarting my computer, nothing changed, and I still can't install HAXM for the same reason. How can I solve this issue, assuming that I disabled Avast too, which basically covers all the solution I've found on stackoverflow.
You mentioned that your processor was : Intel Core i7-4700MQ
I've done a quick search for it to determine that Intel HAXM works on your processor. It does.
You probably fulfill the software requirements for HAXM (Windows 8.1 is Supported, and an up to date Android SDK Manager.
The hardware requirements are:
Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality
At least 1 GB of available RAM
(Taken from Installation Instructions)
Given the OS of your system and processor, here's a list of things that you could try in order.
Check the Execute Disable Bit, VT-x, VT-d
I know this has been mentioned in other answers, but it be good to comb through all the settings again and make sure every virtualization option is properly turned on.
Within the BIOS setup utility, Execute Disable Bit may be identified by the terms "XD", "Execute Disable", "No Execute", or "Hardware DEP", depending on the BIOS used.
Disable Hyper-V in Windows 8.1
This SO question mentions of a fix as other answers here have given, you need to disable Hyper-V due to known conflicts. You did show a screenshot of this being done, the fix does mention of a clean restart (not shutdown and turn on again due to the Fast Startup feature which is a hibernate of drivers).
Alternative: Boot Entry that explicitly disables Hyper-V
Press Start.
Type CMD.
Right-Click, select Run As Administrator (must do this even if on Admin account)
type this in bcdedit /set hypervisorlaunchtype off
Instructions adapted from this blog post that mentions of how to create a separate boot entry. The blog post does touch on turning on Hyper-V after that too.
I personally had issues with HAXM because of the wrong BIOS settings. And perhaps some other virtualization software (I think VirtualBox, it was a while ago) was running. Good luck.
Edit: A user also mentioned here that completely uninstalling Avast helped. Not sure if that's the route you want to try.
Run the command to make sure hyperV is off
bcdedit /set hypervisorlaunchtype off
and run this to make sure XD bit is on
bcdedit /set nx AlwaysOn
If you're using Avast, disable "Enable hardware-assisted virtualization" under: Settings > Troubleshooting. Restart the PC and try to run the HAXM installation again
and if nothing is working, try reinstall using the installer from https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager
Go to your bios settings and enable Virtualization (if ur device support virtualization)
There are 2 parts to virtualization: virtualization of the cpu and IOMMU (memory remapping). In the Intel world, they are called VT-x and VT-d. These are usually two different settings in the BIOS. You may need to enable both for some of the features to work. Even though the actual text of error says that it needs VT-x, it may need VT-d (as well as VT-x). I have seen that happen.
Don't change any thing in your system, all you have to go your system BIOS and locate the Virtual Machine setting it must be set to disable change it to enable.
You will most likely find it between those propositions:
Processor sub menu
Chip
North bridge
Advanced chip set control
Advanced CPU configuration menu
Check the above menu you should find it.

VT-x not working, even tho it's enabled in bios and my CPU supports it

I tried to make my android emulator work faster and as the title says, I can't get to install HAXM driver on my laptop. I've looked everywhere and did everything people suggested on other pages. Intel Virtualization Technology in bios is enabled. Updated Eclipse tools etc. Downloaded driver directly, instead of throguh Eclipse manager. I even tried to disable Hyper-V in Windows functions but it's not there.
I still get the following error when trying to install the driver:
(Can't post images so I will just rewrite it)
"This computer meets the requirements for HAXM, but Intel Virtualization Technology (VT-x) is not turned on. HAXM can be installed, but will not work until VT-x is enabled."
As I said before, it is ENABLED in bios so I have no idea what's the problem.
I would appreciate any help. Thanks.
Some antivirus prevent Haxm installation. In my case -- Avast : settings tab -> troubleshooting -> uncheck "enable hardware-assisted virtualization" Solved the problem
A step-by-step tutorial can be found here
Although this is an old question, but I've still encounter it recently.
This is what worked for me on my i7-3770 3.40GHz, Z77 extreme motherboard running Windows 10.
In Windows, disable Hyper-V:
Open up a PowerShell or CMD session as Administrator.
Type the following command:
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All
Windows will ask you to restart.
In the bios:
Disable >>> Intel Virtualization Technology, vt-d
Save the bios settings and allow it to restart and boot into Windows.
Shutdown the computer (I've tried just restarting and it didn't work)
Power up the computer, go into the bios and re-enable the above disabled settings.
Save, restart.
Download the Intel Utility to check.
You should now see it been supported:
If it still doesn't work, try re-enabling Hyper-V first then following the steps above.
Hope my answer helps someone who ends up on this page for the question
I had just updated my BIOS and found that emulator on Android Studio was not starting mentioning "VT-x not enabled". When I checked task manager it showed Virtualization is Disabled
On entering BIOS found that Virtualization showed enabled. I exited and googled up in vain.
How I got rid of it:
I entered BIOS setup once again, this time I disabled it and re enabled. Saved and exited.
When I again checked in Task Manager, "Virtualization showed as enabled"
I made sure emulator is also running as I am typing this answer
had the same problem with my elitebook-i7 while running windows 10 pro. just like #Sajkor non of the method worked that's why am advising you try this method out:
Search program and features and open
open "turn windows features on or off"
under hyper-v, expand hyper-v platform an disable Hyper-v hypervisor
Also disable virtual machine platform
save and restart the pc
hope it helps, see the image if you are lost
https://i.stack.imgur.com/ICbEF.png
do you have any other software installed on your PC, that may prevent HAXM to use VT-x ?
Maybe you've got some other SDKs/emulators installed that would come with a virtualization service ?
Also, what's your laptop ? Sometime BIOS may be buggy and to really enable VT-x, you may need to disable it, shutdown and boot your PC again, enable VT-x, shutdown and boot again.

Android SDK's Intel HAXM disabled after installing Hyper V

I'm developing a suite of mobile apps - specifically Windows Store/Mobile 8 and Android.
Having installed VS2012 and then Monodroid, I was then able to start x86 Android images in the emulator and take advantage of the Intel HAXM acceleration (emulator output confirms HAXM working) to make the VM buttery-smooth.
I then installed the Windows Phone 8 SDK - which enables the Hyper V role - and now the emulator says it can't find HAXM. I then uninstalled and tried to reinstall HAXM, but now it won't - saying that my processor doesn't support it.
The VT-x extensions are still enabled in the BIOS - so I'm thinking that Hyper-V has blocked the Intel HAXM from working.
Of course it's not a killer - but a non-accelerated Android image is considerably slower than one with HAXM enabled - anybody else encountered this problem? Googling isn't bringing up anything obvious...
Update (30th Nov 2012)
Per #alexw's suggestion I tried stopping & disabling Hyper-V; with a restart. It still doesn't work.
I realise the next step is probably to the Windows Phone SDK (and remove Hyper-V) and then try again - to confirm that it really is the presence of Hyper-V. At the moment this is less than convenient - but I'll try and do it soon and update.
The best thing you can do to get HAXM detect VT again, is turning the whole Hyper-V "Feature" off. Open "Control Panel -> "Programs" -> "Turn Windows features on or off" (under "Programs and Features") and locate "Hyper-V", uncheck, reboot.
Looks like Hyper-V and HAXM are mutually exclusive, which is kind of a nuisance, because you even need to reboot twice to enable or disable either feature.
I was in your same case that needed to support Hyper-V and Intel HAXM. Disabling and enabling the feature and then restarting was overkill so I found an alternative solution.
You can create 2 boot entries, one for Windows with the regular configuration of Hyper-V enabled and another one with Hyper-V disabled. I logged in with the second one (Hyper-V disabled) and I was able to install Intel HAXM.
To accomplish this you need:
Open a command prompt as Administrator
Enter the command: bcdedit /copy {current} /d "Windows 8 - No Hyper-V"
This will output an id with the format {GUID} that you need to copy it to use it in the next command.
Enter the command: bcdedit /set { copied GUID of step 3 } hypervisorlaunchtype off
More details in this post.
I had a similar problem installing HAXM on Windows 8. I did the following with no effect:
Disabled hypervisor using the instructions here (http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/04/14/creating-a-no-hypervisor-boot-entry.aspx)
Double checked that processor supported VT-x and was enabled in BIOS (BIOS said "supported", but there was no option to turn it on
Verified that all Hyper-V services in control panel were stopped (and never automatically started)
Performed a complete shutdown and a cold boot up.
However, I tried installing VirtualBox after the above actions (VirtualBox installed fine) and created a new VM. Running the VM caused my machine to blue screen, but after the reboot HAXM installed fine. Perhaps running VirtualBox flips some sort of flag at the OS level to allow HAXM to install.
I was also running AVAST at that time, and according this (Running the new Intel emulator for Android), that may cause a problem. However, I didn't have to disable AVAST to get HAXM installed.
You could try stopping the Hyper-V service when not needed and re-enabling it when you want to work on a WP8 project. It's a pain but the performance improvement offered by HAXM is immense.
Open services.msc, find the hvboot service (Hyper-V) and stop it. If this doesn't help you may need to disable the service and restart your pc.
I had the same problem. After a long search I found the answer. In my case, I had installed Avast Antivirus, first uninstall avast, reboot your PC, install Haxm, reboot. you can install again antivirus.

Categories

Resources