Relock bootloader of rooted A2 Lite (Stock Rom)

Mansil234

Member
Dec 11, 2018
27
3
0
Hey guys,

i just want to ask if there is a tested method to relock the bootloader of a rooted A2 Lite.

I use the stock rom, just unlocked and rooted it.

I've read something about the MiFlashTool and the Clean and Lock Option.
But I'm not sure about that, because the MiFlashTool is for Miui.

So what are the steps to relock the bootloader?

Thank you for your help :)
 

00norman00

Senior Member
Aug 7, 2018
176
62
28
Kassel
Hey guys,

i just want to ask if there is a tested method to relock the bootloader of a rooted A2 Lite.

I use the stock rom, just unlocked and rooted it.

I've read something about the MiFlashTool and the Clean and Lock Option.
But I'm not sure about that, because the MiFlashTool is for Miui.

So what are the steps to relock the bootloader?

Thank you for your help :)
The MiFlashTool is also for the Stock Rom of the Mi A2 Lite (Not only MIUI!) :)
Download the Stock Rom and you can flash it via MiFlash. If you choose the option, you can relock the Bootloader when you do this.
 

marstonpear

Senior Member
May 15, 2016
489
179
53
Woah there buddy, if you try to lock a rooted phone you will have a hard brick. Don't try to lock the bootloader of a phone that is rooted or have system/boot etc. modifications.
 

marstonpear

Senior Member
May 15, 2016
489
179
53
And If i First delete the root-rights?
Not sure if it would work, the cleanest way would be to download official fastboot ROM, flash it via MiFlash (select clean and lock option). This will erase all your data and turn your phone to stock ROM. I'm saying this is the cleanest way because you may have issues by unrooting and locking the phone. Maybe it would work. Unsure. :p
 

Mansil234

Member
Dec 11, 2018
27
3
0
Not sure if it would work, the cleanest way would be to download official fastboot ROM, flash it via MiFlash (select clean and lock option). This will erase all your data and turn your phone to stock ROM. I'm saying this is the cleanest way because you may have issues by unrooting and locking the phone. Maybe it would work. Unsure. :p
But you said that this would brick my device?
 

Voodoojonny

Senior Member
Dec 17, 2015
792
328
83
Dortmund
If you lock your bl at a modified system, you will get the message "your system got destroyed", I once had this. But I was lucky being able to unlock again... So no hardbrick... But doing all that leads to nothing. Btw. it's always useful to have an open bl... For example, if you mess up with a magik module and stuck @boot... Just ignore the stupid message of xiaomi!
 

Mansil234

Member
Dec 11, 2018
27
3
0
If you lock your bl at a modified system, you will get the message "your system got destroyed", I once had this. But I was lucky being able to unlock again... So no hardbrick... But doing all that leads to nothing. Btw. it's always useful to have an open bl... For example, if you mess up with a magik module and stuck @boot... Just ignore the stupid message of xiaomi!
To prevent this, i want to remove the root access in the first place.

That i have a clean stock rom.
 

capajga

Member
Jan 15, 2019
29
6
0
To prevent this, i want to remove the root access in the first place.

That i have a clean stock rom.
Backup up everything first ;)
Download MiFlash and the correct ROM (not OTA version)
Then you can flash the Stock ROM which will remove everything ;)
You can also choose to leave unlocked or lock the bootloader (re-lock is selected by default)
As this is a somewhat new device I wouldn't tick the option to save your data.
 

Mansil234

Member
Dec 11, 2018
27
3
0
Backup up everything first ;)
Download MiFlash and the correct ROM (not OTA version)
Then you can flash the Stock ROM which will remove everything ;)
You can also choose to leave unlocked or lock the bootloader (re-lock is selected by default)
As this is a somewhat new device I wouldn't tick the option to save your data.
What is the correct rom if not the OTA-Version?
 

capajga

Member
Jan 15, 2019
29
6
0
What is the correct rom if not the OTA-Version?
Take a look at this thread:
https://forum.xda-developers.com/mi-a2-lite/how-to/ota-v9-6-4-0-odlmiff-t3823913
you can find pretty much all ota's and fastboot rom links.
All full ROMs end with .tgz extension
like this one:
http://bigota.d.miui.com/V9.6.4.0.O...0.ODLMIFF_20180724.0000.00_8.1_4afd3431a2.tgz
you have to extract it to be able to use it with MiFlash but I'm sure you'll find all the answers in the thread above ;)
 

Mansil234

Member
Dec 11, 2018
27
3
0