1234Next

[TUTORIAL] How to unlock your bootloader

Started By: Vinjak Started On: 2017-9-21 04:28:57
6807 32
Edited by Vinjak at 2017-9-21 04:33

I'm going to attempt and get you familiar with quite a handy tool. ADB for short, or Android Debug Bridge is a tool which allows communication betwen your PC and an Android device which is connected to it. One of the things this can be used for is unlocking your bootloader.

Let's cover some basics of ADB first.

First things first.
You need to actually download ADB before attempting to use it.
Depending on the type of Windows you have installed, there are two options to choose from.

If you have a 32 bit Windows, download the x86 ADB version from here.


While if you are running a 64 bit Windows download the x64 ADB version from here.


If you don't know which Windows type you are using, you can check by following these steps.
1) Go into your start menu.
2) Right click onto "Computer".
3) Select properties
4) Under "System Type" you will see the type of Windows you are running.

Also download Google USB drivers and your phones USB drivers. I can't put USB driver download links for every single phone here so you will have to search google for them. But here's the link for Google USB drivers.



Now that we have that sorted out, once you have waited for the download to finish, extract the ADB files anywhere.
It's important to extract them and not run anything from the .zip you just downloaded.

Once extracted, go the location to which you extracted the files. Let's say you extracted them to your C drive for easy reference.

Now go into C:/adb/sdk/platform-tools.

You won't accomplish anything by trying to double click on one of the .exe files in here. So let's try actually starting up the ADB.

In the folder you just navigated to, find some empty white space and right click on it while holding shift and select "Open command prompt window here".

Once that's done type

  1. adb start-server
Copy the Code
to finally start it.

In order to make sure your device is connected properly and recognised by the ADB, the command you're looking for is:
  1. adb devices
Copy the Code


If everything is alright, you can proceed. It should show your phones serial number.

Hopefuly you have already enabled USB debugging on your phone as you never know when something bad can happen to it and your last resort would be using ADB to get your data out.
However if you haven't done so already, it will be required if you want to continue.

In order to do this go to your phones settings and select "About Phone".
Next would be to scroll all the way down and look for "Build Number".
Once located type on "Build Number" 5 to 10 times in order to enable "Developer Options". These are hidden by default in most of the phones.
Head back into the main Settings page and look for the Developer Options you just enabled.
Once inside, enable "USB Debugging".

On some phones, you may also need to enable "OEM Unlocking" as it is required.

Now you should connect your phone to your PC.
You will get a pop up asking you if you want to enable USB Debugging.
You obviously do. Make sure to check "Always allow from this computer" and click OK.

NOW MAKE SURE YOU BACKED EVERYTHING UP. I AM NOT RESPOSIBLE FOR YOU BRICKING YOUR PHONE AND LOOSING YOUR DATA. YOU WILL LOOSE EVERYTHING BY DOING THIS.

Once everything is out of the way, unplug your phone from the PC completely and turn it off.

Now plug the USB cable into your PC, but not into your phone.

Before plugging it to your phone too, you want to make sure you are holding the volume down button while plugging the cable into your phone.

This should place your phone into fastboot mode.

At the begging of this post we learned how to check if our device is properly connected and recognised by the ADB.
Do that now.

And it's pretty simple from now.

If all is fine, the command that unlocks your bootloader is:

  1. fastboot oem unlock
Copy the Code


And that's it! You should have your bootloader unlocked!

Homotoyosi10
Honeycomb
2# 2017-9-21 06:02:46
Should be helpful
Reply

bolumstar
Honeycomb
3# 2017-9-21 16:14:51
Can't believe I've never used adb start-server over 6 years of using adb....
Reply

gg_APPUT59
Global moderators
4# 2017-9-21 17:03:23
Very good and detailed tutorial! This could probably let other users out there be able to create custom ROMs easier and faster thanks to this! Well done and keep it up!
Reply

Vinjak
Gingerbread
5# 2017-9-22 00:27:13
gg_APPUT59 replied at 2017-9-21 17:03
Very good and detailed tutorial! This could probably let other users out there be able to create cus ...

Thanks!

Doogees cooperation will be needed for custom ROMs as far as I know. For some reason, unlike all the other manufacturers, Doogee won't release their Kernel sources.

Not even a custom recovery exists for the MIX, let alone ROMs.
Reply

gg_APPUT59
Global moderators
6# 2017-9-22 20:33:03
Vinjak replied at 2017-9-22 00:27
Thanks!

Doogees cooperation will be needed for custom ROMs as far as I know. For some reason, unl ...

There's nothing impossible for it to be done, so what you're saying that Samsung didn't released their kernel for old handsets like Samsung Galaxy Young? It has tons of custom ROMs.
Reply

bolumstar
Honeycomb
7# 2017-9-22 20:58:58
Development without Kernel sources is more like porting ROM or recovery, bug fixing is very limited. In some cases, there are ports with little or no bugs
Reply

bolumstar
Honeycomb
8# 2017-9-22 21:01:30
To effectively port Roms, you need the OEM to release a bugless (or very stable stock Rom) that hasn't happened yet for BL5000.
Reply

Vinjak
Gingerbread
9# 2017-9-24 06:33:25
Yeah.

It's possible, it's just not the most effective way.

Right now, the TWRP for the MIX is a port from God knows what phone, with a wrong resolution. And it doesn't even work properly.
Reply

gg_cqESG93
Honeycomb
10# 2017-9-24 08:36:08
Good information, thanks!
Reply
1234Next
You have to log in before you can reply Login | Register now Sign in with facebook Sign in with google

Points Rules

International