Open Devices

For some of the Xperia™ devices, we provide Android™ Open Source Project (AOSP) device configurations on GitHub. This means that the software will be open for you as a developer to use and contribute to. This is a way for us to support the open Android community, and it is also a tool for us to facilitate and verify contributions to AOSP.

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:

  1. Environment Setup: Use Ubuntu 20.04 LTS or a similar Linux system. Ensure Android development knowledge.
  2. Tool Installation: Download and install necessary tools.
  3. Code Preparation: Download and configure AOSP source code.
  4. Building AOSP: Build AOSP images using the configured code.
  5. 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.