Want to support our free Tech. tutorials, videos and tools? Donate A Gadget

Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Share Share Pin
[Development] How to unlock the Bootloader of an Android phone via Fastboot
#1


Unlike in some other devices, you don't necessarily need to unlock the bootloader to flash a custom ROM to your Mediatek (MTK), Spreadtrum (SPD) Android phone. You don't even need bootloader (fastboot) to flash a custom recovery since Mediatek has SP Flash tool and Spreadtrum has Research / Upgrade download tool amidst several Chinese boxes. There are however certain scenarios where fastboot is the only feasible way to get a custom recovery loaded to your device from which you can then root, backup or install a custom ROM. This guide will explain how to unlock the Bootloader on a Mediatek (MTK), Spreadtrum (SPD) or Qualcomm (QLM) Android phone, an important prerequisite for flashing a custom recovery via fastboot.

Requirements


How to unlock a Mediatek, Spreadtrum or Qualcomm Android phone's Bootloader via fastboot


Follow the steps below to unlock the Bootloader of an Android device

See the video tutorial below or @ https://youtu.be/DL5NMR-n4_Q

  1. Open the adb folder


    [Image: Hovatek-How-to-unlock-the-Bootloader-of-...hone-1.jpg]


  2. Hold Shift (on the keyboard) then right-click on a blank space in the folder > Select Open Command window here


    [Image: Hovatek-How-to-unlock-the-Bootloader-of-...hone-2.jpg]


  3. Command prompt screen (adb) should now be open


    [Image: Hovatek-How-to-unlock-the-Bootloader-of-...hone-3.jpg]


  4. Connect the phone to PC (via USB cord) while ON then run the command below (by "run", I mean type then press Enter
    Code:
    adb devices


    [Image: Hovatek-How-to-unlock-the-Bootloader-of-...hone-4.jpg]


  5. If you've setup everything right, the device should get detected under List of devices attached


    [Image: Hovatek-How-to-unlock-the-Bootloader-of-...hone-5.jpg]


  6. Run the command below to get the phone into Bootloader (fastboot)
    Code:
    adb reboot-bootloader


    [Image: Hovatek-How-to-unlock-the-Bootloader-of-...hone-6.jpg]


  7. The phone should now boot into fastboot


    [Image: how-to-remove-bypass-frp-google-account-...-3-min.jpg]


  8. In fastboot, test detection / connection to the device using
    Code:
    fastboot devices


    [Image: Hovatek-How-to-unlock-the-Bootloader-of-...hone-7.jpg]


  9. If fastboot is set up right, you should see its ID printed out


    [Image: Hovatek-How-to-unlock-the-Bootloader-of-...hone-8.jpg]


  10. Now, check the phone's Bootloader status using either of the two commands below (if its locked or unlocked)
    Code:
    fastboot oem device-info
    fastboot getvar unlocked


    [Image: Hovatek-How-to-unlock-the-Bootloader-of-...hone-9.jpg]


    1. If you use the fastboot oem device-info command and the result is false then your bootloader is locked but if the result is true then the bootloader is unlocked


      [Image: Hovatek-How-to-unlock-the-Bootloader-of-...one-14.jpg]


    2. If you use the fastboot getvar unlocked command and the result is no then your bootloader is locked but if the result is yes then the bootloader is unlocked


      [Image: Hovatek-How-to-unlock-the-Bootloader-of-...one-12.jpg]


  11. If you've confirmed your bootloader is locked, then run the command below to unlock Bootloader
    Code:
    fastboot oem unlock

  12. If that doesn't work then try either of the two commands below
    Code:
    fastboot oem unlock-go
    fastboot flashing unlock
    fastboot flash unlocking


    [Image: Hovatek-How-to-unlock-the-Bootloader-of-...one-13.jpg]


  13. Note that some devices require you to also run

    Code:
    fastboot flashing unlock_critical

  14. You should get a prompt (on the phone) asking you to press Volume up to  confirm or Volume down to cancel. Press Volume up on the phone (for some phones its actually the opposite; Volume down would confirm while up would cancel or do nothing)

  15. Once Bootloader is unlocked, reboot the phone using
    Code:
    fastboot reboot

  16. The phone might take a while to boot up (since its a first boot) so be patient


Important Notice
  • This guide isn't guaranteed to work on all (Mediatek, Spreadtrum, Qualcomm, Exynos, Hisilicon, Intel etc) Android phones
  • Ensure to backup your important stuff because unlocking your Bootloader wipes your phone's data (/userdata)
  • Unlocking the bootloader bricks some devices so ensure to relock or flash the firmware if you find yourself in such a situation
  • If you successfully installed ADB / fastboot and your device still isn't detect then its most likely due to old ADB, fix it using the guide here

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Reply
#2

(26-07-2017, 02:47 PM)hovatek Wrote:  ...


Attached Files
.jpg IMG_20180406_175243.jpg Size: 942.95 KB  Downloads: 243
Reply
#3

(06-04-2018, 03:58 PM)sparleta Wrote:  Hi guys,I have been using the step by step guide to unlock my Infinix Hot5 Model X559C. Unfortunately, once i send the code to unlock bootloader the screen pops out on my phone but does not respond to either Volume Up/Down or Power button. What could be the case? Attached is the image where it hangs

did you enable oem unlocking in settings before trying to unlock?
and why are you trying to unlock bootloader?
Reply
#4

i have been following the instructions to unlock my leagoo t5c. my phone is detected in adb, but when i want to reboot in bootloader using adb reboot bootloader, my phone stuck in boot logo. and when i checked in fastboot devices, is showed the message <waiting the devices>. whats wrong with my phone ? i have installed the driver clearly. my phone is use spreadtrum sc 9853i. thanks before
Reply
#5

(21-04-2018, 10:49 PM)slichy Wrote:  i have been following the instructions to unlock my leagoo t5c. my phone is detected in adb, but when i want to reboot in bootloader using adb reboot bootloader, my phone stuck in boot logo. and when i checked in fastboot devices, is showed the message <waiting the devices>. whats wrong with my phone ? i have installed the driver clearly. my phone is use spreadtrum sc 9853i. thanks before

Boot into recovery mode and check if there's an option to boot into Bootloader from there


Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Reply
#6

Nice and well detailed. Could you please attach a video cos there are so many who learns faster when taught with a video tutorial.
Reply
#7

Nice and well detailed. ADB AND FASTBOOT MODE FOR UBL..THANKS
Reply
#8

guys everything went well except rightnow how do i install supersu.zip when i dont have twrp or philz recovery for my phone ,, im using Tecno CX AIR build number : cxair-H3713A-N-171207V139 please help.
Reply
#9

(03-07-2018, 04:36 AM)Muhanad Samaty Wrote:  guys everything went well except rightnow how do i install supersu.zip when i dont have twrp or philz recovery for my phone ,, im using Tecno CX AIR build number : cxair-H3713A-N-171207V139 please help.

Use our TWRP or Philz porter @ https://forum.hovatek.com/forum-39.html

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Reply
#10

Great post, I am a newbie and it took me two days to get this far. I use both linux and windows and first a lot of problems with the adb fastboot drivers...and all the familiar problems. Then after much hassle I found out that my bootloader is already unlocked and I thought it wasn't. Big Grin Big Grin
Now my biggest issue is that I cannot find a suitable custom ROM for my phone (strange device I have, a Mango C9 android marshmallow, kernel 3.10.65 (!) with quad core chipset). So I should learn how to port a Rom, but I am in a hurry because I started this whole process because my phone has a virus in android system file. So I have to completely wipe it clean. I cant find a stock rom either. What would your advice be?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post



Users browsing this thread: 1 Guest(s)