UNLOCKING BOOTLOADER FOR ASUS ZENFONE 2 LASER 5 5s ZE550KL Asus Z00LD

UNLOCKING BOOTLOADER FOR ASUS ZENFONE 2 LASER 5 5s ZE550KL Asus Z00LD


Here is another tutorial for unlocking your bootloader in asus zenfone 2 laser 5.5s ZE550KL asus_Z00LD device for you to be able to flash TWRP and make a stock rom backup to your device to restore it later if you will encounter any issues like bootloop or stuck at asus logo later on.

For this device you need to have root access to unlock its bootloader.

If you happen not to root yet your device you may wish to visit my post here.
asus_zenfone_2_laser_5.5s



I have tried the official bootloader unlock tool app from asus for ZE550KL but did not work. I even tried the other unlock tool for ZE600KL which some say that they got successful but unluckily it did not work either.

I also tested the "fastboot oem unlock" and "fastboot flashing unlock" via adb but to no avail.

So heres how I did thanks to the thread posted by xda-developer member and those who made the script from this thread.

Disclaimer: I am not held responsible if you brick or destroy your device, do it at your own risk as I also did when I unlocked mine.

note: when you unlock your bootloader your warranty is now void.

Things needed:
1. Rooted phone (tutorial here)
2. Terminal Emulator (optional) here
3. Adb (how to set up plus download link here)

Steps:
1. Download and install Terminal Emulator app or ADB
2. Make a dump backup using Terminal Emulator or ADB

if via Terminal type
su (hit enter)

copy this script in notepad and save to your sdcard, access and view text from your phone copy and paste in Terminal.

code:

state=locked;
outdir=/sdcard/dumps-lockedbl;

if [ -e /dev/block/platform/*/by-name ]; then
  target=/dev/block/platform/*/by-name;
elif [ -e /dev/block/platform/*/*/by-name ]; then
  target=/dev/block/platform/*/*/by-name;
fi;
if [ "$target" ]; then
  target=`echo -n $target`;
  mkdir $outdir;
  echo $target > $outdir/targets.txt;
  bootdev=/dev/block/bootdevice/by-name;
  test -e $bootdev && echo $bootdev >> $outdir/targets.txt;
  for part in $(ls $target); do
    case $part in
      system|APP|cache|CAC|userdata|UDA|boot|LNX|recovery|SOS) ;;
      *) dd if=$target/$part of=$outdir/$part-$state.img;;
    esac;
  done;
fi;

asus_zenfone_2_laser_5.5s_terminal
asus_zenfone_2_laser_5.5s_terminal_backup
asus_zenfone_2_laser_5.5s_terminal_backup_complete
How to copy the script to Terminal when you open the script saved in notepad it will be viewed from default HTML viewer, long press and highlight the script and select copy to clipboard from settings (3 dotted icon like a letter V rotated clockwise with drop down menu then scroll to copy clipboard).
asus_zenfone_2_laser_5.5s_HTML_viewer
asus_zenfone_2_laser_5.5s_long_press_highlight
-------------------------------------------------------------------------------------------------------------------------
if via adb open command prompt from platform tools (shift+right click of mouse) 
open_command_window
type

adb shell (hit enter)
su (hit enter)

now copy this script and from command prompt paste (right click mouse and paste)

code:

state=locked;
outdir=/sdcard/dumps-lockedbl;

if [ -e /dev/block/platform/*/by-name ]; then
  target=/dev/block/platform/*/by-name;
elif [ -e /dev/block/platform/*/*/by-name ]; then
  target=/dev/block/platform/*/*/by-name;
fi;
if [ "$target" ]; then
  target=`echo -n $target`;
  mkdir $outdir;
  echo $target > $outdir/targets.txt;
  bootdev=/dev/block/bootdevice/by-name;
  test -e $bootdev && echo $bootdev >> $outdir/targets.txt;
  for part in $(ls $target); do
    case $part in
      system|APP|cache|CAC|userdata|UDA|boot|LNX|recovery|SOS) ;;
      *) dd if=$target/$part of=$outdir/$part-$state.img;;
    esac;
  done;
fi;

3. Wait as it completes the backup process. You can find the files from your internal storage /sdcard/dumps-lockedbl
dumps_locked_&_dumps_unlocked
4. The next script will unlock the bootloader, so type this code in ADB.

copy this code:

echo -ne "x01" | dd obs=1 count=1 seek=16 of=/dev/block/bootdevice/by-name/devinfo

5. I tried that in Terminal and connected my device and go to fastboot mode via adb to check but my bootloader was still locked. Click images to zoom out.
asus_zenfone_2_laser_5.5s_terminal_unlock_script
checking via adb fastboot...
adb_reboot_bootloader
fastboot_oem_device_info
bootloader_still_locked
6. I made the necessary troubleshoot like fastboot oem adb_enable but still locked (which I found from this thread ) and still unsuccessful.
trouble_shoot
trouble_shoot_fastboot_oem_adb_enable
bootloader_still_locked
7. So I directly pasted the code via adb to unlock but found some errors since I forgot I was in fastboot mode and simple reboot (fastboot reboot), then type in adb shell, and su.
adb_shell_su_script_unlock
8. So this time it went through and successfully unlocked my bootloader when I recheck via fastboot mode.
bootloader_unlocked
9. Now I can flash TWRP to back up my device. I will post a separate tutorial on how to flash TWRP after unlocking your bootloader.

10. Optional you may make another dump backup when the bootloader is already unlocked check the code below.
asus_zenfone_2_laser_5.5s_dump_unlocked_bootloader
Summary:
1. Make a dump back up (locked bootloader) via Terminal or ADB.

code:
state=locked;
outdir=/sdcard/dumps-lockedbl;

if [ -e /dev/block/platform/*/by-name ]; then
  target=/dev/block/platform/*/by-name;
elif [ -e /dev/block/platform/*/*/by-name ]; then
  target=/dev/block/platform/*/*/by-name;
fi;
if [ "$target" ]; then
  target=`echo -n $target`;
  mkdir $outdir;
  echo $target > $outdir/targets.txt;
  bootdev=/dev/block/bootdevice/by-name;
  test -e $bootdev && echo $bootdev >> $outdir/targets.txt;
  for part in $(ls $target); do
    case $part in
      system|APP|cache|CAC|userdata|UDA|boot|LNX|recovery|SOS) ;;
      *) dd if=$target/$part of=$outdir/$part-$state.img;;
    esac;
  done;
fi;

2. Paste the unlocking code via ADB (it works better than Terminal).

code:
echo -ne "x01" | dd obs=1 count=1 seek=16 of=/dev/block/bootdevice/by-name/devinfo

3. Reboot to bootloader and check.

4. Optional you may also make another dump backup when your bootloader is already unlocked using the same steps as above but this time using this code below and if you wish to message the author of this script that they may find a way to relock the bootloader (from this thread.)

code:

state=unlocked;
outdir=/sdcard/dumps-unlockedbl;

if [ -e /dev/block/platform/*/by-name ]; then
  target=/dev/block/platform/*/by-name;
elif [ -e /dev/block/platform/*/*/by-name ]; then
  target=/dev/block/platform/*/*/by-name;
fi;
if [ "$target" ]; then
  target=`echo -n $target`;
  mkdir $outdir;
  echo $target > $outdir/targets.txt;
  bootdev=/dev/block/bootdevice/by-name;
  test -e $bootdev && echo $bootdev >> $outdir/targets.txt;
  for part in $(ls $target); do
    case $part in
      system|APP|cache|CAC|userdata|UDA|boot|LNX|recovery|SOS) ;;
      *) dd if=$target/$part of=$outdir/$part-$state.img;;
    esac;
  done;

fi;

Next post...How to flash TWRP after unlocking your bootloader tutorial (here).

Share with friends if you found this tutorial helpful.

download file now

Popular posts from this blog

LYF Water 9 LS 5506 USB Driver and Flash tool

LYF Water 10 LS 5020 USB Driver and Flash tool

Motorola C XT1755 USB Driver and Flash tool