Android System Development Intro
Sep 1, 2023
There are a lot of articles about Android application development on the Internet, but not many articles about system development, this article intends to record the Android system development related content, also a summary of my previous few years of the work. WIP
There are a lot of articles about Android application development on the Internet, but not many articles about system development, this article intends to record the Android system development related content, and also a summary of my work in the previous few years.
This article is planned to be structured as follows
1. Gerrit & Code2. Android system compilation3. System Modification3.1 Application Integration3.2 System Modifications4. System Application Development5. Other tools5.1 OpenGrok
Simply, AOSP source code is a collection of git repositories managed by a manifest file, and Gerrit is the system hold all the code. It is also used to control permissions and code review.
Managing gerrit is done through ssh connections on gerrit port 29418, e.g..
The process of importing AOSP source code into Gerrit is iterate over all the repositories in the manifest, then create project using the
create-project command, then git push the code into the corresponding project.
Creating a new stable branch in Code Management is just iterating through all the repositories and fixing the version with
The manifest for the version can be generated by
repo manifest -r -o, which is usually generated during dailybuild.