1: Ubuntu is installed. Because the current computer basically has a DVD or CD drive, I recommend you download the Ubuntu CD or DVD image from the Internet and then install it on your own, there are many ways to install Ubuntu9.10 and Windows dual systems on the Internet, mainly in two ways: 1 is to use wubi to install, this method is the simplest, the most silly, but the disadvantage is, linux partitions can be seen in Windows, and some linux partitions are replaced by Windows.
1: Install Ubuntu 9.10
Since most computers now have DVD or CD-based optical drives, we recommend that you download Ubuntu 9.10 CD or DVD images from the Internet and then install them on your own, there are many ways to install Ubuntu 9.10 and Windows dual systems from hard disks on the Internet, mainly in two ways: 1. Use wubi for installation. This installation method is the simplest and most foolish, however, the disadvantage is that linux partitions can be seen in Windows environments, which may cause linux to be deleted from Windows. 2. Use grub to modify the boot guide, so as to install the dual-system, but the method described on the Internet that uses this method has been tested many times and is rarely successful.
You can use the hard disk partitioning tool to separate unused hard disk space before the dial-up is installed. For Windows 7, you can use the built-in hard disk management tool to delete the original partition volume, separate an unused hard disk space for Ubuntu 9.10, start the system with a CD, and start the installation, you must install Ubuntu 9.10 to a previously unavailable location when selecting the Ubuntu 9.10 installation location. After the installation is complete, the dual-system can be started smoothly.
2: Download the Android source code
Open the terminal and use apt-get install to install the git-core and curl packages respectively.
Create a directory for storing andoridSrc and create a bin directory in it.
Mkdir andoridSrc
Cd andoridSrc
Mkdir bin
Cd bin
Curl http://android.git.kernel.org/repo> repo
Sudo chmod a + x repo
Then, create a source code storage directory android under the andoridSrc directory.
Mkdir android
Cd android
../Bin/repo init-u git: // android.git.kernel.org/platform/manifest.git