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:
source build/envsetup.sh
uwuChoose 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:
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, orfoldable.UWU_SUPPORTS_TELEPHONY:truefor cellular devices,falsefor 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:
source build/envsetup.sh
lunch uwu_codename-cp2a-user
meow otapackageBuild 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: