Sony Xperia XA (sony-tuba)

From postmarketOS
Jump to navigation Jump to search
Sony Mobile Xperia XA
Sony Xperia XA
Sony Xperia XA
Manufacturer Sony Mobile
Name Xperia XA
Codename sony-tuba
Released 2016
Category testing
Original software Android 6.0.1
postmarketOS kernel 3.18.35
Hardware
Chipset Mediatek MT6755 (Helio P10)
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
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Xwayland
FDE
Mainline
Battery
3D Acceleration
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls
USB OTG



Contributors

Maintainer(s)

Users owning this device

  • Natsu (Notes: Single SIM)


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.

See also