Android System Development Intro (WIP)

date
Dec 1, 2023
slug
android-system-development-intro
status
Published
tags
Android
summary
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
type
Post
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 & Code

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 create-branch command. The manifest for the version can be generated by repo manifest -r -o, which is usually generated during dailybuild.
 
 
WIP

2. Android system compilation

3. System Modification

3.1 Application Integration

3.2 System Modifications

4. System Application Development

5. Other tools

5.1 OpenGrok

 

© likaci 2013 - 2024