Building Android (cupcake) for the Eee PC 701
If you want to study android in depth and add opendroid QQ Group 81410571, we have successfully transplanted android to S3C2440 and virtualbox. Planning further study plan!
This page was created by compiling lots of the information found here: http://groups.google.com/group/android-porting.
If you are interested in helping to further Android usage on an x86
Platform, please join that group and contribute any information you may
Have.
This assumes you are running some flavor of ubuntu. If you aren't, I'm sorry, I can't really help with your specific distro.
Moving on. Open a terminal session on your Ubuntu machine.
Change directories to your home directory if you aren't already there:
$ Cd ~
Prepare your environment:
$ Sudo apt-Get install flex bison gperf libsdl-dev libesd0-dev
Libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev
Valgrind
Install repo:
$ Curl http://android.git.kernel.org/repo> ~ /Bin/Repo
$ Chmod A + x ~ /Bin/Repo
Make your working directory. For the purposes of this documentation, we will assume the working directory is Android-eee:
$ Mkdir Android-eee
Change directories to your working directory:
$ CD Android-eee
Initialize the cupcake repo:
$ Repo init-u git: // android.git.kernel.org/platform/manifest.git
Create the local_manifest.xml file which tells repo about the eee_701 branch in cupcake:
$ Cd. Repo
$ Touch local_manifest.xml
Open local_manifest.xml in your favorite text editor. paste the following text into local_manifest.xml
<? XML version = "1.0" encoding = "UTF-8"?>
<Manifest>
<Project name = "platform/vendor/Asus/eee_701" Path = "vendor/Asus/eee_701"/>
</Manifest>
Save and close local_manifest.xml
Change directories back to your working directory:
$ Cd ~ /Android-eee
Sync the repo (this might take a while ):
$ Repo sync
Build the image file (this might take a really long while ):
$ Target_arch = x86 target_product = eee_701 disable_dexpreopt = true make-J4 installer_img
Put the installer_img file on a USB stick.
$ Dd If = out/target/product/eee_701/Installer. IMG of =/dev/<usbstick of your choice>; sync
Boot your eeepc from the USB stick you just created and watch it go.
This will wipe your eeepc so if you have stuff you 'd like to keep,
Either back up before you install or don't install at all.
Note: Currently the. IMG file creation fails due to a bug. a fix for the bug is waiting for approval.
Please email androideeepc@gmail.com if you see errors in the doc or if you wocould like to help get this working for other Eee PC models.