How to safely unlock the bootloader P9? - Huawei P9 Guides, News, & Discussion

How to safely unlock the bootloader P9 ? Please for detailed instructions. Thanks.

I think people used DC unlocker..

So has anyone tried to relock the bootloader? It would be nice to know if there is a method to relock that can't be detected, so our warranty says intact. I've read that dc unlocker can do that but I've never seen confirmation.

clouds5 said:
So has anyone tried to relock the bootloader? It would be nice to know if there is a method to relock that can't be detected, so our warranty says intact. I've read that dc unlocker can do that but I've never seen confirmation.
Click to expand...
Click to collapse
I've just checked too on dc unlocker site and P9 results like the last added supported model with this features:
- direct unlock
- read bootloader code
- read unlock codes
- unlock FRP

So I just unlocked my Bootloader successfully with the DC unlocker tool and wanted to share the process with you guys. If you live in Europe and tried to get your unlock code directly from Huawei you may have run into some problems but this method works. My P9 is a EVA-L09 (europe single sim version).
Do this at your own risk.
You need this tool: https://www.dc-unlocker.com/ I did it with the most recent version as of now (V1.00.1290) which is the first that supports the P9.
Basically follow the instructions in the tool to get your device connected, it's straightforward. Then you need to make an account and _buy_ credits to read your unlock code. You need 4 credits so it will cost you 4 euro. This sucks, but it's no scam or anything. It works (as I just did it).
Just log in through the tool with the data provided after making an account and go to Unlocking -->"read bootloader code". Push the button and after a few secs your code appears. WRITE IT DOWN AND/OR COPY IT TO A .txt or something
[e] important: before you unlock/relock your phone or flash a custom recovery make sure that you go to developer settings and tick "enable OEM unlock". Missing this could lead to brick in certain situations, for more info read this article and do additional research.
Once you have the code you can start the unlocking process. This is the same for people that got their unlock code through other methods.
-Disconnect and power off your P9.
-Push volume down and connect it to your Computer, when the screen turns on you are in fastboot mode.
-Open any ADB/Fastboot tool (http://forum.xda-developers.com/showthread.php?t=2317790 <- i used this) and write:
"fastboot devices"
your device should be detected. Then write:
"fastboot oem unlock XXXXXXXXXXXXXXXXXXX" )X being the unlock code you got from DC unlocker)
It gives you a warning about warranty etc you have to comply and your bootloader is unlocked. As it warns you on the screen this will do a factory reset.
If you ever want to relock the bootloader put your phone in fastboot mode and type
"fastboot oem relock XXXXXXXXXXXXXXXXXX" the bootloader will be relocked but as far as we know it's detectable that it was unlocked before.
Hope this helps, cheers

clouds5 said:
So I just unlocked my Bootloader successfully with the DC unlocker tool and wanted to share the process with you guys. If you live in Europe and tried to get your unlock code directly from Huawei you may have run into some problems but this method works. My P9 is a EVA-L09 (europe single sim version).
You need this tool: https://www.dc-unlocker.com/ I did it with the most recent version as of now (V1.00.1290) which is the first that supports the P9.
Basically follow the instructions in the tool to get your device connected, it's straightforward. Then you need to make an account and _buy_ credits to read your unlock code. You need 4 credits so it will cost you 4 euro. This sucks, but it's no scam or anything. It works (as I just did it).
Just log in through the tool with the data provided after making an account and go to Unlocking -->"read bootloader code". Push the button and after a few secs your code appears. WRITE IT DOWN AND/OR COPY IT TO A .txt or something
Once you have the code you can start the unlocking process. This is the same for people that got their unlock code through other methods.
-Disconnect and power off your P9.
-Push volume down and connect it to your Computer, when the screen turns on you are in fastboot mode.
-Open any ADB/Fastboot tool (http://forum.xda-developers.com/showthread.php?t=2317790 <- i used this) and write:
"fastboot devices"
your device should be detected. Then write:
"fastboot oem unlock XXXXXXXXXXXXXXXXXXX" )X being the unlock code you got from DC unlocker)
It gives you a warning about warranty etc you have to comply and your bootloader is unlocked. As it warns you on the screen this will do a factory reset.
If you ever want to relock the bootloader put your phone in fastboot mode and type
"fastboot oem relock XXXXXXXXXXXXXXXXXX" the bootloader will be relocked but as far as we know it's detectable that it was unlocked before.
Hope this helps, cheers
Click to expand...
Click to collapse
Great to hear that I works!
Are you planning to flash twrp and root it?
Sent from my Nexus 5X

220volt said:
Great to hear that I works!
Are you planning to flash twrp and root it?
Sent from my Nexus 5X
Click to expand...
Click to collapse
Already rooted it with the guide from the root thread here. Was quick and worked great.

clouds5 said:
So I just unlocked my Bootloader successfully with the DC unlocker tool and wanted to share the process with you guys. If you live in Europe and tried to get your unlock code directly from Huawei you may have run into some problems but this method works. My P9 is a EVA-L09 (europe single sim version).
You need this tool: https://www.dc-unlocker.com/ I did it with the most recent version as of now (V1.00.1290) which is the first that supports the P9.
Basically follow the instructions in the tool to get your device connected, it's straightforward. Then you need to make an account and _buy_ credits to read your unlock code. You need 4 credits so it will cost you 4 euro. This sucks, but it's no scam or anything. It works (as I just did it).
Just log in through the tool with the data provided after making an account and go to Unlocking -->"read bootloader code". Push the button and after a few secs your code appears. WRITE IT DOWN AND/OR COPY IT TO A .txt or something
Once you have the code you can start the unlocking process. This is the same for people that got their unlock code through other methods.
-Disconnect and power off your P9.
-Push volume down and connect it to your Computer, when the screen turns on you are in fastboot mode.
-Open any ADB/Fastboot tool (http://forum.xda-developers.com/showthread.php?t=2317790 <- i used this) and write:
"fastboot devices"
your device should be detected. Then write:
"fastboot oem unlock XXXXXXXXXXXXXXXXXXX" )X being the unlock code you got from DC unlocker)
It gives you a warning about warranty etc you have to comply and your bootloader is unlocked. As it warns you on the screen this will do a factory reset.
If you ever want to relock the bootloader put your phone in fastboot mode and type
"fastboot oem relock XXXXXXXXXXXXXXXXXX" the bootloader will be relocked but as far as we know it's detectable that it was unlocked before.
Hope this helps, cheers
Click to expand...
Click to collapse
Thanks! I just unlocked my bootloader. It didn't work at first but this was because I had forgotten to enable OEM unlock in the settings: https://www.dc-unlocker.com/enable-oem-unlock

What are the benefits of unlocking the bootloader and are there any negatives?
Sent from my EVA-AL00 using Tapatalk

Milamber said:
What are the benefits of unlocking the bootloader and are there any negatives?
Sent from my EVA-AL00 using Tapatalk
Click to expand...
Click to collapse
The phone could become less secure, however after unlocking you should be able to install a modified recovery (twrp)

Do you still get automatic updates through the phone with an unlocked boot loader? I'm keen to put an English rom on my Chinese P9
Sent from my EVA-AL00 using Tapatalk

I've tried to unlock my P9 using the DC-Unlocker method but it's just saying "FAILED (remote: password wrong)"
Any ideas?

DreamHazard said:
I've tried to unlock my P9 using the DC-Unlocker method but it's just saying "FAILED (remote: password wrong)"
Any ideas?
Click to expand...
Click to collapse
Do you get that in the DC unlocker or when you actually type the unlock command in fastboot? DC unlocker is just for reading the bootloader code not the actual unlocking. If that makes sense.
Also don't forget to "enable OEM unlock" in the dev settings.

clouds5 said:
Do you get that in the DC unlocker or when you actually type the unlock command in fastboot? DC unlocker is just for reading the bootloader code not the actual unlocking. If that makes sense.
Also don't forget to "enable OEM unlock" in the dev settings.
Click to expand...
Click to collapse
I got the codes from DC unlocker, it's the response from fastboot oem unlock <code>. DC unlocker gave me four codes, I tried all of them. OEM Unlock is enabled in settings.
I have read elsewhere that the O2 handsets are bootloader locked, but mine came from the carphone warehouse, who usually send out carrier-free handsets (thus not O2 specific). Unfortunately I don't have a microsim from another network to test this, though there doesn't seem to be any O2 branding or apps.
EDIT: I've discovered the problem, I clicked "Read unlock codes" rather than "Read bootloader code" so the codes were obviously incorrect.

So even if we use dc unlocker to unlock our bootloader they can detect it???

Veretic said:
So even if we use dc unlocker to unlock our bootloader they can detect it???
Click to expand...
Click to collapse
DC unlocker doesn't actually unlock the bootloader, it's just an alternate way to get your specific unlock code. The actual unlocking is done with a command line.

clouds5 said:
DC unlocker doesn't actually unlock the bootloader, it's just an alternate way to get your specific unlock code. The actual unlocking is done with a command line.
Click to expand...
Click to collapse
I know it doesn't unlock it and only provides an unlock code but on other huawei phones it can relock the bootloader and leave the status locked instead of relocked.

Veretic said:
I know it doesn't unlock it and only provides an unlock code but on other huawei phones it can relock the bootloader and leave the status locked instead of relocked.
Click to expand...
Click to collapse
I've searched for that myself and found a post where someone said DC unlocker can relock the bootloader leaving the status "locked" instead of "relocked". But no confirmation if that is detectable or not and it was from a different device, so no guarantees it will work for the P9... So I guess we don't have a definitive answer how this affects your warranty and it may very well depend on the country you live in, as it usually does with warranty issues.
The official Huawei page states the following (link):
"Huawei will record your unlock request information; for software and hardware failures arising as a result of unlocking the bootloader, Huawei repair centers can provide repair services charged at the standard rate for repair work outside the scope of the warranty."
The way I interpret this it means that you only lose warranty if the damage is directly related to something you did by having the bootloader unlocked. If you have an unlocked bootloader and the camera module dies within the warranty period you should be fine unless they can prove that it died because of something you flashed through the unlocked bootloader. But as I said I think this is handled case by case and depends on your local warranty law.

I have an o2 P( bought in o2 store, used DC unlocker after some faffing with installing hisuite before DC unlocker would recognise my phone.
Got the unlock code unlocked bootloader, and restored 'most' of my data via the hisuite backup feature
I'm not doing anything else with it until I have all relevant files to recover from a sketchy flash or whatnot

clouds5 said:
So I just unlocked my Bootloader successfully with the DC unlocker tool and wanted to share the process with you guys. If you live in Europe and tried to get your unlock code directly from Huawei you may have run into some problems but this method works. My P9 is a EVA-L09 (europe single sim version).
Do this at your own risk.
You need this tool: https://www.dc-unlocker.com/ I did it with the most recent version as of now (V1.00.1290) which is the first that supports the P9.
Basically follow the instructions in the tool to get your device connected, it's straightforward. Then you need to make an account and _buy_ credits to read your unlock code. You need 4 credits so it will cost you 4 euro. This sucks, but it's no scam or anything. It works (as I just did it).
Just log in through the tool with the data provided after making an account and go to Unlocking -->"read bootloader code". Push the button and after a few secs your code appears. WRITE IT DOWN AND/OR COPY IT TO A .txt or something
[e] important: before you unlock/relock your phone or flash a custom recovery make sure that you go to developer settings and tick "enable OEM unlock". Missing this could lead to brick in certain situations, for more info read this article and do additional research.
Once you have the code you can start the unlocking process. This is the same for people that got their unlock code through other methods.
-Disconnect and power off your P9.
-Push volume down and connect it to your Computer, when the screen turns on you are in fastboot mode.
-Open any ADB/Fastboot tool (http://forum.xda-developers.com/showthread.php?t=2317790 <- i used this) and write:
"fastboot devices"
your device should be detected. Then write:
"fastboot oem unlock XXXXXXXXXXXXXXXXXXX" )X being the unlock code you got from DC unlocker)
It gives you a warning about warranty etc you have to comply and your bootloader is unlocked. As it warns you on the screen this will do a factory reset.
If you ever want to relock the bootloader put your phone in fastboot mode and type
"fastboot oem relock XXXXXXXXXXXXXXXXXX" the bootloader will be relocked but as far as we know it's detectable that it was unlocked before.
Hope this helps, cheers
Click to expand...
Click to collapse
I think this might be redundant, yesterday I contacted Huawei through their customer support form on their international page with my IMEI and S/No, and about 10hrs later got my bootloader unlock code with all the usual warnings about the warranty. I'm currently at work so I can't yet confirm if the code works or not but will update this post in a few hrs when I get home.
I was genuinely surprised that the person who contacted me via email was actually a finnish customer service agent, not some google translate-bot or anything.
My device is EVA-L09 and I live in Finland.

Related

your device does not have the ability to unlock the bootloader

First sorry about my english
Im trying unlock the bootloader , but when i click to get a code show this message "Your device does not qualify for bootloader unlocking "
i tried get send email to motorola and i recieve this email " The reason why you are getting this message is because your device does not have the ability to unlock the bootloader. Since your software does not have those qualifications, unfortunately there is no way to provide you with a code"
Have another method to unlock the bootloader ?
Have you tried using Motochopper?
If your device has been unlocked previously (IE sold used) then you are not eligible for another bootloader unlock.
arrrghhh said:
Have you tried using Motochopper?
If your device has been unlocked previously (IE sold used) then you are not eligible for another bootloader unlock.
Click to expand...
Click to collapse
finally , i made unlock bootloader by motoapocalypse and root by motofail2go

checking if a bootloader code is valid

i used dc unlocker i got my bootloader code and i want to check if its valid without unlocking yet
is this possible
thanks in advance
Sammy4798 said:
i used dc unlocker i got my bootloader code and i want to check if its valid without unlocking yet
is this possible
thanks in advance
Click to expand...
Click to collapse
Boot your phone into fastboot and type fastboot oem unlock <your15digitcode> if it's correct you will get a screen on your device saying are you sure you want to unlock bootloader. Use Volume Down to select no and power button to confirm. Since you used DC Unlocker it's highly unlikely it's a fake
thanks
Sammy4798 said:
i used dc unlocker i got my bootloader code and i want to check if its valid without unlocking yet
is this possible
thanks in advance
Click to expand...
Click to collapse
Is your DC unlocker is paid
Does it work? Which unlocker was used?
I used DC Unlocker today. Code worked fine.
I must pay 4€ for the bootloader unlock code.
There's a python script that uses the iemi to bruteforce the unlock code in few hours:
https://github.com/SkyEmie/huawei-honor-unlock-bootloader
I tried running the script yesterday but it was 24hrs and wasn't done so i gave up and did the dc-unlock

Problem with FRP lock: OEM unlock greyed out

I have dug myself into a hole when trying to rebrand a Huawei Mate 9
I appear to have unlocked and rooted it but the FRP is locked. This means the OEM unlocking is greyed out and the phone will not accept fastboot oem commands (failed: command not allowed). I cannot therefore load TWRP recovery nor can I recover to factory settings.
I do have an FRP unlock code but this only works if the boot loader is not unlocked and of course I cannot relock it if the phone will not take fastboot commands.
This greying out of the OEM unlocking seems a common problem on the Huawei.
DC-Ulocker which seemed to offer a solution explicitly says it does not work in Android 8 which I have installed
Can anyone advise how to resolve this from this situation?
I was facing same. I used chimera mobile utility tool on my p10 plus. Do some research and try. Its paid but worth and cheap than dc and funky huawei and yes I was on android 8 oreo
Had the same issue on Oreo, I did a recovery via e-recovery and that fixed it.
gacorner said:
I have dug myself into a hole when trying to rebrand a Huawei Mate 9
I appear to have unlocked and rooted it but the FRP is locked. This means the OEM unlocking is greyed out and the phone will not accept fastboot oem commands (failed: command not allowed). I cannot therefore load TWRP recovery nor can I recover to factory settings.
I do have an FRP unlock code but this only works if the boot loader is not unlocked and of course I cannot relock it if the phone will not take fastboot commands.
This greying out of the OEM unlocking seems a common problem on the Huawei.
DC-Ulocker which seemed to offer a solution explicitly says it does not work in Android 8 which I have installed
Can anyone advise how to resolve this from this situation?
Click to expand...
Click to collapse
In Developer Options, try hitting the "Restore defaults" button at the bottom (Can't remember if it exists on Oreo, but does on Pie and that fixed grey out for me)

Trying to unlock bootloader,flash Twrp, and Root with Magisk and need help

I've been trying at this for a couple days now,no success but no brick either Every phone I've owned up to this one I've been able to root and flash recoveries and custom roms as I pleased but this phone been tricky for me so I need someone here maybe to tell me my next move... So I called TMobile and I got the rep to give me a permanent unlock for my phone and I checked the Tmobile unlock app and its says permanently unlocked ...So my question now is since I cant seem to get the adb to "fastboot oem unlock" to change the device state to unlocked in the bootloader without asking me for my unlock code ,how to I get this to work? Is the next step requesting the unlock code from Oneplus because I have all the info for the form for Oneplus but don't know how to find unlock code for the form.... Help me out guys ... Thanks
bfreshdadon said:
I've been trying at this for a couple days now,no success but no brick either Every phone I've owned up to this one I've been able to root and flash recoveries and custom roms as I pleased but this phone been tricky for me so I need someone here maybe to tell me my next move... So I called TMobile and I got the rep to give me a permanent unlock for my phone and I checked the Tmobile unlock app and its says permanently unlocked ...So my question now is since I cant seem to get the adb to "fastboot oem unlock" to change the device state to unlocked in the bootloader without asking me for my unlock code ,how to I get this to work? Is the next step requesting the unlock code from Oneplus because I have all the info for the form for Oneplus but don't know how to find unlock code for the form.... Help me out guys ... Thanks
Click to expand...
Click to collapse
You now need to convert to Int. version, you can't "fastboot oem unlock" on T-Mo version without a stupid unlock token! Follow these instructions ===> https://forum.xda-developers.com/oneplus-7-pro/how-to/how-to-convert-tmobile-op7-to-t3935947
So I called TMobile and I got the rep to give me a permanent unlock for my phone and I checked the Tmobile unlock app and its says permanently unlocked
After this, you need to enable OEM unlock. See here.
Once you have enabled OEM Unlock under developer options, the fastboot oem unlock will work.
DanDroidOS said:
You now need to convert to Int. version, you can't "fastboot oem unlock" on T-Mo version without a stupid unlock token! Follow these instructions ===> https://forum.xda-developers.com/oneplus-7-pro/how-to/how-to-convert-tmobile-op7-to-t3935947
Click to expand...
Click to collapse
Thanks man,,gonna try that...
itskapil said:
So I called TMobile and I got the rep to give me a permanent unlock for my phone and I checked the Tmobile unlock app and its says permanently unlocked
After this, you need to enable OEM unlock. See here.
Once you have enabled OEM Unlock under developer options, the fastboot oem unlock will work.
Click to expand...
Click to collapse
Thanks man...Gonna check it out ..

how to unlock a locked bootloader ! ( oem greyed out )

So i received a american pixel 4 xl with a locked bootloader. imei starting with 35
i was able to unlock the bootloader here is the steps i took, note im in Australia.
Full OTA Images for Nexus and Pixel Devices | Google Play services | Google for Developers
developers.google.com
the firmware on the device was american,
i flashed my countrys firmware (australian) optus/telstra/vodaphone etc
use adb side load *firmware.zip*
factory reset , booted device on with australian sim,
and boom oem was available ,
(last step is to adb reboot bootloader,
and ./fastboot flashing unlock and you will see a message on pixel.
intially with the Original firmware on the device it would not unlock.. i tried factory reset
/ fastboot flashing unlock etc and it would not work...
anyhoo i have not seen anything on here suggested flashing another firmware origin so i thought this might help those with locked at&t / verison carriers, intially it was GREYED OUT AND SAID contact carrier or connect to the internet.
Hope this helps someone ! as all the forums ive swiped thru have said this is not do-able, lol turns out it is.
xorrgnlusrx said:
So i received a american pixel 4 xl with a locked bootloader. imei starting with 35
i was able to unlock the bootloader here is the steps i took, note im in Australia.
Full OTA Images for Nexus and Pixel Devices | Google Play services | Google for Developers
developers.google.com
the firmware on the device was american,
i flashed my countrys firmware (australian) optus/telstra/vodaphone etc
use adb side load *firmware.zip*
factory reset , booted device on with australian sim,
and boom oem was available ,
(last step is to adb reboot bootloader,
and ./fastboot flashing unlock and you will see a message on pixel.
intially with the Original firmware on the device it would not unlock.. i tried factory reset
/ fastboot flashing unlock etc and it would not work...
anyhoo i have not seen anything on here suggested flashing another firmware origin so i thought this might help those with locked at&t / verison carriers, intially it was GREYED OUT AND SAID contact carrier or connect to the internet.
Hope this helps someone ! as all the forums ive swiped thru have said this is not do-able, lol turns out it is.
Click to expand...
Click to collapse
The firmware does not determine whether the bootloader is unlockable.
When the device connects to the Internet, it checks its IMEI against a whitelist on Google's servers. If it has been authorized for bootloader unlock, OEM Unlocking will become available.
If it doesn't, it's likely that you have a locked variant.
V0latyle said:
The firmware does not determine whether the bootloader is unlockable.
When the device connects to the Internet, it checks its IMEI against a whitelist on Google's servers. If it has been authorized for bootloader unlock, OEM Unlocking will become available.
If it doesn't, it's likely that you have a locked variant.
Click to expand...
Click to collapse
What if it is already unlocked and I want to relock it? I flashed stock firmware, the bootloader is still unlocked but now I can't lock it again because the option is greyed out.
emko7 said:
What if it is already unlocked and I want to relock it? I flashed stock firmware, the bootloader is still unlocked but now I can't lock it again because the option is greyed out.
Click to expand...
Click to collapse
The OEM Unlocking toggle does not lock or unlock the bootloader itself. It simply allows you to unlock the bootloader when enabled.
If you want to relock your bootloader, you do this via ADB while in bootloader mode: fastboot flashing lock
V0latyle said:
The OEM Unlocking toggle does not lock or unlock the bootloader itself. It simply allows you to unlock the bootloader when enabled.
If you want to relock your bootloader, you do this via ADB while in bootloader mode: fastboot flashing lock
Click to expand...
Click to collapse
For some reason I couldn't get into fastboot mode, "adb reboot bootloader" would just restart my device. If I booted into recovery, the "reboot into bootloader" option would just start up the phone. But I eventually found out I can lock the bootloader in download mode

Categories

Resources