Monday, September 28, 2009

Build your own Android-x86 installer image :)

I just make the summary of what I did, you can see yourselft for the complete environment building and building the image.

I'm using Ubuntu 9.04 Server edition, so these steps are for linux:

1. Build your environment
$ sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev valgrind
  • Intrepid (8.10) users may need a newer version of libreadline:
    $ sudo apt-get install lib32readline5-dev
2.  Installing Repo (Repo is a tool that makes it easier to work with Git in the context of Android)
$ curl http://android.git.kernel.org/repo >~/bin/repo
$ chmod a+x ~/bin/repo

3. Get Android-x86 Source Code 
$ mkdir android-x86
$ cd android-x86
$ repo init -u git://git.android-x86.org/platform/manifest.git
$ repo sync

4. Building The Image
For Live CD:
$ make -jX iso_img TARGET_PRODUCT=eeepc

For USB Image
$ make -jX usb_img TARGET_PRODUCT=eeepc

- you can subtitute X with number of core processor you have


Then you will get an iso file out/target/product/eeepc/eeepc.iso, or usb image file out/target/product/eeepc/eeepc_usb.img

No comments:

Post a Comment

Hi, for all of those who already put comments on my blog post, thanks.. really appreciate it. And for those who have not, just put your comments here :)