View on GitHub

nexus-5-upstream

Porting the upstream Linux kernel to the LG Nexus 5 phone.

This page describes the current development efforts to port the the upstream Linux Kernel to the LG Nexus 5 (hammerhead) phone. The factory kernel image is based on the upstream Linux 3.4 kernel that was released in May 2012, and adds almost 2 million lines of code on top of the upstream kernel. This factory image is abandoned and no longer receives security updates.

The goal is to eventually get all of the major components working upstream so that the phone will work with the latest upstream kernel. These patches will eventually appear in the Android kernels as they rebase their kernels onto newer upstream LTS kernel releases. This will also allow using operating systems such as postmarketOS.

Device summary

This is a high-level summary of the components that currently work upstream, or where there are outstanding patches waiting for a review. See below for further details.

See the build-kernel script for how to build and boot a kernel. You’ll need to generate your own initial ramdisk.

Outstanding patches

Patches queued for next merge window

Patches accepted in upstream kernel

Display

Display

kmbscube and the text framebuffer console working on the Nexus 5. I’m currently working on upstreaming the various bits that will allow the GPU to work in the upstream kernel. You can find a branch on the linux repository on my GitHub account that has working GPU support.

USB OTG

USB OTG

Other resources

Contact

Brian Masney: Email, Linked In, GitHub