♦®⊕⊕†♦ how to root your huawei device with nougat ♦

If you root is fully functional. What phone model have you? Its origin model

  • NXT-L29

    Votes: 92 66.2%
  • NXT-L09

    Votes: 19 13.7%
  • NXT-AL10

    Votes: 20 14.4%
  • NXT-CL00

    Votes: 1 0.7%
  • NXT-DL00

    Votes: 2 1.4%
  • NXT-TL00

    Votes: 5 3.6%

  • Total voters
    139

franzyroy

Senior Member
Aug 23, 2010
7,924
5,015
0
Normandy
forum.xda-developers.com
How to root your Huawei device on Nougat

Disclaimer:
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this TUTO
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/
Hi mates

For all those who, like me, have a lot of trouble to root their Mate 8.
I've successful to root my phone from the B560.


Last tuto (FINAL):
* Have the B560 firmware (or above - ask me for that) without no changes for Huawei Mate 8 with Nougat firmware - for the others devices, ASK ME!!!
* This Boot_Insecure_BXXX_Fix-adb_dm-verity-v2.img or v3- 5 versions for the moment: B560 - B580 - B581 - B582 - B585 - B588- B590- B592- B594- B595- B596. For another kernel, ASK ME!
* Have this TWRP 3.1.0-x - or this one (following the update)
* Have this SuperSU-v2.xx-EMUI5.0.zip on your external sdcard for supersu Chainfire - method 1
* Have the PHH superuser.zip on your external sdcard for PHH superuser - method 2

1 - Easy way to root with supersu Chainfire:
  1. Install the TWRP via adb, or SRKtools or still TWRP if you already have it
  2. Install the new_Insecure_BXXX_dm-verity-v2.img or v3 via adb
  3. Reboot to the recovery
  4. Install SuperSU-v2.xx-EMUI5.0.zip from TWRP
  5. Reboot system

2 - Easy way to root with PHH superuser:
  1. Install the TWRP via adb, or SRKtools or still TWRP if you already have it
  2. Install the new_Insecure_BXXX_dm-verity-v2.img or v3 via adb
  3. Reboot to the recovery
  4. Install PHH superuser.zip from TWRP
  5. Reboot system
  6. Install PHH superuser app via PlayStore (if necessary, you had to make it with previous version)

Devices with which it works:

Misc:
  • It's certainly possible to root others Huawei models . For them, send me the stock boot.img of your current firmware in order that I make an insecure boot Fix-adb dm-verity for your device.
  • All apps requiring root works well with this method.
  • Following a problem with access to developer options, a update was made that now makes us to v3.

Credits:
  • ajsmsg78 - who explained me how to create the insecure boot
  • jac10000 - who helped me to create the insecure boot Fix-adb dm-verity
  • Chainfire for supersu
  • phhusson for PHH superuser

Donators:
Thanks to them
Version Information:
  • Status: Functionnal
  • Created: 2017-02-12
  • Last Updated: 2018-02-07

If you like that, hit the THANKS button below !
 
Last edited:

franzyroy

Senior Member
Aug 23, 2010
7,924
5,015
0
Normandy
forum.xda-developers.com
Report me if it works fine for you! I'll add you in the OP post.
Report me on which firmware you used my method.



Changes:
Code:
[B][I]Boot_Insecure_BXXX_Fix-adb_dm-verity-v2.img[/I][/B]
* fixes issue adb doesn't work

[B][I]Boot_Insecure_BXXX_Fix-adb_dm-verity.img[/I][/B]
* based on the [URL="https://forum.xda-developers.com/mate-8/orig-development/boot-decrypted-insecure-boot-img-adb-t3555257"]insecure boot[/URL]
* remove the boot checking of dm-verity for a better rooting
* authorize read/ write on the partitions
Thanks! ;)
 
Last edited:

franzyroy

Senior Member
Aug 23, 2010
7,924
5,015
0
Normandy
forum.xda-developers.com
Install TWRP (SRKtools method)

TWRP TUTO:
  1. Download this twrp.img
  2. Rename it as twrpmate8mm.img
  3. Goes to the SRKtools folder
  4. Goes to the recovery folder
  5. Goes to the mate8 folder
  6. Goes to the emui41 folder
  7. Open mate8.zip file with winrar or other extractor
  8. Inside, you've 2 files,stockrecoverymate8mm.img and twrpmate8mm.img, delete twrpmate8mm.img file in the zip and confirm
  9. Drag and drop your renamed file (twrpmate8mm.img) in the opened zip, confirm
  10. Plug your phone
  11. Authorize Debug mode in Settings\Developper options
  12. Check if "Enable OEM unlock" is ticked
  13. Authorize Debug mode in popup windows
  14. Now, you launch SRKtools app
  15. In the menu, choose 3 (Install recovery 6.0) and enter
  16. Choose 2 (Huawei Mate 8) and enter
  17. Choose 3 (Install Mate 8 TWRP for Marshmallow (EMUI 4.1) and enter
  18. Type y and enter
  19. Type f and enter
  20. Wait the end of installation
  21. The phone will reboot to this recovery and you will see that is good recovery
 
Last edited:

franzyroy

Senior Member
Aug 23, 2010
7,924
5,015
0
Normandy
forum.xda-developers.com
Install TWRP (ADB method)

TWRP TUTO:
  1. Download this twrp.img
  2. Rename it as twrp.img
  3. Plug the phone with the debug mod activated
  4. Check if "Enable OEM unlock" is ticked
  5. Launch a command prompt from you ADB folder - like on the Flash_boot_img_tuto_02.jpg screenshot
  6. Type: adb devices
  7. Type: adb reboot bootloader
  8. Put the twrp.img file in C: (you can put anywhere but you should know the path. So the better is to follow my instructions)
  9. Type: fastboot flash recovery C:\twrp.img (Wait the end of installation, it's quick)
 

Attachments

Last edited:

lovemajj

Member
Jul 5, 2016
6
4
0
Thank you!

Thank you for your hard work. I will try it immediately, downloading everything I need now.

Will report back when I have done it :)

---------- Post added at 07:08 PM ---------- Previous post was at 07:02 PM ----------

Question:
If I am already on official OTA B560, can I skip these steps?
16. Install update_data_full_hw_eu.zip - Don't reboot
17. Install update.zip - Don't reboot
 
  • Like
Reactions: envyofindia

franzyroy

Senior Member
Aug 23, 2010
7,924
5,015
0
Normandy
forum.xda-developers.com
@dexz 's method arranged by me
to avoid to format data again

Only use if you are in the situation below... otherwise follow this method

Good news for those who are in my situation with my method. The @dexz 's method works fine but force again to format data... personnally I had more than tired to format data. So I made this....

You are with the semi rooted B560 or other perhaps
You have Chainfire supersu
You have decrypted your data
You have a Decrypted data boot and you wanted to keep it
Put my Decrypted data boot on the external SD

  1. Phone is on... then unroot it fully with Chainfire supersu in its settings - it asks you to restore the boot.img, I pushed "NO" because I had a doubt if I still had it, in addition it will install again in this tuto
  2. Reboot in TWRP (frd-twrp like @dexz 's tuto)
  3. Install Decrypted data boot
  4. Wipe Dalvik & cache - Strongly advised after to have flashed the boot, it doesn't eat some bread ;)
  5. Install superuser_noverify_nocrypt.zip
  6. Reboot to system - It will take about 3-5mins or less, it's due to the wipe Dalvik & Cache
  7. Go to playstore and Install phh's SuperUser app

And like me, you are fully rooted... Again thanks to @dexz for his method! The one above isn't more complicate and avoid to format again the data if you are in my situation.
 
Last edited:

lovemajj

Member
Jul 5, 2016
6
4
0
Thanks!



You can try but I don't know the result. Try at least with update_data_full_hw_eu
Okay thanks for quick reply, will try with update_data only :)

---------- Post added at 07:19 PM ---------- Previous post was at 07:15 PM ----------

Thanks!



You can try but I don't know the result. Try at least with update_data_full_hw_eu
Another question, last one I promise.

You did not mention this in the thread, not that I saw at least.
Do I need to unlock my bootloader?
 
  • Like
Reactions: franzyroy

lovemajj

Member
Jul 5, 2016
6
4
0
How do I unlock the FRP lock?

EDIT: Nevermind, I figured out how to do it.
If anyone else needs an answer to this question here it is:
Before you unlock the bootloader, you MUST enable "OEM Unlocking".

If you do not do it before you unlock the bootloader, it will be greyed out and you will have to relock the bootloader and do it all over again.

---------- Post added at 09:26 PM ---------- Previous post was at 08:41 PM ----------

I have tried it now and it works!
Although I skipped one thing, which was step 3. I did not install the insecure boot because I know from the past that it screwed up my phone.

In short I did like this:
Enabled OEM Unlocking
Unlocked bootloader
Flashed TWRP (found in OP)
Factory reset
Format Data (here I rebooted to recovery)
Flashed the SuperSU zip (found in OP)
Flashed update_data_full_hw_eu.zip (also found in OP)
Then I flashed SuperSU again.
Reboot to system and done

Thank you for this post :)
 
Last edited:

franzyroy

Senior Member
Aug 23, 2010
7,924
5,015
0
Normandy
forum.xda-developers.com
How do I unlock the FRP lock?

EDIT: Nevermind, I figured out how to do it.
If anyone else needs an answer to this question here it is:
Before you unlock the bootloader, you MUST enable "OEM Unlocking".

If you do not do it before you unlock the bootloader, it will be greyed out and you will have to relock the bootloader and do it all over again.

---------- Post added at 09:26 PM ---------- Previous post was at 08:41 PM ----------

I have tried it now and it works!
Although I skipped one thing, which was step 3. I did not install the insecure boot because I know from the past that it screwed up my phone.

In short I did like this:
Enabled OEM Unlocking
Unlocked bootloader
Flashed TWRP (found in OP)
Factory reset
Format Data (here I rebooted to recovery)
Flashed the SuperSU zip (found in OP)
Flashed update_data_full_hw_eu.zip (also found in OP)
Then I flashed SuperSU again.
Reboot to system and done

Thank you for this post :)
So it works for you like that.

Thanks for your report, I will add you in the OP post.

Edit: Finally no, I will not add you, you don't match those who have a problem to root.
 
Last edited:

apollo_81

Senior Member
Jun 30, 2016
139
3
18
TWRP.img

Install TWRP (ADB method)

TWRP TUTO:
  1. Download this frd-twrp.img
  2. Rename it as twrp.img
  3. Plug the phone with the debug mod activated
  4. Launch a command prompt from you ADB folder - like on the Flash_boot_img_tuto_02.jpg screenshot
  5. Type: adb devices
  6. Type: adb reboot bootloader
  7. Put the twrp.img file in C: (you can put anywhere but you should know the path. So the better is to follow my instructions)
  8. Type: fastboot flash recovery C:\boot.img (Wait the end of installation, it's quick)

@franzyroy I do not understand the point 8. Why boot.img fastboot flash recovery? I for flashing the recovery I always used FASTBOOT command FLASH RECOVERY TWRP.img Thanks