Sony Xperia XA (sony-tuba)

From postmarketOS
Sony Xperia XA
Sony Xperia XA
Sony Xperia XA
Manufacturer Sony
Name Xperia XA
Codename sony-tuba
Released 2016
Category testing
Pre-built images no
Original software Android
Original version 6.0.1
postmarketOS kernel 3.18.35
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
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Broken
FDE
Mainline
Broken
Battery
Works
3D Acceleration
Audio
Bluetooth
Camera
GPS
Mobile data
Internal storage
SMS
Calls
USB OTG
NFC
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader


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.

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