Hi All,
I have a non-DE XT1060 with an unlocked bootloader. I am attempting to flash a custom recovery, but I am running into issues. When I go into fastboot, it shows the device is indeed unlocked, but says Status Code: 3, where it would normally say Status Code: 1.
I am guessing this is part of my issue, since when I run the command ADB DEVICES, my device does not appear on the list. However, when I run the command ADB FASTBOOT DEVICES, it will list my device out. Because of this, I am having trouble flashing a custom recovery and obtaining root.
If anyone knows what Status Code: 3 actually means or has other ideas what might be going on, I would appreciate your help. I did a fair amount of searching online already, but nothing seemed quite the same as the issue I was having. Thanks in advance for any help.
I recently unlocked my device with the same status code 3 and had difficulties flashing the recovery also... In the android development section theres a post called recovery unlocked they mention that the correct command to flash would be mfastboot instead of fastboot (i guess its a motorola thing) also Adb commands don't run while in fastboot...
I think I had a misunderstanding of what fastboot was, but your reply prompted me to read more and I get it now. That being said, when I attempt to flash the recovery via fastboot, I receive the error: (bootloader) Variable not supported!
For the record, it does respond to commands such as fastboot devices and fastboot reboot-bootloader
Never had that outcome but having the latest adb/fastboot files would make things easier... If it still occurs
Is your command prompt path correct to the same folder as your recovery.img and your fastboot and mfastboot.exe files?
Yeah, you beat me to it... I had the directory wrong... needed C:\adb\
D'oh!! Thanks for your help though.
i have status 3 its normal or not ?
Apparently its normal as it all worked fine for me once I had the correct directory.
JustROLLIN said:
Apparently its normal as it all worked fine for me once I had the correct directory.
Click to expand...
Click to collapse
sure ? all have unlock bootloader have status 3 ?
maxou88 said:
sure ? all have unlock bootloader have status 3 ?
Click to expand...
Click to collapse
Status code 3 is perfectly normal and it indicates an unlocked bootloader in the case of the moto x. Nothing to worry about there. Every unlocked moto x displays status code 3. :good:
Oh ok thx my friend
my phone MOTO E stucks on warning bootloader unclocked.....plz help me...????
while doing fastboot its shows its not recognized by internal or external command...
samwathegreat said:
Status code 3 is perfectly normal and it indicates an unlocked bootloader in the case of the moto x. Nothing to worry about there. Every unlocked moto x displays status code 3. :good:
Click to expand...
Click to collapse
If you relock the bootloader will the status code change and will the software status change from modified to whatever it says before it was unlocked?
HELP please
mine is the moto g turbo edition XT1557 running marshmellow 6.0
and i unlocked the bootlocker status code 3
while trying to boot the phone it vibrates once and gets stuck on the "warning boot locker unlocked screen"
tried the logo thing, the wipe data thing. Noting is working can anyone help me ???
Note: THIS IS NOT A SOLUTION TO BYPASS FRP!
I am not responsible if you are dumb dumb and break your phone
This Solution is written in under 10 minutes AND WORKS ONLY AND ONLY FOR STOCK people with no experience stay away
This is not a comprehensive solution, if you don't know what you're doing then don't do it!
This solution might work for all huawei phones where:
1. The Oem-unlock is greyed out and NOT activated in Developer Options
2 .Bootloader is unlocked & FRP is locked.
3. You are on !!! STOCK !!!
Problem case:
Huawei P9 lite VNS-L31 on B380
Bootloader unlocked.
FRP Locked.
Fastboot commands fail with
Code:
FAILED (remote: Command not allowed)
except
Code:
fastboot oem get-bootinfo
and
Code:
fastboot devices
Solution:
Have ready your Unlock bootloader code from Huawei
Factory Reset your device. (Factory Reset implies removing Fingerprints and standard Factory Reset)
Reboot to fastboot ,in fastboot you should see:
Phone: unlocked
FRP: locked
Re-lock your bootloader and factory reset ( it will do it automatically)
Code:
fastboot oem relock *Here Huawei Code*
Reboot normally, skip everything
Activate Developer Options
Activate OEM unlocking from Dev Options
Reboot fastboot, now you should see:
Phone: locked
FRP: unlocked
Unlock bootloader again, it will factory reset again
Code:
fastboot oem unlock *Here Huawei Code*
Skip everything again
Reboot again to fastboot and flash recovery, now you will see:
Phone: unlocked
FRP: unlocked
Code:
fastboot flash recovery *imagename*
The OEM Unlock option now is greyed out and ACTIVE
Sucess!After a few hours of debugging and searching for answers I finally managed to flash TWRP, hope this helps.
Alexander33 said:
Note: THIS IS NOT A SOLUTION TO BYPASS FRP!
I am not responsible if you are dumb dumb and break your phone
This Solution is written in under 10 minutes, although I think I've covered everything, people with no experience stay away, this is not a comprehensive solution, if you don't know what you're doing then don't do it.
This solution might work for all huawei phones where:
1. The Oem-unlock is greyed out and NOT activated in Developer Options
2 .Bootloader is unlocked & FRP is locked
Problem case:
Huawei P9 lite VNS-L31 on B380
Bootloader unlocked.
FRP Locked.
Fastboot commands fail with except andfastboot devices
Solution:
Have ready your Unlock bootloader code from Huawei
Factory Reset your device.
Reboot to fastboot ,in fastboot you should see:
Phone: unlocked
FRP: locked
Re-lock your bootloader and factory reset ( it will do it automatically)
Solution:
Have ready your Unlock bootloader code from Huawei
Factory Reset your device.
Reboot to fastboot ,in fastboot you should see:
Phone: unlocked
FRP: locked
Re-lock your bootloader and factory reset ( it will do it automatically)
fastboot oem relock *Here Huawei Code*
Reboot normally, skip everything
Activate Developer Options
Activate OEM unlocking from Dev Options
Reboot fastboot, now you should see:
Phone: locked
FRP: unlocked
Unlock bootloader again, it will factory reset again
Skip everything again
Reboot again to fastboot and flash recovery, now you will see:
Phone: unlocked
FRP: unlocked
The OEM Unlock option now is greyed out and ACTIVE
Sucess!
After a few hours of debugging and searching for answers I finally managed to flash TWRP, hope this helps.
Click to expand...
Click to collapse
Can i have your permission to add this guide to the unified help thread (FAQ post> "error: command not allowed") in this subforum. I will credit you by mention ofc.
fu**ing great, if I try to relock its says stat not match!!!!! Anyone ?
title
Alexander33 said:
Note: THIS IS NOT A SOLUTION TO BYPASS FRP!
I am not responsible if you are dumb dumb and break your phone
This Solution is written in under 10 minutes, although I think I've covered everything, people with no experience stay away, this is not a comprehensive solution, if you don't know what you're doing then don't do it.
This solution might work for all huawei phones where:
1. The Oem-unlock is greyed out and NOT activated in Developer Options
2 .Bootloader is unlocked & FRP is locked
Problem case:
Huawei P9 lite VNS-L31 on B380
Bootloader unlocked.
FRP Locked.
Fastboot commands fail with
Code:
FAILED (remote: Command not allowed)
except
Code:
fastboot oem get-bootinfo
and
Code:
fastboot devices
Solution:
Have ready your Unlock bootloader code from Huawei
Factory Reset your device.
Reboot to fastboot ,in fastboot you should see:
Phone: unlocked
FRP: locked
Re-lock your bootloader and factory reset ( it will do it automatically)
Code:
fastboot oem relock *Here Huawei Code*
Reboot normally, skip everything
Activate Developer Options
Activate OEM unlocking from Dev Options
Reboot fastboot, now you should see:
Phone: locked
FRP: unlocked
Unlock bootloader again, it will factory reset again
Code:
fastboot oem unlock *Here Huawei Code*
Skip everything again
Reboot again to fastboot and flash recovery, now you will see:
Phone: unlocked
FRP: unlocked
Code:
fastboot flash recovery *imagename*
The OEM Unlock option now is greyed out and ACTIVE
Sucess!After a few hours of debugging and searching for answers I finally managed to flash TWRP, hope this helps.
Click to expand...
Click to collapse
i have situation:
Phone : Relocked
FRP: Lock
any idea? im stuck in Bootloader.
Thank you very much! I spent many hours looking for a solution to this problem!
Your solution is incredible! Can I share your steps in Spanish for more people? I live in Mexico and I know more people with this problem. And of course I give you the credits for this magnificent solution. I'm sorry for my English, I know I write badly in this language
I have strange problem... I have "Phone unlocked, frp lock". But on my P9 Lite only fastboot mode works.
Rrecovery mode (vol+ i power) or download mode (vol+, vol-, power) are not responding - phone reboots always to Huawei logo.
Any way to fix that?
My phone its f***
What i do
Honor 7x
skiswim said:
i have situation:
Phone : Relocked
FRP: Lock
any idea? im stuck in Bootloader.
Click to expand...
Click to collapse
Me too
Any idea?
tootysa said:
Me too
Any idea?
Click to expand...
Click to collapse
I have a solution for you both.
I mistakenly followed the instructions above but made the mistake of not skipping everything. I got the message "Data partition corrupted do you want to format the partition" or something similar, DO NOT FORMAT ANYTHING, it should boot up normaly. I'm a bit rusty in my rooting ways u_u
Now, I got exactly the same situation as you both "Relocked" and "FRP Locked". I was able to get into the eRecovery and this is way to restore your phone.
1.- You need to get the Huawei Firmware Finder (Team MT) (https://forum.xda-developers.com/tools/general/huawei-firmware-finder-team-mt-t3469146)
2.- Unzip it and run FirmwareFinderRewrite.exe
3.- Go to the tab that says Common Base
4.- Search for the update that you know it works in my case was VNS-L31C432B388 (I tried to use VNS-L31C432B404 but its still "not active" whatever that means). Look for the FullOTA and copy the change log address (in my case: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1258/g104/v91282/f1/full/changelog.xml)
5.- In the icons above the Tabs pres on the cloud with a page infront, the tooltip should say Proxy
6.- Copy the changelog addres in the section Firmware for install and press Set.
7.- Press Register for Update
8.- Follow the instructions bellow this (Change your DNS temporarily)
9.- In your phone go to the eRecovery.
10.- Connect to WLAN and it should find a package.
10a.- In case it doesn't find it, go back to step 4. You probably got 2 packages with the same name. I do not enterily understand the differences but I assume one is for one region and the other for other region.
11.- Wait until it restores and be happy.
If you can not change the DNS in you router, as it was my case. You can set a hotspot with your laptop/desktop and change the DNS there but you still need and active internet conection.
I connected my cellphone to my laptop via WLAN and my laptop to the router via Ethernet which provides internet. I change both DNS's for both connections.
skiswim said:
i have situation:
Phone : Relocked
FRP: Lock
any idea? im stuck in Bootloader.
Click to expand...
Click to collapse
tootysa said:
My phone its f***
What i do
Honor 7x
Click to expand...
Click to collapse
tootysa said:
Me too
Any idea?
Click to expand...
Click to collapse
Did you guys unlock your bootloader prior to having this situation? aka did you start with
Phone unlocked.
FRP locked.
My solution is for this situation ^ and this situation only, not for any other case.
One other thing it springs right now in my mind is, did you factory reset and delete the fingerprints ? As this might be related...
Kucharskov said:
I have strange problem... I have "Phone unlocked, frp lock". But on my P9 Lite only fastboot mode works.
Rrecovery mode (vol+ i power) or download mode (vol+, vol-, power) are not responding - phone reboots always to Huawei logo.
Any way to fix that?
Click to expand...
Click to collapse
That's called a soft brick and have you tried eRecovery?
You need to go back to stock using a stock firmware which you have to find on the internet, then make a folder on your SDCard called DLOAD and put it in there, then press all three buttons and the eRecovery should boot up and detect the stock firmware.
EDIT: The guys that got stuck didn't read the part where I said VNS-L31 On B380 and did this having a custom ROM. How I know this? I've also followed my own guide and in the moment you relock your bootloader you will NOT be able to boot into your ROM anymore and you will boot to e-recovery
(which doesn't give too many options), if you were on Nougat or even on Marshmallow (skip the rollback part? )follow the rollback tutorial from N to MM from this Forum Section to get back to stock C432B160/1 , if you can't find the link just PM me
Again, I have VNS-L31 and I'm talking only from what I did, I don't know anything about your device
Man it's not working for me to relock the bootloader. its the same result. what can i do?
really need your help sir
Alexander33 said:
Note: THIS IS NOT A SOLUTION TO BYPASS FRP!
I am not responsible if you are dumb dumb and break your phone
This Solution is written in under 10 minutes AND WORKS ONLY AND ONLY FOR STOCK people with no experience stay away
This is not a comprehensive solution, if you don't know what you're doing then don't do it!
This solution might work for all huawei phones where:
1. The Oem-unlock is greyed out and NOT activated in Developer Options
2 .Bootloader is unlocked & FRP is locked.
3. You are on !!! STOCK !!!
Problem case:
Huawei P9 lite VNS-L31 on B380
Bootloader unlocked.
FRP Locked.
Fastboot commands fail with
Code:
FAILED (remote: Command not allowed)
except
Code:
fastboot oem get-bootinfo
and
Code:
fastboot devices
Solution:
Have ready your Unlock bootloader code from Huawei
Factory Reset your device. (Factory Reset implies removing Fingerprints and standard Factory Reset)
Reboot to fastboot ,in fastboot you should see:
Phone: unlocked
FRP: locked
Re-lock your bootloader and factory reset ( it will do it automatically)
Code:
fastboot oem relock *Here Huawei Code*
Reboot normally, skip everything
Activate Developer Options
Activate OEM unlocking from Dev Options
Reboot fastboot, now you should see:
Phone: locked
FRP: unlocked
Unlock bootloader again, it will factory reset again
Code:
fastboot oem unlock *Here Huawei Code*
Skip everything again
Reboot again to fastboot and flash recovery, now you will see:
Phone: unlocked
FRP: unlocked
Code:
fastboot flash recovery *imagename*
The OEM Unlock option now is greyed out and ACTIVE
Sucess!After a few hours of debugging and searching for answers I finally managed to flash TWRP, hope this helps.
Click to expand...
Click to collapse
Sir please help me , I need step by step tutorial from you please I need your facebook account name and I will pm you.
I'm on stock ROM and already do factory reset. But the bootloader still unlocked. When I'm trying to lock, its failed. Can someone help me?
my phone seems to be stuck at emui circled been about 5mins like that
honor 9 lite
Alexander33 said:
Did you guys unlock your bootloader prior to having this situation? aka did you start with
Phone unlocked.
FRP locked.
My solution is for this situation ^ and this situation only, not for any other case.
One other thing it springs right now in my mind is, did you factory reset and delete the fingerprints ? As this might be related...
That's called a soft brick and have you tried eRecovery?
You need to go back to stock using a stock firmware which you have to find on the internet, then make a folder on your SDCard called DLOAD and put it in there, then press all three buttons and the eRecovery should boot up and detect the stock firmware.
EDIT: The guys that got stuck didn't read the part where I said VNS-L31 On B380 and did this having a custom ROM. How I know this? I've also followed my own guide and in the moment you relock your bootloader you will NOT be able to boot into your ROM anymore and you will boot to e-recovery
(which doesn't give too many options), if you were on Nougat or even on Marshmallow (skip the rollback part? )follow the rollback tutorial from N to MM from this Forum Section to get back to stock C432B160/1 , if you can't find the link just PM me
Again, I have VNS-L31 and I'm talking only from what I did, I don't know anything about your device
Click to expand...
Click to collapse
If you have this situation : phone Relocked --> its mean that the phone has been unlocked before and then relocked
If you have this situation : phone locked --> its mean that the phone has never been unlocked before
it's a security from huawei to know if the phone still have a warranty
I have the same situation : phone relocked and frp lock (P20 lite with ANE-LX1 C652 )
because i relocked the bootloader without leaving the frp unlocked.
When you relock the bootloader ( relock phone) the phone will do an automatic factory reset, and if he fail with, you can't unlock bootloader again because of the frp lock, and you can not unlock frp from developper option because the phone won't start.
I tried the Firmware Finder solution to get erecovery working with DNS, i found an update for (ANE-LX1 C652 not FullOTA) and i register it for download, the phone start downloading, after finish downloading i get a fail install error.
i tried register many version C432 C185 ..... but the erecovery is not reconizing them i think that i need a FullOTA for my ANE-LX1 C652.
Installing update with sdcard dload, always fail .
re
Hello dear,
so i have unlocked my phone and this was the beginning of the problems, I had to deal with samsung phones before but the huawei was very sensitive, so i got into a problem and broke the phone system, which had taken the phone to an expert and had restored the stock phone system n it was good to roll back ,phone to work at least, he tells me that he did relock the bootloader but the message of warning still appears everytime i booted up ,
now ive the same problem as u have, and i noticed that the adb commands works only when the phone is on system ,either when i enter the FASTBOOT MODE ,ADB commands do not work anymore ,even the gray OEM unlocking,, and now i do not know if this solution works with me or not ,if i can get rid the warning message?? i dont need that silly unlocking anymore
ِِCan u advise me PLEASE !!!!
markraiem said:
Hello dear,
so i have unlocked my phone and this was the beginning of the problems, I had to deal with samsung phones before but the huawei was very sensitive, so i got into a problem and broke the phone system, which had taken the phone to an expert and had restored the stock phone system n it was good to roll back ,phone to work at least, he tells me that he did relock the bootloader but the message of warning still appears everytime i booted up ,
now ive the same problem as u have, and i noticed that the adb commands works only when the phone is on system ,either when i enter the FASTBOOT MODE ,ADB commands do not work anymore ,even the gray OEM unlocking,, and now i do not know if this solution works with me or not ,if i can get rid the warning message?? i dont need that silly unlocking anymore
ِِCan u advise me PLEASE !!!!
Click to expand...
Click to collapse
The warning will always appear as long as the Bootloader is unlocked. read the first 3 conditions . If you are on stock and can boot on stock, delete fingerprints and any PINs and Google accounts, then Factory Reset and this should set you to FPR Unlocked, BL Unlocked. Here just lock the bootloader back and then reboot normally and use the device as you normally do, the moment you add your Google Account and/or Fingerprint the FRP will lock back. If you want to continue flashing custom ROMs etc. follow the tutorial but read all the comments (relevant ones) before you do it.
This solution might work for all huawei phones where:
1. The Oem-unlock is greyed out and NOT activated in Settings -> Developer Options
2 .Bootloader is unlocked & FRP is locked.
3. You are on !!! STOCK !!!
Click to expand...
Click to collapse
if that applies to you, you can try my tutorial, otherwise I have no other suggestion for you, I quit tampering with my Huawei long ago, stock is quite fine for me.
I don't have the code, how do i lock and unlock bootloader? thx
to me puts
PHONE Locked
FRP Lock
phone stuck on recovery mode
Hi,
I have a P9 here I'm was asked to repair. I think it is kind of bricked and I hope some one can help me to unbrick it.
According to the auto dc-unlocker identification:
Found Phone : EVA-L09
Firmware : EVA-L09C432B386
FB LockState: LOCKED
USER LockState: LOCKED
So, bootloader locked and FRP locked. I don't know if the Firmware version above is right. All I know is that some Update.app files were flashed to the state of the phone now and before there where bootloops while the start animation and stuck boot with black screen.
At the moment I can do:
- turn on to see only the first huawei log with "powered by android", then nothing happens
- I can not enter eRecovery or update for Update.app
- I can only enter fastboot
I have the unlock code for the bootloader. I can not commit any fastboot commands (oem unlock, flash, etc) all is blocked with:
FAILED (remote: Command not allowed)
The locked FRP should be the reason for this.
I think OEM-unlock and usb debug from developer section was not enabled as the phone was usable. adb commands like "adb reboot bootloader" fail with
error: device '(null)' not found
fastboot devices shows the device
I have tried to uncharge the battery and then try to enter other modes than fastboot. No luck with that.
Do I have any chance to unbrick it without paying for the dc-unlocker/phoenix?
Can I do something with SRKTool?
If I have to use unlocker,
- do I have to unlock the bootloader?
- should I flash the same firmware that is now on the phone (B386) and where can I find it? (found only 1000 other versions until now)
Hope for answers
I've gone through that before, but ended up using DC-Phoenix to unbrick it when it's FRP and bootloader locked. Cost me about $15. There is a post on how to do this but I'll have to search for it again.
Here is the post I used:
https://forum.xda-developers.com/showpost.php?p=71767614&postcount=7
I guess you enter fastboot by Vol- and Power?
Not sure if the following method could help you with, but you can analyze before you go for dc-phoenix:
https://forum.xda-developers.com/showpost.php?p=74169408&postcount=7
scammander said:
Hi,
I have a P9 here I'm was asked to repair. I think it is kind of bricked and I hope some one can help me to unbrick it.
According to the auto dc-unlocker identification:
Found Phone : EVA-L09
Firmware : EVA-L09C432B386
FB LockState: LOCKED
USER LockState: LOCKED
So, bootloader locked and FRP locked. I don't know if the Firmware version above is right. All I know is that some Update.app files were flashed to the state of the phone now and before there where bootloops while the start animation and stuck boot with black screen.
At the moment I can do:
- turn on to see only the first huawei log with "powered by android", then nothing happens
- I can not enter eRecovery or update for Update.app
- I can only enter fastboot
I have the unlock code for the bootloader. I can not commit any fastboot commands (oem unlock, flash, etc) all is blocked with:
FAILED (remote: Command not allowed)
The locked FRP should be the reason for this.
I think OEM-unlock and usb debug from developer section was not enabled as the phone was usable. adb commands like "adb reboot bootloader" fail with
error: device '(null)' not found
fastboot devices shows the device
I have tried to uncharge the battery and then try to enter other modes than fastboot. No luck with that.
Do I have any chance to unbrick it without paying for the dc-unlocker/phoenix?
Can I do something with SRKTool?
If I have to use unlocker,
- do I have to unlock the bootloader?
- should I flash the same firmware that is now on the phone (B386) and where can I find it? (found only 1000 other versions until now)
Hope for answers
Click to expand...
Click to collapse
So you can not update via dload method? Did you try booting into recovery (not Recovery)? And you can't update with Update.app, you need to flash update.zip and full_update.zip via TWRP or Recovery. What wanted the owner of this phone to do, that he bricked it ?
Thank you all for your answers. Like I tried to describe: I was not able to access any other mode than fastboot.
"was able": I used DC-Phoenix now and it worked just fine.
Little confusing is that in all tutorials, even the on on the DC site, the UI of the tool is different.
But that's now Problem. The current Version is lot easier. Just "Standard Mode", select Update.app (full), Click Update.
The Phone gets flashed with fastboot, DC will restart it to update mode and will flash again. All automatic.
Really easy.
so you paid 15 USD ?
DallasCZ said:
so you paid 15 USD ?
Click to expand...
Click to collapse
Yes I did, and it worked.
Hey,
My Phone: HUAWEI P9-EVA-L09
My Problem: recovery mode stucks after TWRP install at
!
Your device has been unlocked and can't be trusted.
To learn more, visit:
"HERE IS A LINK"
Your device is booting now...
Click to expand...
Click to collapse
i want to fix this bring it back to original ore to TWRP hope anyone can help
Greats Kralle Fuchs
FIX
Found the Problem!
The Device say's its unlocked but it wasnt so i unlock it second time and it just reboots after second unlock in to the TWRP.
Maybe it will help someone
You couldn't flash TWRP if you didn't unlock bootloader - and the phone warns you that bootloader is unlocked
If you want to get rid of the warning, you must re-lock bootloader, but it will trigger factory reset
Btw, enable Development options and check if OEM Unlocking is enabled
And in Fastboot, check does it show Bootloader and FRP unlocked
Hello! I was flashing my phone and wanted to restore it to a stock firmware.
Looks like I bricked the phone.
I can't access the dload method, eRecovery does not work and bootload is locked too.
What can I do to recover it? Please I really need help
EDIT: What I was trying to flash was the stock package but I did it in the wrong order
Do u have bootloader unlock code? If have, unlock bootloader, go fastboot, flash stock recovery img, then try dload/ eRecovery to restore stock firmware
John Tan said:
Do u have bootloader unlock code? If have, unlock bootloader, go fastboot, flash stock recovery img, then try dload/ eRecovery to restore stock firmware
Click to expand...
Click to collapse
Unfornately I don't have it.
Is there a way to get it? What else could I do?
Aroukan said:
Unfornately I don't have it.
Is there a way to get it? What else could I do?
Click to expand...
Click to collapse
It's not only about Bootloader, is your FRP unlocked - boot to Fastboot and read both for FRP and Phone (Bootloader), are they locked or unlocked?
If FRP is unlocked (and Bootloader locked), you can use DC Unlocker with 4 Euros credit to buy Bootloader code and to unlock the Bootloader in Fastboot:
https://www.dc-unlocker.com/how-to-read-huawei-bootloader-unlock-code
But if FRP is locked, you couldn't unlock it because you cannot boot to System to Unlock OEM, hence you will have to use DC Phoenix with 15 Euros credit to unlock FRP & Bootloader and to unbrick the phone - read posts #4 to #8:
https://forum.xda-developers.com/p9/help/bypass-frp-t3879402
PS: To boot into Fastboot - switch the phone off, connect by USB to PC, press and keep pressing Volume- and then boot by Power button