Building Android (Cupcake) for the Eee PC 701

请想深入学习研究Android的朋友加Opendroid QQ群81410571,我们目前已成功移植android到s3c2440及virtualbox等。正在筹划进一步深入学习计划!

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 would like to help get this working for other Eee PC models.

更多相关文章

  1. Android(安卓)studio 打不开官方虚拟机 100%成功解决方法
  2. 【视频课程】Android底层开发关键技术—Android系统移植与HAL框
  3. android与j2me移植之clipRect
  4. Android基础知识学习——界面转换
  5. Android(安卓)Studio 在小米手机上成功运行
  6. android:向手机卡上写入文件时总是不成功,解决办法
  7. opencv for android:如何在Android(安卓)studio中成功运行opencv
  8. android ntfs-3g移植
  9. Android(安卓)KitKat 4.4 Wifi移植之AP模式与网络共享功能调试记

随机推荐

  1. Linux常用命令
  2. vs设置背景图片
  3. C语言——转义字符
  4. SQL中如何求解连续N天都满足的问题
  5. SQL在数据处理过程中,遇到除数为0该怎么办
  6. PowerBI基础知识——深化和钻取
  7. PowerBI基础知识——显示和导出数据
  8. 精心整理了一套MySQL常用函数,速速收藏!
  9. PowerBI基础知识——DAX
  10. 高频数据采集请求如何不影响主业务(7)