If you need to modify the framework or test system-level apps, build from source.
1. Initialize the Repo
mkdir aosp_tv_13
cd aosp_tv_13
repo init -u https://android.googlesource.com/platform/manifest -b android-13.0.0_r1
2. Configure the Build Target You need the specific target for TV on x86.
source build/envsetup.sh
# Select the target: aosp_tv_x86
lunch aosp_tv_x86-userdebug
Note: If aosp_tv_x86 is not available in the lunch menu for that specific tag, you may need to select generic_x86 and manually enable TV features in the build props, but Android 13 usually has a specific TV target.
3. Build the System
make -j$(nproc)
This creates a disk image located in out/target/product/generic_x86/. You can load this directly into the Android Emulator included with Android Studio.
Creating a high-quality ISO for Android TV 13 on x86 is significantly harder than creating a mobile Android ISO for the following reasons:
Before you begin, ensure your development environment meets these specifications: