# Android 17 on a 4.9 Kernel: LineageOS 24.0 on the Pixel 3a

DevFeed: [Android 17 on a 4.9 Kernel: LineageOS 24.0 on the Pixel 3a](<https://devfeed.tech/articles/android-17-on-a-4-9-kernel-lineageos-24-0-on-the-pixel-3a-121954.md>)

Original publisher: [Read original article](<https://proandroiddev.com/android-17-on-a-4-9-kernel-lineageos-24-0-on-the-pixel-3a-afdbeff25203?source=rss----c72404660798---4>)

Author: xbill

Published: 2026-11-06T15:13:25Z

Content type: tutorial

Language: en

Sources: [ProAndroidDev](<https://devfeed.tech/sources/proandroiddev-medium.md>)

Topics: [LineageOS](<https://devfeed.tech/topics/lineageos.md>), [Android](<https://devfeed.tech/topics/android.md>), [Linux Kernel](<https://devfeed.tech/topics/linux-kernel.md>), [SELinux](<https://devfeed.tech/topics/selinux.md>), [Linux](<https://devfeed.tech/topics/linux.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-17](<https://devfeed.tech/tags/android-17.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-rom](<https://devfeed.tech/tags/android-rom.md>), [androiddev](<https://devfeed.tech/tags/androiddev.md>), [backporting](<https://devfeed.tech/tags/backporting.md>), [bluetooth](<https://devfeed.tech/tags/bluetooth.md>), [boot](<https://devfeed.tech/tags/boot.md>), [build](<https://devfeed.tech/tags/build.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [connectivity](<https://devfeed.tech/tags/connectivity.md>), [device-tree](<https://devfeed.tech/tags/device-tree.md>), [google-play-services](<https://devfeed.tech/tags/google-play-services.md>), [init](<https://devfeed.tech/tags/init.md>), [ion](<https://devfeed.tech/tags/ion.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [keys](<https://devfeed.tech/tags/keys.md>), [lineageos](<https://devfeed.tech/tags/lineageos.md>), [linux](<https://devfeed.tech/tags/linux.md>), [linux-kernel](<https://devfeed.tech/tags/linux-kernel.md>), [loader](<https://devfeed.tech/tags/loader.md>), [logger](<https://devfeed.tech/tags/logger.md>), [pixel](<https://devfeed.tech/tags/pixel.md>)

## AI overview

The article reports a working LineageOS 24.0 (Android 17) port for the Pixel 3a on its original Linux 4.9.337 kernel: it boots with SELinux enforcing in 83 seconds, supports Wi-Fi, Bluetooth, sensors and Chrome, and can update without erasing user data. Android 17 expects newer kernel features, so the port combines a cgroup BPF reference-count fix, five platform-code forks for fscrypt, BPF/network handling and the native app zygote, plus device-tree changes. A /init logger that records kernel and system logs helped identify boot failures. Google Play Services required repackaging because its EROFS APEX cannot mount on kernel 4.9. Active Edge remains disabled; calls, SMS, audio, photos, fingerprint enrollment, NFC payments and satellite GPS are untested. Builds use test keys and trigger a recovery signature warning; first installation wipes the phone.

## Source excerpt

This article provides a step by step guide to running LineageOS 24.0, which is Android 17, on a Google Pixel 3a and its original 4.9 Linux kernel. It continues the LineageOS 23.2 port on the same phone. Every patch, script and build is published. https://github.com/xbill9/android_kernel_google_msm-4.9/releases/tag/lineage-24.0-sargo-20261027 The Pixel 3a boots LineageOS 24.0 on kernel 4.9.337 with SELinux enforcing in 83 s, with Wi-Fi, Bluetooth, the sensors, Chrome and Google Play Services working, and updates that keep user data. Android 17 assumes a kernel of at least 5.10 in more places than Android 16 did. The port needed one kernel fix, for a cgroup BPF reference count the 4.9 backport had missed, five forks of platform code (fscrypt keys, the BPF loader, netd and Connectivity, and the native app zygote), and device-tree changes for ueventd, gralloc and the ION memory allocator. The /init logger from the 23.2 port found each one. What is this project trying to Do? The Pixel 3a (codename sargo) has a Snapdragon 670 and a 4.9 kernel. Its last Google build is Android 12. LineageOS carries it officially to 22.2, and the previous article in this series brought it to 23.2, Android 16, by backporting three kernel features. The goal here: keep the phone current and out of a landfill by running the newest LineageOS release, 24.0, on the kernel it already has. The kernel carries a BPF backport that reports itself to Android as 5.4. The NetBpfLoad lines from the first 24.0 boot show the version Android reads, 0x504012e, against the 5.10 it asks for: NetBpfLoad: skipping map sk_storage which requires kernel version 0x504012e >= 0x50a0000 NetBpfLoad: skipping map packet_trace_ringbuf which requires kernel version 0x504012e >= 0x50a0000At This Point You Should Have... A Google Pixel 3a (sargo), bootloader unlocked The LineageOS 24.0 source with the local manifest from the release A build machine with room for the tree; the 24.0 tree here is 266 GB, and the home machine is an