Lenovo ZUK Z2 Pro (zuk-z2-row)

From postmarketOS
Jump to: navigation, search
Lenovo ZUK Z2 Pro
ZUK Z2 Pro
ZUK Z2 Pro
Manufacturer Lenovo
Name ZUK Z2 Pro
Codename zuk-z2-row
Released 2016
Category testing
Original software Android 6.0.1 - 7.0
postmarketOS kernel 4.4.183
Hardware
Chipset Qualcomm MSM8996 Snapdragon 820
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
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Works
Xwayland
Works
FDE
Mainline
Battery
Works
3D Acceleration
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls
USB OTG
Works



Contributors

Maintainer(s)

Users owning this device

  • Cuihao (Notes: 6GB/128GB variant)


How to enter flash mode

  • Apply for bootloader unlocking file at ZUI official website (Chinese): https://www.zui.com/iunlock
  • Following official guides to unlock the bootloader
  • 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