Bootloader re-locked after OTA update - Huawei P9 Questions & Answers

Hey, for a reasons I needed to do ota update (reflashed stock recovery[extracted from matching update] before doing so), now when im trying to reinstall TWRP i've noticed that my bootloader re-locked on its own.
Was this supposed to happen? iirc people keep telling you that you can't relock bootloader without it's backup from locked state.
It's quite annoying that it happen since I did pay for unlock via DC unlocker and now huawei stopped distributing unlock codes so I'll probably need to pay DC again.
Cheers!
edit: DC unlocker did not even allow me to Unlock bootloader, only thing i saw was Lock bootloader, but there was option to "Read bootloader code" (no credits needed) and I managed to unlock bootloader again using fastboot and this code

TheRadziu said:
Hey, for a reasons I needed to do ota update (reflashed stock recovery[extracted from matching update] before doing so), now when im trying to reinstall TWRP i've noticed that my bootloader re-locked on its own.
Was this supposed to happen? iirc people keep telling you that you can't relock bootloader without it's backup from locked state.
It's quite annoying that it happen since I did pay for unlock via DC unlocker and now huawei stopped distributing unlock codes so I'll probably need to pay DC again.
Cheers!
edit: DC unlocker did not even allow me to Unlock bootloader, only thing i saw was Lock bootloader, but there was option to "Read bootloader code" (no credits needed) and I managed to unlock bootloader again using fastboot and this code
Click to expand...
Click to collapse
This is a flag in OTA update, it may be present or not (now seems to be always enforced, new Huawei policy) that OTA locks Bootloader
You cannot disable this flag in OTA package
Bootloader is not relocked but really locked (better for those who go to service under warranty)
Bootloader code is unique for your device.
No matter did you obtain it from Huawei or DC, you have TO KEEP it, you don't need to pay, read or ask again, just use the same bootloader code for the same phone for the lifetime of your phone

zgfg said:
This is a flag in OTA update, it may be present or not (now seems to be always enforced, new Huawei policy) that OTA locks Bootloader
You cannot disable this flag in OTA package
Bootloader is not relocked but really locked (better for those who go to service under warranty)
Bootloader code is unique for your device.
No matter did you obtain it from Huawei or DC, you have TO KEEP it, you don't need to pay, read or ask again, just use the same bootloader code for the same phone for the lifetime of your phone
Click to expand...
Click to collapse
thanks for the answer, didnt know about flag nor that bootloader unlock code can be used multiple times(and that its paired with HW)
nevertheless, as I said in my edit I managed to get my unlock code for free with dc unlocker

TheRadziu said:
thanks for the answer, didnt know about flag nor that bootloader unlock code can be used multiple times(and that its paired with HW)
nevertheless, as I said in my edit I managed to get my unlock code for free with dc unlocker
Click to expand...
Click to collapse
Did you compare it, is it the same like previous time

zgfg said:
Did you compare it, is it the same like previous time
Click to expand...
Click to collapse
that's what I suspect, but sadly can't confirm or deny. I think I didn't even see the code itself when I used it for the first time due to the fact that unlock process was automatized within DC unlocker's client app, so all I had to do was to prepare the phone and press Unlock Bootloader within the client

TheRadziu said:
that's what I suspect, but sadly can't confirm or deny. I think I didn't even see the code itself when I used it for the first time due to the fact that unlock process was automatized within DC unlocker's client app, so all I had to do was to prepare the phone and press Unlock Bootloader within the client
Click to expand...
Click to collapse
I used DC client once (4 Euros), I obtained the code (saved it for future) and used in Fastboot to unlock Bootloader just like previously for the other Huawei phone whose code I obtained for free from Huawei (before they closed this service)

Related

Unlocking bootloader on a bricked P10

Hello, is it possible to unlock bootloader on a bricked P10? I think it's in bootloop as well, atleast you can't really turn it off, it switches on on its own.
It's a fairly new P10 and the warranty won't take it because of a small crack in the screen, so here's another question - does changing the display affect warranty?
If you're able to get into fastboot and if you have your unlock code you should be able to unlock the bootloader.
Without the unlock code you can't unlock it.
And the unlock code can only be obtained with data you find inside the settings app. Or you use DC Phoenix, which costs money.
And yes, replacing the screen will cause a warranty void - as well as unlocking the bootloader.
Jannomag said:
If you're able to get into fastboot and if you have your unlock code you should be able to unlock the bootloader.
Without the unlock code you can't unlock it.
And the unlock code can only be obtained with data you find inside the settings app. Or you use DC Phoenix, which costs money.
And yes, replacing the screen will cause a warranty void - as well as unlocking the bootloader.
Click to expand...
Click to collapse
Thanks for the reply!
If I can't access to settings app in the phone (which I can't because it won't turn on) there is no way to get the unlock code except DC Phoenix?
Zalura said:
Thanks for the reply!
If I can't access to settings app in the phone (which I can't because it won't turn on) there is no way to get the unlock code except DC Phoenix?
Click to expand...
Click to collapse
Correct, you need one or two information which you can get via settings app only to get the unlock code from Huawei.

Can we still unlock the bootloader on the Honor 9 lite?

Hey all,
So I've heard that Huawei has stopped giving out unlock codes? I tried to go to their website to apply for it (giving my IMEI etc) and instead of giving me a code it just says 'please contact Huawei for questions'
I'm trying to set up project treble with it if I can figure it out.
Thanks!
You can with dc unlocker. You Just need to pay 5 euros and they Will unlock boatloader
I got my code on 08/06/2018
In the morning at 7:05 AM IST on 08/06/2018 i applied for my bootloader unlock code and i got it easily. BTW did you cross check other pre-selected options? Like 1st one asking EMUI version? Maybe that's the reason of you not getting unlock code.
Try again or Use the mailing method(I don't know much about but you have to mail the support to obtain the unlocking code and it might take upto 2-3 days)
Just got my code for bootloader unlock directly from Huawei no issues, although i will not be using straight away i have kept it in a safe place.
Psytroniks said:
You can with dc unlocker. You Just need to pay 5 euros and they Will unlock boatloader
Click to expand...
Click to collapse
Cheers will have a look
cooldude1598 said:
In the morning at 7:05 AM IST on 08/06/2018 i applied for my bootloader unlock code and i got it easily. BTW did you cross check other pre-selected options? Like 1st one asking EMUI version? Maybe that's the reason of you not getting unlock code.
Try again or Use the mailing method(I don't know much about but you have to mail the support to obtain the unlocking code and it might take upto 2-3 days)
Click to expand...
Click to collapse
I tried through their portal, and via email. This was their response:
We do apologize for the inconvenience you are experiencing, however, it is our duty to inform you that Huawei Canada does not provide codes to unlock the bootloader, root the device or provides any tool/code to modify the phone internally. We kindly inform you that this action can potentially "brick" the phone or in other words, renders the phone completely unusable and voids the warranty service and device support. We have no control over how unlocking the bootloader or rooting the phone, will affect your device.
We understand that you might be able to start the request to get the bootloader unlock code from our EMUI website, regrettably, your device does not qualify to receive this code, since the Huawei Canada warranty policy limits us to do not provide this code in order to prevent future inconveniences to our consumers.
This bootloader unlocks code, it is just limited to be available for certain specific regions.
We are aware that you can find unofficial information over the internet, about how to root or unlock your phone and due to our Security and Privacy Policies, we cannot provide you these codes or tools, for that reason, we cannot assist you in that matter.
We highly recommend you refrain from taking these actions on your device.
Psytroniks said:
You can with dc unlocker. You Just need to pay 5 euros and they Will unlock boatloader
Click to expand...
Click to collapse
I read the instructions for unlock of Huawei mobile, it requires you erase the Huawei id.
How does that affect warranty?
Can you reapply the old id if necessary?
Patxperia said:
I read the instructions for unlock of Huawei mobile, it requires you erase the Huawei id.
How does that affect warranty?
Can you reapply the old id if necessary?
Click to expand...
Click to collapse
Even if you get the unlock cose from huawei your warranty Will los once the bootloader is unlocked you lost it but iff you lock again the bootloader the warranty still available
Psytroniks said:
You can with dc unlocker. You Just need to pay 5 euros and they Will unlock boatloader
Click to expand...
Click to collapse
No, you can't. DC-Unlocker neither autodetects the phone nor is it in the manual selection list. Also https://www.dc-unlocker.com/supported_models_1/huawei_phones says no bootloader unlocking service for said phone.
On the other hand Huawei support gave me this reply (translated by me) :
Hello [censored],
sadly the bootloader unlock code service has been terminated completely. I'm really sorry but I can't help you.
Best wishes,
[censored] from HUAWEI Mobile
Click to expand...
Click to collapse
So there is currently no way to unlock the Honor 9 lite, right?
V10lator said:
No, you can't. DC-Unlocker neither autodetects the phone nor is it in the manual selection list. Also https://www.dc-unlocker.com/supported_models_1/huawei_phones says no bootloader unlocking service for said phone.
So there is currently no way to unlock the Honor 9 lite, right?
Click to expand...
Click to collapse
Not true !
https://hcu-client.com/supported-models.php
HCU will read the bootloader code easily (at a price) :-
https://hcu-client.com/
Read instructions carefully and follow them EXACTLY !
HCU is from the same stable as DC-Unlocker.
Honor 9 Lite bootloader unlocking
Sparkrite said:
Not true !
https://hcu-client.com/supported-models.php
HCU will read the bootloader code easily (at a price) :-
https://hcu-client.com/
Read instructions carefully and follow them EXACTLY !
HCU is from the same stable as DC-Unlocker.
Click to expand...
Click to collapse
Thanks for this, it appears to be the only bootloader unlock method currently available. Have you actually done this yourself? Can you (or anyone else) confirm that it works?
By the "instructions", I assume you mean the tutorial at http://hcu-client.com/read-bootloader-code-huawei-phone/. They seem clear, but they don't tell you how to actually use the code to unlock the bootloader! Can someone please point me to instructions how to do that? Thank you.
pcgardner said:
Thanks for this, it appears to be the only bootloader unlock method currently available. Have you actually done this yourself? Can you (or anyone else) confirm that it works?
By the "instructions", I assume you mean the tutorial at http://hcu-client.com/read-bootloader-code-huawei-phone/. They seem clear, but they don't tell you how to actually use the code to unlock the bootloader! Can someone please point me to instructions how to do that? Thank you.
Click to expand...
Click to collapse
Yep, I mean the tutorial.
I have used this method a good few times, all successfully .
Dc-Unlocker/HCU allows direct unlock on a lot of models and gives the unlock code on others.
To use this code, put phone in "fastboot" mode and issue the command :-
fastboot oem unlock code
Phone should factory re-set (erasing all user data) with an unlocked bootloader.
pcgardner said:
Can you (or anyone else) confirm that it works?
Click to expand...
Click to collapse
I can confirm. There's just one thing to note: Deinstall the adb drivers from Microsoft and use the ones shipped with HiSuite. Else there will be no virtual COM port and as a result the tool won't find the phone. [EDIT]And don't try to use the tool in a VM. Sadly it refuses to work there.[/EDIT]
Can someone please point me to instructions how to do that?
Click to expand...
Click to collapse
1) Enable Settings > Developer Options > Enable OEM Unlock
2) Enable Settings > Developer Options > USB Debugging
3) Turn off phone
4) Press volume down key while connecting the phone to USB to boot the phone into fastboot
5) Execute "fastboot oem unlock <unlocking code>" on the PC the phone is connected to (install adb and fastboot first)
P.S. Many thanks to @Sparkrite for pointing us in the right direction!
Sparkrite said:
Yep, I mean the tutorial.
I have used this method a good few times, all successfully .
Dc-Unlocker/HCU allows direct unlock on a lot of models and gives the unlock code on others.
To use this code, put phone in "fastboot" mode and issue the command :-
fastboot oem unlock code
Phone should factory re-set (erasing all user data) with an unlocked bootloader.
Click to expand...
Click to collapse
Great, thank you! It's reassuring to know it works reliably. And I'm glad the unlocking process itself is so simple; I remember now having used the same method on another phone some time ago.
Sparkrite said:
Yep, I mean the tutorial.
I have used this method a good few times, all successfully .
Dc-Unlocker/HCU allows direct unlock on a lot of models and gives the unlock code on others.
To use this code, put phone in "fastboot" mode and issue the command :-
fastboot oem unlock code
Phone should factory re-set (erasing all user data) with an unlocked bootloader.
Click to expand...
Click to collapse
Thank you so much. With this method I successfully unlocked the bootloader of my Huawei Honor 9 Lite. No problems, just one oddity – the HCU software warns you that reading the bootloader unlock code will wipe your phone, and you have to acknowledge that to continue. This, of course, is not the case: it is using the code to unlock the bootloader that causes the phone to do a low-level reset. Presumably a mistake in the wording.
seanpatrick123 said:
Hey all,
So I've heard that Huawei has stopped giving out unlock codes? I tried to go to their website to apply for it (giving my IMEI etc) and instead of giving me a code it just says 'please contact Huawei for questions'
I'm trying to set up project treble with it if I can figure it out.
Thanks!
Click to expand...
Click to collapse
I contact to help center with chat it automatically unlocked todayu
V10lator said:
Deinstall the adb drivers from Microsoft and use the ones shipped with HiSuite. Else there will be no virtual COM port and as a result the tool won't find the phone.
Click to expand...
Click to collapse
I used HCU to read the bootloader unlock code before I saw your message, and so had not uninstalled the Microsoft ADB drivers. I had already installed HiSuite. It still worked for me, so presumably it is not necessary to uninstall the Microsoft ADB drivers unless HCU doesn't recognize the phone.
seanpatrick123 said:
Hey all,
So I've heard that Huawei has stopped giving out unlock codes? I tried to go to their website to apply for it (giving my IMEI etc) and instead of giving me a code it just says 'please contact Huawei for questions'
I'm trying to set up project treble with it if I can figure it out.
Thanks!
Click to expand...
Click to collapse
yeah im trying to unlock it, but i have no money so I cant afford the dc unlocker thing
Free method, https://forum.xda-developers.com/9-lite/how-to/unlock-bootloader-code-t3859685, coming to XDA Feed soon.
hackintosh5 said:
Free method, https://forum.xda-developers.com/9-lite/how-to/unlock-bootloader-code-t3859685, coming to XDA Feed soon.
Click to expand...
Click to collapse
Any news?
Many thanks to those who contributed to this thread. I had no trouble unlocking the bootloader of my device using HCU after purchasing credit from DC-unlocker. At only 4 euros it was worth the money. The posted instructions were clear. Once HCU provided the code all I had to do was send it to the phone using fastboot..

Retrieve Bootloader Unlock Code from a rooted phone?

Hi,
I have an bootloader-unlocked P10, that I unlocked a long time ago. But I didn't save the unlock code. Is there any way to retrieve the code from a rooted phone? Using TWRP?
Bonus question - what actions will cause my phone to be accidentally re-locked? How to avoid this in case I can't get my code again?
It's not possible to get the unlock code without Huawei, even with a rooted phone.
Since Huawei won't send you the code anymore, the only way to get the code is DC Phoenix (it costs around US$ 4, I think).
A re-lock can caused by many factors:
Failed firmware installation
Failed update
Failed root / unroot
Failed factory reset
Corrupt file partition
Factory reset with disabled "OEM Unlock" option in settings
If you just update the phone via OTA or methods like my script the bootloader should stay unlocked. But there's no real warranty, every device is different and even if you did everything right the software can mess something up.
A re-lock mostly causes a factory reset.
So, if you want to be safe, get your unlock code with DC Phoenix (I never used this tool) and write your code down for the future.
DC Phoenix should also work if your phone is bricked.

Unlocking bootloader on Huawei P9

Hello, I wanted to install a custom rom + kernel on my girlfriend's Huawei because she is having battery issues. Coming from a Samsung device I thought that unlocking the bootloader would have been easy but oh my I was wrong. Now that Huawei's unlocking site is closed is there a way to get the bootloader code without buying DC-unlocker? I know it's cheap but I don't find it fair. Thank you
deci260 said:
Hello, I wanted to install a custom rom + kernel on my girlfriend's Huawei because she is having battery issues. Coming from a Samsung device I thought that unlocking the bootloader would have been easy but oh my I was wrong. Now that Huawei's unlocking site is closed is there a way to get the bootloader code without buying DC-unlocker? I know it's cheap but I don't find it fair. Thank you
Click to expand...
Click to collapse
I got a P9 yesterday (Dual Sim card EVA-AL00) but I don't have a PC so I can't try anything that I found until now... but hope it can help
Option 1 - DC-Unlocker
How to unlock any Huawei Bootloader after removal of unlock page including Mate SE
Seems to be the easiest way, and only cost a few $ apparently...
Option 2 - SRK Tool Huawei
[VDO-GUIDE] How to debrand Huawei Phone by SRK Tool Huawei
Seems to be a solid option to consider.
Option 3 - Cellcorner
Cellcorner
37.84$+11.99$ (read bootloader additional option)
Option 4 - Octoplus Huawei Tool Dongle
How to Get bootloader unlock code on Huawei
But it requires an expensive dongle (90 USD...)
Unfortunately for me, I can't find any ways to do that from Mac OS or directly from the smartphone... if anyone can help with that, let me know. Thanks
morn_06 said:
I got a P9 yesterday (Dual Sim card EVA-AL00) but I don't have a PC so I can't try anything that I found until now... but hope it can help
Option 1 - DC-Unlocker
How to unlock any Huawei Bootloader after removal of unlock page including Mate SE
Seems to be the easiest way, and only cost a few $ apparently...
Option 2 - SRK Tool Huawei
[VDO-GUIDE] How to debrand Huawei Phone by SRK Tool Huawei
Seems to be a solid option to consider.
Option 3 - Octoplus Huawei Tool Dongle
How to Get bootloader unlock code on Huawei
But it requires an expensive dongle (90 USD...)
Unfortunately for me, I can't find any ways to do that from Mac OS or directly from the smartphone... if anyone can help with that, let me know. Thanks
Click to expand...
Click to collapse
For rebranding one must flash oeminfo from the other cust
It can be done manually from TWRP (but to flash TWRP you must have unlocked Bootloader) or some tools (like SRK?) can execute for you, but hidden into the batch file
Anyway, to be able to flash things, Bootloader must be unlocked and for that you must have Bootloader code
So I'm really puzzled if/how that batch tool can circumvent unlocking the Bootliader - have you tried yourself, with the Bootloader locked and without its code?
zgfg said:
For rebranding one must flash oeminfo from the other cust
It can be done manually from TWRP (but to flash TWRP you must have unlocked Bootloader) or some tools (like SRK?) can execute for you, but hidden into the batch file
Anyway, to be able to flash things, Bootloader must be unlocked and for that you must have Bootloader code
So I'm really puzzled if/how that batch tool can circumvent unlocking the Bootliader - have you tried yourself, with the Bootloader locked and without its code?
Click to expand...
Click to collapse
It seems like that tool is able to extract the bootloader code (I don't know if you have to flash oeminfo, if so, it would be pretty useless). I'll certainly try it as soon as my girlfriend has time.
deci260 said:
It seems like that tool is able to extract the bootloader code (I don't know if you have to flash oeminfo, if so, it would be pretty useless). I'll certainly try it as soon as my girlfriend has time.
Click to expand...
Click to collapse
Please confirm here if the tool can 'extract' Bootloader code
Btw, I think I used SRK year and more ago, it just asks user to type in the Bootloader code (so you must know the code)
(Later on I learnt to use ADB and Fastboot and since then I rather have control in my hands than using batch tools...)
Only if that is now a new version of the tool that can 'exteact' the code by itself - but that will be a sensation, just take a look around, everywhere/everybody knows that people must pay mere 4 Euros to get Bootloader code but here you have a tool that can do it money and hassle free, and nobody being aware of
deci260 said:
It seems like that tool is able to extract the bootloader code (I don't know if you have to flash oeminfo, if so, it would be pretty useless). I'll certainly try it as soon as my girlfriend has time.
Click to expand...
Click to collapse
Ok, please let us know how it turns out as on my side I haven't been able to try any of those yet.
I will try to get my hands on a windows computer and see how it goes.
morn_06 said:
Ok, please let us know how it turns out as on my side I haven't been able to try any of those yet.
I will try to get my hands on a windows computer and see how it goes.
Click to expand...
Click to collapse
Ok so it actually asks for the bootloader code. No luck with the SRK tool...
deci260 said:
Ok so it actually asks for the bootloader code. No luck with the SRK tool...
Click to expand...
Click to collapse
Just as was described to be in posts #3 and #5 above - there is no (free) magic tool to circumvent unlocking Bootloader with the required Bootloader code
Only DC Unlocker tool - for 4 Euros to obtain Bootloader code (since Huawei stopped providing for free)
DC Phoenix can do it too but in the combination with unbricking (more expensive)

[SOLVED] Your device is Currupt, it can't be trusted and will not boot.

Yesterday, I was going to lock my bootloader to cell my Nokia 8 cuz' I needed money. Being the noobie that I'm I didn't have my unlock key saved anywhere. and couldn't get a new one because the stupid Bootloader unlock app doesn't work on Pie. I did know that locking the bootloader doesn't require a key. So I just went with it without remembering that I still had TWRP instead of stock boot img installed. So when I locked the bootloader the phone booted into a screen similar to the unlocked Bootloader warning screen. But it said "Your Device is corrupt. It can't be Trusted and will not boot." Instead. So now I have locked bootloader with TWRP that I can't boot into. I still can boot into fastboot mode but I can't do much Because LoCkEd BooTlOaDeR. The only sulotion is to unlock the bootloader with an unlock key Which I don't have and flash stock boot. So please help. You'll be literally saving my life. This is my first thread ever on the internet so forgive me If I made any mistakes:laugh:
EDIT: I took my phone to the service centre near me and they were able to fix it
CommieTurtle said:
Yesterday, I was going to lock my bootloader to cell my Nokia 8 cuz' I needed money. Being the noobie that I'm I didn't have my unlock key saved anywhere. and couldn't get a new one because the stupid Bootloader unlock app doesn't work on Pie. I did know that locking the bootloader doesn't require a key. So I just went with it without remembering that I still had TWRP instead of stock boot img installed. So when I locked the bootloader the phone booted into a screen similar to the unlocked Bootloader warning screen. But it said "Your Device is corrupt. It can't be Trusted and will not boot." Instead. So now I have locked bootloader with TWRP that I can't boot into. I still can boot into fastboot mode but I can't do much Because LoCkEd BooTlOaDeR. The only sulotion is to unlock the bootloader with an unlock key Which I don't have and flash stock boot. So please help. You'll be literally saving my life. This is my first thread ever on the internet so forgive me If I made any mistakes:laugh:
EDIT: I took my phone to the service centre near me and they were able to fix it
Click to expand...
Click to collapse
Hello! I have the same problem! (((You were not interested in what exactly or how you should do to correct the error? And how much money did you get for repair?
Well you can use original OST not NOST and flash signed images (.NB1) without unlocking bootloader.
KonikoO said:
Well you can use original OST not NOST and flash signed images (.NB1) without unlocking bootloader.
Click to expand...
Click to collapse
Only with service point authorization as far as I know. OST (and NOST by extension) usually show you a login prompt when you launch them. Service Points login to a server that generates a temporary unlock key, which allows OST to reflash the partitions. With the proper authorization, even NOST could flash .qlz files (as long as the images inside are official and signed) with a locked bootloader.
Since we don't have service point permission we have to patch the tool to ignore it (both NOST and the hacked OST). It will still try to request the temporary key, fail, and pass an empty value to the bootloader. To get the bootloader to accept the following flashing commands, you have to unlock it.

Categories

Resources