發表文章

目前顯示的是 三月, 2011的文章

Android 安裝

References : http://source.android.com/source/git-repo.htmlhttp://source.android.com/source/download.html

目的:

OS: Ubuntu 10.10 x86_64
Kernel : Linux ham 2.6.35-27-generic 1. 先安裝curl 跟git的套件
$ sudo apt-get install git-core curl $ mkdir ~/android/ $ cd ~/android/ $ mkdir bin $ cd bin $ curl http://android.git.kernel.org/repo > repo
$ chmod a+x repo $ export PATH=~/android/bin/:$PATH $ cd ~/android $ mkdir src $ cd src $ repo init -u git://android.git.kernel.org/platform/manifest.git $ repo sync
2.下載kernel(這邊不一定需要) 


http://elinux.org/Android_Kernel_Download

$ cd src
$ git clone git://android.git.kernel.org/kernel/common.git kernel


3.安裝Java 6

Java 6: for Gingerbread and newer
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"

$ sudo apt-get update

$ suod apt-get install  sun-java6-bin sun-java6-jre sun-java6-jdk

4.其他需要安裝的套件
$ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev…

Android x86 安裝

References :
http://source.android.com/source/git-repo.htmlhttp://source.android.com/source/download.htmlhttp://www.android-x86.org/getsourcecodehttp://www.android-x86.org/documents/customizekernelhttp://android.git.kernel.org/?p=kernel/linux-2.6.git;a=summary
目的: 建立客制化的android x86,所以kernel的部份必須要客製化,不能用prebuild底下的kernel binary。

OS: Ubuntu 10.10 x86_64
Kernel : Linux ham 2.6.35-27-generic

1. 先安裝curl 跟git的套件
$ sudo apt-get install git-core curl $ mkdir ~/android/ $ cd ~/android/ $ mkdir bin $ cd bin $ curl http://android.git.kernel.org/repo > repo
$ chmod a+x repo $ export PATH=~/android/bin/:$PATH $ cd ~/android $ mkdir src $ cd src $ repo init -u git://git.android-x86.org/manifest.git $ repo sync

2.安裝Java 6

Java 6: for Gingerbread and newer
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"

$ sudo apt-get update

$ suod apt-get install  sun-java6-bin sun-java6-jre sun-java6-jdk


3.其他需要安裝的套件
$ sudo apt-get install git-core gnupg flex bison gperf build-essential zip cu…