Android Architecture: How Linux Kernel Powers 3 Billion Devices
This article explains Android's four-layer architecture built on the Linux kernel, traces its version history from Cupcake to Android 15, details security mechanisms like app sandboxing and permissions, and compares Android's open ecosystem with iOS's closed approach.
Reading font

What Is Android
Android is a mobile operating system developed by Google, based on the Linux kernel. Founded by Andy Rubin in 2003, acquired by Google in 2005, the first Android phone (HTC Dream/T-Mobile G1) was released in 2008. Android now holds over 70% global smartphone market share, running on more than 3 billion devices from budget to foldable phones. Analogy: Android is a "universal floor plan" — each manufacturer customizes the UI (MIUI, One UI, ColorOS) but shares the same foundation.
Android System Architecture
Android consists of four layers from bottom to top:
1. Linux Kernel Layer (Bottom)
Manages hardware (CPU, memory, display, camera, etc.)
Provides drivers (camera, Bluetooth, WiFi, etc.)
Handles power management, memory management, process management
2. Hardware Abstraction Layer (HAL)
Provides uniform hardware interfaces to upper layers
Allows apps to ignore specific hardware models
Analogy: Like a USB port — regardless of flash drive brand, the computer knows how to read it.
3. Framework Layer
Supplies APIs needed for app development
Includes Activity Manager, Window Manager, Content Provider, Notification Manager, etc.
4. Application Layer (Top)
System apps (Phone, Messages, Camera, Settings)
All user-installed apps
Android and Linux Relationship
Android uses the Linux kernel but builds its own upper layers:
Linux Kernel : Handles low-level hardware management and scheduling
Android Runtime (ART) : Runs Java/Kotlin apps
Android Framework : Provides services for app development
Therefore Android is not a "complete Linux" — it uses Linux as the foundation but the entire userspace is Google's own design. You cannot run standard Linux programs on Android like on Ubuntu (though tools like Termux can simulate a Linux environment).
Android Version Evolution
Key versions from 2009 to 2024:
1.5 Cupcake (2009) : Virtual keyboard, video recording
2.3 Gingerbread (2010) : NFC, improved UI
4.0 Ice Cream Sandwich (2011) : Unified phone and tablet UI
5.0 Lollipop (2014) : Material Design language
8.0 Oreo (2017) : Picture-in-picture, notification dots
10 (2019) : Privacy enhancements, system dark theme
12 (2021) : Material You dynamic theming
14 (2023) : Satellite connectivity, Health Connect
15 (2024/25) : AI integration, privacy sandbox
Starting with Android 10, Google dropped dessert codenames (previously each version had a sweet treat name).
Android Security Mechanisms
Multi-layered protection:
App Sandbox : Each app runs in an isolated sandbox, cannot freely access other apps' data.
Permission System : Apps must request user permission for sensitive features like camera, microphone, location.
Google Play Protect : Scans installed apps for malicious behavior.
Encrypted Storage : Device data encrypted by default.
Security Updates : Google releases monthly security patches.
Android vs iOS Comparison
Key differences across eight dimensions:
Openness : Android open and customizable; iOS closed, unified experience
Device Choice : Thousands of Android models; only iPhone for iOS
Price Range : Android from budget to premium; iOS relatively expensive
App Store : Google Play plus third-party stores; iOS only App Store
Sideloading : Android supports APK installation; iOS heavily restricted
System Updates : Android depends on manufacturer; iOS unified push for 5-6 years
Fragmentation : Android severe due to vendor customizations; iOS unified
Market Share : Android 70%+ globally; iOS ~28% but higher profit share
Exam Points (Software Qualification)
Android basic concepts and architecture
Relationship between Android and Linux
Characteristics of mobile operating systems
Operating system layered structure
Summary
Android is the world's most widely used operating system, built on the Linux kernel but with a completely Google-designed userspace. Its openness enables thousands of manufacturers to produce diverse devices, but also creates fragmentation challenges. Understanding Android's architecture not only helps you use your phone better but also lays the foundation for mobile development.
For questions about attribution, corrections or content rights, please contactand we will review it promptly.