ASUS ZenFone 2 Laser (720p) (asus-z00l)
Users owning this device
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
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 $ fastboot flash recovery twrp.img $ fastboot reboot
Now turn off your phone completely and get into recovery by Volume Down + Power Key combination. You should see TWRP, do the required changes by TWRP.
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.
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,
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
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.
Now once you have booted into lk2nd. You can use
pmbootstrap flasher while connected to your computer to flash your device.
Now you simply follow