The bootloader is the first thing that runs when you boot up your Android device.
What you need to know for this tutorial is that, unlocking the boot loader will allow us to have full access to the array of options on our phone. These can be anything between changing our device’s recovery files and changing the images shown when turning on your phone (in Huawei’s case it’s an animation culminating in the brand’s symbol).
1 – What you’ll need
- Bootloader unlock code;
- Your phone’s drivers to access configuration tools;
- Access to developer menu;
- Enabled USB debugging;
- Fastboot and adb configuration tools.
2 – Request Unlock Code from Huawei
In order to change your device’s recovery, it’s essential to unlock the boot loader. To do so, request the unlock code from Huawei by sending an e-mail to email@example.com. Don’t forget to write in the subject line of your email “bootloader unlock code request” and the following information in the body of your email:
Product: HUAWEI ALE-L21
SNo: “Your device’s serial number”
IMEI: “your device’s IMEI”
Product ID: “your device’s product ID”
To find the information required above, follow the instructions below:
Serial number – Go to Settings -> About phone -> Status
IMEI – Go to Settings -> About phone -> Status
Product ID – Type *#*#1357946#*#* in the dialer
NOTE: A reply to your email can take a few hours.
3 – Install drivers & Enable USB debugging
This is the simplest step. You just need to flash the UniversalAdbDriverSetup.msi file and follow the installation steps. Do not modify anything, unless it’s the downloaded drivers’ location on your PC.
4 – Accessing the developer menu
You only need to follow a few steps in order to access the developer options menu:
- Go to Settings -> About phone -> Tap “Build number” 5 times, and that’s it!
5 – Enabling USB debugging
Simply go to the developer options menu and enable USB debugging option.
6 – Unlock boot loader on your device
- Download and unzip the file in the beginning of this article to a convenient location on your computer. This particular zip file holds more than is necessary at this point (the recovery images) so for now just ignore them (we’ll only need them to have root access, explained in another article here).
- As soon as you have in a folder, open it, hold SHIFT and right-click on an empty area in the folder.
- Click Open command window here. In the command window type dir and make sure that, among the files in the folder, you find the adb.exe and fastboot.exe files;
- Connect your phone via data cable to your PC and in the command window type adb devices. Check if can see your device’s serial number and the message normal in front of it. This means that all drivers have been successfully installed and that adb recognizes the device. Next, type adb reboot-bootloader to reboot into fastboot mode.
- Wait for the device to restart and show you the Android logo on a white background. You will see the message “Phone locked” under the Android logo, meaning the boot loader is still locked. Once this is done, type fastboot reboot in the command window and your device will restart normally. In the command window type fastboot oem unlock ****************, where * refers to the 16 digit unlock code that’s been emailed to you. You’ll see that the Phone locked message turns into PHONE unlocked;
- Now you just need to type fastboot reboot in the command window and your device will restart normally.
Now that this entire process is done you finally have full access to your device! Depending on what you’re planning to do with your phone, you might have to make other changes to it, but this is already a good start.
We hope this tutorial was clear and and that you successfully completed all the steps.
Just to remind you guys, if you have any questions, please leave them in the comments section below and we’ll try to help as much as we can.
Note: Article made by Gabriel Picareli in android-emotions.pt and translated by Soraia Almeida