Jump to content

Sony Xperia Z (sony-yuga): Difference between revisions

From postmarketOS Wiki
Wfranken (talk | contribs)
Update status
Wfranken (talk | contribs)
Updated to current status
Line 1: Line 1:
[[Category:Unsupported Devices]]
[[Category:Supported Devices]]
[[Category:Devices]]
 
{{Infobox device
| manufacturer = Sony
| name = Xperia Z
| codename = yuga
| image = File:Sony_yuga_weston
| imagecaption = Sony Xperia Z running Weston
| releaseyear = 2013
| originalsoftware = Android 4.1.2 on Linux 3.0.31
| cpu = 1.5 GHz Qualcomm APQ8064+MDM9215M Quad Core
| gpu = Adreno 320 at 450Mhz
| storage = 16GB
| display = 1920x1080 TFT
| memory = 2GB
}}
 
=== Contributors ===
=== Contributors ===


* wfranken
* wfranken (porting and testing)
* CmdrWgls (porting and testing)
* ollieparanoid (help via IRC)
* ollieparanoid (help via IRC)
* ata2001 (help via IRC)
* ata2001 (help via IRC)
* CmdrWgls (help via IRC)
* opendata (help via IRC)
* opendata (help via IRC)
= Special keycombo's =
* Boot to bootloader: unplug device, hold volume up and plug usb into device
* Reset if stuck: hold volume up and power button till the phone shakes


=== What works ===
=== What works ===


* Compiling the kernel
* charging
* Flashing pmos + kernel
* network through USB
* Telnet into it, fill in passphrase for decrypting system and get into SSH (only with prebuilt kernel)
* telnet in initramfs
* ssh
* adjusting the led, torch and the lcd backlight
* display
* touchscreen
 
= What has not been tested =


=== Current status ===
* Bluetooth
It is possible now to flash pmos + kernel and boot into it. However, for the moment we cannot telnet into the system. Dmesg of the host system says: the host system cannot enumerate the USB.
* 3G
* Sound
* Phone calls
* SD card
* Wifi


But when using the TWRP boot image and replacing its ramdisk with the pmos one we can telnet into the system (in other words our custom built kernel does not work).
= Issues =
Replacing the initramfs in the TWRP boot image can be done like so:
<code>$ abootimg -u boot.img -r initramfs</code>


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


=== Other information ===
=== Other information ===
Line 30: Line 61:


* [https://github.com/LineageOS/android_kernel_sony_msm8974 Kernel Source]
* [https://github.com/LineageOS/android_kernel_sony_msm8974 Kernel Source]
* [https://github.com/Wouter92/pmbootstrap-sony-yuga Current device and kernel files]

Revision as of 15:48, 2 September 2017


Sony Xperia Z
Sony Xperia Z running Weston
Sony Xperia Z running Weston
Manufacturer Sony
Name Xperia Z
Codename yuga
Released 2013
Hardware
CPU 1.5 GHz Qualcomm APQ8064+MDM9215M Quad Core
GPU Adreno 320 at 450Mhz
Display 1920x1080 TFT
Storage 16GB
Memory 2GB
Software
Original software Android 4.1.2 on Linux 3.0.31
postmarketOS
Category testing
Pre-built images no
Mainline no
Features
Flashing
No data
USB Networking
No data
Internal storage
No data
SD card
No data
Battery
No data
Screen
No data
Touchscreen
No data
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
No data
Bluetooth
No data
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


Contributors

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

Special keycombo's

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

What works

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

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