fastboot relock, locks device - Xiaomi Redmi 5A Questions & Answers

Hello Guys,
i have a redmi 5a and i made a rollback on rom from 10 to 9.
i had to unlock the bootloader and install previous verson of miui.
i could done that succesfully.
but i also installed twrp and root.
now i want to relock bootloader but when i do it via adb
not just the bootloader locks but the whole device too
and the phone does not start.
then i go back to fastboot and unlock the device with miflash unlock
and it works again but the bootloader is still open
what did i do wrong?

It's possible to relocked your device after rooting but relock the bootloader means locking the mod of your device, you'll lose your root. And again, if you need to root your device, you need to open the bootloader.

U cant relock the bootloader with custom recovery coz phone it doesnt start and maybe hard brick.always relock bootloader with stock recovery.also consider relocking,because u maybe cant unlock again until unofficial way found
Sent from my Redmi 5A using XDA Labs

Related

[Q] Bootloader *** UNLOCKED *** / *** RELOCKED *** / *** LOCKED ***

Hi,
I just woundring if after unlock bootloader with HTCDEV is it possible to back to factory state with *** LOCKED *** status of bootloader again.
I think that it's not possible, but many times I read here on XDA it coud be done.
I know that it's a tool to lock bootloader from CWM - but if we LOCKED bootloader from CWM after that we can't reflash bootloader to oryginal HTC ( becuse it's LOCKED ).
If we first reflash bootloader to stock ( by fastboot) one we can't use this tool.
So the last way to lock bootloader is to RELOCK it afrer flash ROM --> BOOTLOADER --> USB FASTBOOT, and after that we have factory state phone, but the status of bootloader is RELOCKED.
Am I Right ? There is no another way to LOCK bootloader after unlocking to use OTA ?
I'm just curious.
lokocool said:
Hi,
I just woundring if after unlock bootloader with HTCDEV is it possible to back to factory state with *** LOCKED *** status of bootloader again.
I think that it's not possible, but many times I read here on XDA it coud be done.
I know that it's a tool to lock bootloader from CWM - but if we LOCKED bootloader from CWM after that we can't reflash bootloader to oryginal HTC ( becuse it's LOCKED ).
If we first reflash bootloader to stock ( by fastboot) one we can't use this tool.
So the last way to lock bootloader is to RELOCK it afrer flash ROM --> BOOTLOADER --> USB FASTBOOT, and after that we have factory state phone, but the status of bootloader is RELOCKED.
Am I Right ? There is no another way to LOCK bootloader after unlocking to use OTA ?
I'm just curious.
Click to expand...
Click to collapse
If your wanting to relock the bootloader I would flash to a stock Rom using fastboot and relock after that.
Sent from my LT26i using xda app-developers app
UncleLester said:
If your wanting to relock the bootloader I would flash to a stock Rom using fastboot and relock after that.
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
No no no... I know that I Can flash stock rom + stock recovery and after that relock bootloader with fasboot.
But after that bootloader show to us as RELOCKED.
My question is - Is it possible to do this an get LOCKED status of bootloader again ?
OK it is possible
I just do this on my phone...
BLTOOL in recovery --> option 4 SUPERVERSION--> make goldcard --> on goldcard inster lastest ROM.zip from RUU ( temp from windows ) reboot --> and we have stock rom with stock recovery and ***LOCKED*** status.
lokocool said:
OK it is possible
I just do this on my phone...
BLTOOL in recovery --> option 4 SUPERVERSION--> make goldcard --> on goldcard inster lastest ROM.zip from RUU ( temp from windows ) reboot --> and we have stock rom with stock recovery and ***LOCKED*** status.
Click to expand...
Click to collapse
What locking tool you using? That seems long to get locked status.
I know this is not a phone but I locked a bootloader today on a Nexus 7 by using the same shell I unlocked it with.
I might be getting my wires crossed sorry if I am. Glad you got it sorted though.
Sent from my LT26i using xda app-developers app
I used this tool http://forum.xda-developers.com/showthread.php?t=1530864
I know this is not a phone but I locked a bootloader today on a Nexus 7 by using the same shell I unlocked it with.
Click to expand...
Click to collapse
by the shell on WFS You can lock bootloader using the same metod like before to unlock of course , but when you do this the bootloader status will be **RELOCKED** not **LOCKED**, so of course RUU and OTA update will works fine but Warranty is lost.
If you lock bootloader with this tool ( superversion option ) phone status will be **LOCKED** and you be able to flash stock ROM and stock bootloader.

Unlock bootloader without oem unlock

Hi I lost my phone but my phone is locked with samsung id. Just wondering if any one can install custom recovery and custom rom without unlocking or if bootloader can be unlocked using adb or fastboot?
Sukhman Bajwa said:
Hi I lost my phone but my phone is locked with samsung id. Just wondering if any one can install custom recovery and custom rom without unlocking or if bootloader can be unlocked using adb or fastboot?
Click to expand...
Click to collapse
no

Does Locking bootloader again wipe data?

I have unlocked bootloader. Now i want to lock the bootloader again. Will it wipe my phone's data?
Sent from my Redmi K20 Pro using Tapatalk
Yes
SolitarioRider said:
cant unlock boot loader help please
Click to expand...
Click to collapse
it is not possible to relock the bootloader, from Fastboot directly ... The device will be corrupted later. To relock the bootloader, use the restore tool which will return the phone to its factory configuration ... Under ROM 10.0.7 .. The bootloader will be relock ... and all the data on the phone will be erased. It's the only way.
https://forum.xda-developers.com/oneplus-7t/how-to/op7t-unbrick-tool-to-restore-device-to-t3994835
Zayatoshi said:
it is not possible to relock the bootloader, from Fastboot directly ... The device will be corrupted later. To relock the bootloader, use the restore tool which will return the phone to its factory configuration ... Under ROM 10.0.7 .. The bootloader will be relock ... and all the data on the phone will be erased. It's the only way.
https://forum.xda-developers.com/oneplus-7t/how-to/op7t-unbrick-tool-to-restore-device-to-t3994835
Click to expand...
Click to collapse
I tried re-locking the bootloader using fastboot and it happened successfully.
I am on Beta 2. It got successful because i haven't modified my system. Also it did wipe all the data.
Sent from my HD1901 using Tapatalk

How to relock bootloader / remove Root and have a clean install of the latest ROM?

I have bought a rog 5, so i want to sell my rog 2, but before i sell i would like to remove root and relock the bootloader.
Currently have android 9 - 1910.35 ROM with root and unlocked bootloader
Is there i guide i can follow ?
I dont want to brick my phone
Factory reset, flash the latest Raw firmware, reboot to fastboot,
fastboot oem asus-csc_lk
Or
fastboot oem asus-csc_lock
to lock the bootloader and then reboot fastboot
where are you from ?

Question How to flash stock rom? I'm on arrowos 13, but my bootloader is somehow locked.

I'm currently on arrowos 13. I wanted to go back to stock rom. So I tried flashing the fastboot rom via Mi Flash Tool. I got an error saying my device is locked. So, I checked if my bootloader was locked by using this command on fastboot " fastboot getvar unlocked" . It says "no", which means my bootloader is locked. I don't know how that happened. I tried to unlock the bootloader with Mi unlock tool, but it fails at the verification step itself. I don't how to proceed from here. I'm stuck with arrowos now.
dhilipmadhav said:
I'm currently on arrowos 13. I wanted to go back to stock rom. So I tried flashing the fastboot rom via Mi Flash Tool. I got an error saying my device is locked. So, I checked if my bootloader was locked by using this command on fastboot " fastboot getvar unlocked" . It says "no", which means my bootloader is locked. I don't know how that happened. I tried to unlock the bootloader with Mi unlock tool, but it fails at the verification step itself. I don't how to proceed from here. I'm stuck with arrowos now.
Click to expand...
Click to collapse
i'm like you, i want to go back to miui but i don't know how. have you tried it yet? Thanks
dhilipmadhav said:
I'm currently on arrowos 13. I wanted to go back to stock rom. So I tried flashing the fastboot rom via Mi Flash Tool. I got an error saying my device is locked. So, I checked if my bootloader was locked by using this command on fastboot " fastboot getvar unlocked" . It says "no", which means my bootloader is locked. I don't know how that happened. I tried to unlock the bootloader with Mi unlock tool, but it fails at the verification step itself. I don't how to proceed from here. I'm stuck with arrowos now.
Click to expand...
Click to collapse
You can't install custom roms on bootloader locked device.

Categories

Resources