How to Guides
0

Huawei P9 Lite Unlock/Relock Bootloader | How To

by Khurram FarooqApril 29, 2018

If you want to root your Huawei P9 Lite you must unlock bootloader first. Bootloader is the program runs before any operating system is running. Bootloader loads and execute the OS. Android phone as well as computer devices both have this program which tells the device how to boot. All most all Huawei smartphone’s bootloader is locked, you have to unlock it in order to customize or root your phone. So below is the tutorial to show how to unlock bootloader and relock bootloader. However, unlocking bootloader will void device warranty.

Note: UptoAndroid will not be held responsible for any damage to the device during the process. Proceed at your own risk.

Prerequisites

  • Make full backup of your device.
  • Install ADB Drivers – Click Here
  • Huawei HiSuite – Link
  • Windows PC and a USB Cable
  • Enable “USB Debugging” Under Developer Options in Settings.
  • Enable “OEM Unlocking” Under Developer Options in Settings.
  • If Developer Option is not showing open Settings > About > Software Information > More than Tap “Build Number” seven times.
  • Keep your phone charged up to 50%.

Getting Bootloader Unlock Code

  1. Visit this link, Accept the agreement and Proceed.
  2. Now if you don’t have Huawei ID you can visit this link and make sure you register using your mobile number.
  3. Login using your Huawei ID.
  4. Now provide follow information
    1. Product Model: Go to Settings > About Phone.
    2. Product Serial Number: Go to Settings > About Phone > Status.
    3. Product IMEI: Go to Settings > About Phone > Status. SIM1 IMEI or IMEI1.
    4. Product ID: Dial *#*#1357946#*#* for product id.
  5. Enter verification code and you’ll see your Bootloader Unlock Code. Save if in notepad.

Unlocking Bootloader Huawei P9 Lite

  1. Install all “Prerequisites” before you begin.
  2. Power off your device.
  3. While holding Volume Down button use a USB Cable to attach your device to computer. Device will automatically boot to fastboot mode. OR you can also skip this step and after completing below step first enter this command adb reboot bootloader
  4. Now go to Fastboot ADB Tool Folder (C:\Program Files (x86)\Minimal ADB and Fastboot) and open Command Prompt by (Pressing Shift + Mouse Right Click > Open Command Prompt Here)
  5. Enter below command and press enter. If you see your device in list move to next step otherwise check your cable and repeat this step till you see your device in list.
    adb devices
  6. Execute the following commands each per line and with same order. (replace your_unlock_code with the one you saved in notepad earlier.
    fastboot oem unlock your_unlock_code
    fastboot reboot bootloader
  7. Wait for the device to boot the system. That’s it.

Relocking Bootloader Huawei P9 Lite

    1. Install all “Prerequisites” before you begin.
    2. Power off your device.
    3. Make sure you’d Factory Reset your device or you’re not using any Custom ROM.
    4. While holding Volume Down button use a USB Cable to attach your device to computer. Device will automatically boot to fastboot mode. OR you can also skip this step and after completing below step first enter this command adb reboot bootloader.
    5. Now go to Fastboot ADB Tool Folder (which you download earlier) and open Command Prompt by (Pressing Shift + Mouse Right Click > Open Command Prompt Here)
    6. Enter below command and press enter. If you see your device in list move to next step otherwise check your cable and repeat this step till you see your device in list.
      adb devices
    7. Execute the following commands each per line and with same order. (replace your_unlock_code with the one you saved in notepad earlier.
      fastboot oem relock your_unlock_code
      fastboot reboot bootloader
    8. Wait for the device to boot the system. That’s it.
About The Author
Khurram Farooq
I am a full-time Android developer/software engineer, blogger and a full-time freelancer. I create apps for website/blog owners, businessmen, musicians, artists, everyday people, etc. Also I can tweak WordPress sites, fix errors and customize themes.

Leave a Response