How to Lock / Unlock Bootloader in asus zenfone

How to Lock / Unlock Bootloader in asus zenfone

So you know custom recovery for asus zenfone 5 is out, and you can install on your mobile to take some advantages. but there is 1 disadvantage of installing TWRP custom recovery is that you will not receive OTA update. if you got OTA update then this will give error while installing.

In this Example i am using Zenfone 5

Why we need to unlock bootloader :

  1. The basic need of unlocking bootloader is to flash custom recovery.
  2. To Root your mobile.
  3. And for other modification.

Why we need to Relock again :

  1. To get official OTA we need to re-lock bootloader , if you have unlocked bootloader and you are trying to update mobile through OTA you will get error while installing Updates. Thats why we need to Re-lock bootloader.

So what to do now?

So solution for this is install stock recovery and relock your Bootloader.After installing OTA again install TWRP recovery.You don’t need to download files to relock bootloader.Cause unlock and relock files are inside stock ROM.So just extract that files to any folder to start unlocking procedure. But to start relocking you need to take attention on some aspects as follow:

Requirements :

  1. ADB files. (* if you don’t have then download from below button )

Download ADB

  1. current rom installed on your mobile. (* to get relocking files)
  2. PC (windows / Linux or MAC)

How to Relock bootloader in Zenfone :

  1. First of all extract ADB files in a folder.

How to Lock / Unlock Bootloader in asus zenfone

  1. Now extract ifwi.zip file from stock rom. as show below.

How to Lock / Unlock Bootloader in asus zenfone

  1. Now extract all contents from ifwi.zip to ADB folder.

How to Lock / Unlock Bootloader in asus zenfone

  1. And also extract recovery.img file from ROM to ADB folder.
  2. Now reboot your mobile into Fastboot (Droidboot).
  3. Now press Shift key and Right click any where in ADB folder and select “Open command window here”, and use following commands 1 by 1.

How to Lock / Unlock Bootloader in asus zenfone

fastboot flash recovery recovery.img
fastboot flash dnx dnx_fwr_ctp_a500cg.bin
fastboot flash ifwi ifwi_ctp_a500cg.bin

How to Lock / Unlock Bootloader in asus zenfone

How to Lock / Unlock Bootloader in asus zenfone

How to Lock / Unlock Bootloader in asus zenfone

  1. And you have locked bootloader successfully.

How to unlock bootloader in Zenfone :

  1. Follow 1 to 5 steps above (* as given for relocking but we don’t need recovery.img)
  2. Now use these commands:

fastboot flash dnx dnx_fwr_ctp_a500cg.bin
fastboot flash ifwi ifwi_ctp_a500cg_unlock.bin

  1. Done now bootloader unlocked successfully.

Like us on facebook and share with your friends if this post helpful for you.