AOSP build instructions
Build AOSP for unlocked Xperia devices on Ubuntu 20.04 LTS or similar Linux systems. Assumes familiarity with Android development. Follow these steps:
- Environment Setup: Use Ubuntu 20.04 LTS or a similar Linux system. Ensure Android development knowledge.
- Tool Installation: Download and install necessary tools.
- Code Preparation: Download and configure AOSP source code.
- Building AOSP: Build AOSP images using the configured code.
- Flashing on Device: Flash the built AOSP images onto your Xperia device.
Note: Regularly check for updates as new devices and patches are added. Follow these instructions for the latest build process for your Android version.
Supported Devices
Find your device between Maintained devices and Legacy devices.
Maintained Devices
How to build AOSP Android 14
How to build AOSP Android 13
The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.