LineageOS

On this page 7

LineageOS is a free and open-source Android distribution built by a volunteer community on top of the Android Open Source Project (AOSP). Among mobile platforms, it is the best-known custom ROM: it replaces the manufacturer’s firmware with a clean, close-to-stock Android system and keeps many devices receiving security patches and new Android versions long after official vendor support has ended.

The project started in late 2016 as the community successor to CyanogenMod, after the company behind that ROM shut down its infrastructure. LineageOS ships without Google apps, carries no advertising or preinstalled vendor software, and is distributed as device-specific builds maintained by individual volunteers.

How LineageOS is built on AOSP

LineageOS takes the AOSP source code that Google publishes with each Android release and combines it with device-specific trees, kernel sources and proprietary hardware blobs. The blobs are closed binaries for components such as the modem, camera and graphics processor, which the project cannot rewrite and therefore extracts from the official firmware.

Each Android release corresponds to a major LineageOS version: for example, LineageOS 21 is based on Android 14 and LineageOS 22 on Android 15. Monthly Android security bulletin patches are merged into the active branches, and official builds are generated automatically, typically on a weekly schedule for each supported device.

The table below shows the main layers of a LineageOS installation and who maintains each one.

LayerContentMaintained by
AOSP frameworkCore Android system and APIsGoogle upstream, merged by the project
Lineage additionsSettings, apps and system featuresCore LineageOS developers
Device treeHardware configuration for one modelVolunteer device maintainer
KernelLinux kernel adapted to the chipsetMaintainer, based on vendor source
Proprietary blobsClosed drivers for modem, camera, GPUExtracted from vendor firmware
Layers of a LineageOS system

Features that distinguish LineageOS

LineageOS aims to stay close to stock Android while adding practical controls that many vendor skins remove or never offered. It includes its own launcher called Trebuchet, a lightweight browser, a camera app named Aperture, a music player and a recorder, all open source.

  • Customizable status bar and navigation, including button layouts and gesture options.
  • Per-app network restrictions that block mobile data, Wi-Fi or VPN traffic for individual apps.
  • Trust interface, which summarizes the security state of the device and warns about risky settings.
  • LineageOS Recovery and an integrated updater for over-the-air installation of new builds.
  • Support for privileged system features such as profiles, advanced reboot and charging limits on some devices.

These additions remain modest by design. The project deliberately avoids heavy theming and bloat, which keeps maintenance manageable across hundreds of device models.

LineageOS compared with other Android options

LineageOS occupies a middle position between vendor firmware and hardened privacy ROMs. It is broader in device support than security-focused projects, but it does not offer the same depth of protection. The comparison below places it among neighboring platforms.

PlatformDevice supportGoogle servicesMain focus
LineageOSVery broad, community maintainedNot included, optional add-onLongevity and clean Android
GrapheneOSNarrow, selected Pixel modelsOptional sandboxed PlayHardened security and privacy
/e/OSBroad, partly based on LineageOSReplaced by microGDe-Googled consumer experience
Vendor Android skinOne manufacturer’s devicesFully integratedBrand features and ecosystem
Plain AOSP buildReference and development devicesNot includedBaseline for developers
LineageOS and related Android distributions

A key difference concerns verified boot. GrapheneOS and stock firmware relock the bootloader with their own keys, while most LineageOS installations run with an unlocked bootloader, which weakens protection against physical tampering.

Installing and running LineageOS in practice

Installation follows a device-specific procedure published for each officially supported model. The general sequence is to put the bootloader into an unlocked state, flash LineageOS Recovery, wipe user data, and install the system package, optionally followed by a Google apps package that must be flashed before the first boot.

The following decision table helps users judge whether LineageOS is a good fit for a given situation.

SituationRecommendationReason
Device past vendor supportStrong candidateRestores recent security patches
Need for banking or payment appsCheck compatibility firstPlay Integrity checks may fail
Wish to avoid Google servicesGood fitShips without Google apps by default
High-risk security threat modelPrefer a hardened OSUnlocked bootloader and slower firmware updates
Device not officially supportedUse cautionUnofficial builds vary widely in quality
When LineageOS makes sense

Updates arrive through the built-in updater, which downloads signed packages and applies them in the background. Moving between major versions, for example from one Android base to the next, sometimes requires a fresh Google apps package and careful reading of the upgrade notes.

Limitations and risks of LineageOS

LineageOS extends device life, but it cannot fix everything below the Android layer. Firmware for the modem, bootloader and secure elements comes from the manufacturer, so once vendor support ends, low-level vulnerabilities stay unpatched even on a fully updated LineageOS build.

SymptomLikely causeTypical remedy
Banking app refuses to runFailed Play Integrity attestationUse the web service or another device
Camera quality below stockVendor image processing not availableAccept trade-off or use a ported app
Device dropped from official buildsNo active maintainerWait for a new maintainer or migrate
Boot loop after updateMismatched Google apps packageReflash the matching package
Common problems and their causes

Device support also depends on volunteer availability. A model can lose official builds when its maintainer steps away, which means long-term support is likely but never guaranteed.

Understanding it simply

LineageOS is a replacement operating system for Android phones and tablets, made by volunteers and offered for free. Think of a car whose maker has stopped producing parts. LineageOS is like a fresh engine for it. The body stays the same, but the car keeps running safely for longer.

It looks and feels like plain Android. There is no advertising and no extra apps from the phone maker. The trade-off is that installing it takes some technical steps. A few apps with strict security checks may not work. Also, the hardware’s own hidden software is not updated.

Applied in practice

A small nonprofit owns twelve Android phones used by field staff for messaging, maps and photo documentation. The manufacturer stopped releasing security updates two years after launch, and the organization’s IT volunteer flags the devices as a risk because their last security patch is now more than eighteen months old.

Because the model is on the official LineageOS device list, the volunteer installs LineageOS on one test phone, adds a Google apps package for the maps and messaging apps the staff rely on, and checks that the camera and GPS work reliably. After a week without problems, the remaining eleven phones are converted over two afternoons.

The result is that every device receives monthly Android security patches again, battery life improves slightly without the vendor’s preinstalled software, and the organization postpones a replacement purchase by roughly two years. The IT volunteer documents that one payment app no longer runs, so staff use the web version for that task.