How to Install Android x86 on Hyper-V

Ion Basa
Ion Basa
How to run Android x86 on Hyper-V for Debugging/DevelopersWhy write this tutorial?Lack of available information avai ...
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.

----------------------------
Download the latest release of Android X86 from here: http://www.android-x86.org
----------------------------
Commands:
cd /mnt/grub
cp menu.lst menu.lst.bak
vi menu.lst
vga=792


Enable ADB over TCP/IP
Open the Terminal Emulator.
Input the following commands: (adjust as needed)
su
setprop service.adb.tcp.port 5555
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.
Such as Visor: https://www.vysor.io/ and Airdroid: https://airdroid.com/en/
But there are more than a handful of utilities that do the same thing, see: http://android.stackexchange.com/ques...

These are outside the scope of this tutorial, but I may do a follow-up.

همه توضیحات ...