Sony Xperia X (F5121 & F5122) (suzu)

Preparatory steps

You can install Ubuntu Touch on the versions F5121 and F5122 of the Sony Xperia X. Before, you have to take a number of preparatory steps:

  1. Ensure you have upgraded the stock firmware at least to Android 8, else you can't flash the OEM binaries for AOSP. It is best to ensure that you have all the latest firmware installed.
  2. Enable developer options for your device,
  3. In the developer options, enable ADB debugging and OEM unlocking,
  4. Install ADB on your computer
  5. BEFORE unlocking the boot loader, back up your TA partition, in case you later wish to return to factory state. You can't do this step at a later stage!
  6. Get an unlocking code from Sony,
  7. Reboot to fastboot and unlock the bootloader using the code obtained from Sony
  8. Download the OEM binaries for AOSP from sony, unpack them,
  9. Flash them in fastboot (fastboot flash oem [filename])

Device specifications

Component Details
Chipset Qualcomm Snapdragon 650 MSM8956
CPU 2x 1.8 GHz ARM Cortex-A72, 4x 1.2 GHz ARM Cortex-A53
GPU Adreno 510
Display 5 in, IPS, 1080 x 1920, 24 Bit
Storage 32 GB / 64 GB
Shipped Android Version 6.0.1
Memory 3 GB
Cameras 5520 x 4140, 1920 x 1080, 30 fps
Battery 2620 mAh, Li-Polymer
Dimensions 69.4 x 142.7 x 7.9 mm
Weight 153 g
MicroSD microSD, microSDHC, microSDXC
Release Date June 2016


Forum topic

Source repos




The Sony Xperia X (F5121 & F5122) is not supported by the UBports Installer yet. You can help us by contributing a config file.

Install Ubuntu Touch on your Sony Xperia X (F5121 & F5122)

UBports Installer, an installation tool for Ubuntu Touch
With the UBports Installer, you can get Ubuntu Touch on your Sony Xperia X (F5121 & F5122) without breaking a sweat!
Meet Ubuntu Touch
Buy a Sony Xperia X (F5121 & F5122)
You might be able to find new second-hand devices on swappa, ebay, or other websites. Shop at your own risk!

Donate to the UBports Foundation

Support the UBports Foundation

Sorry to bother you, but would you be willing to pitch in to support the work of the UBports Foundation?

If you want to support the development of Ubuntu Touch, would you consider becoming a monthly supporter on Patreon or Liberapay to help found a staff and supplies, which will help UBports grow and make development faster and more efficient.

We are also able to accept SEPA bank wire transactions and provide tax credit in Germany and some other countries.

One-time donations are also very appreciated, we can currently accept PayPal and Bitcoin. This helps us cover short-term expenses and build towards a sustainable funding model for the UBports Foundation.



SEPA bank-wire transactions

Account Holder: UBports Foundation
IBAN: DE27 7015 0000 1005 8360 42
Bank: Stadtsparkasse M√ľnchen

See the donations page for information on tax-exemption.