Jump to content

Lenovo ZUK Z2 Pro (zuk-z2-row)

From postmarketOS Wiki
Lenovo ZUK Z2 Pro
ZUK Z2 Pro
ZUK Z2 Pro
Manufacturer Lenovo
Name ZUK Z2 Pro
Codename zuk-z2-row
Released 2016
Type handset
Hardware
Chipset Qualcomm Snapdragon 820 (MSM8996)
CPU Quad-core Kryo (2x2.15GHz
2x1.6GHz)
GPU Adreno 530
Display 1080x1920 Super AMOLED
Storage 64/128 GB
Memory 4/6 GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android 6.0.1
Extended version
The most recent supported version from the manufacturer.
Android 7.0
postmarketOS
Category downstream
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
pmOS kernel
The kernel version that runs on the device's port.
4.4.183
Device package device-zuk-z2-row
Kernel package linux-zuk-z2-row
Features
Flashing
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
Charging and battery level reporting works
Works
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Connectivity
WiFi
Works
Bluetooth
Untested
GPS
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
Works
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Untested

Contributors

Maintainer(s)

Users owning this device

  • Cuihao (Notes: 6GB/128GB variant)
  • NBon (Notes: Broken, untested yet)


Unlocking the bootloader

See Unlocking Bootloaders/Lenovo ZUI

How to enter flash mode

  • After unlocking, you get a menu to select boot mode every time the phone powers on. Choose bootloader to enter fastboot mode.

Installation

Notes

Partitions

The persist partition stores device-specific information like WLAN & Bluetooth MAC. You'd better leave it as is. I don't know how to recover it.

LED / Torch / Screen brightness / vibrator

Write brightness or boolean value to specific sysfs files:

  • Front panel LED light: /sys/class/leds/{red,green,blue}/{brightness,blink}
  • Torch light: /sys/class/leds/led:torch_{0,1}/brightness (torch_0 is cold light, torch_1 is warm light)
  • Screen brightness: /sys/class/leds/lcd-backlight/brightness
  • Vibrator: echo $TIME_MS > /sys/class/timed_output/vibrator/enable

For brightness range, check the max_brightness file.

WiFi

Loading wlan driver on boot (default setting) will significantly increase booting time (half a min -> 3 minutes to GUI). I don't know why.

See also