FORUMS

Alternative method of unlocking the bootloader - without code from HUAWEI

1 posts
Thanks Meter: 24
 
By NayeBunny, Junior Member on 3rd June 2018, 07:37 PM
Post Reply Email Thread
Unlocking the bootloader and rooting will expose you to a loss of warranty.
You do everything at your own risk.



The method is to pull the unlock code from the phone. For this we will need root. You can only root for a blocked bootloader on Android 5.0. So:
1. If you do not have Android 5.0, do a downgrade.
How to go on Android 5.0 (downgrade):
1. Download Rollback and B170,
2. Unpack the rollback and upload update.app to the dload folder on your phone,
3. Turn off the phone, then hold vol +, vol- and power. The phone will install a rollback
4. Unpack B170 and put in the dload folder on your phone,
5. Turn off the phone, then hold vol +, vol- and power. The phone will install B170.

2. Root your phone with KingRoot,
3. Download Minimal ADB and fastboot, connect the phone in USB Debugging mode and start the ADB,
4. Enter the command:
Code:
adb shell
And then:
Code:
su -c "grep -m1 -aoE 'WVLOCK.{14}[0-9]{16}' /dev/block/mmcblk0p7 |grep -aoE '[0-9]{16}'"
You will receive the unlock code. Copy it.

5. Press ctrl + d and Enter:
Code:
adb reboot bootloader
6. Enter:
Code:
fastboot oem unlock ****************
(paste your code in place of the stars)


And that's it. You have the bootloader unlocked





Originally posted by Baron Rafau in forum.android. pl site
The Following 24 Users Say Thank You to NayeBunny For This Useful Post: [ View ] Gift NayeBunny Ad-Free
9th June 2018, 08:38 AM |#2  
Senior Member
Thanks Meter: 47
 
More
Hi, i cannot get root on Lollipop, can you help me? I used last kingroot
26th July 2018, 09:18 AM |#3  
Member
Thanks Meter: 4
 
More
hey man could u be more specific did u root ur mob using the app or pc version
29th July 2018, 01:05 AM |#4  
zhaozihanzzh's Avatar
Senior Member
Flag Zibo City,Shandong province in China
Thanks Meter: 206
 
More
I used Kingroot to Root my phone on EMUI 3.1, but I found that I can't flash anything in the "UNLOCKED" bootloader.
So I guess, we need to re-unlock it after getting Root by using Kingroot. Maybe we can use this way to get unlock code on a Rooted device:
Open terminal and type "su"
and type the following command one by one:
Code:
cd /storage/emulated/0
mkdir -p PartitionBackup
cd PartitionBackup
dd of=/storage/emulated/0/PartitionBackup/nvme if=/dev/block/platform/hi_mci.0/by-name/nvme
dd of=oeminfo  if=/dev/block/platform/hi_mci.0/by-name/oeminfo
strings nvme | grep WVDEVID -B 1
The method comes from: https://blog.csdn.net/autohacker/art...tails/50715639
Maybe you can try it.

Sent from my HUAWEI CHM-TL00H using XDA Labs
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20180729-070236.png
Views:	4816
Size:	83.4 KB
ID:	4560299  
The Following User Says Thank You to zhaozihanzzh For This Useful Post: [ View ] Gift zhaozihanzzh Ad-Free
29th July 2018, 11:33 AM |#5  
Senior Member
Thanks Meter: 257
 
More
Quote:
Originally Posted by zhaozihanzzh

I used Kingroot to Root my phone on EMUI 3.1, but I found that I can't flash anything in the "UNLOCKED" bootloader.
So I guess, we need to re-unlock it after getting Root by using Kingroot. Maybe we can use this way to get unlock code on a Rooted device:
Open terminal and type "su"
and type the following command one by one:

Code:
cd /storage/emulated/0
mkdir -p PartitionBackup
cd PartitionBackup
dd of=/storage/emulated/0/PartitionBackup/nvme if=/dev/block/platform/hi_mci.0/by-name/nvme
dd of=oeminfo  if=/dev/block/platform/hi_mci.0/by-name/oeminfo
strings nvme | grep WVDEVID -B 1
The method comes from: https://blog.csdn.net/autohacker/art...tails/50715639
Maybe you can try it.

Sent from my HUAWEI CHM-TL00H using XDA Labs

How did you get those crtl, alt, etc.. stuff on terminal?
30th July 2018, 12:28 AM |#6  
zhaozihanzzh's Avatar
Senior Member
Flag Zibo City,Shandong province in China
Thanks Meter: 206
 
More
Quote:
Originally Posted by keikari

I used Kingroot to Root my phone on EMUI 3.1, but I found that I can't flash anything in the "UNLOCKED" bootloader.
So I guess, we need to re-unlock it after getting Root by using Kingroot. Maybe we can use this way to get unlock code on a Rooted device:
Open terminal and type "su"
and type the following command one by one:


How did you get those crtl, alt, etc.. stuff on terminal?

I use Termux. Open Termux and swipe from left to open the panel, then longpress the button "KEYBOARD".

Sent from my HUAWEI CHM-TL00H using XDA Labs
The Following User Says Thank You to zhaozihanzzh For This Useful Post: [ View ] Gift zhaozihanzzh Ad-Free
21st August 2018, 03:03 PM |#7  
Junior Member
Thanks Meter: 0
 
More
How to use that
23rd August 2018, 09:45 AM |#8  
Junior Member
Thanks Meter: 2
 
More
did this method works?
27th August 2018, 03:59 PM |#9  
JpegXguy's Avatar
Senior Member
Thanks Meter: 111
 
More
Good post!, especially for those who didn't get their code in time. Goddamn it Huawei
1st September 2018, 06:21 PM |#10  
Junior Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by JpegXguy

Good post!, especially for those who didn't get their code in time. Goddamn it Huawei

Then, does it works for you?
The Following User Says Thank You to luxor100 For This Useful Post: [ View ] Gift luxor100 Ad-Free
1st September 2018, 11:03 PM |#11  
D1stRU3T0R's Avatar
Senior Member
Thanks Meter: 1,685
 
More
Quote:
Originally Posted by luxor100

Then, does it works for you?

It should work...
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes