Help for root

Aalesund

Senior Member
Jul 22, 2014
128
72
28
Files you need (P10 Lite): https://mega.nz/#F!TNQiFDrS!LeWgM5bukSz66UEL5zE1Tg

Part 1 - Unlock Bootloader:

Full guide how to unlock your Bootloader via DC-Unlocker or HCU Client - https://forum.xda-developers.com/honor-7x/how-to/how-to-unlock-huawei-bootloader-removal-t3780903
* If you use HCU Client then TURN OFF your Antivirus because it detects parts of the program as a Trojan! But don't worry, it's safe!
Also see this tutorial here - http://hcu-client.com/read-bootloader-code-huawei-phone/

Install ADB drivers (adb-setup-1.4.3.exe)

Once you get the unlock code turn OFF the phone, press and hold only VOL DONW and connect it to PC via USB cable.
The phone will boot in to Bootloader mode.
Open PowerShell or CMD window and use this command:
fastboot oem unlock <your_unlock_code>
On the phone choose YES with the buttons and bootloader will unlock.

The phone will be factory reseted!!!

Part 2 - Root the phone:

Go to Settings -> System -> About Phone -> Click 7-8 times on the Build Number (until you see a message that you're developer)
Go to Settings -> System -> Developer options -> Enable USB Debugging

Turn OFF your Phone, press and hold VOL Down and connect it to the PC via USB cable.
The phone will boot in to Bootloader mode, but this time you will see this:
Bootloader: Unlocked
FRP: Unlocked

Open PowerShell or CMD window and use this command:
fastboot flash ramdisk patched_boot.img
fastboot reboot

That's all. Your phone is rooted with Magisk!
If you need just install latest Magisk Manager.
patched_boot.img is patched stock RAMDISK.img (boot file)

REMEMBER:
1. You CAN NOT install OTA update if you phone is rooted (during instalation gives error)
2. You CAN install only FullOTA update but you will lose the root
3. After every system update (FullOTA) you should run the phone to Bootloader mode and flash patched_boot.img again if you want root
 
Last edited:
  • Like
Reactions: darkmage1983

MoNabil

New member
Oct 9, 2018
4
0
0
Only way to unlock your bootloader is to pay for dc phoenix...
Files you need (P10 Lite): https://mega.nz/#F!TNQiFDrS!LeWgM5bukSz66UEL5zE1Tg

Part 1 - Unlock Bootloader:

Full guide how to unlock your Bootloader via DC-Unlocker or HCU Client - https://forum.xda-developers.com/honor-7x/how-to/how-to-unlock-huawei-bootloader-removal-t3780903
* If you use HCU Client then TURN OFF your Antivirus because it detects parts of the program as a Trojan! But don't worry, it's safe!
Also see this tutorial here - http://hcu-client.com/read-bootloader-code-huawei-phone/

Install ADB drivers (adb-setup-1.4.3.exe)

Once you get the unlock code turn OFF the phone, press and hold only VOL DONW and connect it to PC via USB cable.
The phone will boot in to Bootloader mode.
Open PowerShell or CMD window and use this command:
fastboot oem unlock <your_unlock_code>
On the phone choose YES with the buttons and bootloader will unlock.

The phone will be factory reseted!!!

Part 2 - Root the phone:

Go to Settings -> System -> About Phone -> Click 7-8 times on the Build Number (until you see a message that you're developer)
Go to Settings -> System -> Developer options -> Enable USB Debugging

Turn OFF your Phone, press and hold VOL Down and connect it to the PC via USB cable.
The phone will boot in to Bootloader mode, but this time you will see this:
Bootloader: Unlocked
FRP: Unlocked

Open PowerShell or CMD window and use this command:
fastboot flash ramdisk patched_boot.img
fastboot reboot

That's all. Your phone is rooted with Magisk!
If you need just install latest Magisk Manager.
patched_boot.img is patched stock RAMDISK.img (boot file)

REMEMBER:
1. You CAN NOT install OTA update if you phone is rooted (during instalation gives error)
2. You CAN install only FullOTA update but you will lose the root
3. After every system update (FullOTA) you should run the phone to Bootloader mode and flash patched_boot.img again if you want root
This is for root or for unlock bootloder?
Can i unlock bootloder with out pay for that?
And what is the way to install rooted roms for my device..
 

Aalesund

Senior Member
Jul 22, 2014
128
72
28
This is for root or for unlock bootloder?
Can i unlock bootloder with out pay for that?
And what is the way to install rooted roms for my device..
This is unlock bootloader + root.
If you want rooted stock rom, then root is just one simple step: fastboot flash ramdisk patched_boot.img
There is no free way to unlock bootloader.
If you want to install custom roms then flash TWRP:
fastboot flash recovery_ramdisk TWRP.img
But DO NOT flash Pretoriano80's TWRP because it's for stock rom only and isn't support custom roms!!!
Maybe try this:
Haky86's TWRP - https://www.haky86.com/hi6250/twrp-emui-8-hi6250/
Haky86's Android 9.0 - https://www.haky86.com/hi6250/emui-8-hi6250/
ArrowOS and AOSP are stable.
 
Last edited:

MoNabil

New member
Oct 9, 2018
4
0
0
This is unlock bootloader + root.
If you want rooted stock rom, then root is just one simple step: fastboot flash ramdisk patched_boot.img
There is no free way to unlock bootloader.
If you want to install custom roms then flash TWRP:
fastboot flash recovery_ramdisk TWRP.img
But DO NOT flash Pretoriano80's TWRP because it's for stock rom only and isn't support custom roms!!!
Maybe try this:
Haky86's TWRP - https://www.haky86.com/hi6250/twrp-emui-8-hi6250/
Haky86's Android 9.0 - https://www.haky86.com/hi6250/twrp-emui-8-hi6250/
ArrowOS and AOSP are stable.
Thanks :)
If i want to install root on my device
It is nessesary to unlock bootloder? or it is just separated step and helps to install roms
With new options and different features... Etc
 

nemanjsb

Senior Member
May 7, 2013
224
49
0
Sokobanja
Thanks :)
If i want to install root on my device
It is nessesary to unlock bootloder? or it is just separated step and helps to install roms
With new options and different features... Etc
U must unlock bootloader or u can't flash nothing. Free way to unlock bootloader was with huawei code but now u must pay for dc phoenix...
 

nainaabd

Senior Member
Jan 19, 2012
551
148
43
shah alam
Thanks :)
If i want to install root on my device
It is nessesary to unlock bootloder? or it is just separated step and helps to install roms
With new options and different features... Etc
You are going to screw up your phone in this learning process .Unless you have another phone and this p10 is your 2nd phone then you can try & error .No matter what you must open yr bootloader to proceed next step .Means additional cost for sure .
Good luck
 

Febres

New member
Jul 22, 2020
1
0
0
Hey there guys! Is it still available to get the code directly from huawei? How could I request them the code? I recently received this phone as present and it is as it came from factory but i want to install custom roms in my P10 lite is it still possible?
Thanks in advance for your help, I really wouldn't like to screw up my new phone! Cheers!
 

simobos

New member
Sep 4, 2020
1
0
0
Files you need (P10 Lite): https://mega.nz/#F!TNQiFDrS!LeWgM5bukSz66UEL5zE1Tg

Part 1 - Unlock Bootloader:

Full guide how to unlock your Bootloader via DC-Unlocker or HCU Client - https://forum.xda-developers.com/honor-7x/how-to/how-to-unlock-huawei-bootloader-removal-t3780903
* If you use HCU Client then TURN OFF your Antivirus because it detects parts of the program as a Trojan! But don't worry, it's safe!
Also see this tutorial here - http://hcu-client.com/read-bootloader-code-huawei-phone/

Install ADB drivers (adb-setup-1.4.3.exe)

Once you get the unlock code turn OFF the phone, press and hold only VOL DONW and connect it to PC via USB cable.
The phone will boot in to Bootloader mode.
Open PowerShell or CMD window and use this command:
fastboot oem unlock <your_unlock_code>
On the phone choose YES with the buttons and bootloader will unlock.

The phone will be factory reseted!!!

Part 2 - Root the phone:

Go to Settings -> System -> About Phone -> Click 7-8 times on the Build Number (until you see a message that you're developer)
Go to Settings -> System -> Developer options -> Enable USB Debugging

Turn OFF your Phone, press and hold VOL Down and connect it to the PC via USB cable.
The phone will boot in to Bootloader mode, but this time you will see this:
Bootloader: Unlocked
FRP: Unlocked

Open PowerShell or CMD window and use this command:
fastboot flash ramdisk patched_boot.img
fastboot reboot

That's all. Your phone is rooted with Magisk!
If you need just install latest Magisk Manager.
patched_boot.img is patched stock RAMDISK.img (boot file)

REMEMBER:
1. You CAN NOT install OTA update if you phone is rooted (during instalation gives error)
2. You CAN install only FullOTA update but you will lose the root
3. After every system update (FullOTA) you should run the phone to Bootloader mode and flash patched_boot.img again if you want root
I followed all your steps. It seems all done but the root is not completed at the end. I guess I do something wrong in Part 2...