Android x86

To build android on x86 machine, you may mention to

However, it seems Google does the simliar work silently.
You may following the document, build/target/board/generic_x86/README.txt

Before you update your repo, may I have your attention:
If you are a Mac user, get a Linux box first. No such darwin-x86 cross compiler exist in repo.

Following is the instruction

The generic_x86 board target provides basic services on very basic
hardware (really for an emulation). To build with generic_x86, you will
need an appropriate kernel for your emulation (or device).

A1. Create a new top level directory and pull the AOSP repository
mkdir $HOME/AOSP
repo init -u git://
repo sync

A2. Copy in the kernel
cp ~/bzImage.your_device $HOME/AOSP/prebuilt/android-x86/kernel/kernel

A3. Build
source build/
lunch generic_x86-eng
make -j8

The build will generate some image files whose format may or may not be correct for your
device. You can build an installer image disk for the VirtualBox emulator using the command:

A4. Build a VirtualBox installer image
source build/
lunch generic_x86-eng
make -j8 installer_vdi



在下方填入你的資料或按右方圖示以社群網站登入: Logo

您的留言將使用 帳號。 登出 /  變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 /  變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 /  變更 )


您的留言將使用 Facebook 帳號。 登出 /  變更 )


連結到 %s

%d 位部落客按了讚: