Nexus 7

Contents

Cyanogenmod and LLVMLinux

This guide describes how to replace the default Linux Kernel in Nexus 7 in the Cyanogenmod for one built with LLVM/Clang using the LLVMLinux project infrastructure. It is high recommended to be familiar with Cyanogenmod or AOSP build system.

Basically the Cyanogenmod is patched to use a prebuilt kernel instead of building one on demand. The LLVMLinux is used to build the prebuilt kernel. Afterwards this kernel is copied to Cyanogenmod build system and the process follows as a normal Cyanogenmod build.

The procedure described here can be adapted to other devices at Cyanogenmod.