Sony Xperia X (F5121 & F5122)

Overall progress

Feature refinement

What works

  • Actors:

  •  Manual brightness
  •  Notification LED
  •  Torchlight
  •  Vibration
  • Camera:

  •  Flashlight
  •  Photo
  •  Video
  •  Switching between cameras
  • Cellular:

  •  Carrier info, signal strength
  •  Data connection
  •  Incoming, outgoing calls
  •  MMS in, out
  •  PIN unlock
  •  SMS in, out
  •  Change audio routings
  •  Voice in calls
  • Endurance:

  •  Battery lifetime > 24h from 100%
  •  No reboot needed for 1 week
  • GPU:

  •  Boot into UI
  •  Hardware video playback
  • Misc:

  •  Anbox patches
  •  AppArmor patches
  •  Battery percentage
  •  Offline charging
  •  Online charging
  •  Recovery image
  •  Reset to factory defaults
  •  RTC time
  •  Shutdown / Reboot
  •  Wireless External monitor
  • Network:

  •  Bluetooth
  •  Flight mode
  •   Hotspot
  •  NFC
  •  WiFi
  • Sensors:

  •  Automatic brightness
  •  Fingerprint reader
  •  GPS
  •  Proximity
  •  Rotation
  •  Touchscreen
  • Sound:

  •  Earphones
  •  Loudspeaker
  •  Microphone
  •  Volume control
  • USB:

  •  MTP access
  •  ADB access

 Working  Partial  Not working  Untested

A link to issue report is available when a feature isn't fully working

Some issues might not depend on the device, these are marked as global

Device specifications

CPUHexa-core 64-bit
ChipsetQualcomm MSM8956 Snapdragon 650
GPUQualcomm Adreno 510
Storage32/64GB
Memory3GB
Android VersionAndroid 6.0.1
Battery2620 mAh
Display1080x1920 pixels, 5.5 in
Rear Camera23MP
Front Camera13MP

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])

How to install

You can install Ubuntu Touch on this device using the UBports Installer on your computer. Select the appropriate package for your computer:

Plug in your device and follow the on-screen instructions. The Installer will take it from there.

Lost while flashing your device?

Watch our awesome tutorial

Bring Ubuntu Touch to your device!

63 devices run Ubuntu Touch. Do you wish that yours becomes one of them? Learn how to bring Ubuntu Touch to your device.