I just noticed that after the upgrade to Nougat Beta on my FRD-L02 Indian version via the official OTA back in November, my bootloader has been locked!
Did anyone else face this? I unlocked my bootloader again but having to do this after every official OTA will be a pain as it wipes the device!
Yes it is a known fact and it is also a way to relock your bootloader
just do a backup before unlocking?
It is normal, and if you want to unlock the bootloader, 90% you'll use the unlock code you used in the first time
How to relock bootloader
Hi guys can anyone tell me how to relock bootloader honor 8
shafqatrehman1989 said:
Hi guys can anyone tell me how to relock bootloader honor 8
Click to expand...
Click to collapse
It's just a matter of command (as it's the same as unlocking) just a different command when locking
shafqatrehman1989 said:
Hi guys can anyone tell me how to relock bootloader honor 8
Click to expand...
Click to collapse
Did you even read the first 5 posts ..it clearly says when you flash a rollback update.app it locks the bootloader
fastboot oem relock (yourunlockcodehere)
Will relock > not Lock like the update.app will
That's an easy and free way to re-lock your phone.
I've done lots of updates (as long as they are OTA's) without causing anything to be re-locked. The only thing I know of that re-locks the bootloader is the rollback to b162. How , or which method (Charles, part-of-beta-testers, dialer method) did you use to apply update that locked the phone? I'm on b360 now without any loss of data, and remained unlocked so I don't see that effect myself.
Thanks.
Related
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!
Hi XDA!
I recently unlocked my phone's bootloader to install an update for my p8lite and I want to lock it back. There is an option called relocking the bootloader and I want to know whether it is the same as locking the bootloader. Also will the ability to flash ROMs through fastboot lose after i relock it?
Thanks
Yes, it is the same, and yes, you will lose the fastboot flash ability. However, the fastboot screen won't show "Locked", it will show "Relocked"
I see plenty of guides on how to unlock the bootloader which as I understand voids the warranty. Is there any way to relock the bootloader if I need to? Maybe someone could link me to a guide?
I've had bad experiences with dodgy solder in 3 LG G4 handsets so I sort of see the value in a manufacturer's warranty these days.
In fastboot
"Fastboot oem relock YourCode"
Fastboot relock still show that the phone was unlocked before but to revert to original state you have to flash stock firmware using this guide https://forum.xda-developers.com/mate-9/how-to/guide-rebrand-chinese-al00-mate9-to-t3554656/page57
This will lock the bootloader without any trace
Many many thanks.
gm007 said:
Fastboot relock still show that the phone was unlocked before but to revert to original state you have to flash stock firmware using this guide https://forum.xda-developers.com/mate-9/how-to/guide-rebrand-chinese-al00-mate9-to-t3554656/page57
This will lock the bootloader without any trace
Click to expand...
Click to collapse
Hi can you write me step by step how lock again bootloader becuase i read this link and i dont know how. Please.
I want debrand my P10 to clear soft Huawei and again lock boot loader to have full warranty. please help me
gm007 said:
Fastboot relock still show that the phone was unlocked before but to revert to original state you have to flash stock firmware using this guide https://forum.xda-developers.com/mate-9/how-to/guide-rebrand-chinese-al00-mate9-to-t3554656/page57
This will lock the bootloader without any trace
Click to expand...
Click to collapse
Is the adb relock bootloader "Code" command connected with a factory reset? Do I keep my data?
Hello Guys,
I am trying to relock the bootloader of MiA1 but if I type command- "fastboot oem unlock" then my mobile cause stuck on bootloop. The same thing also happens with AIO Tool.
So please help me if anyone knows how to relock bootloader again? And also let me know whether unlocking bootloader affect warranty or not?
I know one method to lock bootloader that is, you can install stock ROM by mi flash tool but I need to install magisk and that require to unlock bootloader and if I unlocked once then unable to relock again.
The command in fastboot is fastboot oem lock
Have you done some modifications to the stock boot.img file, such as using magisk or something else?
goofball2k said:
The command in fastboot is fastboot oem lock
Have you done some modifications to the stock boot.img file, such as using magisk or something else?
Click to expand...
Click to collapse
yes
Dipesh17 said:
yes
Click to expand...
Click to collapse
Simply use MIflashtool bro. Flash a nougat fastboot rom via MIFlashtool. Choose option to lock and all
Rajeev said:
Simply use MIflashtool bro. Flash a nougat fastboot rom via MIFlashtool. Choose option to lock and all
Click to expand...
Click to collapse
Bro I need to install Magisk and Magisk need twrp and twrp need to unlock bootloader.
Now once I unlocked bootloader then I am unable to relock bootloader.
I tried miflashtool and fastboot oem lock command but none of them works for me.
What's wrong here I didn't understand, help me please
Dipesh17 said:
Bro I need to install Magisk and Magisk need twrp and twrp need to unlock bootloader.
Now once I unlocked bootloader then I am unable to relock bootloader.
I tried miflashtool and fastboot oem lock command but none of them works for me.
What's wrong here I didn't understand, help me please
Click to expand...
Click to collapse
U did something wrong bro. MI Flashtool can lock bootloader easily with a full firmware flash
Dipesh17 said:
Bro I need to install Magisk and Magisk need twrp and twrp need to unlock bootloader.
Now once I unlocked bootloader then I am unable to relock bootloader.
I tried miflashtool and fastboot oem lock command but none of them works for me.
What's wrong here I didn't understand, help me please
Click to expand...
Click to collapse
Not sure if I understood correctly, but it seems that you want to have Magisk + TWRP + locked bootloader. That is simply not possible. For locked bootloader you must have stock ROM (no root, in fact absolutely no modification).
Dipesh17 said:
Bro I need to install Magisk and Magisk need twrp and twrp need to unlock bootloader.
Now once I unlocked bootloader then I am unable to relock bootloader.
I tried miflashtool and fastboot oem lock command but none of them works for me.
What's wrong here I didn't understand, help me please
Click to expand...
Click to collapse
Bootloader lock is like a door.
If its open you can put nice things like magisk, root, modification like custom rom and kernel.
Now if you try to relock it it won't lock until and unless you take all the modifications out.
Hope this helps.
If you need technical information just let me know
flash stock boot.img and then probably you will be able to lock bootloader. I have done the same way.
mahla13 said:
flash stock boot.img and then probably you will be able to lock bootloader. I have done the same way.
Click to expand...
Click to collapse
With Nougat i flashed stock image selecting "save user data" and i had bootloader relocked without losing data. Root and twrp were gone. I don't know if it is so with Oreo.
So you need TWRP and Magisk root but want a locked bootloader? That just isn't a possible combination.
To install TWRP, you need unlocked bootloader.
If you need root and TWRP, you need to leave the bootloader unlocked.
You can't have both worlds bro. If you unlock and install Magisk and other stuff, you simply can't relock bootloader. That's why you get bootloop
alkesh95 said:
Bootloader lock is like a door.
If its open you can put nice things like magisk, root, modification like custom rom and kernel.
Now if you try to relock it it won't lock until and unless you take all the modifications out.
Hope this helps.
If you need technical information just let me know
Click to expand...
Click to collapse
Thanks man I'll try it on nougat. Please tell me one more thing, unlocking bootloader cause lose warranty or not?
Dipesh17 said:
Thanks man I'll try it on nougat. Please tell me one more thing, unlocking bootloader cause lose warranty or not?
Click to expand...
Click to collapse
Some people might say yes some might say no.
It depends on manufacturer.
OEMs don't explicitly say that it won't void your warranty.
So its grey area.
I am going to email Xiaomi about this and update this thread when i get reply.
Had various experiences with unlocked bootloader. So better to follow safe path.
Edit: Called xiaomi helpline two times.
1st said it will void warranty
2nd said it won't.
Emailed them.
I chatted with a support representative and they said that unlocking bootloader won't void the warranty
nicolasmart said:
I chatted with a support representative and they said that unlocking bootloader won't void the warranty
Click to expand...
Click to collapse
That's just what he said it to you. I got two responses.
Support representatives aren't authorised to send you sms or mail.
If there's an issue with your device (Unlocked BL) and you took it to service center. They might say out of warranty due to bootloader unlocking and what would be your reply to that?
Support representatives said it won't void warranty.
You can't back it up with anything since you dont have any proof of that conversation.
So unless it is written somewhere by xiaomi. Words are just words.
Is it possible to unlock the bootloader, root, make some minor modifications (activation of camera api, copying fm radio apk to system folder, etc), unroot, and finally relock (flashing stock boot.img before, of course) ?
I want to have it unrooted because of bank payments, banks apps and streaming TV apps, but I would like to have proper camera and fm radio... Is it possible??
erunamor said:
Is it possible to unlock the bootloader, root, make some minor modifications (activation of camera api, copying fm radio apk to system folder, etc), unroot, and finally relock (flashing stock boot.img before, of course) ?
I want to have it unrooted because of bank payments, banks apps and streaming TV apps, but I would like to have proper camera and fm radio... Is it possible??
Click to expand...
Click to collapse
Short answer:no.
Long answer: locked bootloader must have stock system and boot partition. Stock boot image will boot only unmodified system partition. However you can have bank and streaming apps with Magisk - use systemless modifications and magisk hide feature.
Lock bootloader after uninstalling Magisk in Mi A1
Thank you for information about Mi Flash Tool but I wanted to ask if it is possible to relock boot loader in Mi A1 after uninstalling Magisk by fastboot commands ?
I haven't tried locking again ,but I wanted to relock again so...
Why oem unlocking appears grey, now why is that am not able to install magisk
alkesh95 said:
Some people might say yes some might say no.
It depends on manufacturer.
OEMs don't explicitly say that it won't void your warranty.
So its grey area.
I am going to email Xiaomi about this and update this thread when i get reply.
Had various experiences with unlocked bootloader. So better to follow safe path.
Edit: Called xiaomi helpline two times.
1st said it will void warranty
2nd said it won't.
Emailed them.[/QUOTE
How to unlock oem unlock,
It appears grey
I unlocked mi account
And installed pixel camera and later I changed the settings in camera from Nexus 6p to pixel and it got stuck, and I uninstalled the application, now oem unlocking appears grey, how to unlock oem
Below It appears bootloader is unlocked, but oem cant be unlocked
Click to expand...
Click to collapse
Is there any script to bypass factory reset after unlock bootloader in emui 8?
Or I don't know if there is some apl like odin inorder to flash files with locked boooadee for huawei devices?
And as second question can u use my previous bootloader code (emui 5) to unlock emui 8 bootloader?
Use dload method to flash service ROM. I think there is service ROM for EMUI 8 now as well, at least for the European version of the phone I think, not really sure. The bootloader resets to state "locked". If you relock using "relock" in fastboot, it will show "relocked". And yes, you can use the same code to unlock again, it changes only if the motherboard in the phone gets changed.
I know about dload method and used for upgrade to emui 8
Im going to unlock my bootloader and flash twrp
Im looking for a trick like some OPO script that can bypass data wipe after unlocking.