Sony Xperia XA (sony-tuba)
Users owning this device
- Natsu (Notes: Single SIM)
How to enter flash mode
- Power off: + until device vibrates three times
- Connect usb cable to computer
- Press and hold
- Connect usb cable to phone
- Hold until led turns blue
- Fastboot mode is now active
- pmbootstrap init, select sony-tuba, answer questions
- pmbootstrap install
- pmbootstrap flash_rootfs
- pmbootstrap flash_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 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.
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.