79704882

Date: 2025-07-17 13:25:21
Score: 1
Natty:
Report link

How to build an eng or userdebug aosp kernel (android-15)?

Asked 6 days ago

Modified 6 days ago

Viewed 35 times

Part of Mobile Development Collective

0

I want to build an eng or userdebug kernel for a pixel 6a. I read https://source.android.com/docs/setup/build/building-pixel-kernels#supported-kernel-branches but it does not mention how to change the variant. I do not want to build the whole aosp if possible. I just need the boot.img and dklm stuff.

Since android-15 the aosp has pivoted to using bazel as the build system. I can build the regular kernel just fine.

#!/bin/bash
# SPDX-License-Identifier: GPL-2.0

exec tools/bazel run \
    --config=stamp \
    --config=bluejay \
    //private/devices/google/bluejay:gs101_bluejay_dist
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: BY RS