Sony Xperia XZ1 Compact (sony-lilac)

From postmarketOS
Sony Xperia XZ1 Compact
Manufacturer Sony
Name Xperia XZ1 Compact
Codename sony-lilac
Released 2017
Category testing
Pre-built images no
Original software Android
Original version 8.0
Extended version 9.0
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
Type Handset
This device is marked as not booting.
Status: kernel compiles, does not boot
Features
USB Networking
Flashing
Touchscreen
Display
Works
WiFi
FDE
Mainline
Battery
3D Acceleration
Audio
Bluetooth
Camera
GPS
Mobile data
Internal storage
SMS
Calls
USB OTG
NFC
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader


Contributors

  • orson

Maintainer(s)

Users owning this device

  • Delta503 (Notes: my favorite, not used, ready for testing)
  • JulianGro (Notes: Android daily-driver)


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