Rooting and Unroot Huawei P8 [6.0] [FOR All EMUI4.0.1] all [GRA-Types]

Search This thread

Bary-Jan

Member
Aug 8, 2014
12
0
Linz
I do not know if it has a connection, but after yesterday's failures I let it go. Tonight, the phone began reporting a lack of storage space. He was so slow to slow he did not respond to the touch. After the third restart I was able to make something work ...
 

Tecalote

Senior Member
Aug 6, 2015
4,078
3,109
Leipzig
However i now want to install Xposed and every time i enable it and restart i get stuck on the loading screen. No modules, and i tried different versions. Any idea what could be wrong?

You need for Android 6 the Xposed Framework SDK 23 v89 arm64
First install Xposed Installer 3.1.5.apk - you can find this App attached in this post:
https://forum.xda-developers.com/showthread.php?t=3034811
After flash Xposed Framework SDK 23 v89 arm64 with TWRP:
https://dl-xda.xposed.info/framework/sdk23/arm64/xposed-v89-sdk23-arm64.zip
When you flashed go back to the main menu and open Wipe (not Factoryreset, but Advanced Wipe) and wipe Dalvik Art Cache and Cache, swipe to confirm. Reboot your phone.
The Reboot needs about 18 min.
After open Xposed Installer, Framework should be activated.
Now you can download and install modules. Modules must be activated in Xposed Installer and need a reboot of the phone.
 
  • Like
Reactions: Blackice015

Old Jimbo

Senior Member
Feb 19, 2015
161
42
I have a GRA-L09, EMUI 4.0.3, build number C432B398. As my former phone was a Samsung, I'm not familiar with rooting this device. Can someone tell me please what tools should I use according to the phone's EMUI and build number?
 

Tecalote

Senior Member
Aug 6, 2015
4,078
3,109
Leipzig
I have a GRA-L09, EMUI 4.0.3, build number C432B398. As my former phone was a Samsung, I'm not familiar with rooting this device. Can someone tell me please what tools should I use according to the phone's EMUI and build number?

1) You must unlock the Bootloader. For this you need the Unlock code. Until 24. July it was possible to get it from Huawei, but Huawei stopped this service. Now you can read the code only with DC Unlocker Software
2) The Unlock code must be flashed in Fastboot mode
3) Flash TWRP from the first Post of this Thread (OP)
4) Flash SuperSU from OP with TWRP from OP

5) Read on xda how to flash Unlock code and TWRP on Huawei devices with Android 6/7 (on Android 8 its a bit different)

Alternatively you can Root your Phone with Magisk v16 (flashing with TWRP instead of SuperSU)
 
  • Like
Reactions: R560 and Old Jimbo

R560

Senior Member
Nov 2, 2011
94
14
Germany
1) You must unlock the Bootloader. For this you need the Unlock code. Until 24. July it was possible to get it from Huawei, but Huawei stopped this service. Now you can read the code only with DC Unlocker Software

Can you recommend a freeware (if any) tool to read/get the unlock code ?
 

Soldier50

Member
Aug 4, 2015
32
2
It didn't work for me :(

Hello and welcome,
There are so many different Firmware versions related to cust (yours is c636 and you have latest Firmware b372 from 2017-06-14 /88000 or 87994)
I guess you can Root with latest SuperSU 2.82 SR5.
Dont use the old Root method from OP - it dont work properly on newer Firmwares.
I would do it with following steps, beginning from step 1.
You have no Root - that's why you start with step one.

But all the other Users, which have already Root with older versions of SuperSU - since SuperSU 2.82 it is required to UNROOT your device before flashing SuperSU 2.82 xxx
DON'T FLASH NEW SUPERSU OVER EXISTING ROOT!
Make Unroot directly from SuperSU App on Homescreen - SuperSU asking you for restoring Stock boot.img twice - say yes!
Phone reboot automatically and restore original boot.img.

If it works, start with step 6

If it doesn't work - don't flash new SuperSU.
In this case you must flash first UNSU Script (linked in OP) after don't boot to the system but restore immediately original Stock boot.img from TWRP Backup (or download the Firmware and extract it from update.app with Huawei Extractor and flash it with adb in fastboot mode or flash it with TWRP to: boot by choosing img)
After you can flash SuperSU

Following steps are described for Phones without Root over original unmodified Firmware:

1) Enable Developer Options and inside USB Debugging (settings /about phone - 7x klick on build number)
2) Your Bootloader must be open - if not you must receive Unlock-Code from Huawei (this information you can find in OP and you can search the Thred for it)
3) Flash newest TWRP: [url]https://eu.dl.twrp.me/grace/twrp-3.1.1-0-grace.img.html[/URL]
4) Soon as TWRP is flashed, disconnect USB Cable from Device and boot to TWRP with VOL+ and Powerbutton (dont restart to system cause twrp will be overwritten then)
5) Set up in settings of TWRP time zone, language...
6) In main menu go to Backup and SELECT STORAGE (Micro-SD) - Choose following partitions to backup: boot - cust - data - system (if Root failed - you must restore boot.img from this Backup)
7) Root with following SuperSU - its modified by myself (enables init.d and SELpermissive) SuperSU-v2.82-SR5-permissive.zip
- I have tested on P8 GRA-L09 b399: [url]https://www.androidfilehost.com/?fid=962187416754458671[/URL]

Just flash it with TWRP - you dont need to enter any command in Terminal - it will root systemless by default (except you had before Root in system, but on unmodified stock boot.img it will root systemless).
Reboot phone after flashing SuperSU without wipe of Dalvik/Cache!
Phone boot up twice (first boot goes canceld, but second boot arrive system) - and you will find on a blank site of your homescreen the SuperSU App.
No you have Root!
But it is recommended, after flashing BusyBox with TWRP (which enables more features of Root): Busybox YDS by YashdSaraf: [url]https://forum.xda-developers.com/android/software-hacking/tool-busybox-flashable-archs-t3348543[/URL]
- use for P8 in download section Busybox-xxx-YDS-ARM.zip (it contains x64)
or alternative you can Busybox by osmOsis (universal architecture): [url]https://forum.xda-developers.com/attachment.php?attachmentid=4410553&d=1517852861[/URL]

Tell me your result :)


I flashed TWRP, Tapped Install, installed SuperSu then tapped on the reboot system, however no SuperSU icon, also the Root checker says, it is not properly rooted.
What should i do?
GRA-L09C432B520
Emui 4.0.3
 
Last edited:

Tecalote

Senior Member
Aug 6, 2015
4,078
3,109
Leipzig
I flashed TWRP, Tapped Install, installed SuperSu then tapped on the reboot system, however no SuperSU icon, also the Root checker says, it is not properly rooted.
What should i do?
GRA-L09C432B520
Emui 4.0.3

Extract SuperSU zip file on PC, in the folder "common" you find Superuser apk.
Install the apk and open it.
 

Soldier50

Member
Aug 4, 2015
32
2
Difficult to say.
How is the Build Number of your device (Settings /About phone /Build Number)?


Build number is: GRA-L09C432B520
Today i tried an app called Scan&Shop (Tesco), and it says: App doesnt wotk with rooted phones. However nor the Su nor the RootChecker identify root access on the phone. Maybe it has been screwed and now it is between stock and root :confused:
 

Tecalote

Senior Member
Aug 6, 2015
4,078
3,109
Leipzig
Build number is: GRA-L09C432B520
Today i tried an app called Scan&Shop (Tesco), and it says: App doesnt wotk with rooted phones. However nor the Su nor the RootChecker identify root access on the phone. Maybe it has been screwed and now it is between stock and root :confused:

I asked you some posts ago - what does SuperSU say, if you open it (remember, I advised you to install the apk)
I don't want to know, what your Root Check App says (because this could be an old version and may not recognize Root)
I would like to know what's happen if you open SuperSU?
If SuperSU does not say "no su binary found" or similar - then you have Root
 
Last edited:

Soldier50

Member
Aug 4, 2015
32
2
I asked you some posts ago - what does SuperSU say, if you open it (remember, I advised you to install the apk)
I don't want to know, what your Root Check App says (because this could be an old version and may not recognize Root)
I would like to know what's happen if you open SuperSU?
If SuperSU does not say "no su binary found" or similar - then you have Root

Sorry about that.
My SuperSu says: Root Undetected. I attached a screenshot of it.
open
 

rr4444

Member
Sep 28, 2018
7
6
Okay, then you have really no Root. Something went wrong.

Same problem for me :(

I'm also on b520. bootloader unlocked with dc-unlocker, trwp installed and i installed the supersu zip from this thread. no errors, reported success, but then SuperSU says no root :(((

are you aware of a supersu alternative that will work on a p8?

---------- Post added at 05:13 PM ---------- Previous post was at 05:04 PM ----------

are you aware of a supersu alternative that will work on a p8?

looking at magisk 16 - any reason why 16 you recommend and not 17?
 
Last edited:

rr4444

Member
Sep 28, 2018
7
6
looking at magisk 16 - any reason why 16 you recommend and not 17?

ok - i have preliminary success with magisk 17.1.

important point is: do not hide magick from the phone manager system app, or you have to restore the boot image!! it ends up in a weird loop at the frontend ui unlock screen
 
Last edited:

rr4444

Member
Sep 28, 2018
7
6
Ok looking good so far.

1, Bootloader unlocked using code from DC Unlocker. 4 euro well spent after Huawei took down their request site. I'll remember this for future phone purchases.........

2, TRWP from this OP (grace is for P8)

3, Magisk via TRWP. I really like it and Google Pay and banking works!

4, Link2SD is great. Also paid for full version. Another few euros well spent.

NB my note from previous post about being careful which apps you move to ext4 SD to not kill your phone.

Also, I split my 128GB into two partitions, as per Link2SD reqs, which make sense. BUT I split it 50:50 because some apps still insist on internal or the first (FAT32) partition e.g. DCIM for photos

---------- Post added at 04:26 PM ---------- Previous post was at 04:16 PM ----------

Okay, then you have really no Root. Something went wrong.


Many thanks to tecalote for his/her original posts and this thread. This was my first foray into treating my phone like a proper POSIX platform
 
Last edited:

rr4444

Member
Sep 28, 2018
7
6
useful links based on this thread and elsewhere:

 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    attachment.php


    Rooting and Unroot Huawei P8 GRA-xxx Marshmallow (Android 6) [All Stock-Firmwares with EMUI4.0.1]

    For newer Firmwares use following Guide: https://forum.xda-developers.com/showpost.php?p=75460388&postcount=323

    Note: DONT FLASH SUPERSU OVER EXISTING ROOT - SINCE SUPERSU 2.82 IT IS REQUIRED TO UNROOT YOUR PHONE BEFORE USING NEWER VERSION!

    SuperSU-v2.82-SR5-permissive.zip by Tecalote: https://www.androidfilehost.com/?fid=962187416754458671 MD5: b168a88bc815d3fac521ace97402a949
    It enables init.d and SELinux Permissive (required for installing several mods like Viper4Android etc...)

    NEW TWRP released by @AD2076 : https://eu.dl.twrp.me/grace/twrp-3.1.1-0-grace.img.html

    This new method should work on all types of GRA (GRA-L09-TL00-CL00-UL00-UL10-TL10-CL10) for newer Firmwares from 2017 on!

    For Unroot you can do it directly from SuperSU App - with restoring the boot.img (SuperSU App ask you, answer with YES) - or alternative you can flash UnSU Script with TWRP:
    http://forum.xda-developers.com/showpost.php?p=63615067
    If you flash unsu script - you must restore your original unmodified boot.img from TWRP Backup! This make sure you can boot straight to system after Unroot.
    If you flash instead boot.img extracted from update.app you cannot boot to system before installing EMUI Recovery and doing Factoryreset.
    But it is possible to Root your Phone directly after flashing boot.img to BOOT
    Restoring boot.img is required after Unroot in every case! A) If you like to stay unrooted and B) if you want to Root with new Version of SuperSU. If you want Root with new SuperSU, you must restore original boot.img. After you have restored it from TWRP Backup or flashed it with adb in Fastboot Mode, you can Root directly after restoring without boot to system before.

    If you cannot restore boot.img, because you have no TWRP Backup from Boot, you can download the Firmware for your build Number (Settings/About Phone) from here:
    http://pro-teammt.ru/firmware-database/?firmware_model=GRA&firmware_page=0
    With following Tool you can extract boot.img from UPDATE.APP - Huawei Update Extractor: https://forum.xda-developers.com/showthread.php?t=2433454

    Unlocked Bootloader required

    Unlocked Bootloader:
    If your Bootloader is locked install the App Huawei-ID on your Phone. On newer Firmwares, the Huawei-ID App is already preinstalled.
    But anyway update it to this version: https://www.androidfilehost.com/?fid=385035244224383206
    After you must visit website for login and requesting the unlock-code. Visit: http://emui.huawei.com/en/plugin/hwdownload/download and click: Unlock Bootloader.
    Make an Account or Login with your Huawei-ID, click again: Unlock Bootloader. Fill out form - you can find all information in Settings "About the Phone" and "Status" - for the Product-ID use dialer ( *#*#1357946#*#* ). Submit information and you receive the Unlock Code.
    - On your phone activate the developer options (Settings "About the phone" press several times consecutively the "Build-Number")
    - In developer options activate "USB-Debugging"
    - In Settings "Security" activate "Unknown Sources" and HiSuite HDB accept
    - install the latest HiSuite (from Huawei) on your PC - Download: http://consumer.huawei.com/minisite/HiSuite_en/index.html
    - start HiSuite and connect your Phone with the USB-Cable with your PC. You will receive a fingerprint question on your Phone, acitvate "Always" and "Yes"
    - accept also the installing of HiSuite on your Phone. As soon the drivers are installed and your phone is succesful connected, close HiSuite (even in the background).
    - unzipp "Minimal ADB + Fastboot", install it on your PC - Download: https://www.androidfilehost.com/?fid=385035244224386526
    - (the path will be C:\Program Files (x86)\Minimal ADB and Fastboot) - after open the Program as Administrator
    - tap: adb devices (your device must listed with ID)
    - tap: adb reboot bootloader (Phone restart in Fastboot-Mode) You will see, your bootloader is locked
    - wait until PC installs additional drivers, after:
    - tap: fastboot devices (your device must listed with ID)
    - tap: fastboot oem unlock YOUR16DIGITCODE (which you have received from Huawei) - after unlock tap: fastboot reboot

    If you have problems to execute fastboot-commands and you see just: "Waiting for any devices" - or if you have trouble with hardware-buttons read following information: http://forum.xda-developers.com/showpost.php?p=69440645&postcount=129


    Old methods (2016) - not reccomended for newer Firmwares (2017..)


    It is no more possible to Root Huawei Firmware up to EMUI 4.01 with newer Versions of SuperSU (current stable 2.78) neither with the Force Systemless Command! Dont try it, because SuperSU will destroy the original boot.img of the Firmware - See Screenshot 1. You can flash the zip but your phone would not boot and staying on the Rescue-Screen of the Bootloader.... That´s why I maked this Thread!
    All methods updated 13.10.2016 - everything works now!
    . ;)

    For systemless rooting (like my method A) you can also use the SRKToolHuawei 2.0 by @somboons
    - Download: https://www.androidfilehost.com/?fid=529152257862664925 - Thread: http://forum.xda-developers.com/mate-8/development/tool-srk-tool-huawei-t3369797

    Before you going to root your phone make a full Nandroid Backup (all shown Partitions) with TWRP - if something goes wrong you can restore your backup.

    Thread for German Speakers GRA-L09: http://www.android-hilfe.de/thema/huawei-p8-b380-root-anleitung.797464/

    Requirements:
    1) Unlocked Bootloader:
    If your Bootloader is locked install the App Huawei-ID on your Phone. On newer Firmwares, the Huawei-ID App is already preinstalled.
    But anyway update it to this version: https://www.androidfilehost.com/?fid=385035244224383206
    After you must visit website for login and requesting the unlock-code. Visit: http://emui.huawei.com/en/plugin/hwdownload/download and click: Unlock Bootloader.
    Make an Account or Login with your Huawei-ID, click again: Unlock Bootloader. Fill out form - you can find all information in Settings "About the Phone" and "Status" - for the Product-ID use dialer ( *#*#1357946#*#* ). Submit information and you receive the Unlock Code.
    - On your phone activate the developer options (Settings "About the phone" press several times consecutively the "Build-Number")
    - In developer options activate "USB-Debugging"
    - In Settings "Security" activate "Unknown Sources" and HiSuite HDB accept
    - install the latest HiSuite (from Huawei) on your PC - Download: http://consumer.huawei.com/minisite/HiSuite_en/index.html
    - start HiSuite and connect your Phone with the USB-Cable with your PC. You will receive a fingerprint question on your Phone, acitvate "Always" and "Yes"
    - accept also the installing of HiSuite on your Phone. As soon the drivers are installed and your phone is succesful connected, close HiSuite (even in the background).
    - unzipp "Minimal ADB + Fastboot", install it on your PC - Download: https://www.androidfilehost.com/?fid=385035244224386526
    - (the path will be C:\Program Files (x86)\Minimal ADB and Fastboot) - after open the Program as Administrator
    - tap: adb devices (your device must listed with ID)
    - tap: adb reboot bootloader (Phone restart in Fastboot-Mode) You will see, your bootloader is locked
    - wait until PC installs additional drivers, after:
    - tap: fastboot devices (your device must listed with ID)
    - tap: fastboot oem unlock YOUR16DIGITCODE (which you have received from Huawei) - after unlock tap: fastboot reboot

    If you have problems to execute fastboot-commands and you see just: "Waiting for any devices" - or if you have trouble with hardware-buttons read following information: http://forum.xda-developers.com/showpost.php?p=69440645&postcount=129

    2) There is a new TWRP released by KangV from the Huawei Rom Team (HRT) v. 3.0.2 - multilingual.
    Download: https://www.androidfilehost.com/?fid=529152257862681510
    - rename the .img to "TWRP" (TWRP.img) and flash it with ADB.
    - first store the TWRlP.img in C:\Program Files (x86)\Minimal ADB and Fastboot, after open the Program (Phone must be connected with USB to PC)
    - tap: adb devices (your device must listed with ID)
    - tap: adb reboot bootloader (Phone restart in Fastboot-Mode - you will see, your bootloader is unlocked now)
    - tap: fastboot flash recovery TWRP.img
    If the flashing of the Recovery is succesfully done - disconnect your Phone from USB!
    - press the Vol+ button first (staying on Vol+) and simultaneously press the Power Button
    - wait until the phone reboot - in the moment you see the Huawei Logo skip pressing the Power Button but stay on Vol+ until you are succesfully bootet to TWRP
    - TWRP ask you by the first start for root access "Allow to modify system partion" - swype to confirm "yes"
    - go to button "Backup", select your external Storage and make a complete Nandroid Backup of all shown partititions
    - after you can Root your Phone now - see description
    Note: If you make something wrong booting first time to TWRP and the Phone reboot to system instead of TWRP, Stock-Recovery will be reflashed and you must flash TWRP again with ADB


    A) Rooting in systemless Mode (by maintaining the original Stock-Kernel)

    Note: This kind of rooting your phone is for for normal use (Root-Explorer, Root-Apps) but not for Hardliner-Mods :D
    Your TWRP should always have write permissions, if it ask you swype to confirm this! If it don`t have, you can enable this in the Mount button (disable system partition read only)

    1.) Download SuperSU with your Browser (not with Downloadmanager) 2.67: https://download.chainfire.eu/897/SuperSU/BETA-SuperSU-v2.67-20160121175247.zip?retrieve_file=1
    - or download the file from the attached file below in OP and place SuperSU 2.67 on the external SD
    2.) Boot to TWRP and make a complete Nandroid Backup first (if you dont have it already)
    3.) In TWRP go to the Advanced button and use the Terminal.
    On the first screen tap on the ok button and after write following Force Systemless Command:
    echo SYSTEMLESS=true>>/data/.supersu
    and quit this with the ok tab
    4.) Navigate back to the main menu and use the Install button
    5.) Navigate to the location of the placed SuperSU 2.67
    6.) Swype to confirm flash - after use: Reboot
    7.) If TWRP ask you for Root - "Your device does not appear to be rooted - Install SuperSU now?" - NO - use: DO NOT INSTALL Button!
    Older Versions of TWRP ask you this - the newest TWRP 3.0.2 dont.
    8.) P8 reboots now 2 times and rebooted finaly to system.
    9.) Open the SuperSU App (it will be on an empty site of your home) - you have now systemless Root
    10.) Open Playstore an Update the SuperSU and after say yes to Update the Binary.
    11.) :) The Phone must be restarted and you are up-do-date with the Root.

    Uninstall this kind of Root:
    If you want to unroot your Phone and you have used method A, do following:
    1) If you have Xposed Framework installed - uninstall it with the uninstaller.zip (matching your phone) in TWRP - directly after you must Wipe Cache and Dalvik - next step: reboot your phone.
    2) If you have BusyBox installed - uninstall it with BusyBox-Cleaner.zip in TWRP - Download: https://www.androidfilehost.com/?fid=24591000424941581
    3) Reboot Phone open SuperSU and tap "complete Unroot"
    4) If SuperSU ask you to restore your original Boot Image - say yes!
    5) If the phone reboot automatically Unroot is ready - check it with Root Checker
    6) If the phone dont reboot automatically, boot into TWRP and:
    7) flash unsu.zip - Download: http://forum.xda-developers.com/attachment.php?attachmentid=3931994&d=1478779893 - reboot your Phone and Unroot is ready.
    8) If the Download-Link of unsu.zip has changed, because it gets updates - you find it on this site: http://forum.xda-developers.com/showpost.php?p=63615067


    B) Rooting in SYSTEM-Mode (by using modified Stock-Kernel made for Rooting with SuperSU)

    1.) Download SuperSU - current version 2.79 Stable (with Browser, not with Downloadmanager): https://download.chainfire.eu/1016/SuperSU/UPDATE-SuperSU-v2.79-20161211114519.zip?retrieve_file=1- it is the original one from Chainfire, not CCMT
    2.) Download the Kernel, which allow you to Root: https://www.androidfilehost.com/?fid=385035244224383592
    3.) Place both zips on the external SD
    4.) Reboot to TWRP Recovery
    5.) Make a comlete Nandroid Backup
    6.) Navigate back to the main menu
    7.) Use: Install - and navigate to the place of the Kernel-for-Root-Stock-MM.zip
    8.) Swype to confirm flashing the Kernel-for-Root-Stock-MM.zip
    9.) Directly after this flash navigate back to the main menu
    10.) Use: Install - navigate to SuperSU.zip
    11.) Swype to confirm flashing SuperSU - after use: Reboot
    12.) If TWRP ask you for Root - "Your device does not appear to be rooted - Install SuperSU now?" - NO - use: DO NOT INSTALL Button!
    Older Versions of TWRP ask you this - the newest TWRP 3.0.2 dont.
    13.) P8 reboots one times directly to the system
    14:) Open the SuperSU App (it will be on an empty site of your home) - you have now Root in the System with the latest stable SuperSU

    Unroot this Installation of Root in System-Mode:

    1) If you have Xposed Framework installed - uninstall it with the uninstaller.zip (matching your phone) in TWRP - directly after you must Wipe Cache and Dalvik - next step: reboot your phone.
    2) If you have BusyBox installed - uninstall it with BusyBox-Cleaner.zip in TWRP - Download: https://www.androidfilehost.com/?fid=24591000424941581
    3) Reboot Phone open SuperSU and tap "complete Unroot" - Needs some seconds, after:
    4) flash unsu.zip - Download: http://forum.xda-developers.com/attachment.php?attachmentid=3931994&d=1478779893 - reboot your Phone and Unroot is ready.
    5) If the Download-Link of unsu.zip has changed, because it gets updates - you find it on this site: http://forum.xda-developers.com/showpost.php?p=63615067
    6) Reboot your Phone, and if
    7) If TWRP ask you for Root - "Your device does not appear to be rooted - Install SuperSU now?" - NO - use: DO NOT INSTALL Button!
    Older Versions of TWRP ask you this - the newest TWRP 3.0.2 dont.
    8) After Reboot check it with a Root Checker - Your devices is not Rooted!



    C) Systemless Rooting (by using modified Stock-Kernel made for Rooting with SuperSU)

    Note: This is the only kind of Root to install the Systemless Xposed Framework!
    This Thread does not officially Support the issue "how do hide Root" . Please use other Threads made for this. But you're invited to post ideas and solutions for this issue - if you have any! Because many people searching for a good solution :eek:


    1.) Download SuperSU - current version 2.79 Stable (with Browser, not with Downloadmanager): https://download.chainfire.eu/1016/SuperSU/UPDATE-SuperSU-v2.79-20161211114519.zip?retrieve_file=1 - it is the original one from Chainfire, not CCMT
    2.) Download the Kernel - which allows you to Root: https://www.androidfilehost.com/?fid=385035244224383592
    3.) Place both zips on the external SD
    4.) Reboot to TWRP Recovery
    5.) Make a comlete Nandroid Backup
    6.) Navigate back to the main menu
    7.) Use: Install - and navigate to the place of the Kernel-for-Root-Stock-MM.zip
    8.) Swype to confirm flashing the Kernel-for-Root-Stock-MM.zip
    9.) Directly after this flash navigate back to the main menu
    10.) After go to the Advanced button and use the Terminal.
    On the first screen tap on the ok button and after write following Force Systemless Command:
    echo SYSTEMLESS=true>>/data/.supersu
    and quit this with the ok tab
    11.) Use the install button and navigate to SuperSU.zip
    12.) Swype to confirm flashing SuperSU
    13) Reboot your Phone
    14.) If TWRP ask you for Root - "Your device does not appear to be rooted - Install SuperSU now?" - NO - use: DO NOT INSTALL Button!
    Older Versions of TWRP ask you this - the newest TWRP 3.0.2 dont.
    15.) P8 reboots now 2 times and rebooted finaly to system.
    16:) Open the SuperSU App (it will be on an empty site of your home) - you have now systemless Root with the latest stable SuperSU

    Uninstall this kind of systemless Root:

    If you like to Unroot your Phone from this systemless Root, do following steps:
    1) If you have Xposed Framework installed - uninstall it with the uninstaller.zip (matching your phone) in TWRP - directly after you must Wipe Cache and Dalvik - next step: reboot your phone.
    2) If you have BusyBox installed - uninstall it with BusyBox-Cleaner.zip in TWRP - Download: https://www.androidfilehost.com/?fid=24591000424941581
    3) Reboot Phone open SuperSU and tap "complete Unroot"
    4) If SuperSU ask you two times to restore the original Stock-Boot Image say: YES
    5) Phone reboots automatically
    6) Check it with Root Checker: succesfully unrooted
    7) If the phone dont reboot automatically - reboot by yourself to TWRP
    8) flash unsu.zip - Download: http://forum.xda-developers.com/attachment.php?attachmentid=3931994&d=1478779893 - reboot your Phone and Unroot is ready.
    9) If the Download-Link of unsu.zip has changed, because it gets updates - you find it on this site: http://forum.xda-developers.com/showpost.php?p=63615067
    10) Reboot your Phone - Root is uninstalled


    After you have rooted your phone - it is recommended to flash Busybox in TWRP:
    I always prefere BusyBox YDS by YashdSaraf for Huawei P8. This busybox recognizes which kind of Root and architecture you have and it will install to in the right directory. It uses also arm64 Binarys - just flash it after Rooting and first boot to system with TWRP.
    You can find the Thread here: http://forum.xda-developers.com/android/software-hacking/tool-busybox-flashable-archs-t3348543
    Use in Download Section the Universal zip or the ARM zip (it conains arm64).

    Credits:

    Many thanks to @Chainfire for his grandiose SuperSU :cowboy:
    Many thanks to @AD2076 for the new TWRP-Recovery twrp-3.1.1-0-grace.img for Huawei p8 marshmallow. :cool:
    And thanks a lot to @YashdSaraf for very good BusyBox :eek:

    Last Update: 06.02.2018
    3
    useful links based on this thread and elsewhere:

    3
    I will be grateful for stock recovery. Thanks for answer, everything is clear now.
    Can anyone tell me what about busybox?

    You can find Stock-EMUI-Recovery for b370 here: https://www.androidfilehost.com/?fid=385035244224386643
    For b380 here: https://www.androidfilehost.com/?fid=457095661767103577

    You can install this with TWRP - go to install - switch from zip to img - install EMUI-Recovery to Recovery - go back to reboot - reboot Recovery and you are on Stock Recovery.
    If you have not TWRP you must install it with ADB.

    The best Busybox ist here: http://forum.xda-developers.com/android/software-hacking/tool-busybox-flashable-archs-t3348543
    Download it from there and flash it with TWRP. It dedects your root and install busybox to the right directory. (Much more better than stericson from playstore)

    If your device is rooted with my modified Stock-Kernel and you want to unroot - after unroot you can restore your original boot.img (Kernel) - before you install EMUI-Recovery flash original Kernel with TWRP:
    Original Stock Kernel GRA-L09 b370: https://www.androidfilehost.com/?fid=457095661767102857
    Original Stock Kernel GRA-L09 b380: https://www.androidfilehost.com/?fid=529152257862668857
    3
    Hello friends,please help me,i have huawei p8 gra ul00 c636b372 with unlock bootloader and i want root
    What kind of recovery and super su I need to install?

    Hello and welcome,
    There are so many different Firmware versions related to cust (yours is c636 and you have latest Firmware b372 from 2017-06-14 /88000 or 87994)
    I guess you can Root with latest SuperSU 2.82 SR5.
    Dont use the old Root method from OP - it dont work properly on newer Firmwares.
    I would do it with following steps, beginning from step 1.
    You have no Root - that's why you start with step one.

    But all the other Users, which have already Root with older versions of SuperSU - since SuperSU 2.82 it is required to UNROOT your device before flashing SuperSU 2.82 xxx
    DON'T FLASH NEW SUPERSU OVER EXISTING ROOT!
    Make Unroot directly from SuperSU App on Homescreen - SuperSU asking you for restoring Stock boot.img twice - say yes!
    Phone reboot automatically and restore original boot.img.

    If it works, start with step 6

    If it doesn't work - don't flash new SuperSU.
    In this case you must flash first UNSU Script (linked in OP) after don't boot to the system but restore immediately original Stock boot.img from TWRP Backup (or download the Firmware and extract it from update.app with Huawei Extractor and flash it with adb in fastboot mode or flash it with TWRP to: boot by choosing img)
    After you can flash SuperSU

    Following steps are described for Phones without Root over original unmodified Firmware:

    1) Enable Developer Options and inside USB Debugging (settings /about phone - 7x klick on build number)
    2) Your Bootloader must be open - if not you must receive Unlock-Code from Huawei (this information you can find in OP and you can search the Thred for it)
    3) Flash newest TWRP: [url]https://eu.dl.twrp.me/grace/twrp-3.1.1-0-grace.img.html[/URL]
    4) Soon as TWRP is flashed, disconnect USB Cable from Device and boot to TWRP with VOL+ and Powerbutton (dont restart to system cause twrp will be overwritten then)
    5) Set up in settings of TWRP time zone, language...
    6) In main menu go to Backup and SELECT STORAGE (Micro-SD) - Choose following partitions to backup: boot - cust - data - system (if Root failed - you must restore boot.img from this Backup)
    7) Root with following SuperSU - its modified by myself (enables init.d and SELpermissive) SuperSU-v2.82-SR5-permissive.zip
    - I have tested on P8 GRA-L09 b399: [url]https://www.androidfilehost.com/?fid=962187416754458671[/URL]

    Just flash it with TWRP - you dont need to enter any command in Terminal - it will root systemless by default (except you had before Root in system, but on unmodified stock boot.img it will root systemless).
    Reboot phone after flashing SuperSU without wipe of Dalvik/Cache!
    Phone boot up twice (first boot goes canceld, but second boot arrive system) - and you will find on a blank site of your homescreen the SuperSU App.
    No you have Root!
    But it is recommended, after flashing BusyBox with TWRP (which enables more features of Root): Busybox YDS by YashdSaraf: [url]https://forum.xda-developers.com/android/software-hacking/tool-busybox-flashable-archs-t3348543[/URL]
    - use for P8 in download section Busybox-xxx-YDS-ARM.zip (it contains x64)
    or alternative you can Busybox by osmOsis (universal architecture): [url]https://forum.xda-developers.com/attachment.php?attachmentid=4410553&d=1517852861[/URL]

    Tell me your result :)
    2
    Thanks, gonna try your kernel.

    The issue of autoroot can also be cause may there are any backup scripts from SuperSU in /system/etc/init.d called "99SuperSUDaemon" or in /system/etc called ".installed_su_daemon" (hidden)
    Both must be deleted.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone