Sony Xperia Z (sony-yuga)

From postmarketOS
Revision as of 21:52, 4 September 2017 by CmdrWgls (talk | contribs) (Removed myself as a contributer (no longer have the device, didn't contribute all that much).)
Jump to: navigation, search
Sony Xperia Z
Sony Xperia Z running Weston
Sony Xperia Z running Weston
Manufacturer Sony
Name Xperia Z
Codename yuga
Released 2013
Original software Android 4.1.2 on Linux 3.0.31
Hardware
CPU 1.5 GHz Qualcomm APQ8064+MDM9215M Quad Core
GPU Adreno 320 at 450Mhz
Display 1080x1920 TFT
Storage 16GB
Memory 2GB
Features
USB Networking
Flashing
Touchscreen
Display
WiFi
Xwayland
FDE
Mainline
Battery
3D Acceleration
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls
USB OTG


Contributors

  • wfranken (porting and testing)
  • ollieparanoid (help via IRC)
  • ata2001 (help via IRC)
  • opendata (help via IRC)

Special keycombo's

  • Boot to bootloader (fastboot): unplug device, hold volume up and plug usb into device
  • Reset if stuck: hold volume up and power button till the phone shakes

Non-standard notes

The Xperia Z does not have a recovery partition, so flashing PostmarketOS erases any recovery you have installed. Instructions across the internet for reinstalling a custom recovery are almost all incorrect.

To install a custom recovery on the Xperia Z:

  • put the device in fastboot mode
  • run fastboot flash boot recovery.img (replace recovery.img with the filename of your recovery of choice)

What works

  • charging
  • network through USB
  • telnet in initramfs
  • ssh
  • adjusting the led, torch and the lcd backlight
  • display
    • Weston
    • Xwayland
  • touchscreen

What does not work

  • Splash screens

What has not been tested

  • Bluetooth
  • 3G
  • Sound
  • Phone calls
  • SD card
  • Wifi

Issues

  • Launching Weston is delayed by 135 seconds to let udev settle down

Other information

  • When red leds are flashing, offsets are wrong
  • LineageOS boot.img is far larger because the recovery is inside it

Links