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 微信朋友分享,朋友圈分享
  2. Android实现朋友圈评论回复列表
  3. Android——intent分享图片到微信好友、朋友圈、QQ
  4. Android实现朋友圈多图显示功能
  5. Android代码速查,写给新手的朋友们
  6. Android实现朋友圈点赞列表
  7. [003] 写给准备学习Android的朋友
  8. 小程序分享到朋友圈功能灰度测试!5 个小程序开发者这么说
  9. 分享一个牛逼的阿里天猫面经,已经拿到 Offer ,来自朋友的朋友

随机推荐

  1. 【android】android 开发错误点滴积累5月
  2. Android(安卓)SlidingDrawer 抽屉效果的
  3. android 7种网络连接方式--IT蓝豹
  4. 如何去掉android 控件默认选中时的背景橘
  5. Roboletric+Retrofit2单元测试
  6. Android官方架构组件Navigation:大巧不工
  7. Android 界面设计工具 DroidDraw
  8. Loop,Handler,Message的机制
  9. Android干货·收集站
  10. Android ViewGroup中事件触发和传递机制