yashsingh1/xdaforums huggingface dataset:
[Huawei Mate 20 Pro Guides, News, & Discussion] protuger:
Do you have the base that are approved on Optus list?

I'am able to unlock bootloader and gain root but when I installed B212 it failed and goes to bootloop. Now Dload to sort everything out.
[Huawei Mate 20 Pro Guides, News, & Discussion] protuger:
I can confirm this method works thanks to [MENTION=7530018]oslo83[/MENTION]. :good:
[Huawei Mate 20 Pro Guides, News, & Discussion] taufnd:
how i can get unlock bootloader huawei mate 20 pro EMUI 9.1

how i can get unlock bootloader huawei mate 20 pro EMUI 9.1 ?? funkyhuawei stop this service and dc-unlocker not supported this model

:(:(:(:(:(:(:(
[Huawei Mate 20 Pro Guides, News, & Discussion] ilos:
no more unlock code for now. and pls, you have 2 posts and the 2 are the same : asking how to find unlock code... (the other post was in xposed thread)

use search button about unlock code and you will find correct topic about it.
[Huawei Mate 20 Pro Guides, News, & Discussion] long144000:
have you got the bootloader relocked?
[Huawei Mate 20 Pro Guides, News, & Discussion] potyqa:
did you ever solve it?
[Huawei Mate 20 Pro Guides, News, & Discussion] oslo83:
Wipe device before relocking.

Or just do a Hisuite's restore to get lock and not relock status.
[Huawei Mate 20 Pro Guides, News, & Discussion] potyqa:
Dude you're a legend! I never thought a thing as simple as a factory reset could solve my problem! Thank you so much! If anyone is wondering, I used erecovery to restore stock emui and unticked OEM unlocking in the settings before wiping the phone.
[Huawei Mate 20 Pro Guides, News, & Discussion] ottjoshua:
Any update on codes?

Hey everyone, it looks like I am coming in a little late to the party. I just bought a Huawei Mate 20 Pro because all the Samsungs in the U.S. are locked. I did a few google searches before buying to make sure there were roots available; however, I didn't know there was a shortage of bootloader codes going on.. So far the mate 20 pro is way better than anything I could buy at my local t-mobile but I bought it so I could root. Is there any way to get the codes? I don't even really care about price.
[Huawei Mate 20 Pro Guides, News, & Discussion] agarth1050:
In the same position. Looking at funkyhuawei as a possible option.
[Huawei Mate 20 Pro Guides, News, & Discussion] auipga:
I bought mine from https://global-unlocking-solutions.miiduu.com/bootloader-unlock-codes-choose-model-below in march for 31 $. A few days later the price dropped to about 6 $ if I remember correctly. So the price is very volatile. Right now they want 45$...

You don't need to provide a correct address but credit card information.
[Huawei Mate 20 Pro Guides, News, & Discussion] ottjoshua:
I tried but the guy on WhatsApp says he can't get anymore right now
[Huawei Mate 20 Pro Guides, News, & Discussion] ottjoshua:
Does anybody have any update? Is anyone working on the hashes? Is there another way? I have an LYA-L29 and one old post I read, said I didn't even need a code. Was this requirement for a code added in a later update? Can I go back to a previous version and unlock that way? Any info would be great!
[Huawei Mate 20 Pro Guides, News, & Discussion] User422:
You need the code to root your device.

The codes are - for whatever reason - only available for limited times.

When they are you can get them for as low as 6 bucks and the different services usually have them all at the same time too.

But even when you have the code, rooting this one is a big hassle.

I have rooted my device once, needed to fix something and in the process lost root.

It didn't root again with the same procedure and anything I've tried.

The phone is great but rooting this thing is no fun.
[Huawei Mate 20 Pro Guides, News, & Discussion] bit032:
can you install twrp and still getting ota updates?
[Huawei Mate 20 Pro Guides, News, & Discussion] User422:
It should be working but I didn't try ota updates while I had TWRP.
[Huawei Mate 20 Pro Guides, News, & Discussion] JFenlon:
I haven't been rooted since installing EMUI 9.1 a while back. Is the information in the first post still upto date? Or do we have to use TWRP now?

Thanks
[Huawei Mate 20 Pro Guides, News, & Discussion] Cargonausorus:
Hello, coming back to the forum since. I am looking to install the TWRP Recovery for Rooted Mate 20 Pro LYA-L29 Android 9 Version 9.0.0.266 C432. Knowing that I finally have an unlocked OEM version. But when I go fastboot mode I have FRP unlock but Phone Locked in green ??? Several hours spent on XDA (knowing that I am light level English) but I struggle to find a viable solution. Whenever I want to install recovery via fasboot there is a FAILED error (remote: command not allowed), it does not work.
[Huawei Mate 20 Pro Guides, News, & Discussion] sjgoel:
I bought a new LYA-L029, and the "OEM unlock" is not greyed out. I am on 9.1.0.310 (C432E10R)

Do I still need the Funkyhuawei code?

I started to unlock bootloader but could not.

1) The command "adb devices" does not recognise the device, though "fastboot devices" shows a device number.

2) When booted the device manually into fastboot, the screen shows "FRP locked." Get "ERROR: fastboot check password failed."

Please help.
[Huawei Mate 20 Pro Guides, News, & Discussion] Daniehabazin:
you still have to unlock the bootloader with a unlock code
[Huawei Mate 20 Pro Guides, News, & Discussion] kurzd:
Hi

I want to unlock my Bootloader of the Huawei Mate 20 Pro.

But, i can't find any codes online. FunkyHuawei doesnt support the codes now. :(

What can i do?
[Huawei Mate 20 Pro Guides, News, & Discussion] Abaddon:
Wait. That's all we can do right now. Unless you know someone from China and works at Huawei that can provide codes.
[Huawei Mate 20 Pro Guides, News, & Discussion] frantech2:
Hi everyone... Is there any changes that I should apply for getting root access by 9.1? I unlocked bootloader and I cannot install TWRP.. Trying to flash some recovery img and now I cannot erase phone or use dload method to be back to 320 without unlocked bootloader.. Only chance to go further... Otherwise bootloop if I try to erase, erecovery not failed finding packages... Can anyone help? Tnx in advance

I have lya 09/9.1.0 320
[Huawei Mate 20 Pro Guides, News, & Discussion] Deevusone:
Is the bootloader unlock code locked to the IMEI? As in, once I have the code, I can continue to use the same code over and over again? Or does it change?
[Huawei Mate 20 Pro Guides, News, & Discussion] Minotaur:
It's based on the IMEI and is different for every phone. However it will work again on the same phone if you need to unlock again (after an official FW update for example)
[Huawei Mate 20 Pro Guides, News, & Discussion] trainfire:
Hi. Me and my wife has the same Mate 20 pro and I also rooted both of our phones at the same time. Everything is the same, and it works really good, except on my wifes phone, after some usage it starts rebooting randomly (once a day maybe) and when it does it reboots normally, not into recovery so root is not working then. We cannot boot it into recovery with holding volume up and power like normal, but connecting it to the pc then rebooting using "adb reboot recovery" works like a charm. Any ideas what may cause this? Or maybe a way to force it into recovery without pc.

Any help would be appreciated.

Thanks
[Huawei Mate 20 Pro Guides, News, & Discussion] oslo83:
On Emui9.1, VolumeUp @ boot does not bring anymore recovery mode : Normal Emui9.1 behavior.

Do a Direct Magisk install straight from MagiskManager, when you are on MagiskManager STABLE repo and with 'RECOVERY Mode' option checked in lain MagiskManagerScreen
[Huawei Mate 20 Pro Guides, News, & Discussion] Olalaekan:
i want to buy a mate 20 pro from a friend and i can't do without root (Titanium Backup)... the firmware on the phone is 278... can it be rooted ????
[Huawei Mate 20 Pro Guides, News, & Discussion] dimon222:
Unlocking of bootloader requires to get individual unique code which is currently not being given to anyone

More detailed answer - https://xdaforums.com/mate-20-pro/how-to/huawei-bootloader-root-t3919494/post79296679
[Huawei Mate 20 Pro Guides, News, & Discussion] theohtc:
Hello everybody

Pless can Sam one help me withe this bootloder think I have ...lya.l09 thx and happy Christmas for all ;)
[Huawei Mate 20 Pro Guides, News, & Discussion] Loki[ITA]:
Hi guys, anyone has tried this one to unlock the bootloader?

https://github.com/SkyEmie/huawei-honor-unlock-bootloader
[Huawei Mate 20 Pro Guides, News, & Discussion] dimon222:
It's statistically unreal to brute force the code. After every 5 wrong tries, phone is rebooting to regular mode automatically. The device while all this happening is using 100% brightness and momentarily gets hot.

It will take decades, and computational power/electricity costs would be higher than buying new Xiaomi with easy unlocks. Huawei will simply overheat and burn by this time.

Even if u get the code somehow, on Emui 10 Huawei completely removed bootloader unlock command, so that means you will be permanently stuck on your own without any support from development community (there's nobody to develop...)
[Huawei Mate 20 Pro Guides, News, & Discussion] Valkiry:
Very well said. This device didn't get the support it really should have, due to the fact of the ****ty bootloader system. Turned too many devs away
[Huawei Mate 20 Pro Guides, News, & Discussion] mahan21:
I have the latest fw right now. I have my bootloader unlocked. can I root it despite having my fw recently updated last week?
[Huawei Mate 20 Pro Guides, News, & Discussion] dimon222:
EMUI 10? It cannot be true, since upgrading to EMUI 10 locks bootloader back, and there's no way to unlock it in EMUI 10.
[Huawei Mate 20 Pro Guides, News, & Discussion] xeroxide:
yep and this is the last Huawei device I will own while they force this stance.

I wanted to support them even though they were almost "banned" in my country. All the claims and so called proof seemed vague, and until proof was solid, I was happy to continue using this phone.

But, this sort of tyrannical boot loader lock mentality goes against my very core

I have my unlock code but can't use it in emui10.

I'll jump ship as soon as something worth upgrading to comes along (better camera/battery life -- very hard to beat the m20p in this regard)
[Huawei Mate 20 Pro Guides, News, & Discussion] Dav21t:
Im on latest EMUI 10 and my Bootloader is unlocked too, im from Germany. It was unlocked from Factory, i dont had to buy a Unlock key or something.
[Huawei Mate 20 Pro Guides, News, & Discussion] oslo83:
Could you confirm your bootloader is still actually unlocked on emui10 ?
[Huawei Mate 20 Pro Guides, News, & Discussion] Dav21t:
Yes, take a look on YouTube where i uploaded the proof. And i literally got the Update to .214. I will upload a send video once i updated. Sorry Bad English

Heres the yt link: [youtube]KnziQHGeBS8[/youtube]

Edit: Heres the Second Video on. 214

The yt link: [youtube]s0Yl2U7WUtU[/youtube]
[Huawei Mate 20 Pro Guides, News, & Discussion] xeroxide:
yes that remains, that option lets you unlock the bootloader but you cannot use the commands in fastboot because the executable required to run are missing.

fastboot oem unlock ****code****

no longer works, it comes back with a command not found error making the first step useless.

please if you or anyone has found a way around this issue, I'd love to know.
[Huawei Mate 20 Pro Guides, News, & Discussion] Dav21t:
oh i didn't even knew that :/ sorry for that
[Huawei Mate 20 Pro Guides, News, & Discussion] oslo83:
This is only oem-frp unlock on emui10. Not bootloader unlock. on emui10. You are mistaken.

---------- Post added at 15:07 ---------- Previous post was at 15:05 ----------

For now, if you want your bootloader unlocked back with its unlock code you already have, just use hisuite update option (Switch to other version) to rollback to emui9...
[Huawei Mate 20 Pro Guides, News, & Discussion] dodo34:
Any news for unlocking the bootloader on EMUI10 ?
[Huawei Mate 20 Pro Guides, News, & Discussion] kala123:
Damn, I just switched and dumped my iphone(Dont like it at all..) and bought mate p20 pro and now I read that I cant unlock the bootloader. FFS. Right now the phone is offering me to update EMUI to v10.0.0.180. I hold this update back and maybe there will be some way to unlock and root this phone in v9.1....
[Huawei Mate 20 Pro Guides, News, & Discussion] cbx572:
With the "Virtual Android" app you can get the root ... But on our mate 20 pro it is not possible ... Why?
[Huawei Mate 20 Pro Guides, News, & Discussion] Newbie at this:
No BL Unlock? Bye bye Huawei!

I upgraded to the Mate20 Pro 20 months ago, from a Samsung S7 Edge *still a capable device and naturally has been rooted and a custom ROM now as a backup phone* .

Huawei's decision to apparently permanently lock the devices BL so it can't be rooted or custom ROM'd etc, really has 100% decided that I will never own one of their devices again. Quite a shame really as shortly after I got the Mate20 Pro I actually got to really like & enjoy using it, and said then "next upgrade will be another Huawei"!

A strange and possibly questionable decision to treat buyers & owners of Huawei devices by locking to their own firmware only. Sure I can imagine a large number of people don't mind and just use their chosen phone as purchased, and there is certainly nothing wrong with that at all.

But it does feel insulting and a slap in the face if you wanted to modify it at some point, we pay good money to buy new devices after all. Bye bye HUAWEI!
[Huawei Mate 20 Pro Guides, News, & Discussion] K14_Deploy:
Is there hope?

Has anyone tried fastboot oem unlock-go on this? What it should do is immediately unlock bootloader.

It's a method borrowed from a Lenovo device, but it seems that nobody had tried it here. I would try it, but I really can't afford to lose the data on what is a daily driver phone. I already lost the data on a Lenovo tablet because I expected there to be a confirmation message or SOMETHING of a safety net. If it does work, let us know and I shall try it as soon as I switch to OnePlus. Then maybe we can finally get android dev rolling on this thing...

Other than that, is there something we can exploit in Huawei's DLOAD system in the same way we exploited Samsung's ODIN system?

Sidenote: I am not a developer, nor do I claim to be. I just use custom ROMs. I can probably make a ROM build, but it would take time. This isn't my area of expertise at all sadly.
[Huawei Mate 20 Pro Guides, News, & Discussion] dimon222:
[MENTION=11158061]K14_Deploy[/MENTION]

What do you mean? Doesn't first post already include instruction on running "fastboot oem unlock"?
[Huawei Mate 20 Pro Guides, News, & Discussion] K14_Deploy:
It's not the same command. It acts very differently. The -go makes it a valid command on the Lenovo, so it may work as well here.

I believe that getting in is the hard part. The rest is sure to be a cakewalk. I was just giving ideas of how we might be able to get in. Does Huawei supply the source code for DLOAD?

Thanks for replying by the way.
[Huawei Mate 20 Pro Guides, News, & Discussion] dimon222:
[MENTION=11158061]K14_Deploy[/MENTION]

No, this command is OEM specific and doesn't exist on Huawei's fastboot listing. Our device simply doesn't have it. In EMUI 9 and earlier Huawei had only "fastboot oem unlock UNLOCK CODE" command. Beginning with EMUI 10 Huawei completely flushed away this command from fastboot, and on top of it, locked automatically bootloader back for whoever had it unlocked. There's no way to bypass it even for people who were able to get bootloader unlock code previously. Also, you can't dump DLOAD without root, but to get root you need to get unlocked bootloader. Chicken and egg.

Tl;Dr best we could try is Project Treble with worse stability, but I'm not risking to brick this device honestly
[Huawei Mate 20 Pro Guides, News, & Discussion] K14_Deploy:
There has to be a way. Pretty sure there's laws involved here. I know for a fact that providing kernel code (or something) isr required by law.

DLOAD works by plugging the drive in and turning the device on. It doesn't care about root or bootloader. Very similar to ODIN in this regard, but it's self contained. If we could make a DLOAD file that replaced the recovery (we know it's possible, since recovery is updated through OTA in many cases) with TWRP or OrangeFox then we have a way in. Samsung doesn't allow unlocks either, but we wrote TWRP with the ODIN tool, so it's not even necessary. DLOAD is designed for flashing a carrier specific ROM. What would it take to replace that with LAOS? The only downside of DLOAD is that it wipes the entire storage, which makes loading a a ROM more complex.

You need an unlocked bootloader to load a GSI. And even then, it's not Qualcomm based so good luck. Honestly, it's useless to me if I can't put a ROM on it after I upgrade so bricking it doesn't really affect me that much.

Still, there must be something. I run 10.1 and have an OEM unlock switch in my OS. Maybe it's a specific command that nobody knows. I shall mess with it when I get a OnePlus.

Maybe I shall inquire about DLOAD on the Huawei subreddit. Doubt they will listen, but they might offer advice.
[Huawei Mate 20 Pro Guides, News, & Discussion] dimon222:
[MENTION=11158061]K14_Deploy[/MENTION]

For sure you could give it a try, tho, they don't read Reddit. Their crew is sitting in Huawei official forums and they occasionally respond to any communication there and on twitter with wording "It's not safe to unlock bootloader for end user, so beginning few years ago we no longer allow to do that". It's really a dead end.

They do have their variant of ODIN, the Huawei Flash Tool (you can find it in nearby threads about flashing official firmwares with locked bootloader), but it requires to boot in Huawei download mode, which does signature verification of firmware archive to ensure that it's verified Huawei official firmware (similar to vbmeta of Samsung, but with no public way to override). There's no modified variant of this "download mode" subsystem and no public method to impact on it. Before running actual flashing of firmware, it will first flash the stock recovery that is embedded to this dload zip by huawei, then apply factory reset, and flash the verified firmware after. During all this process you can't preserve root or anything (factory reset is important part of process). On top of it, when jumping from EMUI 9.1 to EMUI 10 new bootloader gets flashed without unlock command available with factory reset of unlock status.

To make stuff even more complicated, they added headache in new filesystem EROFS in EMUI 9.1 which made whole development community to just ditch away Huawei, rather than rewrite whole stack of software that does repacking of firmware in classic ext4. But it's less related to topic.

What you want to know - it's complicated, and in most of cases efforts not worth it. At this rate it might cheaper (time-wise) to just buy new phone from another brand that has a different vision on custom ROMs. Pixel, OnePlus, Xiaomi, etc
[Huawei Mate 20 Pro Guides, News, & Discussion] K14_Deploy:
[MENTION=2995915]dimon222[/MENTION]

I shall try the environmental argument. Let's see how they like that.

Probably been tried before, but maybe it can be tried again.

Locking down DLOAD to their firmware isn't a good sign. Breaking companies encryption isn't something we tend to do on here. File system they're using isn't really here or there, we can probably change or ourselves. Either in whatever recovery or with an SPI flasher.

I have other devices with include an already modded LG G5. I just want to be able to run lineageos on here. And unfortunately that doesn't seem like it's going to be possible. Maybe we can pester Huawei for the source code like we did Lenovo for the Tab 4 series.
[Huawei Mate 20 Pro Guides, News, & Discussion] blackspp:
Kernel code or something? So you don't know for a fact.

BTW, which law, in which country are you referring to?
[Huawei Mate 20 Pro Guides, News, & Discussion] K14_Deploy:
I was referring to source code. There was a manure storm on the Lenovo forums that I can no longer find about how Lenovo took forever to publish it, even though it was said (might have been USA so it probably doesn't help this device) that they were legally bound to do so. They did eventually, but 6 months after it came out.

The lack of USA presence probably means Huawei is not subject to this rule. Source code includes kernel code and is how custom ROMs can be built for Android devices. At least this is my understanding.

Or they might have released the source code and made it basically impossible to use because of non unlockable bootloader, I cannot say. What I can say is I am willing to push Huawei for a solution.
[Huawei Mate 20 Pro Guides, News, & Discussion] Shadabd.k:
Plz halp me
[Huawei Mate 20 Pro Guides, News, & Discussion] flyl0:
Don't expect any help with just a plz help me lol

We can't guess what help you need.
[Huawei Mate 20 Pro Guides, News, & Discussion] donkeyman1234:
There is still a hope, I finally got my mate 20 pro unlocked. Rooted as well.
[Huawei Mate 20 Pro Guides, News, & Discussion] temijun:
I have an unlocked bootloader L29 running 9.1.0.301.

I followed the instructions got everything flashed. But everytime I boot into recovery mode it shows me an erecovery with a bunch of options, I'm not sure how to continue from a normal boot with magisk loaded.
[Huawei Mate 20 Pro Guides, News, & Discussion] mutahharbashir:
Disconnect phone from computer before starting phone
[Huawei Mate 20 Pro Guides, News, & Discussion] flyl0:
this phone is no longer of interest to developers, and we cannot root Android 10 and 11 so there is no hope for custom roms development
[Huawei Mate 20 Pro Guides, News, & Discussion] donkeyman1234:
Too bad we cannot root 10 and 11, my last huawei phone.
[Huawei Mate 20 Pro Guides, News, & Discussion] flyl0:
My last one too sadly
[Huawei Mate 20 Pro Guides, News, & Discussion] yjjmpl:
Why can't I see anything?
[Huawei Mate 20 Pro Guides, News, & Discussion] jawadshaalan:
I get this message : your divece is unlocked and cant be trrusted . It goes to huawei erecovery though I have tried installing twrp through fastboot. I get a message saying "okay" but still goes to huawei recovery. Any idea?
[Huawei Mate 20 Pro Guides, News, & Discussion] twisted89:
There's so much missing information in this thread -

Easy way to get magisk and keep it without booting to recovery every time (tested on 9.1):

1. Download latest twrp from here https://twrp.me/huawei/huaweip20pro.html

2. Install magisk manager and patch the twrp image

3. Boot to fast boot and flash magisk patched img

4. reboot into erecovery, select wipe and continue (this didn't actually wipe anything for me)

5. reboot into phone normally, magisk will now be permanent.
[Huawei Mate 20 Pro Guides, News, & Discussion] WhyExactlyIsTha:
I may have a really dumb question: Why is it that in every single post I ever found to this, the "unlock code" can only be obtained by some dubious "paid" services? Where do THEY get them from, hmm?

Do they work for huawei? Do you work for huawei? Surely they do not get the code from Huawei for my phone, instantly, when even Huawei does not offer the service anymore?

So where and how do they get the codes? Why can I not find the code myself? I am pretty sure I can do it myself.

I would rather pay 55 USD for a guide that explains to me in minute detail how they obtain the code themselves, than unlocking the device, simply to save time, and still have learned something.

If I do not get that information, I will simply throw it in the bin, where all huawei devices belong after all, and buy me another one to play around with. It is as simple as that.
[Huawei Mate 20 Pro Guides, News, & Discussion] mutahharbashir:
Don't throw in dustbin

Donate it to someone 👍