Sony Xperia Z5 Compact (sony-suzuran)
Appearance
![]() Sony Xperia Z5 Compact with neofetch and htop in two terminals (Xfce4) | |
Manufacturer | Sony |
---|---|
Name | Xperia Z5 Compact |
Codename | sony-suzuran |
Model | E5823 |
Released | 2015 |
Type | handset |
Hardware | |
Chipset | Qualcomm Snapdragon 810 (MSM8994) |
CPU |
4x 2 GHz A57 4x 1.5 GHz A53 |
GPU | Adreno 430 |
Display | 720x1280 LCD |
Storage | 32 GB |
Memory | 2 GB |
Architecture | aarch64 |
Software | |
Original software | Android |
Original version The version the device was shipped with. |
5.1 |
postmarketOS | |
Category | testing |
Pre-built images Whether pre-built images are available here. |
no |
pmOS kernel The kernel version that runs on the device's port. |
3.10.84 |
Flashing It is possible to flash the device with pmbootstrap flasher . |
Partial
|
---|---|
USB Networking After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system). |
Works
|
Internal storage eMMC, SD cards, UFS, ... |
Works
|
SD card Also includes other external storage cards |
Works
|
Battery Charging and battery level reporting works |
Partial
|
Screen Display works. Ideally with sleep mode and brightness control. |
Works
|
Touchscreen |
Works
|
Multimedia | |
3D Acceleration |
Untested
|
Audio Audio playback, microphone, headset and buttons. |
Broken
|
Camera |
Untested
|
Camera Flash |
Untested
|
Connectivity | |
WiFi |
Broken
|
Bluetooth |
Broken
|
Ethernet |
Untested
|
GPS |
Untested
|
NFC Near Field Communication |
Untested
|
Modem | |
Calls |
Untested
|
SMS |
Untested
|
Mobile data |
Untested
|
Miscellaneous | |
FDE Full disk encryption and unlocking with unl0kr. |
Untested
|
USB OTG USB On-The-Go or USB-C Role switching |
Untested
|
HDMI/DP Video and audio output with HDMI or Display Port works. |
Untested
|
Sensors | |
Accelerometer Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile |
Untested
|
Magnetometer Sensor to measure magnetism |
Untested
|
Ambient Light |
Untested
|
Proximity |
Untested
|
Hall Effect Also known as flip cover sensor |
Untested
|
Haptics |
Untested
|
Barometer Sensor to measure air pressure |
Untested
|
Power Sensor Sensor to monitor current, voltage and power. Not fuel gauge! |
Untested
|
Contributors
- julianuu
- DevelLevel
Users owning this device
- DevelLevel (Notes: Running PMOS)
- Julianuu
- XRayMan
How to enter flash mode
Hold
, then connect to the PC. The LED will turn blue. Alternatively, connect to PC, hold and until it vibrates and LED turns blue, then release buttons.Installation
Use pmbootstrap to build your own installation image.
The general instructions Installation_guide#Installation_and_flashing work, i.e.
pmbootstrap install
pmbootstrap flasher flash_rootfs
pmbootstrap flasher flash_kernel
Except this will result in a boot loop, however, running the command "pmbootstrap flasher boot" boots normaly... To get the device to boot normaly by itself you can fix the boot image by removing PMOS specific options from the kernel cmdline.
An example of how to do this is to:
- Clone LineageOS mkbootimg tools
- Unpack the PMOS boot image available at /tmp/postmarketOS-export after runnning "pmbootstrap export"
- (Copy the content from "command line args:" but exclude pmos_*)
- Repacking with the new cmdline
- Then flashing the new image with fastboot
The procedure above can look like this:
git clone https://github.com/LineageOS/android_system_tools_mkbootimg.git
cd android_system_tools_mkbootimg/
cp /tmp/postmarketOS-export/boot.img .
python3 unpack_bootimg.py --boot_img boot.img --out out
python3 mkbootimg.py --kernel out/kernel --ramdisk out/ramdisk --cmdline "console=ttyHSL0,115200,n8 lpm_levels.sleep_disabled=1 boot_cpus=0-5 msm_rtb.filter=0x3F ehci-hcd.park=3 dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y coherent_pool=8M sched_enable_power_aware=1 user_debug=31 androidboot.hardware=suzuran buildvariant=userdebug androidboot.selinux=permissive" --out new_boot.img
fastboot flash boot new_boot.img
The device will then boot to PMOS normaly everytime!
See also
- pmaports!5134 Fix display/Xorg issues and touch input
- pmaports!2179 Initial merge request
- Device package
- Kernel package