No description
Find a file
Brendan Szymanski ad6b5bd1f9 Switch mesa3d to forked version with Panfrost support
Replace AOSP mesa3d with bscubed fork that adds Panfrost
GPU driver build rules alongside native gfxstream support.

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-10 22:41:16 -04:00
manifest.xml Switch mesa3d to forked version with Panfrost support 2026-07-10 22:41:16 -04:00
README.md Update README with correct setup instructions (clone + symlink) 2026-07-10 17:06:41 -04:00

android_local_manifest

Local manifest for building LineageOS 23.2 (Android TV) for the Orange Pi 5 Ultra (Rockchip RK3588).

Prerequisites

Setup

# Initialize LineageOS 23.2 source tree
repo init -u https://github.com/LineageOS/android.git -b lineage-23.2

# Add this local manifest
git clone https://git.bscubed.dev/lineage-rockchip/android_local_manifest.git .repo/local_manifests/android_local_manifest

# Create a symlink so repo picks up the manifest (repo only reads XML files
# directly in .repo/local_manifests/, not from subdirectories)
ln -s android_local_manifest/manifest.xml .repo/local_manifests/bscubed.xml

# Sync the full source tree (including local manifest overrides)
repo sync -c -j$(nproc)

Updating the local manifest

cd .repo/local_manifests/android_local_manifest
git pull
# The symlink picks up changes automatically

Building

# Set up build environment
source build/envsetup.sh

# Select the Android TV target
lunch lineage_orangepi5ultra-userdebug

# Build
mka bacon

Repositories

This local manifest pulls in the following repositories from git.bscubed.dev/lineage-rockchip/:

Repository Path Description
android_device_lineage-rockchip_orangepi5ultra device/rockchip/orangepi5ultra Device tree
android_kernel_lineage-rockchip_orangepi5ultra device/rockchip/orangepi5ultra-kernel Kernel (prebuilt)
proprietary_vendor_lineage-rockchip vendor/lineage-rockchip Vendor blobs (firmware)
android_external_mesa3d_panfrost external/mesa3d-panfrost Mesa3D Panfrost GPU driver
android_external_drm_hwcomposer external/drm_hwcomposer DRM hwcomposer
android_external_minigbm external/minigbm Graphics buffer manager
android_external_ffmpeg external/ffmpeg FFmpeg media library
android_external_ffmpeg_codec2 external/ffmpeg_codec2 FFmpeg C2 codec HAL
android_external_alsa-lib external/alsa-lib ALSA library
android_external_alsa-utils external/alsa-utils ALSA utilities
android_external_libudev-zero external/libudev-zero libudev compatibility

Branch

All repositories use the lineage-23.2 branch.

License

Device tree and build scripts: Apache-2.0 External repositories retain their original licenses.