A device bootloader is a code which packs in an operating system to run every time we turn on our device. It basically tells the operating system and kernel to whether run recovery mode or initiate the boot process.
Because Android is open-source, it’s quite easy to unlock the bootloader. By unlocking it, you will be able to flash any third-party Custom ROM, Root, Mod files, Custom Recovery,etc ….
Backup your Samsung Phone so as to not lose any data just in case.
Download Mediatek VCOM Drivers. (if your phone has Mediatek chiset)
Before you proceed to unlock the bootloader of your device, you should do a complete back-up of the system. The unlocking process will sweep all the data of Android. So it is important to backup any photos, videos, app data or other files on your device to a computer, an SD card or the online cloud. Backup everything you want to keep, then continue to the next step.
Enable Developer options and OEM Unlock at first on your handset.
Then you need to enable the USB Debugging as well from the Developer options to connect with your PC.
Connect your phone to the PC via the USB cable
Once the device is connected, switch off your phone and open the fastboot mode. You can do this by opening the command prompt pressing Shift Key + Right Mouse Click on a blank area in the ADB & Fastboot folder on your PC and typing: “adb devices” and then “adb reboot bootloader” (without quotes).
You may get a pop up to allow USB Debugging on your phone. Just tap on OK button.
Once your phone is recognized follow the next command: fastboot oem unlock
You’re done. To reboot your device into the main system, type the following command and hit enter button: fastboot reboot
Your phone will reboot into the system. Wait for the complete boot process and enjoy.