How to Install Android x86 on Hyper-V

preview_player
Показать описание
How to run Android x86 on Hyper-V for Debugging/Developers

Why write this tutorial?
Lack of available information available online and on the Android x86 discussion group. I decided to make a concise tutorial to help fellow developers or anyone who likes to tinker and explore Android.
Note: This isn't for the faint of heart. Mouse/pointer integration is minimal and wonky in Hyper-V. Do not expect to run your favorite apps or games under Hyper-V, this is tutorial is for technical reasons, and to help those who want to run an Android client virtualized for purposes of development and debugging. YMMV.
Note: This tutorial assumes you already have Hyper-V installed on your workstation OS (Windows 8.0+) or have the role enabled on Windows Server. I am also assuming you have already set up an external virtual network switch in Hyper-V for network access. An internal only network switch will also suffice if you do not wish to make the Guest OS access the Internet and only want ADB running locally over TCP/IP.

----------------------------
----------------------------
Commands:
cd /mnt/grub
vga=792

Enable ADB over TCP/IP
Open the Terminal Emulator.
Input the following commands: (adjust as needed)
su
stop adbd
start adbd

After-thoughts:
---------------------
The RDP Hyper-V Virtual Machine Connection is not required after enabling ADB over TCP/IP.
Some better and alternative methods would include running a VNC server or use a ADB utility.

These are outside the scope of this tutorial, but I may do a follow-up.
Рекомендации по теме
Комментарии
Автор

This is the video i have been waiting on for years. Thanks

kevinhammer
Автор

Thank you very much for this. I was getting so frustrated after installing, configuring, then unable to boot a second time. I knew it was something to do with the boot loader but had no idea how to fix it. Thanks again!

midnight
Автор

Great tutorial, followed step by step for Android 9. Perfect. Thank you

VincenzoAmoruso
Автор

I can't find the grub settings files, did their default location change in android x86 9.0 r2? Nothing found, neither in the shell or in the windows file manager (plus, removed all the system folders hidden in the search results)...

sipasa
Автор

Thanks for the work Ion. I've found the same issue as you regarding the mouse. This was not the case with 4.4r2. In that build the mouse worked exactly as expected in Hyper-V. Have you found a solution other than keyboard navigation?

dominiclowman
Автор

I installed 7.1r1 the mouse works better. You can drag the mouse where you want it and then click.

mikieut
Автор

When the installation is blocked, the machine blocks, I can not go further than the window creates the partition, and 7.1 and my processor i7-7500u

aghiles
Автор

my VM doesn't have internet connectivity. Any idea why is this happening?

foadsf
Автор

Cannot get past Do you want to install boot loader GRUB, it just hangs on selecting Yes

davids
Автор

Do you know how to change the speed of mouse moving? I try commands like "xset m default", but this teminal emulator cannot found "xset".

mcnuttryan
Автор

i have problem with keyboard capture hlp pls

KodiMatija
Автор

What pc are you running? It literally took me 3mins

truter
Автор

Damn it does not work, still black screen

НикитаГрунт-яж
Автор

This is a very long and complex procedure. Far too much trouble for the average user.

stevejbellamy
Автор

can i run tinycam pro server with this?

TrillasAdventures
Автор

Hi, Thanks for the help.
I am unable to allow internet access to my Android VM.

yameenmalik
Автор

It stucks to point when there is test: ANDROID rootx86_64:/

barbaran_
Автор

Does the sound within Android work while in Hyper-V?

heyfrankhey
Автор

Do you know how to fix a mouse problem?

MrMarianopl