

























This article is meant for beginners who are just starting to learn android custom rom development. Motivation: When I started all this, it wasn’t easy to understand AOSP and it’s process. So I decided to write an article so that newbies can understand faster.
Android is the most popular Mobile operating system in the world today. Android Open Source Project (AOSP) is a production quality Open Source Software for Embedded Devices such as Mobiles, Tablets, TV’s by GOOGLE inc .
By AOSP anyone can download Android sources make changes to it and create their own customized OS for their device !
Aosp source is hosted at https://android.googlesource.com/ and
project review and management is done at https://android-review.googlesource.com/
Although the word ROM means Read-Only Memory, a custom ROM is the one that has been modified, customized according to one’s requirements or wants! As AOSP is Open-Source (with Apache License 2.0) any developer can edit, modify and compile the code and release it for various devices .
Custom ROMs are known for their performance, battery-life and bloatfree-ness with some added customization options!
Some of the popular CustomROM projects are
… and many more More can be found here
No pre-requisites, only needed is patience and willingness to learn new stuff ! : )
Although it’s better to understand some technical concepts which you will need. Some of them are listed below with references you must read =>
Below are some File Structures which are use by different parts in source, make sure you know the basics.
| Name | Extension |
|---|---|
| Makefile | .mk / Makefile |
| Blueprint | .bp |
| Shell Scripts | .sh |
| Python Scripts | .py |
| GoLang | .go |
| Extensible Markup Language | .xml |
| Java | .java |
| Java ARchive | .jar |
| C | .c |
| CPP | .cpp |
| Header file | .h |
| XML Schema Definition | .xsd |
| eXtensible Stylesheet Language | .xsl |
| Yacc File | .y |
| Device Tree Files | .dts / .dtsi |
| Source File(written in Assembly) | .S |
| KConfig | |
| Perl Script | .pl |
| Config File | .conf |
Now that you have decided to dive into the amazingly complex stuff, it is obvious that you will face some difficulties ! I recommend to use your friend Google (or any other search engine) to search for the debug message or any errors. Also use Github search to search for fixes commits.
Moreover you can join Groups at XDA-Developers and Telegram »
(Note: Please read the Rules of specific group before you ask anything, be modest and have patience)
Here’s a Playlist of Youtube Videos Related to AOSP Building : AOSP Build References
Happy Building : )
Next in Series : Building Android - Setting Up Build Environment
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。