Generated by GPT-5-mini| AOSP | |
|---|---|
| Name | Android Open Source Project |
| Developer | |
| Initial release | 2008 |
| Programming languages | Java (programming language), C (programming language), C++ |
| License | Apache License |
| Repo | Android (operating system) source tree |
| Website | Google Android Open Source Project |
AOSP The Android Open Source Project is the open-source upstream of the Android platform maintained by Google and a broad ecosystem including contributors from Samsung Electronics, Sony Corporation, Xiaomi, Huawei Technologies, OnePlus. It provides the core operating system, middleware, libraries, and key applications used by device manufacturers such as Motorola, LG Electronics, Nokia and software vendors including LineageOS, CyanogenMod (historical), and projects derived by communities around Replicant (operating system). AOSP serves as the basis for commercial Android builds used by carriers like Verizon Communications and retailers such as Amazon (company).
AOSP is the canonical source for the Android platform, containing the codebase for the Linux-kernel-based Android (operating system) stack, the Android Runtime (ART) originally succeeding Dalvik (software), system libraries like Bionic and libc, media frameworks, and core apps. It interacts with hardware via HALs originated in specifications from companies such as Qualcomm, MediaTek, Intel Corporation, and Broadcom. The project aligns with Android's compatibility program overseen by Open Handset Alliance members, and its releases coincide with platform versions referenced by manufacturers including Google Nexus and Google Pixel lines.
Development began after the formation of the Open Handset Alliance led by Google in 2007 and the public reveal of Android in 2008 with partners like HTC Corporation shipping early devices. Major milestones trace through releases named by confectionery themes and later numeric scheme used in marketing by Google LLC; vendors like Samsung Electronics and operators like T-Mobile US drove rapid adaptation. Forks and downstream projects such as Amazon Fire OS and vendor-specific ROMs emerged following licensing choices and vendor customizations by Sony Corporation and Xiaomi. Legal and industry events involving Oracle Corporation influenced implementation choices and API practices during the 2010s, while collaborative efforts with organizations like Linux Foundation and chipset vendors shaped kernel and driver integration.
The architecture centers on a modified Linux kernel providing drivers and process isolation, native libraries (including Skia, OpenGL ES implementations from Khronos Group-member vendors), and the Android Runtime executing applications written for the Java platform. Key components include the Android Framework (ActivityManager, WindowManager), system services, MediaServer, and power management influenced by designs from ARM Holdings and scheduler work referencing upstream Linux kernel development. Hardware Abstraction Layers mediate between HAL modules and vendor driver stacks from companies like Qualcomm. Build artifacts are produced using toolchains such as GCC (compiler collection) historically and Clang (compiler) increasingly, with continuous integration patterns adopted from projects like Git and Gerrit.
AOSP is released primarily under the Apache License with portions under permissive or compatible licenses; third-party components may include GNU General Public License code (notably in parts of the kernel) and firmware blobs under proprietary terms from vendors like Broadcom and NVIDIA Corporation. Legal disputes involving Oracle Corporation over Java APIs and litigation trends influenced industry practices around reimplementation and binary compatibility. Device makers negotiate agreements for proprietary services such as Google Play Services under separate licensing, creating a dual ecosystem of open-source upstream and vendor-licensed downstream components that implicates compliance efforts by companies including Huawei Technologies and Xiaomi.
Downstream distributions take AOSP source and add vendor drivers, proprietary firmware, and optional services to produce user-facing images for devices from Samsung Electronics, Motorola Mobility, Sony Corporation, HTC Corporation, LG Electronics, and emerging manufacturers in markets served by Xiaomi and OnePlus. Community ROMs like LineageOS provide alternative distributions supporting devices long after official updates end. Carrier-branded distributions by AT&T and Verizon Communications often layer customizations and apps. Support for System-on-Chip platforms from Qualcomm, MediaTek, and Samsung Electronics determines device compatibility and drives BSPs (board support packages) maintained by OEMs and silicon vendors.
Contribution to AOSP involves code review, patch submission, and continuous integration via repositories and review tools influenced by GitHub-era workflows and Gerrit infrastructure. Contributors include engineers from Google, OEMs like Samsung Electronics and Sony Corporation, chipset firms such as Qualcomm and MediaTek, and independent developers from projects like LineageOS and Replicant (operating system). Governance combines corporate stewardship by Google with meritocratic review processes; major vendors coordinate through technical meetings and public issue trackers aligning with standards bodies like Khronos Group and collaborations with the Linux Foundation.
Security in AOSP is addressed through platform hardening, SELinux policies inspired by NSA-led initiatives, verified boot processes, and the Android Security Bulletin cadence established by Google in coordination with OEMs and carriers. Update mechanisms include factory images for flashing, over-the-air distribution managed by OEMs and carriers, and modular components delivered via Project Mainline-style modules enabling Google and vendors to push fixes through updated system modules. Vulnerability disclosure processes and coordination with CERTs, chipset vendors like Qualcomm, and service providers underpin incident response and patch deployment.