yashsingh1/xdaforums huggingface dataset:
[Honor 7X  Guides, News, & Discussion] Wh1t3Rose:
Hello All!

I was disappointed when I received my Huawei Mate SE BND-L34 (USA) 2 days ago that I could not unlock the bootloader because Huawei removed the unlock page from their website. Even after talking to support via live chat and email I could not get any help from them. So I decided to do my own research.

DISCLAIMER: THIS WILL WIPE YOUR DEVICE! THIS INCLUDES INTERNAL STORAGE! I am not responsible for any lost data or bricked devices!

Getting your Unlock Code:

1. First you need to go to https://www.dc-unlocker.com/ and register for an account. Do not download their software!

2. Instead download the software at https://hcu-client.com/

3. Install drivers via HiSuite if you have not.

4. View the supported devices page. Now the Mate SE is not listed as a supported device but it did work for my device (Mate SE).

5. Make sure your drivers are installed via HiSuite.

6. Now go into https://www.dc-unlocker.com/buy and buy 4 credits. This is needed for the software. Cost is 4 EUR ($5)

7. Launch HCU-Client and connect your phone.

8. Open the dialer on your phone and enter *#*#2846579#*#* select “Background settings”, “USB ports settings”, “Manufacture mode”.

9. Now in HCU Client log into your account (Check your Email for info) click Read Phone Info.

10. Go to Unlock tab and choose Read Bootloader code. It says it will wipe your device but mine did not get wiped until I unlocked my phone. This will take a couple of minutes. Watch the right terminal window. It should spit out your code.

Using your Unlock Code:

1. Turn off your phone, Boot your device into Fastboot mode with Vol down and power button.

2. CD to where you downloaded ADB/Fastboot Tools

Run these commands when inside ADB tools directory

a) fastboot devices. (your device should bee listed. If not reinstall drivers/reboot)

b) fastboot oem get-bootinfo (just to confirm everything is detected correctly

c) fastboot oem unlock <your_unlock_code>

3. Acknowledge the prompt on your phone. Device will be WIPED!

4. Once the wipe finishes it will take several minutes for phone to boot up. Do not panic. Once you See Huawei logo you are OK!

To root your Mate SE and Install TWRP follow this guide: http://www.desinerd.co.in/how-to-huawei-mate-se-root-twrp-recovery/

Do not use the Magisk Zip in that post. Instead grab it from here: https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Honor 7X  Guides, News, & Discussion] Wh1t3Rose:
Reserved
[Honor 7X  Guides, News, & Discussion] ron580:
dude thanks so much it worked!!! on the honor 7x!!
[Honor 7X  Guides, News, & Discussion] TheSorton:
EDIT: To my surprise it actually worked
[Honor 7X  Guides, News, & Discussion] foltz61:
Anyone else having antivirus flagging the HCU exe as having a virus?
[Honor 7X  Guides, News, & Discussion] Wh1t3Rose:
The tool is safe. It's a false positive. If you are unsure Go read the HCU-Client forums.

Its your decision but I haven't noticed any ill effects. You can always run it in a VM.
[Honor 7X  Guides, News, & Discussion] foltz61:
Ok. Thanks
[Honor 7X  Guides, News, & Discussion] foltz61:
Stupid program won't run on my computer. Saw someone else on the dc-unlocker forums with the same problem. They linked a version to download but the link is dead now. I think this phone really wants to be returned.
[Honor 7X  Guides, News, & Discussion] Wh1t3Rose:
You can try DC-locker instead of HCU-Client. I just find HCU easier to use.

Are u on Windows 10? If not make sure you have latest. NET Framework installed. Try running in compatibility mode.
[Honor 7X  Guides, News, & Discussion] foltz61:
Yes, Win 10. DC-unlocker link in the Android app shows 7x BND-L34 as compatible but it's not in the drop-down box of the Windows app and doesn't get autodetected :).
[Honor 7X  Guides, News, & Discussion] Wh1t3Rose:
Yea only thing I can think of is make sure latest .Net framework is installed and latest Visual C. Maybe try compatibility mode
[Honor 7X  Guides, News, & Discussion] foltz61:
The DC-unlocker problems were my fault. After getting the drivers right, it detected my phone and pulled the unlock code.
[Honor 7X  Guides, News, & Discussion] Barinthos:
Logged into this account for the first time in YEARS just to say thanks a lot for this. I was pretty gutted when I found that Huawei removed their Unlock link and refused to give codes to anyone even via support emails.

I was super hesitant to try this though, I'll admit. Spending money on what (to me) looked like a shady site was the biggest red flag. But decided to bite the bullet and do it.

The only issue I had was that my phone DID get shut down after the bootloader code was read, which caused ADB not to be able to read my phone (adb devices) for some reason. So I had to turn it on, reboot fastboot via adb and then proceed from there. But that was the only issue I had.

So again, thanks a ton for this. :good:
[Honor 7X  Guides, News, & Discussion] Vevima:
Got problems making this work. Hope you don't mind helping an Android newbie.

Step 7 is to "start client". On Windows 10 I had to disable the virus scan just to see the HCU.exe from the extract. When I click on it I get "This application was unable to start correctly 0xc150002". Ideas? A previous step is to install drivers. I downloaded HiSuite and and made sure I could connect to my device. Does "installing drivers" mean something more ? Thanks.
[Honor 7X  Guides, News, & Discussion] Wh1t3Rose:
Nope you are good on the drivers. Nothing else to be done.

As for the error code I recommend disable your Anti-virus and the built in Windows Defender and then re-downloading the program. If it still doesn't work you can try the DC-unlocker program instead of HCU-Client. It should work I just have only used HCU-CLIENT.
[Honor 7X  Guides, News, & Discussion] foltz61:
I had the same problem. I used dc-unlocker instead.
[Honor 7X  Guides, News, & Discussion] Vevima:
Finally got my unlock code! Many thanks to Sandman-007 and foltz61 for their help.

Following instructions from #1 of this thread, I could not (like others here) get the hcu client working on my PC. So here are my instructions on using DC-unlocker instead:

1. Go to consumer.huawei.com / minisite / HiSuite_en/

Download HiSuite. Install it on PC. Connect Phone to PC. In HiSuite click connect to my device.

(May have to enter Developper Mode on Phone: Settings>About Phone>Tap 7 times on your Build number. Enable USB debugging.)

2. Go to www .dc-unlocker .com / buy

Item : New user account, User name you want, Your email, Credits: 4

They will send you a email with a username and password you will need later ...

3. Go to www .dc-unlocker .com / downloads

Download DC-unlocker client to PC. Install it.

4. With Phone still connect to PC, use phone dialer enter *#*#2846579#*#*

Select “Background settings”, “USB ports settings”, “Manufacture mode”.

5. Now start the dc-unlocker client on the PC.

Enter: Huawei Phones (not modems) + Auto Detect + Click Search Icon. You will then see some on your phone info.

6. Click on "Server" and enter your username and password from the email you got at step 2.

7. Click on "Unlocking" + Read Boodloading code. Voila! Copy paste your code somewhere safe!

After giving me my code, my phone shut down. I just re-started it and all was fine.

(To get a better idea, the youtube video v=Lgph755EbKEcovers steps 4 to 7.)
[Honor 7X  Guides, News, & Discussion] mrmazak:
I just did some searching, in my backup images. And I found the unlock code inside the "splash2.img"

/dev/block/mmcblk0p19

Still looking into possible ways to read this from inside the phone, and from locked phone too.

NVM, I think splash2.img is just some type of log file
[Honor 7X  Guides, News, & Discussion] SimpleRick:
Is there any other way to get the bootloader unlock code? I tried to buy credits and they refunded me because my paypal is not verified.

Or does anybody out there have a license and would be willing to run my IMEI to get my code? I am at a loss of what else to do.
[Honor 7X  Guides, News, & Discussion] Wh1t3Rose:
Why don't you just verify your PayPal or use a credit card?

Someone can't just run your IMEI to get an unlock code. Only way is if they reprogram their device to use your IMEI. That's illegal.

You should NEVER under any circumstances just hand it out. Especially with this tool. Someone with this tool could steal your IMEI and knock you offline.
[Honor 7X  Guides, News, & Discussion] sliding_billy:
I broke down and paid Ministry of Solutions for two unlock codes. He has a new method to unlock new devices even on the newest OS (I had two Mate SEs on the one with September security). For this method, he no longer uses Flexihub/Teamviewer. When you pay in PayPal, the form asks for your IMEI and S/N. Everything worked perfect on both phones. Now, I will do some more research on rooting since the root info in this thread (TWRP/Magisk) is pretty old. Now the hard part... Cost was 30 Euro per code (~$35 US). Oh well, it's over. I got the codes 14 hours after placing the order. I have also dealt with him in chat a couple of time, and he has been great. Here is the link to the new solution. https://ministryofsolutions.com/huawei-bootloader-unlock-service-all-new-models-new-firmwares

Edit - I just saw someone posted on the "Honor Re-Opens bootloader Unlocking on a Limited Trial for XDA" thread that they got their code for a Mate SE (they posted that around the same time I posted this of course). Since I didn't get anything based on my XDA submission of the two devices, I am not convinced that it wasn't a mistake that they got one. If nothing else, I am interested to see if I get the codes from the XDA submission and if they are the same as what I got from Ministry of Solutions. I am just chalking the money up to having paid what I would have been willing to pay for an XDA bounty if there were one. https://xdaforums.com/showpost.php?p=77856081&postcount=355
[Honor 7X  Guides, News, & Discussion] mrmazak:
This site :::

https://ministryofsolutions.com/huawei-bootloader-unlock-paid-service-html

Is also from ministry of solutions, but it says $4 for the code
[Honor 7X  Guides, News, & Discussion] sliding_billy:
That method is only possible if you either never upgraded to the July (or whatever month it was) install or can downgrade your OS. Too much hassle there since HiSuite shows now alternate versions to downgrade to and the details around doing it manually are at best sketchy. That method is essentially the same as DC-Unlocker.
[Honor 7X  Guides, News, & Discussion] chickenwingding:
So basically, the people at Ministry of Solutions have discovered some sort of exploit that they are now selling for 30 euroes each, is that correct? So, it's only a matter of time until DC Unlocker or some other place discovers the same exploit, and charges less for it right?
[Honor 7X  Guides, News, & Discussion] sliding_billy:
I am not so sure it is an exploit since they are doing it offline with just the IMEI and S/N. Not sure how they get the codes, but they are using the same information that XDA/Honor were collecting for the unlock requests. My gut tells me there is either a master list of codes or a way to decipher what the code "should" be based on that info.
[Honor 7X  Guides, News, & Discussion] chickenwingding:
Or perhaps they have the same "source" working at Honor, and are getting the codes from them (the same source XDA is getting them from)? Perhaps there is just some development support email and/or executive email that we haven't discovered, that are giving out the codes if contacted. Someone on Reddit on the rooting subreddit mentioned that he emailed someone at Huawei/Honor, and he was able to get unlock codes.
[Honor 7X  Guides, News, & Discussion] sliding_billy:
I was thinking something similar (Ministry having an inside source). I think the Reddit claim might be from someone getting lucky.
[Honor 7X  Guides, News, & Discussion] rexian:
I received an Honor 7x device with EMUI 5.1 / Android 7.0 / Security Patch Feb 1, 2018.

What would be the best / cheapest way to unlock the bootloader to be able to use internationally as needed? Would the $4 unlock method described above work? Thanks!
[Honor 7X  Guides, News, & Discussion] rexian:
It worked! I had to get Paypal verified in order to have their system accept the credit and that was it. Thanks Wh1t3Rose!
[Honor 7X  Guides, News, & Discussion] intospaced:
Does this also work with Android 8? DC Unlocker isnt supported for Android 8+

What can I do? Am I ****ed? The only way to downgrade would be to unlock, which is now impossible

---------- Post added at 12:53 AM ---------- Previous post was at 12:32 AM ----------

oOOOO it even worked on a P10 Plus with Android 8

THANK YOU
[Honor 7X  Guides, News, & Discussion] GhostDrakon123:
Do you know if Huawei Maya MYA-L13 can unlock the bootloader with dc unlocker??
[Honor 7X  Guides, News, & Discussion] CollisionFactor:
Could anyone confirm this method worked on the 7x running EMUI 8 with android 8.0? I saw the previous post mention a different model on android 8...
[Honor 7X  Guides, News, & Discussion] Capadac:
kinda costly through ministryofsolutions but it worked....my device is now free. Just sucks that honor/huawei felt the need to stop us from unlocking our phones.
[Honor 7X  Guides, News, & Discussion] Ragarianok:
It's telling me that I need to enable oem unlock but there's no option in developer's settings. I'm currently on 8.0 April 1, 2018 patch.
[Honor 7X  Guides, News, & Discussion] roadrunner4spd:
mate se phone developer settings
[Honor 7X  Guides, News, & Discussion] jeko99:
Hello friends I know how stupid and unpleasant it sounds but I want to ask someone can give me an HCU account to unlock my bootloader because I just do not have money in my paypal anywhere my parents do not give me money for this thing and just do not know how to do it unlock please for an account if someone has or if there is a way to flash custom rom with locked bootloader.

Thank you for your attention
[Honor 7X  Guides, News, & Discussion] Ragarianok:
How do you go through three different phones in one month but not have money to use for an HCU account?
[Honor 7X  Guides, News, & Discussion] jeko99:
No, no this phones is not mine i just ask for my friends from my profile :D
[Honor 7X  Guides, News, & Discussion] mrmazak:
new alternative is in development.

https://xdaforums.com/9-lite/how-to/unlock-bootloader-code-t3859685
[Honor 7X  Guides, News, & Discussion] stingwraith:
Well, let's break it down. After visiting the website I found that they require you to already have installed TeamViewer, Flexihub, and hisuite. TeamViewer will undoubtedly be needed for the majority of the work for obvious reasons. Hisuite is also a relatively obvious requirement. The real question lies with Flexihub. Flexihub is USB-over-TCP/IP software. Now one would assume they're using this to access the Android device from their end(having confirmed connection details visually via TeamViewer). This is incredibly sketchy as they could just open adb on the user's PC and do their magic right in front of the user. Refusing to do this would lead me to believe they don't want the user to see what they are doing. If that had an existing list of codes based off of SN and IMEI, they wouldn't need to hide anything as they would simply be typing the code from their list.

All of this combined leads me to believe they ARE in fact using an exploit that could just as easily be conducted by anybody, but they're instead choosing to charge for this.

Pardon the language but **** these greedy ****s.

They're just as bad as Huawei who put us in this situation in the first place. Worse actually, they're profiting off of it!
[Honor 7X  Guides, News, & Discussion] sliding_billy:
I think you are looking at the wrong link at the MoS site. The old $4 solution required TeamViewer, Flexihub, Hisuite. I assume they were just using the DC-Unlocker solution remotely on your phone. The 30 euro solution (click on "click here" link for new devices on the paid unlock page) for new devices/latest security patches does not. I assume you read my other posts, but based on your post maybe you didn't. All that was required was IMEI and S/N sent during PayPal payment from the window that pops up. Not only was none of the software you mentioned required in advance, I do not and never had any of it. I contacted them before doing it since I had no interest if they needed to remote in to do the work. I don't think they are profiting as much as you think for the code. I believe they are being charged for the codes, and they are marking it up a bit as well. Likely, the codes are being provided by someone who works for Huawei and has access to the master key generator.
[Honor 7X  Guides, News, & Discussion] stingwraith:
Well of course, this was all speculation anyway.

Regardless, they're deciding to profit off of something that's generally free simply because they can. Still super shady... Not to mention we as the owners of the device technically own the codes they're using "for us". If I bought a Windows or Linux device and couldn't run programs as admin I'd be furious. This is no different.
[Honor 7X  Guides, News, & Discussion] TiTiB:
This whole locked bootloader sh*t is new to me (previous devices were Kindle Fire, Samsung, and Blu). If I had known about Huawei's B.S. I never would have even considered buying one of their products—as it is I now own two, purchased almost at the same time. In my country we believe in freedom of choice, and I believe that once I purchase a product I can do whatever I want with it. As it stands I cannot do what I want and Huawei owns *me*—something that angers me very much!
[Honor 7X  Guides, News, & Discussion] sliding_billy:
I am fine with locked bootloaders when it comes to phones on a payment plan, but since these are owned they worst they should be able to do is withhold warranty service (especially if you are unlocking by way of an unlock code that uses your IMEI and S/N and not an untraceable exploit).
[Honor 7X  Guides, News, & Discussion] uhsarp:
I keep getting this error. I already set the USB to "Manufacturer" mode. Anyone facing the same issue?

https://imgur.com/a/AiyiZAM

It does read the phone when I put the phone in Fastboot mode. But it fails while reading the bootloader code.
[Honor 7X  Guides, News, & Discussion] mallna:
It worked for my Huawei Mate 9. Bootloader is unlocked. Thanks for the guide.:good:
[Honor 7X  Guides, News, & Discussion] sliding_billy:
I am looking for some root help regarding the Mate SE. I've got two BL unlocked devices (technically, my sons have them) running 8.0.0.345(C567) https://xdaforums.com/showpost.php?p=78047975&postcount=554. The OP here was last edited 24th April 2018, so I am not confident that the root instructions are up to date or even still work on this build. With the holidays coming up, I've got some time to work on their phones and they have time to get everything back in order after the factory reset that installing no verity will perform. I had waited just in case a major upgrade to the OS occurred, but I'm getting the feeling that it will be nothing but security patches from here on out.

I have been rooting devices for a long time, though I have got off a little easy for the last couple of years running the OG Pixel and PIxel XL and now the Pixel 3 and Pixel 3 XL all getting monthly factory images that just need installed with TWRP/Magisk (and Super SU before) reinstall after. Any assistance with the Mate SE root process or things to know in the future would be very helpful.
[Honor 7X  Guides, News, & Discussion] mrmazak:
If devices are already bootloader unlocked, then there should NOT be any reset needed.

option 1: flash twrp, boot into the recovery and flash magisk 17.1 (current version)

option 2: keep stock recovery and install magisk manager. Use it to patch the ramdisk file (you will need to extract the ramdisk file from update.app) and flash the patched ramdisk with fastboot

remember TWRP , CAN mess up stock device. Do not use the wipe function. Because Hauwei has system files on /data. Twrp will just erase them when using wipe.

thats it
[Honor 7X  Guides, News, & Discussion] sliding_billy:
---------- Post added at 08:39 AM ---------- Previous post was at 08:09 AM ----------

[/COLOR]

That is great news. Thanks! I assumed no verify was necessary to get TWRP working right on the device (decrypting). Which version of TWRP, BTW (if you have a link, great)? Mate SE is not listed on twrp.me. I assume fastboot flash [twrp].zip from the bootloader/fastboot screen. I've got used to having to fastboot boot the [twrp].img temp version due to the Pixel partitioning and then installing the .zip from the temp version (or not even bothering installing and just using the .img as needed while keeping recovery stock).

I appreciate the words of caution with TWRP. I haven't bothered with the TWRP wipe commands in years unless I am really trying to wipe the device to trash it or trade it in. I do plan on option 1 since the ramdisk patch is just one more PITA to deal with. Are nandroid backups working OK? Which selections to backup and restore? For now, I just plan on stock and rooted so I can delete or freeze some bloat, but at some point I may feel like playing with some ROMs.
[Honor 7X  Guides, News, & Discussion] mrmazak:
AAAHH,

you didn't mention wanting to decrypt the /data partition. That will definitely need a wipe.

these devices do not work with fastboot boot xxx.img

recovery flashing is

fastboot flash recovery_ramdisk twrp-file-name

no backup - restore for /data because of encryption.

but while on emui, they have better option ( my opinion ) there backup app is built into software. does apps, messages, call log etc. And can be set to save on external sdcard, or connected pc

I keep twrp installed for recovery purposes. flashing hwota if needed, and to flash magisk. The stock firmware is available with ability to extract separate images if needed. Those images can be flashed in twrp or fastboot (only certain ones. if other one needed i do fullOTA with HWOTA)

Anytime if i need to do a wipe, i fastboot flash theh stock recovery, do the wipe, then fastboot flash twrp back again.
[Honor 7X  Guides, News, & Discussion] sliding_billy:
Thanks for all the help! I just noticed I typed fastboot flash [twrp].zip instead of .img. When you say "fastboot flash recovery_ramdisk twrp-file-name," do you mean twrp-file-name.img? I knew it didn't work with fastboot boot, just comparing the Pixel method.

If it is not necessary to decrypt /data, I won't bother. The instructions just made it sound like a requirement.

Great info on the built in backup app. It's there, I just have never used it.

As for installing twrp vs using the stock recovery, is there a simple enough way to accept an OTA with TWRP installed (like flashing the stock recovery before accepting the OTA - if so, where is the stock recovery file located)?

Last thing (for now)... I don't see the Mate SE listed for hwota, and I snuck this question into my last reply but what version of TWRP is working? I'm going to get my skills straight for this device after years of Pixel laziness. ;)
[Honor 7X  Guides, News, & Discussion] mrmazak:
There is no ota with twrp installed. Always bad combo there.

Mate se is fine with hwota. I have it listed as should work with any hi6250 (this includes mate se)

I have been using the twrp from p 10 lite. It seems to be best for me.

I use the 0.5 version. It works best woks best custom gsi ROM.

I believe the 0.3 will allow reading the encrypted internal, but it only works with stock emui.
[Honor 7X  Guides, News, & Discussion] sliding_billy:
Excellent, Thanks!
[Honor 7X  Guides, News, & Discussion] sliding_billy:
0.5 is obviously a test build, but does it view encrypted internal? Is there a reason to use 0.3 instead of 0.4?
[Honor 7X  Guides, News, & Discussion] mrmazak:
No, 0.5 does not view the encrypted internal.

But the one that can view it does not boot on custom ROM, so gotta choose based on that.

4 probably will work too, I just gave you the names of the ones I use.