Contents

Switch to dark mode

This guide covers the device-tree changes needed to build uwuAOSP. Before starting, sync the uwuAOSP source tree and prepare your device tree and its dependencies.

Using uwuCLI ​

From the source root, run:

bash
source build/envsetup.sh
uwu

Choose your language, select Convert LineageOS product device tree, and enter your device type, telephony support, and maintainer name. The maintainer name is optional; if set, it appears in Settings > System > Software updates.

Manual Adaptation ​

In your device product Makefile, set:

make
UWU_DEVICE_TYPE := phone
UWU_SUPPORTS_TELEPHONY := true

# Optional: device maintainer
UWU_MAINTAINER := Akaza_Akari

$(call inherit-product, vendor/uwu/config/common.mk)

Device type and telephony support must be defined before inheriting common.mk.

  • UWU_DEVICE_TYPE: phone, tablet, or foldable.
  • UWU_SUPPORTS_TELEPHONY: true for cellular devices, false for Wi-Fi-only devices.
  • UWU_MAINTAINER: up to 64 characters; letters, digits, spaces, dots, underscores, hyphens, and @.

vendor/uwu has no variants such as common_full_phone.mk; always inherit common.mk. Keep any base AOSP product inheritance your device already requires.

Build ​

After updating the device tree, select the product and build from the source root:

bash
source build/envsetup.sh
lunch uwu_codename-cp2a-user
meow otapackage

Build outputs are written to out/target/product/<codename>/. Flashing steps vary by device; follow your device's installation guide.

Optional: Soong-only ​

Enabling Soong-only is not required to boot uwuAOSP.

uwuCLI can convert firmware image integration and assist with kernel build migration. See: