1. Android的一些有用的官方網(wǎng)站:
http://android.git.kernel.org android源碼網(wǎng)站
http://source.android.com
http://code.google.com/android
http://developer.android.com
2. 安裝git源碼管理工具
# cd ~
# mkdir bin
# echo $PATH
# curl http://android.git.kernel.org/repo > ~/bin/repo
# chmod a+x ~/bin/repo
git下載源碼方法:
下載一個tree(至當(dāng)前路徑):
# git clone git://git路徑 (git路徑參看網(wǎng)站發(fā)布tree路徑)
下載整個platform至當(dāng)前路徑:
# repo init -u git://git路徑/platform/manifest.git
# repo sync
3. 獲得Android平臺源碼(具體可參看http://android.git.kernel.org):
# mkdir myandroid
# cd myandroid
# repo init -u http://android.git.kernel.org/platform/manifest.git
# repo sync
按默認(rèn)設(shè)置完成即可
4. 獲得S3C6410平臺Android底層Linux內(nèi)核源碼
參考網(wǎng)站:http://github.com/leemgs/samsung-s3c6410-android.1.0/tree/master
參考主頁:http://code.google.com/p/android-group-korea/
中文社區(qū)參考:http://www.android.cc/dev/, http://www.china-android.org
# git clone git://github.com/leemgs/samsung-s3c6410-android.1.0.git