Difference between revisions of "Sony Xperia XZ1 Compact (sony-lilac)"

From postmarketOS
Jump to: navigation, search
(Added steps to see dmesg messages)
m (Status update, added force power off hint)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Infobox device
 
{{Infobox device
| manufacturer = Sony<!-- e.g. HTC -->
+
| manufacturer = Sony
| name = Xperia XZ1 Compact <!-- e.g. Desire -->
+
| name = Xperia XZ1 Compact
| codename = sony-lilac <!-- e.g. htc-bravo -->
+
| codename = sony-lilac
 
| image = File:Sony-lilac.jpeg|200px
 
| image = File:Sony-lilac.jpeg|200px
 
| imagecaption =  
 
| imagecaption =  
Line 18: Line 18:
 
| status_flashing = <!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. -->
 
| status_flashing = <!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. -->
 
| status_touch = <!-- Touch screen is working? You can also answer these questions with P for partially. -->
 
| status_touch = <!-- Touch screen is working? You can also answer these questions with P for partially. -->
| status_screen = <!-- The display is working? -->
+
| status_screen = Y<!-- The display is working? -->
 
| status_wifi = <!-- Wireless network works? -->
 
| status_wifi = <!-- Wireless network works? -->
 
| status_xwayland = <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
 
| status_xwayland = <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
Line 64: Line 64:
 
== How to enter flash mode ==
 
== How to enter flash mode ==
 
With device powered off, hold [VOLUME +] and plug USB cable in. Device's LED will turn blue, meaning it has entered fastboot mode.
 
With device powered off, hold [VOLUME +] and plug USB cable in. Device's LED will turn blue, meaning it has entered fastboot mode.
 +
 +
== Force power off ==
 +
Hold [VOLUME +] and power button for several seconds.
  
 
== Installation ==
 
== Installation ==
Line 69: Line 72:
  
 
== Notes ==
 
== Notes ==
Kernel currently does not boot up. The simplest method to see dmesg messages:
+
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)
 
* boot a postmarketOS image (pmbootstrap flasher boot)
 
* disconnect the USB cable as soon as the boot process starts (e.g. when Sony logo appears)
 
* disconnect the USB cable as soon as the boot process starts (e.g. when Sony logo appears)
Line 77: Line 84:
  
 
== See also ==
 
== See also ==
* [https://gitlab.com/orsonmmz/pmaports/tree/device-sony-lilac/device/device-sony-lilac Device package (WIP)]
+
* [https://gitlab.com/orsonmmz/pmaports/tree/device-sony-lilac/device/testing/device-sony-lilac Device package (WIP)]
* [https://gitlab.com/orsonmmz/pmaports/tree/device-sony-lilac/device/linux-sony-lilac Kernel package (WIP)]
+
* [https://gitlab.com/orsonmmz/pmaports/tree/device-sony-lilac/device/testing/linux-sony-lilac Kernel package (WIP)]
 
<!--
 
<!--
 
Link to related GitLab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234):
 
Link to related GitLab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234):

Latest revision as of 17:30, 15 April 2020

Sony Xperia XZ1 Compact
Manufacturer Sony
Name Xperia XZ1 Compact
Codename sony-lilac
Released 2017
Category testing
Original software Android 8.0 (Oreo), upgradable to Android 9.0 (Pie)
Hardware
Chipset Qualcomm MSM8998 Snapdragon 835
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
Features
USB Networking
Flashing
Touchscreen
Display
Works
WiFi
Xwayland
FDE
Mainline
Battery
3D Acceleration
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls
USB OTG


Contributors

  • orson

Maintainer(s)

Users owning this device

How to enter flash mode

With device powered off, hold [VOLUME +] and plug USB cable in. Device's LED will turn blue, meaning it has entered fastboot mode.

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