How to compile Android 1.6 (Android eclair is also same ! )

 

First , I got android_arm_main-branch_20090916.tar.gz

 

1. BUILD ALL

# TARGET_ARCH=arm TARGET_PRODUCT=generic make showcommands

 

1*. BUILD SUB DIR

# source build/envsetup.sh

# TARGET_ARCH=arm TARGET_PRODUCT=generic mm showcommands

 

 

2. Make my own rootfs.

#cp android_arm/out/target/product/generic/root ./my_android_rootfs
#cp android_arm/out/target/product/generic/system ./my_android_rootfs/
#ln -s system/etc ./my_android_rootfs/etc
modify the init.rc

 

3. ADB Shell login

Console 1:

#export ADB_TRACE=adb
#export ADBHOST=192.168.0.199
#export PATH=$PATH:/home/stevenliyong/android-sdk-linux_x86-1.5_r1/tools
#adb kill-server
#adb nodaemon server

 

Console 2:

#adb shell

 

你可能感兴趣的:(How to compile Android 1.6 (Android eclair is also same ! ))