Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
AOSP overview
Stay organized with collections
Save and categorize content based on your preferences.
Android is an operating system for a wide array of devices with different
form factors. The documentation and source code for Android is available to
anyone as the Android Open Source Project (AOSP). You can use
AOSP to create custom variants of the Android OS for your own devices.
AOSP is designed so that there's no central point of failure, where one
industry player restricts or controls the innovations of another. Therefore,
AOSP is a full, production-quality developer product with source code open for
customization and porting.
This section of documentation helps new AOSP developers get started with the
platform and to perform essential development tasks.
Required terms
Following is a list of terms and definitions used throughout the Getting
Started documentation. You should study each definition before continuing
further.
- Android app developer
Android app developers writes Android apps or applications that run on
Android. There are two classification of app developers: first-party (1p) and
third-party (3p) app developers.
- Android first-party app developer
- An Android app developer that has access to AOSP System APIs and writes
privileged and device manufacturer apps.
- Android third-party app developer
- An Android app developer who solely uses Android's public SDK to create
Android apps.
If you want to develop third-party apps for Android, refer to
developers.android.com
. The information on
this website is solely for those working directly with AOSP.
- Android debug bridge (adb)
- A command-line tool (
adb
) that allows your workstation communicate with a
virtual, software-emulated, or physical device.
- Android-compatible device
- A device that can run any third-party app written by third-party developers
using the Android SDK and NDK. Android-compatible devices must adhere to the
requirements of the
Compatibility Definition Document (CDD) and pass the
Compatibility Test Suite (CTS). Android-compatible
devices are eligible to participate in the Android ecosystem which includes
potential licensure of the Android Play Store, potential licensure the
Google Mobile Services (GMS) suite of
applications and APIs, and use of the Android trademark. Anyone is welcome to
use the Android source code, but to be considered part of the Android ecosystem,
a device must be Android-compatible. For further information on compatibility
and CTS, see the
Android Compatibility Program overview
- Compatibility Definition Document (CDD)
- A document that enumerates the software and hardware requirements for an
Android-compatible device.
- Contributor
A person who makes contributions to the AOSP source code. Contributors
can be employees of Google, employees from other companies, and individuals
with no company affiliation. Every AOSP contributor uses the same tools, follows
the same code review process, and is subject to the same coding style. You
don't have to be a contributor to use AOSP; you can download AOSP,
modify it for your own needs, and deploy it on a device without contributing
code for others to use.
There are limits to the type of code contributions Google accepts. For example,
you might want to contribute an alternative application API, such as a full
C++-based environment. Google would decline that contribution because Android
encourages applications to be run in the ART runtime. Similarly, Google doesn't
accept contributions such as GPL or LGPL libraries that are incompatible with
licensing goals.
If you are interested in contributing source code,
contact Google prior to beginning work.
- Compatibility Test Suite (CTS)
A free, commercial-grade test suite, available for download as a binary or as
source in AOSP. The CTS is a set of unit tests designed to be integrated into
your daily workflow. CTS's intent is to reveal incompatibilities, and ensure
that the software remains compatible throughout the development process.
- Cuttlefish
A configurable virtual Android-powered device that can run remotely, using
third-party cloud offerings, such as Google Cloud Engine, and locally on Linux
x86 machines.
- Developer
In the context of AOSP, a developer is anyone who works with AOSP in any
way. The term "developer" is used to generically refer to the various people who
might read this documentation, such as original equipment manufacturers
(OEMs), handset makers, carriers, and System-on-a-Chip (SoC) creators.
- Google Mobile Services (GMS)
A collection of Google apps and APIs that can be pre-installed on devices.
- Target
A permutation of a device, such as a specific model or form factor. For
example, aosp_cf_x86_64_only_phone-userdebug
represents a x86 65MB phone with
debugging information that is designed to run on the cuttlefish emulator.
Governance philosophy
A group of companies known as the Open Handset Alliance (OHA), led by Google,
originated Android. Today, many companies—both original members of the OHA and
others—have invested heavily in Android. These companies have allocated
significant engineering resources to improve Android and bring Android devices
to market.
The companies that have invested in Android have done so because they believe an
open platform is necessary. Android is intentionally and explicitly an open
source effort (as opposed to free software); a group of organizations with
shared needs has pooled resources to collaborate on a single implementation of a
shared product. First and foremost, the Android philosophy is pragmatic. The
objective is a shared product that each contributor can tailor and customize.
Of course, uncontrolled customization can lead to incompatible implementations.
To prevent incompatibility, the Android Open Source Project (AOSP) maintains
the
Android Compatibility program,
which spells out what it means to be Android-compatible and what's required of
device builders to achieve that status. Anyone can use the Android source code
for any purpose, and Google welcomes all legitimate uses. However, to take part
in the shared ecosystem of applications OHA members are building around Android,
device builders must participate in the Android Compatibility program.
AOSP is led by Google, who maintains and further develops Android. Although
Android consists of multiple subprojects, AOSP is strictly project management.
Google views and manage Android as a single, holistic software product, not a
distribution, specification, or collection of replaceable parts. Google's intent
is that device builders port Android to a device; they don't implement a
specification or curate a distribution.
What's next?
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-06-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-12 UTC."],[],[],null,["# AOSP overview\n\n*Android* is an operating system for a wide array of devices with different\nform factors. The documentation and source code for Android is available to\nanyone as the *Android Open Source Project (AOSP)*. You can use\nAOSP to create custom variants of the Android OS for your own devices.\n\nAOSP is designed so that there's no central point of failure, where one\nindustry player restricts or controls the innovations of another. Therefore,\nAOSP is a full, production-quality developer product with source code open for\ncustomization and porting.\n\nThis section of documentation helps new AOSP developers get started with the\nplatform and to perform essential development tasks.\n\nRequired terms\n--------------\n\nFollowing is a list of terms and definitions used throughout the Getting\nStarted documentation. You should study each definition before continuing\nfurther.\n\n*Android app developer*\n\n: Android app developers writes *Android apps* or applications that run on\n Android. There are two classification of app developers: first-party (1p) and\n third-party (3p) app developers.\n\n *Android first-party app developer*\n : An Android app developer that has access to AOSP System APIs and writes\n privileged and device manufacturer apps.\n\n *Android third-party app developer*\n : An Android app developer who solely uses Android's public SDK to create\n Android apps.\n\nIf you want to develop third-party apps for Android, refer to\n[`developers.android.com`](https://developer.android.com/). The information on\nthis website is solely for those working directly with AOSP.\n\n*Android debug bridge (adb)*\n: A command-line tool (`adb`) that allows your workstation communicate with a\n virtual, software-emulated, or physical device.\n\n*Android-compatible device*\n: A device that can run any third-party app written by third-party developers\n using the Android SDK and NDK. Android-compatible devices must adhere to the\n requirements of the\n [Compatibility Definition Document (CDD)](#cdd) and pass the\n [Compatibility Test Suite (CTS)](#cts). Android-compatible\n devices are eligible to participate in the Android ecosystem which includes\n potential licensure of the Android Play Store, potential licensure the\n [Google Mobile Services (GMS)](#gms) suite of\n applications and APIs, and use of the Android trademark. Anyone is welcome to\n use the Android source code, but to be considered part of the Android ecosystem,\n a device must be Android-compatible. For further information on compatibility\n and CTS, see the\n [Android Compatibility Program overview](/docs/compatibility/overview)\n\n*Compatibility Definition Document (CDD)*\n: A document that enumerates the software and hardware requirements for an\n Android-compatible device.\n\n*Contributor*\n\n: A person who makes contributions to the AOSP source code. Contributors\n can be employees of Google, employees from other companies, and individuals\n with no company affiliation. Every AOSP contributor uses the same tools, follows\n the same code review process, and is subject to the same coding style. You\n don't have to be a contributor to use AOSP; you can download AOSP,\n modify it for your own needs, and deploy it on a device without contributing\n code for others to use.\n\n There are limits to the type of code contributions Google accepts. For example,\n you might want to contribute an alternative application API, such as a full\n C++-based environment. Google would decline that contribution because Android\n encourages applications to be run in the ART runtime. Similarly, Google doesn't\n accept contributions such as GPL or LGPL libraries that are incompatible with\n licensing goals.\n\n If you are interested in contributing source code,\n [contact Google](/docs/setup/community) prior to beginning work.\n\n*Compatibility Test Suite (CTS)*\n\n: A free, commercial-grade test suite, available for download as a binary or as\n source in AOSP. The CTS is a set of unit tests designed to be integrated into\n your daily workflow. CTS's intent is to reveal incompatibilities, and ensure\n that the software remains compatible throughout the development process.\n\n*Cuttlefish*\n\n: A configurable virtual Android-powered device that can run remotely, using\n third-party cloud offerings, such as Google Cloud Engine, and locally on Linux\n x86 machines.\n\n*Developer*\n\n: In the context of AOSP, a developer is anyone who works with AOSP in any\n way. The term \"developer\" is used to generically refer to the various people who\n might read this documentation, such as original equipment manufacturers\n (OEMs), handset makers, carriers, and System-on-a-Chip (SoC) creators.\n\n*Google Mobile Services (GMS)*\n\n: A collection of Google apps and APIs that can be pre-installed on devices.\n\n*Target*\n\n: A permutation of a device, such as a specific model or form factor. For\n example, `aosp_cf_x86_64_only_phone-userdebug` represents a x86 65MB phone with\n debugging information that is designed to run on the cuttlefish emulator.\n\nGovernance philosophy\n---------------------\n\nA group of companies known as the Open Handset Alliance (OHA), led by Google,\noriginated Android. Today, many companies---both original members of the OHA and\nothers---have invested heavily in Android. These companies have allocated\nsignificant engineering resources to improve Android and bring Android devices\nto market.\n\nThe companies that have invested in Android have done so because they believe an\nopen platform is necessary. Android is intentionally and explicitly an open\nsource effort (as opposed to free software); a group of organizations with\nshared needs has pooled resources to collaborate on a single implementation of a\nshared product. First and foremost, the Android philosophy is pragmatic. The\nobjective is a shared product that each contributor can tailor and customize.\n\nOf course, uncontrolled customization can lead to incompatible implementations.\nTo prevent incompatibility, the Android Open Source Project (AOSP) maintains\nthe\n[Android Compatibility program](/docs/compatibility/overview),\nwhich spells out what it means to be Android-compatible and what's required of\ndevice builders to achieve that status. Anyone can use the Android source code\nfor any purpose, and Google welcomes all legitimate uses. However, to take part\nin the shared ecosystem of applications OHA members are building around Android,\ndevice builders must participate in the Android Compatibility program.\n\nAOSP is led by Google, who maintains and further develops Android. Although\nAndroid consists of multiple subprojects, AOSP is strictly project management.\nGoogle views and manage Android as a single, holistic software product, not a\ndistribution, specification, or collection of replaceable parts. Google's intent\nis that device builders port Android to a device; they don't implement a\nspecification or curate a distribution.\n\nWhat's next?\n------------\n\n- If you're new to AOSP and want to run through a tutorial on AOSP\n development, proceed with [AOSP tutorial](/docs/setup/start).\n\n- If you believe that your device needs to be Android-compatible, refer to the\n [Android Compatibility program](/docs/compatibility/overview).\n\n- If you want to learn about the background of AOSP, including Google's\n participation in the platform, see\n [AOSP frequently asked questions](/docs/setup/about/faqs)."]]