ASUS ZenFone 2 Laser (720p) (asus-z00l)

From postmarketOS
Jump to navigation Jump to search
ASUS ZenFone 2 Laser (720p)
ASUS ZenFone 2 Laser (720p)
ASUS ZenFone 2 Laser (720p)
Manufacturer ASUS
Name ZenFone 2 Laser (720p)
Codename asus-z00l
Released 2015
Category testing
Original software Android 6.0.1 (Android Marshmallow)
Hardware
Chipset Qualcomm MSM8916 Snapdragon 410
CPU Quad-core 1.2 GHz Cortex-A53
GPU Adreno 306
Display 720x1280
Storage 16GB / 32GB
Memory 2GB / 3GB
Architecture aarch64
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Works
Xwayland
Works
FDE
Works
Mainline
Works
Battery
Partial
3D Acceleration
Works
Accelerometer
Works
Audio
Works
Bluetooth
Works
Camera
GPS
Mobile data
Works
SMS
Works
Calls
Works
USB OTG



This Wiki is only targeted for Asus Zenfone 2 Laser (720p) (ZE550KL). With any other model you should always do some research before using anything from here blindly. You have been warned. No one is responsible.

Contributors

  • antonyjr

Maintainer(s)

  • antonyjr

Users owning this device

  • Antonyjr (Notes: The only phone I own which is mainlined and aims to run Phosh as daily driver)
  • Fireman112 (Notes: Broken screen)


How to enter flash mode

Press Volume Up + Power Key. At the time of writing lk2nd does not recognize volume down for this device so you can't enter into flashing mode with lk2nd when you flash your kernel to the boot partition.

The only workaround is to erase the boot partition completely by entering the stock fastboot. For this you have to turn your phone completely off(do not plug in anything since if it's charging then it boots). Now Use Volume Up + Power Key once you see the bootloader release the buttons. Now do the following,


$ fastboot erase boot
$ fastboot flash boot lk2nd.img
$ fastboot reboot 
$ # Now you should be in lk2nd


Unlocking Bootloader

Before you do anything to the device you should unlock the bootloader(Make sure to enable developer mode first from android). Since this is a old device Asus stopped support for the official app to unlock the device. So whatever you do, you really can't unlock the bootloader with the official app anymore.

Since the recovery partition of this device is not locked we can flash TWRP first. Download TWRP from here and flash it to recovery.

$ # Boot into stock fastboot by pressing Vol Up + Power Key
$ fastboot flash recovery twrp.img


Now Press Volume Down + Power Key while still in fastboot, Once you see your phone reboot and show the ASUS logo release the buttons. Now You should see TWRP, do the required changes by TWRP. Now reboot again and verify if Android is still working and again get into Recovery.

Also Please Turn Off Screen locking in TWRP settings which causes some trouble. Disable Screen Locking and reduce the Screen brightness.

Now make a backup of your Phone with TWRP to a USB Flashdrive using OTG Cable this is important to recover if you do something wrong or want to go back to Android after writing postmarketOS to your internal memory. (Because the phone will not install any other Android OS unless you are in your Stock Android with latest Firmware again)

For Installing Lineage OS you should do a dirty flash with the latest firmware update.

Now you must install SuperSU or other android root software(TWRP -> Install -> SuperSU.zip transferred from Computer). SuperSU worked for me.

Wipe all caches and reboot into your device. Hopefully it should be rooted.

Now connect your device to your computer with USB debugging enabled. Download this zip file and extract it to some location of your computer.

Now go to the extracted directory of the zip and execute the following command while your phone connected with USB Debugging and without the screen lock state,

$ ./unlock_bootloader.sh

Make sure to allow permissions by SuperSU on your phone screen.


Now hopefully your device should be unlocked. To check this execute the following command. This will reboot your device into fastboot.

$ adb reboot bootloader
$ fastboot oem device-info # It should say Bootloader: unlocked
$ fastboot reboot


Installation

Install the lk2nd bootloader, as it is required to handle some quirks with msm8916 devices on mainline kernels. Flash the lk2nd.img image to the boot partition with fastboot flash boot /path/to/lk2nd.img. lk2nd also provides a fastboot interface that allows for flashing kernels without overwriting lk2nd itself. As soon as you flash this to this device the default boot will always be lk2nd, when you flash a valid mainline kernel you can't see lk2nd again. Read the above sections for workaround.

Once you have booted into lk2nd, follow Qualcomm_Snapdragon_410/412_(MSM8916)#Installation.