惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Cloudbric
Cloudbric
有赞技术团队
有赞技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
Threat Research - Cisco Blogs
L
LangChain Blog
Simon Willison's Weblog
Simon Willison's Weblog
Project Zero
Project Zero
Latest news
Latest news
S
Schneier on Security
Cisco Talos Blog
Cisco Talos Blog
MyScale Blog
MyScale Blog
C
Check Point Blog
IT之家
IT之家
P
Palo Alto Networks Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
CERT Recently Published Vulnerability Notes
Scott Helme
Scott Helme
The Hacker News
The Hacker News
C
CXSECURITY Database RSS Feed - CXSecurity.com
G
Google Developers Blog
T
Tor Project blog
T
Threatpost
D
DataBreaches.Net
博客园 - 【当耐特】
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Troy Hunt's Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Vercel News
Vercel News
云风的 BLOG
云风的 BLOG
NISL@THU
NISL@THU
P
Privacy & Cybersecurity Law Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
C
Cisco Blogs
博客园_首页
S
Securelist
T
The Exploit Database - CXSecurity.com
Last Week in AI
Last Week in AI
量子位
U
Unit 42
Know Your Adversary
Know Your Adversary
Hugging Face - Blog
Hugging Face - Blog
S
Security Affairs
Google Online Security Blog
Google Online Security Blog
Hacker News: Ask HN
Hacker News: Ask HN
Webroot Blog
Webroot Blog
S
SegmentFault 最新的问题
Engineering at Meta
Engineering at Meta
N
News and Events Feed by Topic
P
Proofpoint News Feed
阮一峰的网络日志
阮一峰的网络日志

Homepage on Aditya Telange

One Year with evil-winrm-py - A Retrospective Bypassing LinkedIn's Connection Privacy with a Simple Search Filter Making Dynamic Instrumentation Accessible with Frida UI Breaking Payload Encryption in Web Applications HackTheBox (HTB) - Escape HackTheBox (HTB) - Resolute HackTheBox (HTB) - Certified State of VMWare Workstation (Pro?) on Linux Android App Security Testing Lab with MobSleuth Android phone as a Webcam on Linux Breaking down Reverse shell commands HackTheBox (HTB) - Photobomb Merging AOSP Security Patches into Custom ROMs Primer on HTTP Security Headers Image Zoom-In effect with HUGO HackTheBox (HTB) - Legacy HackTheBox (HTB) - Lame Cryptohack - Keyed Permutations [5 pts] Cryptohack - Resisting Bruteforce [10 pts] Cryptohack - RSA Starter 1 [10 pts] Cryptohack - Base64 [10 pts] Cryptohack - Bytes and Big Integers [10 pts] Cryptohack - Hex [5 pts] Cryptohack- XOR Starter [10 pts] HackTheBox (HTB) - Horizontall HackTheBox (HTB) - Forge HackTheBox (HTB) - Previse HackTheBox (HTB) - BountyHunter HackTheBox (HTB) - Explore HackTheBox (HTB) - Cap HackTheBox (HTB) - Pit HackTheBox (HTB) - Knife HackTheBox (HTB) - Love HackTheBox (HTB) - Tenet HackTheBox (HTB) - Ready Watermarking images with HUGO My Github Project went viral! Cryptohack - ASCII [5 pts] Cryptohack - Finding Flags [2 pts] Cryptohack - Great Snakes [3 pts] Cryptohack - JWT Sessions [10 pts] Cryptohack - Network Attacks [5 pts] Cryptohack - Token Appreciation [5 pts] CAF's Android for MSM Basic Website Analytics with Vercel Github Actions as Temporary File Sharing Platform Addition of prebuilt APK - AOSP Rom Development External Link With target='_blank' in Hugo Markdown Setting Up Build Environment - AOSP Rom Development Using Secure HTTP Headers with Vercel/Zeit Education and Certifications Link Tree ↟ | Aditya Telange Personal Projects Resume - Aditya Telange Security Acknowledgements About Me Graph View License Privacy Policy
Getting Started - AOSP Rom Development
[Aditya Telange](https://x.com/adityatelange) · 2020-04-13 · via Homepage on Aditya Telange

Introduction

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.

What is AOSP ?

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/

What is a custom ROM ?

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

  • Lineage OS ( previously Cynogen MOD)
  • OmniROM
  • Paranoid Andoid
  • Resurrection Remix
  • Pixel Experience
  • GrapheneOS (Security and privacy focused)

… and many more More can be found here

Why build your own system ?

  • Full control over device software ( remove bloat, stop telemetry data, more privacy)
  • Extend device lifetime beyond OEM support
  • Customize/Personalize device
  • Get Latest Security Patch directly from AOSP
  • Live life on Edge ; )

What are Pre-requisites ?

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.

NameExtension
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

Where to ask for if I get errors ?

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


References