Build Android on Windows, Mac. and Other OSes with Builduntu
Creating an Android build is a fun, but oftentimes difficult process. First of all, you need to use an UNIX-like OS such as Linux or Mac OS, and not everyone uses said OSes every day. Having a native set up of Ubuntu would be great to compile, but not all of you know that Android can be built on Windows as well.
Ubuntu, Windows, and basically every other OS can be run on a virtual machine using applications like VirtualBox. A system image can be shared, and XDA Senior Member sylentprofet has done just that. The OS used in the sylentprofet’s method is a beta version of Ubuntu 14.04 Trusty Tahr, which was featured here on the XDA Portal not too long ago.
The OS on the virtual machine has been cleaned of all unnecessary applications, and is ready to compile Android. The only thing left is initializing the repository of your favorite ROM and executing the make command.
An image can be imported to every operating system capable of running VirtualBox. But please bear in mind that your PC needs more physical power to run a system on a virtual machine, so don’t forget to tweak the parameters in VirtualBox.
The process of getting Builduntu to work is described in its original thread.