Unlocking the bootloader
This is a preliminary guide in unlocking your device's bootloader.
Last updated
Was this helpful?
This is a preliminary guide in unlocking your device's bootloader.
Last updated
Was this helpful?
Unlocking your device's bootloader is the first step to be done in order to install a custom firmware. This is vital as your device's bootloader normally disallows installing third-party firmware, unless you unlock it.
You can skip this portion if you have already unlocked your bootloader.
A bootloader is a vendor-proprietary image responsible for bringing up the kernel on a device. It guards the device state and is responsible for initializing the and binding its root of trust. The bootloader also verifies the integrity of the device itself before moving execution to the kernel, and displays warnings.
In short terms, a bootloader checks if the software installed on your device is valid, genuine, and secure before the device attempts to boot. As the first step in an Android device's boot process, it checks for the signatures and disallows booting if it detects a corrupted or unsigned software.
A PC, preferably running Microsoft Windows(TM)
A USB Type-C to Type-C cable, make sure the cable does not lose connection immediately when plugged in
Your device, preferably charged to at least 60%.
Enable developer options if you haven't enabled it yet. Open the Settings app, tap About phone then Software information, and tap the Build number until you see "Developer options has been turned on."
Open the Settings app.
If not yet enabled, turn on the OEM unlocking option. This will allow you to fully unlock the booloader.
Completely turn off the device by long-pressing the power button and tapping Power off. Tap the icon again to confirm. You can now plug in the USB cable to your PC while your device is shutting down.
Once your device has turned off completely, press both volume up and volume down buttons, and plug in the USB cable to your phone.
Your device will turn on to a teal screen. This is your device's download mode.
Long-press the volume up button until you see a screen titled "Unlock bootloader".
Press the volume up button to confirm the bootloader unlock.
Your device will reboot twice while it removes all data completely. It will take a while before it turns on to a setup screen.
This is a very important step to do after unlocking your bootloader or re-installing the manufacturer's official software. Samsung disallows devices from installing custom software for at least 7 days if the steps below are not done.
Set up your device as usual. Ensure you connect your device to the internet, this is very important in ensuring Samsung immediately 'unlocks' your device.
If needed, enter your existing Google Account's information. You can choose to restore data at this point, if you're not installing Fresh immediately.
After setting up, go to the Settings app.
Find and tap Developer options.
Check if the OEM unlocking option is permanently enabled (grayed out), with a caption saying "Device bootloader is unlocked".
You're ready to install custom software on your device.
Here are the steps in the case you decide to re-lock your device's bootloader.
Completely turn off the device by long-pressing the power button and tapping Power off. Tap the icon again to confirm. You can now plug in the USB cable to your PC while your device is shutting down.
Once your device has turned off completely, press both volume up and volume down buttons, and plug in the USB cable to your phone.
Your device will turn on to a teal screen. This is your device's download mode.
Long-press the volume up button until you see a screen titled "Lock bootloader".
Press the volume up button to confirm the bootloader lock.
Your device will reboot twice while it removes all data completely. It will take a while before it turns on to a setup screen.
You have re-locked your device's bootloader.
Your device is considered to be locked by Samsung's KnoxGuard if any of the following criteria matches:
Your device refuses to install custom software from Download Mode and would only install firmware officially released by the manufacturer; or
The OEM unlocking option in the device's Developer options menu is missing.
To resolve this issue, you may try doing any of the following:
Keep your device connected to the internet (either Wi-Fi or mobile data)
Regularly check for software updates
Proceeding with this step will completely wipe your data and remove all files. Make sure all important data before proceeding.
Ensure you are running the manufacturer's official software for your device. for instructions.
Refer to by XDA Portal for an alternative way