for Android source code download and porting development, if the user only need a portion of the code, then do not need to download all the code nearly 4GB, and only need to familiarize themselves with the source code of the directory structure, select the code you need to find and download the directory.
For the Android source code compilation problem, the first to initialize the compilation environment, using the lunch command to set a compilation target, and then execute the make command can be completed. When compiling the Android source code, there are two platforms running libraries and tools that run directly on the Android platform in the target directory and on the other hand in the host directory on the platform where the Android source code is compiled. Both the Android application development environment and the Linux kernel development environment must be built. After the basic installation work is completed, the development work can be carried out, for the development of the Linux kernel, the code initially seems to be quite cumbersome, the beginning can start from mastering the basic function interface, C language grammar also need to consolidate practice.
To configure the Linux kernel to be compiled, make config configures the Linux kernel from the textual aspect; Make Menuconfig configures the Linux kernel from the menu, and make Oldconfig the user configuration by the character interface; make Xconfig is configuring the Linux kernel from a graphical interface, these four configuration commands are done in the source code root directory. If you do not want to reconfigure the compilation environment, you can download the VMware Virtual machine environment.
http://www.cnblogs.com/sjjj/
Fourth Reading notes