yashsingh1/xdaforums huggingface dataset:
[Android General] Johncoool:
I think it depends on the model.

For me it did not work that way. It just kept on stopping after 16 attempts with the C# script then my script with he tool would close all of them allowing it to continue every 5 seconds.

There are a total of just under 300K. I think that is the maximum generated from this script. So if it did not find it for you then the code was not part of those.

If you check the directory where you have the C# tool would will notice that it creates a text file that contains the codes for all.

Can anyone confirm if they have faced the same issue like I did with it stopping after a few attempts and then the 2nd script from batch file with the tool would allow it to continue?
[Android General] Saurabh T.H:
Please help me i want to unlock my huawei y6 2018 atu-l31 does this script work on it? Script is working correctly no errors still running but the correct code still not found if if anyone successfully generated the ckde plz reply me
[Android General] Saurabh T.H:
Did you successfully generated your code?
[Android General] Saurabh T.H:
Please reshare the link of compiled program its not working plz plz plz
[Android General] Johncoool:
Yes it worked well with me. I did not use the main script of this thread. I used the 2nd one posted by LukasBBB. The main one did not work for me.

Just be patient. There are less than 300K codes for it to try. It should work.
[Android General] LukasBBB:
Look in GitHub, there is a compiled Version of it under "releases".
[Android General] Saurabh T.H:
Tysm for your reply i will try this 2nd program.
[Android General] Neon2423:
Hey, I have run the complied program and have a text file with the OEM codes that the program produced. What do I do now?
[Android General] Saurabh T.H:
Edit: did your device not unlock after the process finished?
[Android General] Johncoool:
The 2nd did not work properly in its own, as it kept on stopping after about 16 attempts. So I create a 2nd batch script to be used after starting the C# programs that works with a tool. It is all in the thread. You can adjust the timeout to suit your needs.
[Android General] Johncoool:
Can you give more details?
[Android General] Neon2423:
So I ran the compiled code at the bottom of LukasBBB's original post. When I ran it, it only required my IMEI no. and then spit some random lines of numbers out. These were saved in a txt document that has about 300k lines. I'm not sure if I did the process correctly or not but nothing happened to my phone during this process. I tried the python script but when my phone restarted it would go back into android and not fast boot. Which script do I use to unlock the bootloader?
[Android General] Johncoool:
The Python script did not work me either. The script that was posted by LukasBBB is the one that worked for me.

You did not explain if the script stops after showing a few code. It is correct that it will create a file with about 300K codes to try out it is suppose to run through them all and will take 1-2 days.

For me it has stopped after 16 codes so I created another script to be used with a tool to continue after that script stops.

You can find the details it in the thread if required.
[Android General] Neon2423:
The script stops after it hits 298022/298022. It doesn't do anything after that.
[Android General] Saurabh T.H:
If i left does here is any resume method?
[Android General] Johncoool:
Well then it means that the code for your phone is not in those 300K. I am not sure how to get it to generate more. Maybe you can join the Forum from where the script was posted and tell them the results and then request for an update so that they include more codes for people that face your type of problem.
[Android General] Johncoool:
From my experience with it is that the script stops if the phone is not connected and might startup again with the correct key.

Try a couple of tests before leaving it on for too long.
[Android General] shakmalik89:
Hey there!

I am trying to unlock bootloader of Huawei Enjoy 7 (SLA-TL10). I have tried the C# without any success. Currently the python script is running (almost 48.7% completed). Sometimes getting error "Write to device failed(no link)" due to which I have to manually reboot into the bootloader again and continue from the key it had started giving the error.

Can you please share Miracle Box with me if this method fails for me?

Since I am not able to find any original Miracle Box v3.09 on the web.

Also, are you sure it will work without the box?

Update: The error in the Python code was might be due to the issue with the USB data cable. Now, it is running smoothly (62.5% completed and still not found)

Also, I have found a setup file for Miracle Box on "officialroms . com" and currently downloading it.
[Android General] Johncoool:
It seems that you are confused about my comments.

1- Python Script did not work for me at all. It did not run at all.

2- The C# script worked for me with a 2nd script that I created for it to not stop after every 16 attempts. The 2nd script is also in thread. (The issue with this script is that is limited to less than 300K codes and not working for everyone.)

3- The miracle box was not used to open the bootloader. It was only used to check if it worked. The version that I have is 2.58 and it came ready to be run from the same directory. It was downloaded from a torrent site a few years ago.

I recommend the C# solution until it give the fatal error. If it gets to the end without doing that then there is no code. For me the fatal error meant that it is done.

Complete any script that works till the end. It might take days but the point is that it works.
[Android General] shakmalik89:
Oh..Okay, Okay....now I get it.

I have used the C# scripts -- one compiled by @LukasBBB and one given in the release section of the GitHub. For the file compiled by @LukasBBB , it was really fast and I did not find my key in that. Moreover, this script kept on running even when I unplugged my phone.

The compiled file given on the GitHub was almost the same speed as the Python. So, I decided to first complete this Python then will try something else.

Do you have any idea if bootloader unlock codes contain letters too or not. Since I saw many posts on the web saying this.

Thank you so much for clearing out the confusion tho. Peace ✌
[Android General] Johncoool:
The phone that I unlocked is old. It is from 2015. So it is possible that the codes have changed to include letters too.

As for the C# script. I did not run the one that was compiled by LukasBBB. I downloaded the one from the releases section and it worked for me. LukasBBB did compile the same script but it might not work the same.

So consider using the official one from the link. there is also an issue section where you can get support from the script creator and ask him for the needed.

When I ran the C# script it did not stop. It just became slower and gave fatal error. Then I did a check and found the bootloader to be unlocked.

Be careful messing with stuff as it might brick your phone. I did face such issues but then found a solution to flash my phone with official tools to get it working again.

I unplugged the phone now while running the script and it did not stop either but I did when I was using the first time I could stop it by stopping my script also in thread which I needed because the script stopped every 16 times.
[Android General] DragosSo:
Hi there !

I've been trying the phyton and the C, including the batch file used to timeout fastboot.exe.

Everything is working fine, but after a while my device (Huawei P30 lite) is restarting.

No errors, no nothing.

The scrips continue running, but my phone disconnects.

I've downgraded from EMUI 10 to EMUI 9.1

Any suggestions are highly appreciated.

Thanks !
[Android General] Johncoool:
Check if the bootloader got unlocked. Try to flash TWRP recovery.
[Android General] DragosSo:
It's still locked....

It manages to go through a few hundred codes, and after that it restarts.

Definitely, im doing something wrong.

Progress: 10.01%

FAILED (Write to device failed (Too many links))

Progress: 10.01%

FAILED (Write to device failed (Too many links))
[Android General] Johncoool:
[/QUOTE]

Progress

Progress: 10.01%

FAILED (Write to device failed (Too many links))

[/QUOTE]

That is from the Python Script and it did not work for me at all. I can only comment on the C# script.
[Android General] shakmalik89:
You can try to run the Python script again but after changing the

autoreboot = False

to

autoreboot = True

and set the

autorebootcount = 4

to the number of codes script tries before phone restarts. (You can set it to 100 as you say that it restarts after 100 tries. But I had read somewhere on the web that it restarts after 4 or 5 tries.)

This will automatically reboot your phone into bootloader after x tries and the script will continue.

Note: By doing this, the time taken by the script to run completely will also increase. And even then it is not guaranteed that you will find your code.
[Android General] DragosSo:
Thanks everyone for the fast responses.

The C script is currently running.

All that I had to do was to modify (in the script that kills fastboot.exe) the timeout time from 5 seconds to 4 seconds.

Will revert with further details.

The phone restarted again, after an hour and it is still locked. (I've tried again and after 2:40 minutes it restarted).

While the C# script is running, the phone should be in fastboot mode, right ?

(While in fastboot, the phone is giving the following message:

Android reboot reason:

bootloader 1

no

NA

reboot_enter_fastboot_common_func

Phone Locked

FRP Unlock)

and the C script is showing the following error

(remote: device will reboot after 30s due to 5 times of wrong key.)
[Android General] Johncoool:
I did not face that issue with the C# script. It just kept on going till it got the fatal error then I checked it and it was unlocked.

Stop the 2nd script at any time if you want to verify if it got unlocked.
[Android General] DragosSo:
It seems that are others that are facing the 30 sec reboot after 5 tries.

Avoiding 5 attempts 30s delay · Issue #6 · SkyEmie/huawei-honor-unlock-bootloader

Hi, in my case (with a Huawei Mate 10 pro) the phone would reboot into system after 5 attempts requiring me to reboot with adb manually, so I made a minor change, rebooting into fastboot every 4 un...

github.com

Hi, in my case (with a Huawei Mate 10 pro) the phone would reboot into system after 5 attempts requiring me to reboot with adb manually, so I made a minor change, rebooting into fastboot every 4 unsuccessful attempt. Bellow the code

n=0

while(unlock == False):

n+=1

sdrout = str(os.system('fastboot oem unlock '+str(algoOEMcode)))

sdrout = sdrout.split(' ')

for i in sdrout:

if i == 'success':

return(algoOEMcode)

if n%4==0:

n=0

os.system('fastboot reboot bootloader')

algoOEMcode = algoIncrementChecksum(algoOEMcode, checksum)

Since im not familiar at all with this, can someone help me add this piece of code to the C script so i can give it a try ?

Otherwise i think the only solution is to downgrade from EMUI 9.1 to 9.0.

Thank you
[Android General] Johncoool:
If it is not possible to bruteforce your device then you can consider using paid service. There are some that are offering credit to unlock Huawei devices. I think it is like 10$ and could work for more than one. So it might be possible to share it bringing the cost even lower.

I found some people offering the code for free on this forum after they are done using it on theirs. So you could get lucky with it. There are also websites offering username and password for that software but the ones I tried where all already used up.
[Android General] DragosSo:
Thank you for your answer.
[Android General] Johncoool:
Did you manage to get the device unlocked?
[Android General] DragosSo:
Sorry for the late response.

Unfortunately, no. I suspect the phone has a protection. From the research i ve done, it seems the brute force solutions works up to Emui 9.

Starting with Emui 9.0 there were some security patches that closed this oportunity (the 5 wrong tries reboot)

Now i have to understand if it is possible to downgrade to Emui 8.something, even though the phone was released with Emui 9.0.
[Android General] Johncoool:
You need to be careful with changes before you have a way to restore your system.

Before I learned about the need to unlock the bootloader I tried to flash the phone and it caused it to damage the recovery.

After about a year I got back to it and then I found a way to flash the phone while its off to reset it back to default stock then I resumed and eventually got the bootloader unlocked.

So first try to see if there are tools to set it back to default if it gets bricked.
[Android General] DragosSo:
Thanks for the advice. The phones display got recently completly shattered. I can acces the device via scrcpy to rescue my data. Afterwards i will experiment with flashing an older version of Emui.

About unlocking the bootloader, I ve found some website where are sold unlock codes, which states if the device is over Android 8 it is impossible to generate a code and some other sites that sell a program for about 120 USD that can unlock even the latest Huaweis.

Do you think that if the device was released with Android 9, is it possible to flash Android 8?
[Android General] Johncoool:
I am not qualified to answer about your request.

The below link is about the software I was talking about to get the phone unlocked. There are many videos about it.

The below link is to buy credit for it and the pricing. It might be even less than $10.

Buy credits for dongle or user account on DC-unlocker.com

DC-unlocker credits used to unlock devices

www.dc-unlocker.com
[Android General] DragosSo:
They are the ones saying anything above Android 8 cant be unlocked. Hopefully some developments will come up in time.
[Android General] jfberne:
I set the Honor V10 in fastboot mode. Proof:

H:\>fastboot devices

A7QDU18828002137 fastboot

then I run the C program downloaded from the release in github. This program completes suspiciously fast after about 10mn and after trying 300K codes. But the HV10 is not unlocked.

Proof:

>fastboot flash recovery recovery.img

Sending 'recovery' (10652 KB) OKAY [ 0.264s]

Writing 'recovery' FAILED (remote: 'Command not allowed')

fastboot: error: Command failed

>fastboot oem fb_mode_set

FAILED (remote: 'Command not allowed')

fastboot: error: Command failed

I do not see fastboot.exe processes in the task manager so I did not implement your script for nircmd. Is this normal? Should I implement it anyway?

Does any on have an idea, what I am doing wrong?

My HV10 has EMUI 9.1.0. Having read carefully the thread, I think my next try should be to downgrade to 8.XX

Please let me know your comments!

JF
[Android General] Johncoool:
It might be the next required

If you want to try to downgrade your phone or try any kind of major changes. I would say that you should find the method on how to restore it if it bricks. I got the stock recovery damaged and was unable to move forward until I was able to restore mine.

Sony phone have official tools to unlock the bootloader and to flash phone in case it was bricked which I used on two of my Sony phones but it was different on Huawei.

I did find a tool that recovers the old Huawei that I am using while it is switched off. But not sure if the tool works on all models or not.
[Android General] jfberne:
Well for the moment I am unable to downgrade anyway. I followed the method with HiSuite 9.0.2.301 but I do not get the possibility to install an old EMUI.

I am considering buying the bootloader unlock code now...
[Android General] Johncoool:
Ok, Can you update the thread later so that others like you will know more about it. maybe you can share the cost with others like DragosSo.
[Android General] wrsky888:
bro,can you share me Miracle Box?i download 2.58,but not working

by the way,y560-u02 is working?
[Android General] hardcorehenry:
Hi all, I just wanted to let you know that I managed to unlock bootloader in my Huawei p8/p9 lite 2017 PRA-LX1 for free with this tool. Helpfull topics: this one and that one. Fingers crossed;)
[Android General] Johncoool:
Yes it is working normally, I don't have the download torrent. I got it in 2018, I only used it to confirm after the full process completed from the other script.
[Android General] Saurabh T.H:
This tool is only for kirin ☹️ did u know about any tool for snapdragon devices my device is hw y6 2018
[Android General] hardcorehenry:
Well, I can’t recommend software I didn’t proof working and since I don’t own such device like yours no much help from my side…sorry:(

You could try ask developer of the software(from given link) to add support for you device.
[Android General] LexxiHI:
Is possible to brute force bootloader huawei p30 pro?
[Android General] Johncoool:
You are in luck!!!

Sony does not need any of these methods. Sony has official tools to unlock bootloader and unbrick This thread is being used to bruteforce Huawei phones.

I have worked on unlocking My Sony. You can find the details in a my thread of another site.

It should have all the details that you need. If you have issues with it. Then open a new thread and inform me about it.

However, to unbrick the phone it must 1st be unlocked. That is what happened with me.

Root - Rooting device for full control - Solved

I recently had to switch back to my old phone that runs on Android Lollipop because I am not working and can't afford to buy a new phone. The goal is to be able to control app permissions and to stop apps from starting on their own. I found many tutorials online for doing it and I don't want...

androidforums.com
[Android General] fromiOS2Android:
Any News here? I have a p40 pro in desperate need for an unlock... Can someone verify if they have managed to unlock p30, p40, mate 30, mate 40 on emui 10?

I am willing to try any thing and the potatoNV looks interesting. Anyone??
[Android General] fromiOS2Android:
Does anyone hav experience with sigmakey? Is it for real?

The p40 along with other newer models is supported

Huawei Android Smartphones - Sigma - MTK, Qualcomm, Broadcom, TI OMAP based flashing, unlocking, repair IMEI solution

sigmakey.com
[Android General] LycanRS:
Will try bruteforcing my old phones:

P9 Lite

and

P20 Lite

i will let you know, the speed is

1300 keys/min.

so to try all 300,000 keys should take

4 hours
[Android General] LycanRS:
P9 Lite completed with IMEI1 code, no success :(

Now trying with IMEI2

-updated-

No sucess with IMEI2 either..

And P20 Lite is rebooting after 5 wrong tries, so this solution is not possible. :(
[Android General] Johncoool:
I also got error after about 150k attempts. But the error I got was fatal error and when I checked the bootloader after that I found it unlocked.

So it might be the same for you. Just test it.

I worked with me with the c# script.
[Android General] fromiOS2Android:
What phone and what emui version?
[Android General] Johncoool:
Huawei Y560-U02 2015 model running 4.4.2 . I don't know which EMUI. I have posted more details on this thread. You can check more information starting from page 2.
[Android General] [ A K ]:
is there a google pixel xl for device?
[Android General] LexxiHI:
Its possible?
[Android General] fromiOS2Android:
Huawei mate 30 play certified with google pay?

What!!!?
[Android General] fromiOS2Android:
Looks like it:

Dozens of Huawei and Honor devices with Kirin processors can now be bootloader unlocked

Using this open-source tool, you can now unlock the bootloader of several HiSilicon Kirin-powered Huawei and Honor devices. Check it out!

www.xda-developers.com
[Android General] MuffeeChillerrrrr:
Hi, I tried the pre-compiled version by LukasBBB and it runs like this, I've already tried to run it in fastboot using both IMEI with no luck, is there anything that I'm doing wrong, looking at LycanRS's version of the application it runs differently and shows more information regarding the attempt, please help :<

I haven't tried the uncompiled version yet, Im still looking for ways on how to compile it myself

I'm running on EMUI 8.0 if that is important
[Android General] Johncoool:
It seems to be running normally.

Just wait until it completes. I should take less than 2 days. Use my added script if it stops every 16 attempts.

There are other methods found on this page which might also work.
[Android General] Kzb1337:
Hello,any updates here? I have a P20 Emui 9.1 and i wanna try to unlock it ..
[Android General] Gyges854:
Hi, what do you use as IMEI if you have a WiFi only tablet wich does not have an IMEI (I have a CMR-W09 MediaPad M5).

@johncool: Thank you for the script! But why not use TASKKILL /F /IM instead of nircmd?
[Android General] user-001:
How did you guys pressed the volume up keys automatically ? In my device i have to confirm by pressing volume up key each new attempt in the python one. the compiled one didn't do anything in my device, it just created a text file with a bunch of unlock codes.

edit: And keeping it pressed by something also works but it's extremely slow it takes 4 second to confirm after each attempt.
[Android General] Johncoool:
I never used TASKILL. If you use it with a script and it works well for you then update the thread with and post your script so that every one can use it.
[Android General] Johncoool:
It seems that Huawei has improved their security and no one is able to successfully use the Bruteforce bootloader. My device is from 2015 using EUMI 3.0. That is probably why it worked for me.

There are only about 300K codes in that get generated in the script. We probably need someone who knows how to edit the script to include all possibilities. But that might go into the millions and might take too long.

If someone can do it then they should include a way to safely stop the script and continue it at any time even if the PC is rebooted.

Let me know if anyone can do it?
[Android General] Andrei1744:
I have a P8 Lite 2017 (or p9 lite 2017 as it is written on the box). I tried this script for I think like 6 hours and nothing. Should'nt the phone restart every 5 attempts? Mine just sits here in fastboot mode.
[Android General] ineedroot69:
ahaha this is crazy i can't belive someone would think of brute forcing oem unlock code

they selling oem unlock code for $30 ~ $60 yet this guys created a brute force tool (y)
[Android General] Baconmanguy:
can you make a video showing how it works
[Android General] LukasBBB:
Well, i haven't looked into this topic for a while, due to the lack of success. But if I find the time to get back to this method, i will try to make a short video.
[Android General] LukasBBB:
Ohh, i just found this tool, which seems to unlock many huawei and honor phones for free, with much better success rates: https://github.com/mashed-potatoes/PotatoNV

You should rather try that.

Update: ok so this seems kinda risky to me, since you have to open up your phone, so watch out so don't damage your phone.
[Android General] LukasBBB:
Ok little update. Yesterday after I saw this thread and the desperateness of not finding the bootloader code, I bought a DC-Unlocker unlock for 4 €. I can just recommend to avoid all this experimental stuff und drop some euros (or dollars or whatever).

DC-Unlocker just needed some seconds and my phone was unlocked.
[Android General] Baconmanguy:
It doesn't work for me may you make a video on how it works
[Android General] crisan.gabriel:
at me the program closes after a while and then the phone restarts without the bootloader unlocked
[Android General] Benjamin_Dover:
So any updates. I really want to unlock the bootloader of my Huawei p20 lite (European) and I don't want to spend any money. On skyemies website it says that the huawei p20 lite works but has anyone tried it yet or any other options. Also I not going to use PotatoNV bootloader as a option. Does anyone also have a cracked version or something to unlock it. Please I need help!
[Android General] Benjamin_Dover:
anyone tried unlocking the bootloader of huawei p20 lite (european). Also does miracle box have a unlock bootloader option? Please I need help with this.