relock bootloader - Huawei P20 Pro Questions & Answers

anyone know how i can relock the bootloader and re-enable FRP?
is it basically flashing the stock firmware from HuRupdater.zip in twrp
then rebooting into bootloader and issue the relock command
then in boot disable OEM-Unlock?

Hey did you manage to do this?

Anyone manage to do this ? I just unlock my bootlader but havent done anything yet.

virtyx said:
anyone know how i can relock the bootloader and re-enable FRP?
is it basically flashing the stock firmware from HuRupdater.zip in twrp
then rebooting into bootloader and issue the relock command
then in boot disable OEM-Unlock?
Click to expand...
Click to collapse
Did you ever found this out? I want to unlock the bootloader, but only if I can relock it, because if it's unlocked, the sale value drops. Let me know please =D

Without knowing if it's possible I wouldn't risk it, who knows if Huawei doesn't allow it and you're going to end up with a bricked phone.

Related

[Q] Can you be rooted and have a locked bootloader

I'm interested in rooting my nexus 6. I know that you have to unlock the bootloader in order to root the phone and install a custom recovery. But after all of that is done is it ok for me to re-lock the bootloader for security reasons or will it have any issues?
Thanks in advance.
nfremd said:
I'm interested in rooting my nexus 6. I know that you have to unlock the bootloader in order to root the phone and install a custom recovery. But after all of that is done is it ok for me to re-lock the bootloader for security reasons or will it have any issues?
Thanks in advance.
Click to expand...
Click to collapse
Not on 5.1
nfremd said:
I'm interested in rooting my nexus 6. I know that you have to unlock the bootloader in order to root the phone and install a custom recovery. But after all of that is done is it ok for me to re-lock the bootloader for security reasons or will it have any issues?
Thanks in advance.
Click to expand...
Click to collapse
Please click the top link in my signature for more information about locking the bootloader.
cam30era said:
Not on 5.1
Click to expand...
Click to collapse
Why is that the case? I was able to unlock flash 5.0, relock and side load 5.1. Did Google change something in 5.1?
nfremd said:
Why is that the case? I was able to unlock flash 5.0, relock and side load 5.1. Did Google change something in 5.1?
Click to expand...
Click to collapse
Yes. Very much so.
problem is.. you now have to enable oem unlocking, to unlock the bootloader. technically, you can still be rooted and lock your bootloader. but the problem is that some have gone back and relocked their bootloader(not with root i dont think so) only to find that they cant boot up, that they end up with a boot loop. and then they cant unlock their bootloaders to flash the factory.img, because you need to check that setting first, to unlock the bootloader. honestly, i think someone with root, and twrp, would be able to. if not, you can fix it by formatting a few things(if you have twrp).
nfremd said:
I'm interested in rooting my nexus 6. I know that you have to unlock the bootloader in order to root the phone and install a custom recovery. But after all of that is done is it ok for me to re-lock the bootloader for security reasons or will it have any issues?
Thanks in advance.
Click to expand...
Click to collapse
If you have a custom recovery installed, then having a locked bootloader is no more secure than having an unlocked one...
Sent from my Nexus 6 using Tapatalk

[Q] Unlocked & rooted, should bootloader remain unlocked?

So I unlocked(htcdev) and rooted(twrp) and now I wounder if I should re-lock for security? I read that the boot-loader could have an authorized os list. Since both the system and recovery are os's would a re-lock put twrp out of control?
Thanks
I'd like to know this also. Fortunately relocking seems to be easy.
micnolmad said:
So I unlocked(htcdev) and rooted(twrp) and now I wounder if I should re-lock for security? I read that the boot-loader could have an authorized os list. Since both the system and recovery are os's would a re-lock put twrp out of control?
Thanks
Click to expand...
Click to collapse
Musicbee said:
I'd like to know this also. Fortunately relocking seems to be easy.
Click to expand...
Click to collapse
Never relock with custom roms or custom recovery still installed on your phone, this will result in bootloop.
Only way to stop this bootloop will be to unlock again but unlocking the bootloader require the stock recovery to be installed.
So with custom recovery installed and bootloader relocked = bootloop = can't unlock again. You'll have to reflash the whole firmware in ruu mode to get back the stock recovery over the custom one and then you'll be able to re-unlock to stop the bootloop.
So short answer, don't relock when not 100% stock
Ich, thanks! Glad I asked first instead of taking the chance..
Sent from my HTC One using XDA Free mobile app

Relock bootloader

Hello,
Some way how to relock bootloader please?
Thank you so much.
In Fastboot the command:
fastboot oem relock UNLOCKCODE
Replace UNLOCKCODE with your unlock code you got from Huawei.
Does this result in a low-level-reset similar to the unlock-procedure?
I'm really not sure but I mean my P10 didn't format when I did the relock, but I really don't know anymore.
If I try this method to relock it again, will I be able to unlock it again?
I want to tray this, because my OEM unlock option is now greyed out and I canĀ“t flash anything, not even the custom recovery.
Does relock wipe the data and factory resets the phone? I just unbricked mine today from soft-bricked and never want to experience that again, back on stock and want to relock the bootloader just to get the android pay and bank apps working but would like to avoid wipe if possible
Yes, relocking the bootloader will end up with a low-level factory reset (same as unlocking).
smashedup said:
Yes, relocking the bootloader will end up with a low-level factory reset (same as unlocking).
Click to expand...
Click to collapse
HWOTA update method final locked your bootloader and status "locked" not relocked, and no low level format, your data pic, video, download, music no delete!
Ok, good to know.
I just tried the oem relock.
Hey all, i did the "fastboot oem relock" followed by my unlock code i got from the Huawei website but after i hit enter it gave me:
FAILED (remote: root type is risk)
finished. total time: 0.016s
could anyone tell me why this has happened?
I have a vtr-l09. Thanks
glehel said:
HWOTA update method final locked your bootloader and status "locked" not relocked, and no low level format, your data pic, video, download, music no delete!
Click to expand...
Click to collapse
Can I use HWOTA method to locked back my bootloader? Also my device is rooted. Is it possible?

How to go back to stock and relock the Bootloader?

Hello
i have to sell my device so i want to get it to stock again.
My current Setup:
Bootloader Unlocked, Stock Recovery, Rooted with Magisk, Stock ROM 9.0.0.283
What are the Steps to go Back to Stock and wipe everything?
Ive read that if the bootloader relock again it is not able to unlock the second time? Is this correct? I want to get the Unlock Code to the person who buy it but if its real, he cant use the code anymore..
anyway is it possible to do the job with the Stock E-Recovery in the current state of my phone? Without bootloader Relocked? Or is it necessary to relock the bootloader again?
Thank you very much
blackst225 said:
Hello
i have to sell my device so i want to get it to stock again.
My current Setup:
Bootloader Unlocked, Stock Recovery, Rooted with Magisk, Stock ROM 9.0.0.283
What are the Steps to go Back to Stock and wipe everything?
Ive read that if the bootloader relock again it is not able to unlock the second time? Is this correct? I want to get the Unlock Code to the person who buy it but if its real, he cant use the code anymore..
anyway is it possible to do the job with the Stock E-Recovery in the current state of my phone? Without bootloader Relocked? Or is it necessary to relock the bootloader again?
Thank you very much
Click to expand...
Click to collapse
Ask the buyer if they want it locked. Personally it wouldn't be worth my time if it couldn't be unlocked again. Better to check first..
If you want to lock (not relock) bl justdownload your adequate firmware from androidhost.ru and flash fw using Usb-otg method.
You can unlock/lock your bl using unlock code anytime you want (provided you haven't changed your mainboard in the meantime).
forever_lol said:
If you want to lock (not relock) bl justdownload your adequate firmware from androidhost.ru and flash fw using Usb-otg method.
You can unlock/lock your bl using unlock code anytime you want (provided you haven't changed your mainboard in the meantime).
Click to expand...
Click to collapse
Hi is it possible to do the following..
Adb relock bootloader in my current state?
In my opinion the relock of the bootloader restore system to default over the erecovery or is this wrong?
Many thanks
blackst225 said:
Hi is it possible to do the following..
Adb relock bootloader in my current state?
In my opinion the relock of the bootloader restore system to default over the erecovery or is this wrong?
Many thanks
Click to expand...
Click to collapse
I thought you wanted to go back to stock. I've already gave you solution to bring back all the way stock.
I m not sure if it's even possible to re-lock bootloader using fastboot when you're on pie.
Bootloader status re-locked still means your warranty is void.
forever_lol said:
I thought you wanted to go back to stock. I've already gave you solution to bring back all the way stock.
I m not sure if it's even possible to re-lock bootloader using fastboot when you're on pie.
Bootloader status re-locked still means your warranty is void.
Click to expand...
Click to collapse
Hey I've tried this otg method but without success
If I try it with the dload folder option and try to force flash the emui updater throws an error.
Even with the dialer code method.. same..
I'm not able to get it to stock.
I've tried the Huawei suite on PC and phone in fastboot mode..same..massage this phone can't be reset or so..
What can I do next?
Current state, halfway working phone that's boot into os 2 times from 10 reboots.

How to Unroot,lock OEM and make phone as it was!

Can someone help me lock the boot loader I have unrooted it but not able to lock OEM
best way is to flash the original official firmware through odin .
Have you managed to lock it? I'm thinking of unlocking the bootloader but only if there is a way to relock it again.

Categories

Resources