How to Securely unroot and also Re-Lock the Bootloader and Upgrade Frameware?

If you have read my previous article, then you might have learned, “How to unlock the bootloader to flash recovery software and root your Android device?

To Learn More: Unlock Bootloader for [Infinix][Vivo][Oppo]

Unlock Bootloader and Root Android: A Comprehensive Guide

This comprehensive guide provides detailed instructions on unlocking the bootloader and rooting Android devices. It covers the benefits and risks of unlocking the bootloader, the process of rooting Android devices, and the tools and techniques involved. By following this guide, users can gain full control over their Android devices and unlock their full potential.

Although having an unlocked bootloader is useful in many ways like flashing firmware (factory images), installing TWRP, and getting root, it can also lead to blocked services on your device due to security reasons, and hence you might want to relock the bootloader to avail those services.

Before proceeding to further action, you have to download the flashing software and Stock Frameware ROM.


How do re-lock the bootloader securely of my Infinix device?

Firstly, download the appropriate FramewareROM, and also, You need a flashing tool to flash the Frameware. I suggest you download the transsion v4.1901.23.17.

Once you have specified tools ready, then open Command Prompt by clicking window + R, type CMD, and hit OK.

Before typing and command, make sure you have already enabled the USB debugging, connect the phone to the USB cable, and type adb devices to check if the device is recognized or not.

Microsoft Windows[Version 6.3.9600]
(c) 2013 Microsoft Corporation. All right reserved.

C:\users\mrdev>adb devices
* daemon not running; starting now at tcp:5037
* daemon started sucessfully
List of devices attached
045613298V004882 device


C:\users\mrdev>

Now switch to fastboot mode using the ADB reboot bootloader.

C:\users\mrdev>adb reboot bootloader

C:\users\mrdev>

Once the device successfully switches to fastboot mode, type fastboot devices to check if the device is recognized or not. If you get any errors, then update the driver with the previous procedure.

C:\users\mrdev>fastboot devices
045613298V004882 fastboot

C:\users\mrdev>

Type the fastboot flashing lock command to lock the bootloader:

C:\users\mrdev>fastboot flashing lock
(bootloader) Start lock flow

OKAY [ 18.330s]
Finished. Total time: 18.332s

C:\Users\mrdev>

On successful execution, your device system will crash and not be able to boot again or you can say it as the device is dead.

So, now, we have flashed the Frameware ROM that we have previously downloaded.

First of all, extract the transsion software download tool. Using this one can revive a dead Android phone, reset, fixing a bricked device.

Now, we have to download a few drivers and install Them:


Launch the application. 

Once the application is loaded click on setting, and load the path of the scatter file. 

Before that, we have to extract the frameware zip file.

Load the file and click on confirm.

Click on Start, to start the process and plug in your USB cable and you will see the download process. 

On successful flash, the frameware, unplug the USB cable, and reboot, your device and you will see, that your problem is fixed.



Lock the bootloader of a Samsung device

For a Samsung device, you will need to download the Flashing Software( i.e., Odin) and Samsung Custom RomOnce the files are ready, extract them all. 


Launch Odin flashing tools:


On successful execution, the interface will look like this:

We need to put the device into download mode by switching off the smartphone and pressing the volume up, home, and power buttons simultaneously.

Once the device boots into the download mode connect the device to your computer using the USB data cable, and you will spot Odin's ID: COM in blue text. Otherwise, you need to reinstall the driver or check your cable for any faults:


Click on the AP button, and select the MD5 file. Make sure you enable Auto Reboot and F: Reset Time.

Click on the Start button in Odin. It will take a few seconds to complete and if everything went well, you should see PASS! in green as shown on the following screen. Once the process is complete your phone will restart automatically.


Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Ok, Go it!