Relock bootloader and unlock again - Redmi K20 / Xiaomi Mi 9T Questions & Answers

Hi,
I'm thinking.
To unlock the bootloader I need to wait 180h.
After that I decide to relock the bootloader.
If I want to unlock it again I will have to wait 180h again?

Nope. Only first time

Can I use the "fastboot oem unlock" command to re-unlock the bootloader without the mi tool?

dedraks said:
Can I use the "fastboot oem unlock" command to re-unlock the bootloader without the mi tool?
Click to expand...
Click to collapse
Not sure that work.
but if you install fastboot rom via Miflash and have lock bootloader case ticked does the job.
Caution: Flash the same rom your phone model is from. China/global or india.

dedraks said:
Hi,
I'm thinking.
To unlock the bootloader I need to wait 180h.
After that I decide to relock the bootloader.
If I want to unlock it again I will have to wait 180h again?
Click to expand...
Click to collapse
You have to wait as been to this situation or you can use another account if have permission .

Related

how to lock bootloader? warranty

Hello Guys
I have a question how to look bootloader?
Because maybe if i want to sell this phone or send to service i must have locked bootloader because they are checking if the bootloader is locked or not...
i think you need a locking code, have to ask huawei for that
then use the adb command to lock bootloader
+1
if find please post!
i found something
type this "fastboot oem relock YOUR CODE"
where YOUR CODE its the unlocking code provided by huawei
try and comment
anyways, the phone will say "relocked" not "locked" as factory locked.
Confusion?
jabonloco said:
i found something
type this "fastboot oem relock YOUR CODE"
where YOUR CODE its the unlocking code provided by huawei
try and comment
anyways, the phone will say "relocked" not "locked" as factory locked.
Click to expand...
Click to collapse
Assuming you already have your code...
adb reboot bootloader
then when it's at the bootloader and it mentions "phone unlocked"
fastboot oem lock
The lock and relock confusion ... was this ever tested with the relock command? Is there a difference?
I tried to lock back the phone with the following command:
Code:
fastboot oem lock
Phone got restarted into bootloader directly, without locking it. I read about this around the net, and found that the system may have to be unrooted in order to get the above command working.
I think, when you unlock your bootloader you never can how back.
once unlocked, always unlocked.
that is why they say you lose all warranty when you unlock your phone.
By the way, I tried to do the relocking with the TWRP Recovery installed. Maybe after reflashing a stock ROM, and flashing the stock recovery back, it'll work.
Does this work for anyone? Really need to lock my bootloader again and it's not working.
Bomn said:
Assuming you already have your code...
adb reboot bootloader
then when it's at the bootloader and it mentions "phone unlocked"
fastboot oem lock
The lock and relock confusion ... was this ever tested with the relock command? Is there a difference?
Click to expand...
Click to collapse
I think if you install a update.app of your stock firmware the bootloader will be locked..This may be work though I didn't check it yet.
Rifat Nurr said:
I think if you install a update.app of your stock firmware the bootloader will be locked..This may be work though I didn't check it yet.
Click to expand...
Click to collapse
Sadly not. Then bootloader is still unlocked.
As far as I know there's no way to relock the bootloader after unlocking it. By default it should allow such an operation, but looks like our fastboot framework was modified in this way.
works
http://huaweip8lite.blogspot.hu/2016/01/tutorial-how-to-lockrelock-bootloader.html
For unlock your bootloader
The command is :
"Fastboot oem unlock *********"
For relock it
The command is
"fastboot oem relock **********"
The stars was your unlock/lock code from Huawei.
It's the only way, other's command was wrong.
Install update don't relock your bootloader and you can update with your bootloader unlock.
It's only necessary to relock it in case of warranty.
Having his bootloader unlock is a great help when you have bad trouble like brick or softbrick.
Also you have to know exactly what you are making on your device's. And you are the only one to blame for the modifications you make on your device's
Lock the bootloader with DCUnlocker... it'll lock the bootloader without the 'relocked' on the screen.
Rifat Nurr said:
I think if you install a update.app of your stock firmware the bootloader will be locked..This may be work though I didn't check it yet.
Click to expand...
Click to collapse
No...Not Will Be Locked
For relock it, you have to use your unlock code too.
In fastboot type
fastboot oem relock ************
(the stars is your unlock code)
And now your bootloader become green and locked.
Sent from my ALE-L21 using XDA-Developers mobile app
And now your bootloader (maybe, i don't know for sure) become green and RE-locked.
If you use DC-unlocker it only reads "locked"
Lähetetty minun ALE-L21 laitteesta Tapatalkilla
Bazilli said:
If you use DC-unlocker it only reads "locked"
Lähetetty minun ALE-L21 laitteesta Tapatalkilla
Click to expand...
Click to collapse
We are talking about warranty, i think that huawei doesn't use DC-unlocker!

Is it possible to relock the bootloader?

I'm holding off twrp + bootloader unlock because I want to be able to undo in case I need to use my warranty. Is twrp/bootloader unlock reversible? Many thanks
Yes. Flash complete stock everything, boot into bootloader, connect to PC, and "fastboot oem lock".
Is it sure that it works??I have a A2017G and i have open BL and a B29 Custom Rom and i want back to Lock Bootloader
Kevinkuensken said:
Is it sure that it works??I have a A2017G and i have open BL and a B29 Custom Rom and i want back to Lock Bootloader
Click to expand...
Click to collapse
Yup! I've done it plenty of times. You do need to format the data partition though. This could mean that it'll wipe out even your internal storage, so back that up as well!
Im on stock and then i go to edl and then i type fastboot oem lock but nothing happend
Kevinkuensken said:
Im on stock and then i go to edl and then i type fastboot oem lock but nothing happend
Click to expand...
Click to collapse
Boot into bootloader, not EDL.
Erahgon said:
Yup! I've done it plenty of times. You do need to format the data partition though. This could mean that it'll wipe out even your internal storage, so back that up as well!
Click to expand...
Click to collapse
and you can unlock it again afterwards?
Never heard of anyone wanting to lock the bootloader so I'd a newb in this kind of thing.
BlazingBullets said:
and you can unlock it again afterwards?
Never heard of anyone wanting to lock the bootloader so I'd a newb in this kind of thing.
Click to expand...
Click to collapse
Locking it again is good for when you want to sell the device or send it in for warranty repair.
BlazingBullets said:
and you can unlock it again afterwards?
Never heard of anyone wanting to lock the bootloader so I'd a newb in this kind of thing.
Click to expand...
Click to collapse
Yeah, the unlock procedure is the same as before. If you didn't restore the original boot image before the relock, then it's just a matter of booting into fastboot and unlocking the device. Note that this will cause your data to be wiped as well!
If you restore your boot.bin backup file from when your device was locked, does this lock the bootloader? "fastboot oem lock", "fastboot flashing lock" nor "fastboot oem device-info" does nothing for me. Is there any other way to check if your bootloader has been relocked?
Thanks
H0lmEd said:
I'm holding off twrp + bootloader unlock because I want to be able to undo in case I need to use my warranty. Is twrp/bootloader unlock reversible? Many thanks
Click to expand...
Click to collapse
Hi there,
Were you ever able to re-lock your bootloader on your A2017G?
I just want root for now but understand that I'll need to unlock the bootloader first. Before doing that, I want to make sure I can re-lock the bootloader if needed.
Thanks for letting us know!
joaste said:
Hi there,
Were you ever able to re-lock your bootloader on your A2017G?
I just want root for now but understand that I'll need to unlock the bootloader first. Before doing that, I want to make sure I can re-lock the bootloader if needed.
Thanks for letting us know!
Click to expand...
Click to collapse
Guys/Gals, it is seriously as simple as using the fastboot command in reverse. I've done it a few times already with mine.
If you used the following to unlock....
fastboot devices
fastboot oem unlock
.....then you can use the following commands to relock
fastboot devices
fastboot oem lock
fastboot devices is not necessary, but I do it to make sure the devices is being recognized by ADB/FASTBOOT
sauerkraut17 said:
Guys/Gals, it is seriously as simple as using the fastboot command in reverse. I've done it a few times already with mine.
If you used the following to unlock....
fastboot devices
fastboot oem unlock
.....then you can use the following commands to relock
fastboot devices
fastboot oem lock
fastboot devices is not necessary, but I do it to make sure the devices is being recognized by ADB/FASTBOOT
Click to expand...
Click to collapse
Thanks for the answer.
But there are a few files to flash before using that command according to this thread.
Doesn't anything need to be flashed again (e. g. stock files or anything)?
Correct, but you would have already flashed those in order to use the unlock command in the first place.
Are you trying to relock on marshmallow or nougat?
sauerkraut17 said:
Correct, but you would have already flashed those in order to use the unlock command in the first place.
Are you trying to relock on marshmallow or nougat?
Click to expand...
Click to collapse
My phone is only a few days old. I'm debating whether to keep it or not (considering the Mate 9, but the price is not the same - love the form factor and bigger screen though - sound won't be the same and I think I'll miss the MiPop button on the Axon (never thought that would happen )).
I'm on the latest MM (B10 - the A2017G model).
Following the mentioned thread, I got to the point of installing TWRP (the signed version), only to realize that besides making backups, there is not much else I can do with that without unlocking the bootloader. I really just wanted to flash supersu and install adaway fro the time being until development matured for this phone (maybe also play around with viper - had great results on my LG G4).
HI, I get the error "FAILED (remote: unknown command)" in ADB when I enter "fastboot oem lock". Any way to fix this?
Guys, can anyone help me? I really need to lock the bootloader!
How can I fix the error "FAILED (remote: unknown command)" in ADB when I enter "fastboot oem lock"?
I'm on MM B11 Stock.
https://i.imgur.com/fdkgYs6.jpg
Hi Guys,
The Axon 7 Model A2017U I just purchased has the bootloader locked and it is running LineageOS 14.1 - 2018032-Nightly-axon7. I need to relock the bootloader and get back to the stock MiFavor rom so that I can send the phone to ZTE for repair. Can you please explain to a newb in some detail how to achieve that.
Thank you.

Relock bootloader

How do I relock the bootloader in order to use android pay
kazzot17 said:
How do I relock the bootloader in order to use android pay
Click to expand...
Click to collapse
fastboot oem relock ****************
NVM delete...

Help unable to relock the bootloader

I am trying to relock the bootloader in adb terminal by using command fastboot oem lock I get a message during boot stating that the system has been destroyed and boot loop.
How to relock bootloader with out flashing stock rom
Thanks in advance ?
Vishal21896 said:
I am trying to relock the bootloader in adb terminal by using command fastboot oem lock I get a message during boot stating that the system has been destroyed and boot loop.
How to relock bootloader with out flashing stock rom
Thanks in advance
Click to expand...
Click to collapse
use reflash tutorial from this site:
HTML:
https://xiaomifirmware.com/roms/download-official-roms-xiaomi-mi-a1/
. Just download tool, extract, then exctract downloaded rom in this tool folder. Conect A1 in fastboot and start flash_all_lock.bat file in folder with room (I used flash_all.bat). This is how I fixed my bootlops...
You need to reflash. There's no other way.
Did you have the original stock Oreo with January security patch?
I would also like to re-lock the bootloader but now I have read your post I am unsure if its safe.
Use this command in adb
fastboot oem relock (your unlock code if needed)
Youssef Reda said:
Use this command in adb
fastboot oem relock (your unlock code if needed)
Click to expand...
Click to collapse
If I enter fastboot oem relock with MagiskManager or Magisk 15.3 installed, will I brick the phone?
amzazine said:
If I enter fastboot oem relock with MagiskManager or Magisk 15.3 installed, will I brick the phone?
Click to expand...
Click to collapse
Maybe
I didn't try it but it may brick your phone
Developers should make clear that Re-locking the bootloader is not as easy as the unlock process and there is a high risk you will brick your phone.
i just have this issue ,which is i unlock then i lock the oem and then the message ' system has been destroyed ' and when i try to unlock back the message 'error: oem unlock is not allowed' so i really need your help ..how can i fix my phone ...plsss send a respond quickly

How to unlock Bootloader for China Version (SKW-A0)

Anyone has idea about how to unlock the bootloader for China Version. Do I have to use Mi Unlock tool?
abhijitgiri123 said:
Anyone has idea about how to unlock the bootloader for China Version. Do I have to use Mi Unlock tool?
Click to expand...
Click to collapse
make the developer settings available, within it you will have oem bootloader authorization, you need to turn it on and theoretically ready
GáborHuN said:
make the developer settings available, within it you will have oem bootloader authorization, you need to turn it on and theoretically ready
Click to expand...
Click to collapse
I reboot into bootloader and tried both "fastboot flashing unlock" and "fastboot oem unlock". None of them seems to be working. Do I have to use Mi Unlock tool?
abhijitgiri123 said:
I reboot into bootloader and tried both "fastboot flashing unlock" and "fastboot oem unlock". None of them seems to be working. Do I have to use Mi Unlock tool?
Click to expand...
Click to collapse
this is a very good question! if I remember well, I read in another forum that you don't need Miunlock to just open the open bootloader in the developer settings, and then you can root it, and you just need to flash the ROM from the TWRP. to do this I think I need an OTG cable and a flash drive that you can flash, because you don't have a memory card slot
I have the same issue with the global version. I tried both "fastboot flashing unlock" and "fastboot oem unlock". I even tried Mi Unlock tool without any success. Also, they don't answer support tickets regarding unlocking the bootloader at blackshark site.
Any ideas?
Any one help me to unlock bootloader of black Shark 2 Chinese version?
Any one help me to unlock bootloader of black Shark 2 Chinese version?
black shark 2 global version
Any success unlocking bootloader of SKW-H0??
alaa929 said:
Any success unlocking bootloader of SKW-H0??
Click to expand...
Click to collapse
Just one Chinese developer who does not want to share this publicly for free.
Edit: Oh yea, I didn't notice I missed the most important word :< Thanks!
xshunin said:
Just one Chinese developer who does want to share this publicly for free.
Click to expand...
Click to collapse
*Does NOT want
I have a bootloader unlocked device. I can help you, we can extract the way to get the bootloader unlocked. Anyone who has an idea post a reply.
I need beta testers for root and bl unlock
How could I do it Ronith128?

Categories

Resources