Sony Xperia Z3 (sony-leo)
Appearance
|
| |
| 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 The software and version the device was shipped with. |
Android 4.4.4 on Linux 3.10 |
Extended version The most recent supported version from the manufacturer. |
Android |
| postmarketOS | |
| Category | testing |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
yes |
pmOS kernel The kernel version that runs on the device's port. |
3.4.113 |
| Device package |
|
| Kernel package |
|
Flashing Whether it is possible to flash the device with pmbootstrap flasher. |
Works
|
|---|---|
USB Networking After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system). |
Works
|
Battery Whether charging and battery level reporting work. |
Untested
|
Screen Whether the display works; ideally with sleep mode and brightness control. |
Broken
|
Touchscreen |
Broken
|
| Multimedia | |
3D Acceleration |
Broken
|
Audio Audio playback, microphone, headset and buttons. |
Broken
|
Camera |
Broken
|
| Connectivity | |
WiFi |
Works
|
Bluetooth |
Broken
|
GPS |
Broken
|
| Modem | |
Calls |
Broken
|
SMS |
Broken
|
Mobile data |
Broken
|
| Miscellaneous | |
FDE Full disk encryption and unlocking with unl0kr. |
Untested
|
USB OTG USB On-The-Go or USB-C Role switching. |
Works
|
| Sensors | |
Accelerometer Handles automatic screen rotation in many interfaces. |
Broken
|
Contributors
Maintainer(s)
Users owning this device
- Adelahmed (Notes: broken screen and touch)
- Audunmg
- Chaosleo07 (Notes: me when mainline)
- GeorgeTheGreat
- Kevinwidjaja21 (Notes: 2 units. Touchscreen a bit slugish.)
- The EDev
- Z3ntu
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 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
- pmaports!1190 Initial merge request
- [1] for how to access UART