Jump to content

Lenovo ZUK Z2 Pro (zuk-z2-row): Difference between revisions

From postmarketOS Wiki
Cuihao (talk | contribs)
No edit summary
Fresh.job (talk | contribs)
link to Unlocking Bootloaders/Lenovo ZUI
 
(6 intermediate revisions by 5 users not shown)
Line 6: Line 6:
| imagecaption = ZUK Z2 Pro
| imagecaption = ZUK Z2 Pro
| releaseyear = 2016
| releaseyear = 2016
| originalsoftware = Android 6 (marshmallow)
| originalsoftware = Android
| chipset = Qualcomm MSM8996 Snapdragon 820
| originalversion = 6.0.1
| extendedversion = 7.0
| pmoskernel = 4.4.183
| chipset = Qualcomm Snapdragon 820 (MSM8996)
| cpu = Quad-core Kryo (2x2.15GHz & 2x1.6GHz)
| cpu = Quad-core Kryo (2x2.15GHz & 2x1.6GHz)
| gpu = Adreno 530
| gpu = Adreno 530
| storage = 128GB/64GB
| storage = 64/128 GB
| display = 1080x1920 Super AMOLED
| display = 1080x1920 Super AMOLED
| memory = 6GB/4GB
| memory = 4/6 GB
| architecture = aarch64
| architecture = aarch64
| type = Handset
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
| status_usbnet = Y
| status_usbnet = Y
Line 36: Line 40:
| status = <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" -->
| status = <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" -->
| booting = yes
| booting = yes
| pmoskernel = 4.4.183
}}
}}


== Contributors ==
== Contributors ==
* cuihao
* [[User:Cuihao]]


== Maintainer(s) ==
== Maintainer(s) ==
* cuihao
* [[User:Cuihao]]


== Users owning this device ==
== Users owning this device ==
Line 51: Line 54:
<!-- you may need to purge page cache to see changes (more->purge cache)-->
<!-- you may need to purge page cache to see changes (more->purge cache)-->
<!-- you can use {{My devices}} on your profile page to show table with all your devices -->
<!-- you can use {{My devices}} on your profile page to show table with all your devices -->
== Unlocking the bootloader ==
See [[Unlocking Bootloaders/Lenovo ZUI]]


== How to enter flash mode ==
== 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.
* After unlocking, you get a menu to select boot mode every time the phone powers on. Choose bootloader to enter fastboot mode.


Line 85: Line 88:
<!--
<!--
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):
* {{MR|CHANGEME|pmaports}} Initial merge request
-->
* {{MR|898|pmaports}} Initial merge request
* {{Device package|zuk-z2-row}}
* {{Kernel package|zuk-z2-row}}
<!--
* {{issue|CHANGEME|pmaports}} Some related issue
* {{issue|CHANGEME|pmaports}} Some related issue
You can also add normal web links:
You can also add normal web links:
* [https://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100 Replicant wiki page]
* [https://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100 Replicant wiki page]
-->
<!--
If you manage to get your device packages merged, uncomment links below and change DEVICE_CODENAME with the actual one.
* [https://gitlab.com/postmarketOS/pmaports/tree/master/device/device-DEVICE_CODENAME Device package]
* [https://gitlab.com/postmarketOS/pmaports/tree/master/device/linux-DEVICE_CODENAME Kernel package]
-->
-->

Latest revision as of 16:24, 31 January 2025

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 Android
Original version 6.0.1
Extended version 7.0
postmarketOS
Category testing
Pre-built images no
postmarketOS kernel 4.4.183
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
No data
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
Works
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


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