Welcome to the Android Open Source Project!

Android is an open source software stack for a wide range of mobile devices and a corresponding open source project led by Google. This site offers the information and source code you need to create custom variants of the Android stack, port devices and accessories to the Android platform, and ensure your devices meet compatibility requirements.

What's New

Compatibility Test Suite User Instructions

The Compatibility Test Suite (CTS) User Manual previously presented as a PDF has been converted to native web pages and updated to improve clarity.

Hardware Abstraction Layer References

The Hardware Abstraction Layer (HAL) reference files have been updated to reflect the latest development, such as the introduction of AUDIO_PARAMETER_DEVICE_CONNECT to audio.h.

Example Dumpsys Diagnostic Output

In addition to the aforementioned Input Diagnostics, you can now find Dumpsys examples of usage data for RAM (procstats), network (netstats), and battery (batterystats).

Audio Latency Measurements

The Android audio team has published round-trip audio latency measurements for select Nexus devices to help partners compare their own devices and reduce latency further.

Power Profile Details

Power information has been moved and expanded to include details on cpu.awake and cpu.active. The need to create a power_profile.xml file is also emphasized throughout.

Initializing Improvements

Build environment Initializing instructions now explain how to resize and unmount Mac OS sparse images. And the ccache section has been moved to an optional Optimizing a build environment section.

Getting Started

Explore the Source

Get the complete Android platform and modify and build it to suit your needs. You can also contribute to the Android Open Source Project (AOSP) repository to make your changes available to everyone else in the Android ecosystem.

Android framework summary

Port Android to Devices

Port the latest Android platform and create compelling devices that your customers want.

Build Accessories

Sometimes, a device can't do it all. Tap into Android's open accessory standard and build accessories to complement the wide variety of Android-powered devices.

Get Compatible

Being Android-compatible lets you offer custom features but still give users and developers a consistent and standard experience across all Android-powered devices. Android provides guidance and a test suite to verify your Android compatibility.

Help this Site

Please note, source.android.com is maintained in the Android Open Source Project. See the docs/source.android.com project log in AOSP for the complete list of changes to this site. Contribute your own updates to that same project and help maintain source.android.com.