Jump to content

Sony Xperia XA (sony-tuba)

From postmarketOS Wiki
Sony Xperia XA
Sony Xperia XA
Sony Xperia XA
Manufacturer Sony
Name Xperia XA
Codename sony-tuba
Released 2016
Type handset
Hardware
Chipset MediaTek Helio P10 (MT6755)
CPU Octa-core (4x2.0 GHz Cortex-A53
4x1.0 GHz Cortex-A53)
GPU Mali-T860MP2
Display 720 x 1280 IPS
Storage 16GB
Memory 2 GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android 6.0.1
Extended version
The most recent supported version from the manufacturer.
Android
postmarketOS
Category downstream
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
pmOS kernel
The kernel version that runs on the device's port.
3.18.35
Device package device-sony-tuba
Kernel package linux-sony-tuba
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Battery
Charging and battery level reporting works
Works
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Connectivity
WiFi
Broken
Bluetooth
Untested
GPS
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Untested

Contributors

Maintainer(s)

Users owning this device


How to enter flash mode

  1. Power off: Power+Vol+ until device vibrates three times
  2. Connect usb cable to computer
  3. Press and hold Vol+
  4. Connect usb cable to phone
  5. Hold Vol+ until led turns blue
  6. Fastboot mode is now active

Installation

  1. pmbootstrap init, select sony-tuba, answer questions
  2. pmbootstrap install
  3. pmbootstrap flash_rootfs
  4. pmbootstrap flash_kernel

Kernel

As of 2020-10-01, vendor kernel SonyCustoms/kernel_sony_tuba_stock is used. The original should be available from Sony Developer World, but for some reason the 33.3.A series used by Xperia XA does not seem to be available in their kernel repository at all and Xperia open source archives only have a outdated build 33.3.A.115 while .126 is the latest.

Touchscreen

Touchscreen is apparently some ELAN model. The driver is included in the vendor kernel at drivers/input/touchscreen/mediatek/ektf3249_VY36. It seems to work correctly with postmarketOS userspace.

Display

Without including msm-fb-refresher package, weston gui booted successfully and the desktop environment and postmarketOS demos menu were shows correctly. However, the screen was not updating at all, resulting in apparent nonresposiveness to touch and frozen datetime. Adding msm-fb-refresher solved the issue.

Problems

  • Horizontal boot splash image is shown, even though screen in vertically aligned, resulting to part of splash screen being hidden and bottom of screen being left blank.
  • When usb power is connected and battery is not completely empty, device boots.

See also