Sony Xperia XZ1 Compact (sony-lilac)

From postmarketOS Wiki
Sony Xperia XZ1 Compact
Manufacturer Sony
Name Xperia XZ1 Compact
Codename sony-lilac
Released 2017
Type handset
Hardware
Chipset Qualcomm Snapdragon 835 (MSM8998)
CPU Octa-core (4x2.45 GHz Kryo & 4x1.9 GHz Kryo)
GPU Adreno 540
Display 720x1280 IPS
Storage 32 GB + microSD card slot
Memory 4 GB
Architecture aarch64
Software
Original software Android
Original version 8.0
Extended version 9.0
postmarketOS
Category testing
Pre-built images no
This device is marked as not booting.
Status: kernel compiles, does not boot


Contributors

  • orson

Maintainer(s)

Users owning this device


How to enter flash mode

Enter Developer options on Android and enable OEM Unlock

Unlock your bootloader by following instructions here: https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/

Hold PWR and Vol+ until the LED becomes blue. Congratulations, you've entered fastboot.

Force power off

Hold [VOLUME +] and power button for several seconds.

Installation

Notes

Kernel boots up to the point where the phone displays "CHARGING MODE: error starting charging-sdl". It has been tested with firmware 47.2.A.10.107.

Unfortunately USB networking does not work at the moment, so further investigation is difficult.

The simplest method to see dmesg messages after a freeze during boot up:

  • boot a postmarketOS image (pmbootstrap flasher boot)
  • disconnect the USB cable as soon as the boot process starts (e.g. when Sony logo appears)
  • keep holding [VOLUME -] to start the recovery
  • in recovery, start terminal and run 'cat /sys/fs/pstore/console-ramoops'

(based on boot process troubleshooting wiki)

See also