Sony Xperia Z3 (sony-leo)

From postmarketOS Wiki
Sony Xperia Z3
Manufacturer Sony
Name Xperia Z3
Codename sony-leo
Released 2014
Type handset
Hardware
Chipset Qualcomm Snapdragon 801 (MSM8974AC)
CPU Quad-core 2.5 GHz Krait 400
GPU Adreno 330
Display 1080x1920 IPS
Storage 16 GB
Memory 2 GB
Architecture armv7
Software
Original software Android
Original version 4.4.4 on Linux 3.10
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel 3.4.113
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Screen
Broken
Touchscreen
Broken
Multimedia
3D Acceleration
Broken
Audio
Broken
Camera
Broken
Camera Flash
Connectivity
WiFi
Works
Bluetooth
Broken
GPS
Broken
NFC
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
USB OTG
Works
HDMI/DP
Sensors
Accelerometer
Broken
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer


Contributors

  • Adelahmed
  • Audunmg
  • (and all the Z3C people since i copy a lot from their efforts)

Maintainer(s)

Users owning this device



What works

  • Compiling the mainline kernel
  • SSH into device
  • wifi
  • OTG

What doesn't

  • Battery status
  • screen

How to enter flash mode

This is using fastboot

  • Power off phone
  • Hold Volume Up and connect USB, wait for blue light

Installation

For installation you need to flash lk2nd and flash the rootfs. Do not flash the boot partition since lk2nd uses fs-boot functionality to boot the kernel from the /boot partition of the rootfs.

$ pmbootstrap flasher flash_lk2nd
$ pmbootstrap flasher flash_rootfs --partition userdata

Component support table

Component Codename Mainline kernel
Volume & camera buttons gpio-keys Working
Power key pm8941-pwrkey -
Internal storage sdhci1 Working
SD card storage sdhci2 Working
Display 1 novatek lgd Kind-of working
Touchscreen 1 Synaptics RMI4 Kind-of working
Vibration motor - -
Notification LED qpnp / lpg Working
Magnetometer AK09911 -
Gyroscope & Accelerometer BMA2X2
Proximity & Light - -
WiFi BCM4339 Working
Bluetooth BCM4339 -
FM - -
GPU Adreno 330 Working
Modem
Front Camera IMX132 (appears to have a driver in mainline)
Rear Camera IMX200 / IMX 220 (not sure which it actually is)
NFC PN547 -
Codec WCD9320 -

Partition Layout

Partition Name Device File Path Mount Point in Android
TA /dev/block/mmcblk0p1
sbl1 /dev/block/mmcblk0p2
s1sbl /dev/block/mmcblk0p3
dbi /dev/block/mmcblk0p4
aboot /dev/block/mmcblk0p5
rpm /dev/block/mmcblk0p6
tz /dev/block/mmcblk0p7
alt_sbl1 /dev/block/mmcblk0p8
alt_s1sbl /dev/block/mmcblk0p9
alt_dbi /dev/block/mmcblk0p10
alt_aboot /dev/block/mmcblk0p11
alt_rpm /dev/block/mmcblk0p12
alt_tz /dev/block/mmcblk0p13
boot /dev/block/mmcblk0p14 /boot
ramdump /dev/block/mmcblk0p15
FOTAKernel /dev/block/mmcblk0p16 /recovery
DDR /dev/block/mmcblk0p17
LTALabel /dev/block/mmcblk0p18
modemst1 /dev/block/mmcblk0p19
modemst2 /dev/block/mmcblk0p20
fsg /dev/block/mmcblk0p21
apps_log /dev/block/mmcblk0p22 /misc
system /dev/block/mmcblk0p23 /system
cache /dev/block/mmcblk0p24 /cache
userdata /dev/block/mmcblk0p25 /data

See also