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
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:
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:
And that's it! You should have your bootloader unlocked!