Sony Xperia Z2 Tablet LTE (sony-castor)

From postmarketOS
Jump to: navigation, search
Sony Xperia Z2 Tablet LTE
Sony Xperia Z2 Tablet
Sony Xperia Z2 Tablet
Manufacturer Sony
Name Xperia Z2 Tablet LTE
Codename sony-castor
Released 2014
Category testing
Original software Android 4.4.2 on Linux 3.4
Hardware
Chipset Qualcomm MSM8974AB Snapdragon 801
CPU Quad-core 2.3 GHz Krait 400
GPU Adreno 330
Display 1200x1920 TFT
Storage 16/32 GB
Memory 3 GB
Architecture armv7
Features
USB Networking
Works
Flashing
Works
Touchscreen
Display
Works
WiFi
Xwayland
FDE
Mainline
Works
Battery
3D Acceleration
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls
USB OTG



Contributors

  • bjorn andersson (ported device to 4.3)
  • robclark (freedreno support)
  • opendata26
  • plata

What works

What does not work

  • GUI (tested with plasma, phosh)

Installation

Prerequisites

Unlock Bootloader

This might not work if the device is in factory settings, so setup Android once.

  • open dialer and type *#*#7378423#*#*
  • Service info → Configuration → Rooting Status
  • check that bootloader unlock says "Yes" (otherwise, you cannot unlock)
  • use the IMEI to retrieve the unlock code from the Sony website
  • turn off device and disconnect USB (if connected)
  • hold volume up and connect USB to computer to enter fastboot (LED should switch from red to blue)
  • with the unlock code from the Sony website as KEY:
$ fastboot oem unlock 0xKEY

Install pmbootstrap

Install postmarketOS

  • turn off device and disconnect USB (if connected)
  • hold volume up and connect USB to computer to enter fastboot (LED should switch from red to blue)
$ pmbootstrap init
  • select sony and castor
$ pmbootstrap install
$ pmbootstrap flasher flash_rootfs
$ pmbootstrap flasher flash_kernel

Plasma Mobile

Set scaling to 3x:

$ kscreen-doctor output.1.scale.3

Useful key combinations

  • fastboot: volume up and connect USB
  • hard shutdown: press and hold volume up and power

Links