Clone this repo:
  1. b07cc87 Merge "Update to v6.7 kernel headers." into main am: e3358b9b02 by Christopher Ferris · 9 weeks ago main master
  2. e3358b9 Merge "Update to v6.7 kernel headers." into main by Christopher Ferris · 9 weeks ago
  3. 876b4f9 Update to v6.7 kernel headers. by Christopher Ferris · 9 weeks ago
  4. e6f8654 Merge "Update to v6.6 kernel headers." into main am: 053a6d6df9 am: bd95c9d800 am: 3ad53b869c by Christopher Ferris · 5 months ago
  5. 091a292 Merge "Update to v6.6 kernel headers." into main am: 053a6d6df9 am: a2e39ce1ac am: be8d5e0dc2 by Christopher Ferris · 5 months ago

Android kernel headers

This project contains the original kernel headers that are used to generate Bionic's “cleaned-up” user-land headers.

They are mostly covered by the GPLv2 + exception, and thus cannot be distributed as part of the platform itself. The cleaned up headers do not contain copyrightable information and are distributed with bionic.

Regenerating the bionic headers

Note that if you‘re actually just trying to expose device-specific headers to build your device drivers, you shouldn’t modify these headers or bionic. Instead use TARGET_DEVICE_KERNEL_HEADERS and friends as described in config.mk.

Otherwise see the bionic/libc/kernel docs for how to actually take an update.

Manually modified headers

The modified/scsi directory contains a set of manually updated headers. The scsi kernel headers were never properly made to into uapi versions, so this directory contains the unmodified scsi headers that are imported into bionic. The generation script will indicate if these files have changed and require another manual update.

The files from the scsi directory will be copied into bionic after being processed as is, unless there exists a file of the same name in ../modified/scsi. Any files found in the modified directory completely replace the ones in the scsi directory.