Cupcake supports multiple languages and provides the softkeyboard function. As a time-cutting engineering engineer, how can we not build one by ourselves for fun.
Environment Ubuntu 8.10x86 32bit. If you are a Windows user, you can directly use virtualbox to upload VMS.
- Step 3:
Related tools:
Run the following command to install the required tools.
$ Sudo apt-Get install Git-core GnuPG sun-java6-jdk flex bison gperf
Libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zipcurl
Libncurses5-dev zlib1g-dev
- Get repo:
$ Curl http://android.git.kernel.org/repo> ~ /Bin/Repo
$ Chmod A + x ~ /Bin/Repo
I usually move the repo to/bin/repo to facilitate future work.
- Obtain Source
Create a project for source code first
$ Mkdir android
$ CD android
- Perform repo initialization under the created object, specifying that you want to obtain the cupcake
$ Repo init-u git: // android.git.kernel.org/platform/manifest.git-B cupcake
The following response message is displayed after successful logon.
Repo initialized in/mydroid
Next, the zookeeper synchronization program will be released.
$ Repo sync
This job is very rare and often produces a license. I suggest making a cup of coffee, watching a movie, and then coming back. I can also stop using Ctrl-C in the middle, and then slowly complete the process.
Wait for the completed response. The complete source is displayed in the android project.
- Source
It won't work.
$ Make
After an endless wait, it will be in ~ /Android/out/target/product/generic: ramdisk. IMG, system. IMG, userdata. IMG, you can just pull to the die generator and then try again. If you are a friend with strong power, you can also directly brush ADP.