Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't uninstall Intel Haxm on AMD cpu Android studio

I cannot uninstall intel HAXM using the uninstaller as my pc isn't compatible with intel HAXM To reproduce:

  1. Install Intel HAXM on compatible CPU
  2. Change processor to incompatible CPU
  3. Open Intel HAXM uninstaller

Intel HAXM un/installer log:

Version: 7.6.5
Execute: C:\Program Files\Intel\HAXM\checktool.exe --verbose
CPU vendor          -  AuthenticAMD
Intel64 supported   *  Yes
VMX supported       -  No
VMX enabled         *  Yes
EPT supported       -  No
NX supported        *  Yes
NX enabled          *  Yes
Hyper-V disabled    -  No
OS version          *  Windows 10.0.19042
OS architecture     *  x86_64
Guest unoccupied    *  Yes. 0 guest(s)
The system requirements are not satisfied.
like image 688
Thomas Nykjær Avatar asked Sep 19 '25 03:09

Thomas Nykjær


1 Answers

I know this is hacky stuff, but it works anyway.

#include <stdio.h>

int main()
{
  printf("CPU vendor          -  GenuineIntel\n"
         "Intel64 supported   *  Yes\n"
         "VMX supported       -  No\n"
         "VMX enabled         *  Yes\n"
         "EPT supported       -  No\n"
         "NX supported        *  Yes\n"
         "NX enabled          *  Yes\n"
         "Hyper-V disabled    -  No\n"
         "OS version          *  Windows 10.0.22621\n"
         "OS architecture     *  x86_64\n"
         "Guest unoccupied    *  Yes. 0 guest(s)\n");
  return 0;
}

Compile this C code with your favorite c compiler and replace checktool.exe with that. (IDK if I can post a compiled binary here)

like image 131
whyask37 Avatar answered Sep 21 '25 08:09

whyask37