AOSP vs Android: What Google Adds on Top of the Open Source Project

AOSP vs Android comes down to one split: AOSP is the open source code of the operating system, and the "Android" on most phones is that code plus Google's licensed apps and services, on a device that passed Google's compatibility tests. The Android Open Source Project gives anyone the source to build an Android-based OS. Google Mobile Services, which covers the Play Store, Google Play services, Gmail, Maps and the rest, isn't part of AOSP. Phone makers get it only by signing a license with Google and passing certification.
The short version:
- AOSP is the base: kernel, system, framework, runtime and a set of basic apps. It's mostly Apache 2.0 licensed, and anyone can use it.
- Google's Android adds GMS, Google Play services and the Play Protect certification badge. None of that is open source.
- Phone makers build their own interface on top, then license GMS to ship Google apps.
- Custom ROMs like LineageOS and GrapheneOS start from AOSP and ship without Google's apps by default.
- Without GMS you lose the Play Store, Google's push notification service, Google sign-in and the integrity checks that many banking apps use.
- Since 2026, Google publishes new AOSP source twice a year, in Q2 and Q4.
Quick Comparison
| AOSP | Google's Android (GMS-certified) | |
|---|---|---|
| What it is | Open source code for the OS | AOSP plus Google's licensed apps and services |
| Who can use it | Anyone, for any purpose | Phone makers that sign a GMS license |
| License | Mostly Apache 2.0; Linux kernel under GPLv2 | GMS apps and Play services are proprietary |
| Google Play Store | Not included | Included |
| Google Play services | Not included | Included, updated by Google outside OS updates |
| Push notifications (FCM) | Not available without Play services | Available |
| Compatibility testing | Optional; CTS is free to run | Must meet the CDD and pass CTS |
| "Play Protect certified" | No | Yes |
| Typical examples | LineageOS, GrapheneOS | Pixel and most phones sold with Google apps |
What Is AOSP?
AOSP is the public source code of Android, plus the documentation for building it. Google's AOSP overview puts it simply: the source is available to anyone, and you can use it to create custom variants of Android for your own devices.
A few things about AOSP that most explainers skip:
- Google leads it. Android started with the Open Handset Alliance, but Google maintains and develops the platform. Google says it treats Android as one complete product, not a specification or a pile of replaceable parts.
- It's open source, not "free software." Google's own docs draw that line on purpose. Most of the code uses the permissive Apache 2.0 license.
- Contributions go through Google. Outside developers can propose changes, but Google reviews them and decides what gets merged.
- It runs without a phone. AOSP includes Cuttlefish, a virtual Android device for testing builds on a computer or in the cloud.
Is Android open source?
Mostly, yes. The AOSP licensing page says Apache 2.0 is the preferred license and covers the majority of Android software. The Linux kernel is the main exception, under GPLv2. Google chose Apache 2.0 so phone makers can ship Android without having to open up their own changes.
But "Android is open source" stops being true once you look at a real phone. Three layers on a typical device are closed:
- Google Mobile Services, which is licensed, not open.
- Vendor firmware and drivers for the chip, modem and camera, usually shipped as binary blobs.
- The phone maker's own apps and interface, which Apache 2.0 lets them keep private.
So the OS foundation is open, and the phone in your pocket mostly isn't.
What Google Adds: GMS, Play Services and Certification
This is the real answer to "aosp vs android." The difference isn't a different operating system. It's a package of licensed software and a set of rules.
Google Mobile Services
Google's GMS page describes GMS as a collection of Google apps and APIs: Google Search, Chrome, YouTube, the Play Store and more. The page is direct about it: AOSP covers common device features like email and calling, but GMS isn't part of AOSP and is only available through a license with Google. The exact apps can vary by country.
Google Play services
Google Play services is the hidden part of GMS, and it matters most. According to Google's Play services overview, it provides core background services on Google-certified devices and updates itself automatically, separately from the OS, the phone maker and the carrier.
App developers build on it constantly. Location, sign-in, maps and push notifications all lean on Play services APIs. That's why an app can be "an Android app" and still fail on a phone running plain AOSP.
Compatibility and certification
To get GMS, a phone has to be Android-compatible first. Google's compatibility program overview sets out the two requirements:
- Meet the Compatibility Definition Document (CDD), the list of hardware and software requirements.
- Pass the Compatibility Test Suite (CTS), a free, open source test suite.
Being compatible makes a device eligible to license the Play Store and GMS and to use the Android trademark. It doesn't guarantee it. Google's docs put it plainly: anyone can use the Android source, but a device has to be compatible to join the Android ecosystem.
The consumer-facing version of this is the Play Protect certified badge. Google says certified devices go through its security tests and more than 100,000 compatibility tests, and come with authentic Google apps. Its FAQ warns that on an uncertified device, apps from Google and the Play Store may not work as intended.
AOSP vs Stock Android vs OEM Skins
"Stock Android" is a loose term. Usually it means the Android you get on a Google Pixel: AOSP plus Google's own interface and apps, with little added by a third-party phone maker. It isn't the same as AOSP. A Pixel ships with GMS and Google's own apps, none of which are part of AOSP.
Here's how the main types of Android builds stack up:
| Build type | Starts from | Adds | Google apps? |
|---|---|---|---|
| Plain AOSP | Google's public source | Nothing; basic apps only | No |
| Pixel ("stock") | AOSP | Google's interface, Pixel features, GMS | Yes |
| Phone maker skin | AOSP | The maker's own interface, apps and features, GMS | Yes, licensed |
| Fork without GMS (Amazon Fire OS) | Android | The vendor's own app store and services | No |
| Custom ROM (LineageOS, GrapheneOS) | AOSP | Updates, customization or security hardening | Not by default |
Phone makers can change a lot. Google's compatibility program is built so they can differentiate, as long as third-party apps still run. That's how a phone maker's skin can look nothing like a Pixel and still run the same Play Store apps.
Amazon is the best-known big company that took the other road. Amazon's Fire OS overview calls Fire OS a fork of Android that swaps Google's services for Amazon's own, including the Amazon Appstore in place of Google Play.
How Custom ROMs Build on AOSP
Custom ROMs show what AOSP is good for outside a big company. Two well-known projects take it in different directions.
LineageOS calls itself a free and open source OS based on the Android mobile platform. Its goal is to keep phones updated long after their makers stop. Its FAQ says Google's AOSP security patches are integrated, tested and shipped to every maintained device. Its latest major version, LineageOS 24.0, is based on Android 17, according to the project's October 2026 changelog.
GrapheneOS builds privacy and security hardening on top of AOSP. Its site says many of its past improvements were contributed back to AOSP and Linux. It runs on Pixels only, and it can run Google Play as an ordinary sandboxed app instead of a privileged system component.
Neither ships GMS. Our GrapheneOS vs LineageOS comparison covers device support and security in detail, and GrapheneOS vs CalyxOS covers the other Pixel-friendly option.
For apps that expect Google, many ROMs turn to microG, an open source reimplementation of Google Play services. The project describes it as a free replacement that lets apps calling Google's APIs run on AOSP-based ROMs like LineageOS. It covers a lot, but not everything.
What Apps Lose Without Google Play Services
On a phone running AOSP with no GMS, the OS works fine. The gaps show up in apps, because so many of them assume Google is there. Here's what Google's own developer docs say these features need:
| Feature | What it depends on | On plain AOSP |
|---|---|---|
| Play Store installs and updates | GMS license | Not available; use another app store |
| Push notifications via Firebase Cloud Messaging | Google Play Store app installed | Apps using FCM won't get pushes unless they have a fallback |
| Google sign-in, Maps SDK, location APIs | Google Play services | Missing, or partly covered by microG |
| Play Integrity "device integrity" check | A genuine, certified Android device | Fails, so apps that require it may refuse to run |
| Google apps (Gmail, YouTube, Maps) | GMS license | Use web versions or alternatives |
The integrity check causes the most frustration. Google's Play Integrity verdict docs define MEETS_DEVICE_INTEGRITY as an app running on a genuine, certified Android device. On Android 13 and up, it relies on hardware proof that the bootloader is locked and the OS is a certified manufacturer image. A custom ROM is not a certified image, so apps that insist on this verdict, often banking and payment apps, can lock you out.
For the day-to-day version of this, such as tap-to-pay, notifications and maps, our de-Googled phone guide goes app by app.
How Google Publishes AOSP Source Now
How AOSP gets published has changed twice since early 2025.
March 27, 2025: aosp-main went read-only. The AOSP FAQ says aosp-main has been read-only since that date. Developers now build from the android-latest-release manifest, which points at the latest release branch. Google's site updates page shows that branch is currently android17-release. If an outside contributor proposes a change and Google accepts it, Google cherry-picks it into its internal development branch, and it appears in a later push to a public release branch.
2026: source drops in Q2 and Q4. A banner across source.android.com, including its source download page, says that, effective in 2026, Google will publish source code to AOSP in Q2 and Q4, to align with its trunk-stable development model. For context, Google's November 2024 Android 16 preview announcement laid out its 2025 plan: a major Android release in Q2 and a minor API release in Q4, with smaller quarterly updates in between.
What this means in practice:
- AOSP is still published. Google's docs still describe it as open source code anyone can use.
- The public branch is release code. Build and propose changes against
android-latest-release, notaosp-main. - Google decides what gets in. Accepted outside changes go into Google's internal branch first and reach AOSP in a later public push.
Which Should You Care About?
It depends on who you are.
- You just want a phone that works with every app: buy a Play Protect certified phone. That's Google's Android, and it's what nearly every app is tested on.
- You want fewer Google services but still need some apps: a custom ROM built on AOSP, with sandboxed Play or microG, gets you most of the way. Check your bank app first.
- You're building a device: start from AOSP. Decide early whether you need GMS, because that means passing CTS, meeting the CDD and signing a license with Google.
- You're an app developer: if your app depends on FCM, Play Integrity or Google sign-in, it will degrade on AOSP devices. Plan a fallback if those users matter to you.
Where Taku Fits
Most people who look up AOSP are really asking how much of their phone they control, and what they give up to get more of it. If you're also wondering where AI fits on a phone, our mobile AI OS explainer covers who is building what.
Taku OS is an open-source, Android-based operating system with an integrated AI agent.
Taku OS is an early-stage Research Preview.
Taku OS is built on Android and supports common Android apps.
Taku OS is open source. Install it, build on it, and tell us what breaks.
Key Points
- AOSP is Android's open source code. Google's Android is AOSP plus licensed Google Mobile Services on a device that passed certification.
- Most of AOSP is under Apache 2.0, and the Linux kernel is under GPLv2. GMS, Play services, vendor drivers and most phone makers' apps are closed.
- To license GMS, a device must meet the CDD and pass CTS. The "Play Protect certified" badge is how buyers can tell.
- Without Google Play services, apps lose Play Store access, FCM push notifications, Google sign-in and the Play Integrity device check.
- LineageOS and GrapheneOS build on AOSP without GMS. Amazon's Fire OS is an Android fork that uses Amazon's services instead.
aosp-mainhas been read-only since March 27, 2025, and from 2026 Google publishes AOSP source in Q2 and Q4.
FAQ
What is AOSP?
AOSP stands for Android Open Source Project. It's the public source code and documentation for the Android operating system, led by Google. Anyone can download it, change it and build their own version of Android.
What is the difference between AOSP and Android?
AOSP is the open source base. The Android on most phones is AOSP plus Google Mobile Services, meaning the Play Store, Google Play services and Google's apps, licensed to phone makers whose devices pass Google's compatibility tests.
Is Android open source?
The core is. Most of AOSP uses the Apache 2.0 license and the kernel uses GPLv2. Google's apps and services, most phone makers' interfaces and many hardware drivers aren't open source.
What is the difference between AOSP and GMS?
AOSP is the operating system. GMS is a separate, proprietary bundle of Google apps and APIs that runs on top of it. Google says GMS isn't part of AOSP and is only available through a license.
Is a Pixel running AOSP?
A Pixel runs Android built from AOSP, but with Google's own interface, apps and GMS on top. It's often called "stock Android," which isn't the same as plain AOSP.
Can I use the Play Store on an AOSP phone?
Not out of the box. Some custom ROMs let you add Google Play, as a sandboxed app on GrapheneOS or as a separate package on LineageOS, or use microG instead. Apps that require a certified device may still refuse to run.
Is AOSP still open source after Google's 2025 and 2026 changes?
Yes. Google still publishes AOSP source for anyone to use. What changed is the process: aosp-main has been read-only since March 27, 2025, accepted outside changes go into Google's internal branch first, and from 2026 Google publishes source to AOSP in Q2 and Q4.