Hovatek
  • Private Support
  • Blog
  • Home
Login Register Ask Question Hello There, Guest!
Login
Username:
Password: Lost Password?
 

OR

       

Hovatek is hiring: Application is open to residents of Lagos, Nigeria only! Click Here To Apply
Telegram Channel: Join the discussions @ t.me/Hovatek

  1. Hovatek Forum
  2. DEVELOPMENT
  3. Android
Pages (3): 1 2 3 Next »
 
Thread Rating:
  • 1 Vote(s) - 5 Average

Thread Modes

[Development] How to unlock the Bootloader of an Android phone via Fastboot

hovatek
Administrator
*******
Posts: 46,772
Threads: 1,179
Joined: Oct 2013
Reputation: 422
#1

26-07-2017, 02:47 PM


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

  • Setup ADB-Fastboot on your PC. For Spreadtrum devices, follow this guide (in order to enable adb detect your device)
  • Enable USB Debugging and OEM Unlocking (if available)

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

    [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.
(This post was last modified: 24-07-2020, 02:15 PM by hovatek.)
Website Find
Reply
sparleta
Junior Member
*
Posts: 18
Threads: 4
Joined: Jun 2014
Reputation: 0
#2

06-04-2018, 03:58 PM
(26-07-2017, 02:47 PM)hovatek Wrote:  ...


Attached Files
.jpg IMG_20180406_175243.jpg Size: 942.95 KB  Downloads: 202
(This post was last modified: 07-04-2018, 10:05 AM by hovatek.)
Find
Reply
freshtyt
Senior Member
*****
Posts: 2,772
Threads: 3
Joined: May 2014
Reputation: 42
#3

06-04-2018, 10:27 PM
(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?
(This post was last modified: 06-04-2018, 10:34 PM by freshtyt.)
Find
Reply
slichy
Enthusiastic Member
Posts: 9
Threads: 2
Joined: Apr 2018
Reputation: 0
#4

21-04-2018, 10:49 PM
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
(This post was last modified: 21-04-2018, 10:50 PM by slichy.)
Find
Reply
hovatek
Administrator
*******
Posts: 46,772
Threads: 1,179
Joined: Oct 2013
Reputation: 422
#5

23-04-2018, 09:28 AM
(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.
Website Find
Reply
paeffiong
Senior Member
*****
Posts: 126
Threads: 1
Joined: Aug 2015
Reputation: 2
#6

24-04-2018, 09:10 AM
Nice and well detailed. Could you please attach a video cos there are so many who learns faster when taught with a video tutorial.
Find
Reply
arip jumaing
Newbie
Posts: 2
Threads: 0
Joined: Oct 2017
Reputation: 0
#7

17-06-2018, 04:38 AM
Nice and well detailed. ADB AND FASTBOOT MODE FOR UBL..THANKS
Find
Reply
Muhanad Samaty
Enthusiastic Member
Posts: 5
Threads: 1
Joined: Dec 2017
Reputation: 0
#8

03-07-2018, 04:36 AM
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.
Find
Reply
hovatek
Administrator
*******
Posts: 46,772
Threads: 1,179
Joined: Oct 2013
Reputation: 422
#9

03-07-2018, 10:31 AM
(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.
Website Find
Reply
belinda1093
Newbie
Posts: 1
Threads: 0
Joined: Jul 2018
Reputation: 0
#10

09-07-2018, 09:42 PM
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?
Find
Reply
« Next Oldest | Next Newest »

Share

Share Tweet Share Share Pin
Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread / Author Replies Views Last Post
[QMobile QInfinity C] Cannot unlock bootloader using fastboot oem
GhulamMujtaba
7
315
Last Post by hovatek
22-12-2020, 05:28 AM
How can I unlock bootloader without fastboot mode (Oppo A7)
Bloody Igris
5
1,795
Last Post by X3non
21-09-2019, 11:11 AM
How to discover hidden Fastboot commands in Android
hovatek
10
8,465
Last Post by hovatek
03-04-2019, 10:45 PM
Unlocking bootloader when POWER-UP button doesn't work in fastboot
rauliordache
9
2,556
Last Post by rauliordache
02-10-2018, 10:16 AM
How to / Can Unlock Bootloader Unisoc / Spreadtrum Devices via Hex Editor?
Risdiyanto Sukardi
5
5,586
Last Post by Risdiyanto Sukardi
16-11-2017, 04:26 AM

  • View a Printable Version


Users browsing this thread: 2 Guest(s)
  1. Hovatek Forum
  2. DEVELOPMENT
  3. Android

About

The Hovatek Forum is a free Tech. Support Forum. We provide solutions to all your device related problems and questions. We'll love to have you participate in discussions here whether you're a Newbie or Experienced.

         

Forum Team

Powered By MyBB. Crafted by EreeCorp.




Linear Mode
Threaded Mode