Asus Zenfone 3 (asus-zenfone3): Difference between revisions
Created page with "{{Infobox device | manufacturer = Asus | name = Asus Zenfone 3 | codename = asus-zenfone3 | image = File:zenfone3.jpg | imagecaption = Asus Zenfone 3 | releaseyear = 2016 | or..." |
Touchup |
||
(13 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox device | {{Infobox device | ||
| manufacturer = Asus | | manufacturer = Asus | ||
| name = | | name = Zenfone 3 | ||
| codename = asus-zenfone3 | | codename = asus-zenfone3 | ||
| image = File:zenfone3.jpg | | image = File:zenfone3.jpg | ||
| imagecaption = Asus Zenfone 3 | | imagecaption = Asus Zenfone 3 | ||
| releaseyear = 2016 | | releaseyear = 2016 | ||
| originalsoftware = Android 6.0.1 | | originalsoftware = Android | ||
| originalversion = 6.0.1 | |||
| extendedversion = 8.0.0 | |||
| chipset = Qualcomm Snapdragon 625 (MSM8953) | | chipset = Qualcomm Snapdragon 625 (MSM8953) | ||
| cpu = Octa-core 2.0 GHz Cortex-A53 | | cpu = Octa-core 2.0 GHz Cortex-A53 | ||
Line 14: | Line 16: | ||
| memory = 3 GB / 4 GB | | memory = 3 GB / 4 GB | ||
| architecture = aarch64 | | architecture = aarch64 | ||
| type = handset | |||
<!-- Features --> | |||
<!-- the following status_* questions should be answered with Y for yes, P for partial, N for no, - for N/A or unavailable, or left blank for untested or unknown --> | <!-- the following status_* questions should be answered with Y for yes, P for partial, N for no, - for N/A or unavailable, or left blank for untested or unknown --> | ||
| status_usbnet = Y | | status_usbnet = Y | ||
| status_flashing = Y | | status_flashing = Y <!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. --> | ||
| status_touch = Y | | status_touch = Y | ||
| status_screen = Y | | status_screen = Y | ||
| | | status_3d = Y | ||
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? --> | | status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? --> | ||
| | | status_emmc = Y | ||
| | | status_wifi = Y | ||
| | | status_mainline = Y | ||
| status_audio = | | status_battery = Y | ||
| status_bluetooth = | | status_audio = Y | ||
| status_camera = | | status_bluetooth = Y | ||
| status_gps = | | status_camera = N | ||
| status_mobiledata = | | status_gps = Y | ||
| status_sms = | | status_mobiledata = Y | ||
| status_calls = <!-- Talking to other people over the cellular network. | | status_sms = Y | ||
| status_calls = P <!-- Talking to other people over the cellular network. --> | |||
| status_otg = <!-- USB-OTG adapters work, e.g. to connect an USB flash drive to the device --> | | status_otg = <!-- USB-OTG adapters work, e.g. to connect an USB flash drive to the device --> | ||
<!-- Sensors --> | |||
| | | status_accel = Y | ||
| | | status_magnet = Y | ||
| status_keyboard = | | status_light = Y | ||
| status_touchpad = | | status_proximity = Y | ||
| | | status_hall = - | ||
| | | status_barometer = - | ||
| | | status_powersensor = - | ||
| | <!-- Misc --> | ||
| | | status_dvb = - | ||
| | | status_cameraflash = N | ||
| | | status_keyboard = - | ||
| | | status_touchpad = - | ||
| | | status_usba = - | ||
| status_fossbootloader = | | status_sdcard = Y | ||
| booting = | | status_hdmidp = - | ||
| status_irtx = - | |||
| status_irrx = - | |||
| status_stylus = - | |||
| status_haptics = N | |||
| status_nfc = - | |||
| status_ethernet = - | |||
| status_fossbootloader = - | |||
| booting = yes | |||
}} | |||
There are two variants of the Zenfone 3, the ZE520KL and the ZE552KL, differing only in screen panels, batteries, and possibly some sensors unique to each variant. At the time of writing, only the ZE520KL has been tested, but the ZE552KL should also be able to boot mainline without major issues. | |||
== Contributors == | == Contributors == | ||
* [[User:Smankusors]] | |||
* Uefa41 | * Uefa41 | ||
Line 72: | Line 77: | ||
== How to enter flash mode == | == How to enter flash mode == | ||
* '''Stock Fastboot:''' Press and hold {{button|Volume Up}} + {{button|Power}} together while device is turned off. | |||
* '''lk2nd Fastboot:''' Turn on the device. When it vibrates, press and hold {{button|Volume Down}}. | |||
== Installation == | == Installation == | ||
<!-- | === Unlock bootloader === | ||
Since Asus has shut down its unlock service, there’s no official way to unlock the Zenfone 3. However, an unofficial method exists: | |||
# Flash factory RAW | |||
# Execute <code>fastboot oem unlock</code> | |||
# Execute <code>fastboot reboot bootloader</code> | |||
# Flash Oreo RAW to restore Android | |||
=== lk2nd Installation === | |||
Please make sure you have the <code>boot.img</code> from your current Android ROM, so that you can boot back into Android. | |||
(A TWRP backup image might not work, since it would be too large to fit into the boot partition. Please use the original image instead of backup) | |||
# Download lk2nd-msm8953.img from https://github.com/msm8916-mainline/lk2nd/releases | |||
# Put the device to fastboot mode | |||
# <code>fastboot flash boot lk2nd-msm8953.img</code> | |||
# Done! | |||
To boot Android back, | |||
# Wait until lk2nd screen appears | |||
# <code>fastboot flash boot boot.img</code> | |||
# <code>fastboot reboot</code> | |||
Now Android should boot like normal. | |||
For more information about lk2nd, you can read [[lk2nd/lk1st]]. | |||
=== postmarketOS Installation === | |||
Make sure you flashed the lk2nd first! | |||
This guide explains how to install postmarketOS on an SD card. I recommend using Linux for this, although Termux on another rooted phone might also work. | |||
# [https://wiki.postmarketos.org/wiki/Pmbootstrap#Installation Install pmbootstrap] | |||
# <code>pmbootstrap init</code> | |||
# Follow the instructions, make sure you choose Vendor = Asus, and Device codename = zenfone3 | |||
# <code>pmbootstrap install --sdcard=[your sdcard location]</code> | |||
# Insert the sdcard to the phone, reboot, and you should now boot into postmarketOS now. | |||
For more information about pmbootstrap, you can read [[pmbootstrap]] | |||
== Current issues == | |||
* Camera doesn't work yet | |||
* Haptics/vibration doesn't work yet (missing driver support, probably will be supported from 6.12) | |||
* No laser distance sensor yet | |||
* No front LED control yet | |||
* No fingerprint | |||
* Buttons on headphone jack mapped incorrectly (need confirmation) | |||
* Calls have a sound problem somehow, haven't dig deeper on this yet | |||
* We have Venus video decode support on mainline kernel, but somehow there's a bottleneck somewhere on the players | |||
* Battery will not charge to 100% | |||
* Touchkeys is not working yet, it's missing support on <code>edt-ft5x06</code> driver | |||
* Several sensors are not enabled yet (smankusors: I'm currently checking on this) | |||
== Serial UART == | |||
To obtain bootloader logs on the ZE520KL variant, follow the test points shown in the image below. Note that the UART operates at 1.8V. For kernel version 3.18 (downstream Android kernel), set the console to <code>ttyHSL0</code>. For kernel version 4.9 and later, including mainline kernels, set the console to <code>ttyMSM0</code>. | |||
[[File:Asus-zenfone3-serial.jpg|480px]] | |||
For more information about serial debugging, please read [[Serial debugging]]. | |||
== See also == | == See also == | ||
* {{MR|3731|pmaports}} Initial merge request (abandoned by Uefa41?) | |||
* {{MR|5711|pmaports}} Second merge request | |||
* {{MR| | * [https://github.com/msm8953-mainline/linux Kernel source] | ||
* {{ | * {{Device package|asus-zenfone3|testing}} | ||
* {{Firmware package|asus-zenfone3|testing}} | |||
* [https:// | * [https://wiki.lineageos.org/devices/zenfone3/ LineageOS wiki] | ||
* {{Device package| | |||
* {{ | |||
Latest revision as of 08:13, 7 February 2025
![]() Asus Zenfone 3 | |
Manufacturer | Asus |
---|---|
Name | Zenfone 3 |
Codename | asus-zenfone3 |
Released | 2016 |
Type | handset |
Hardware | |
Chipset | Qualcomm Snapdragon 625 (MSM8953) |
CPU | Octa-core 2.0 GHz Cortex-A53 |
GPU | Adreno 506 |
Display | 1080x1920 IPS LCD |
Storage | 32 GB / 64 GB |
Memory | 3 GB / 4 GB |
Architecture | aarch64 |
Software | |
Original software | Android |
Original version | 6.0.1 |
Extended version | 8.0.0 |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | yes |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
Works |
SD card |
Works |
Battery |
Works |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
Works |
Audio |
Works |
Camera |
Broken |
Camera Flash |
Broken |
Connectivity | |
WiFi |
Works |
Bluetooth |
Works |
GPS |
Works |
Modem | |
Calls |
Partial |
SMS |
Works |
Mobile data |
Works |
Miscellaneous | |
FDE |
No data |
USB OTG |
No data |
Sensors | |
Accelerometer |
Works |
Magnetometer |
Works |
Ambient Light |
Works |
Proximity |
Works |
Haptics |
Broken |
There are two variants of the Zenfone 3, the ZE520KL and the ZE552KL, differing only in screen panels, batteries, and possibly some sensors unique to each variant. At the time of writing, only the ZE520KL has been tested, but the ZE552KL should also be able to boot mainline without major issues.
Contributors
- User:Smankusors
- Uefa41
Users owning this device
- Smankusors (Notes: The ZE520KL variant)
- Tjari (Notes: ZE520KL variant, has ghost touch issue)
How to enter flash mode
- Stock Fastboot: Press and hold + together while device is turned off.
- lk2nd Fastboot: Turn on the device. When it vibrates, press and hold .
Installation
Unlock bootloader
Since Asus has shut down its unlock service, there’s no official way to unlock the Zenfone 3. However, an unofficial method exists:
- Flash factory RAW
- Execute
fastboot oem unlock
- Execute
fastboot reboot bootloader
- Flash Oreo RAW to restore Android
lk2nd Installation
Please make sure you have the boot.img
from your current Android ROM, so that you can boot back into Android.
(A TWRP backup image might not work, since it would be too large to fit into the boot partition. Please use the original image instead of backup)
- Download lk2nd-msm8953.img from https://github.com/msm8916-mainline/lk2nd/releases
- Put the device to fastboot mode
fastboot flash boot lk2nd-msm8953.img
- Done!
To boot Android back,
- Wait until lk2nd screen appears
fastboot flash boot boot.img
fastboot reboot
Now Android should boot like normal.
For more information about lk2nd, you can read lk2nd/lk1st.
postmarketOS Installation
Make sure you flashed the lk2nd first!
This guide explains how to install postmarketOS on an SD card. I recommend using Linux for this, although Termux on another rooted phone might also work.
- Install pmbootstrap
pmbootstrap init
- Follow the instructions, make sure you choose Vendor = Asus, and Device codename = zenfone3
pmbootstrap install --sdcard=[your sdcard location]
- Insert the sdcard to the phone, reboot, and you should now boot into postmarketOS now.
For more information about pmbootstrap, you can read pmbootstrap
Current issues
- Camera doesn't work yet
- Haptics/vibration doesn't work yet (missing driver support, probably will be supported from 6.12)
- No laser distance sensor yet
- No front LED control yet
- No fingerprint
- Buttons on headphone jack mapped incorrectly (need confirmation)
- Calls have a sound problem somehow, haven't dig deeper on this yet
- We have Venus video decode support on mainline kernel, but somehow there's a bottleneck somewhere on the players
- Battery will not charge to 100%
- Touchkeys is not working yet, it's missing support on
edt-ft5x06
driver - Several sensors are not enabled yet (smankusors: I'm currently checking on this)
Serial UART
To obtain bootloader logs on the ZE520KL variant, follow the test points shown in the image below. Note that the UART operates at 1.8V. For kernel version 3.18 (downstream Android kernel), set the console to ttyHSL0
. For kernel version 4.9 and later, including mainline kernels, set the console to ttyMSM0
.
For more information about serial debugging, please read Serial debugging.
See also
- pmaports!3731 Initial merge request (abandoned by Uefa41?)
- pmaports!5711 Second merge request
- Kernel source
- Device package
- Firmware package
- LineageOS wiki