[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
SuperSU 2.82 for EMUI 5

Note: SuperSU 2.82 working on EMUI 5 but may not on EMUI 5.0.1 or 5.1 ​

Here is updated SuperSU-2.82-SR5 for EMUI5.0.1

This will work (tested) on EVA (Huawei P9) - based on original SuperSU SR5 by [MENTION=631273]Chainfire[/MENTION]

Download: https://www.androidfilehost.com/?fid=673956719939815322

MD5: b168a88bc815d3fac521ace97402a949

Older Versions here: (Thread will get general update soon)

SuperSU-2.82-EMUI5

Changelog:

First 4 Versions

based on original Chaifires SuperSU 2.82 code with mounting vendor and search for boot_a. These versions are without additional modification by phh superuser files/scripts

The second 3 Versions (a/b)

- 09.06.2017 01:17- are mixed with phh superuser and original Chaifires SuperSU Code (same as 2.79 for EMUI): Download-Links below - for Firmwares before b38x and without loop support

Current Status: STABLE

NOTE: If your device has no Root - just flash it with the related TWRP for your device! - But if your device is rooted with previous Versions of SuperSU for EMUI, dont flash it over existing Root but make the steps written below "How do Root"

4 Versions based on original Chainfire SuperSU 2.82 code - 07.06.2017

Succesful tested on P9 b383, b386 and Mate 9, also working on Honor 6x BLN-B360 - but may work also on other devices from Firmwares b38x up and new Nougat Firmwares for Devices, which had Marshmallow until short time ago.

It will probably not work on other Firmwares before b38x (for these devices are the modified versions with mixed code from SuperSU and phh Superuser)

1) SuperSU-v2.82-EMUI5-SELEnforcing.zip

Just added init.d script, but let's SELinux as it is.

Download: https://www.androidfilehost.com/?fid=673368273298961353

MD5: 18529db8978a39212db335ad006760cf

2) SuperSU-v2.82-EMUI5-SELPermissive.zip

Added init.d script and set SELinux permanently to permissive (required for Viper4Android)

Download: https://www.androidfilehost.com/?fid=817550096634775861

MD5: 57a081ba3ba03691c4ffaf9ab141a44e

3) SuperSU-v2.82-EMUI5-KangV-Roms.zip

Added init.d script, SELinux Permissive, Script for K-Settings

Download: https://www.androidfilehost.com/?fid=817550096634775860

MD5: 5e68f7b1175f7b51d64802f7416a04f5

4) SuperSU-v2.82-without-additive.zip - try out, if none of the three above works (its without additional features, just Root)

Download: https://www.androidfilehost.com/?fid=961840155545571636

MD5: bfa6f458949f6deb056044b0337ef31a

3 Versions (a/b) mixed with original Chainfire SuperSU 2.82 code and pph superuser code - 09.06.2017

For devices which has no Loop Support yet, but working also on devices, which can succesful use Version 1, 2, 3 and 4.

Kirin 960 based Devices must use Version 6 a/b and 7

Following versions are not compatible with AOSPA based Roms.

5. Version comes in 2 editions (5a and 5b) - should work with devices which have fully working TWRPs - like P9

Version 5/a - Name: SuperSUv2.82-EMUI5-dm-verity-Enforcing.zip

DOWNLOAD UPDATED VERSION: https://www.androidfilehost.com/?fid=961840155545572192

MD5: 0da8bcbf0eb164c7512ae083012b45eb

About:

dm-verity and dm-crypt enabled

init.d Support

SELinux Enforcing

Version 5/b - Name: SuperSUv2.82-EMUI5-dm-verity-Permissive.zip

DOWNLOAD UPDATED VERSION: https://www.androidfilehost.com/?fid=817550096634776377

MD5: 14a0ac7fd3a725ee326e9944399a916e

About:

dm-verity and dm-crypt enabled

init.d Support

permanent SELinux Permissive

Version 5 (a/b) is working (tested) on:

Huawei P9

Huawei P9 Lite

Huawei Mate 8

Huawei Mate 9

Honor 8

Not working:

Huawei Honor 8 FRD-L09C432B380

Huawei P10 and P10 plus - must have noverity version

6. Version comes in 2 editions - for Kirin 960 based Devices like P10 and P10+ and should work with other devices which have NOT properly working TWRPs

Version 6/a - Name: SuperSUv2.82-EMUI5-noverity-Enforcing.zip

DOWNLOAD UPDATED VERSION: https://www.androidfilehost.com/?fid=889764386195906385

MD5: a37380d6f1659f78bbd341954ed804b2

About:

dm-verity DISABLED

init.d Support

SELinux Enforcing

Version 6/b - Name: SuperSUv2.82-EMUI5-noverity-Permissive.zip

DOWNLOAD UPDATED VERSION: https://www.androidfilehost.com/?fid=889764386195906386

MD5: 99f06e5fe34b93409d558fc119d15e59

About:

dm-verity DISABLED

init.d Support

permanent SELinux Permissive

Version 6 (a/b) is working (tested) on:

Huawei P10+

Huawei P10

Huawei Mate 9

Huawei P8 Lite 2017

Huawei Honor 8 FRD-L09C432B386

7. Version comes in 2 editions - special for KangV-ROMs on Kirin 960 based Devices.

Version 7/a - Name: SuperSUv2.82-EMUI5-dm-verity-KangV.zip

DOWNLOAD UPDATED VERSION: https://www.androidfilehost.com/?fid=745425885120739007

MD5: 8ca92c52a338fd82e923d0479769e23a

Version 7/b - Name: SuperSUv2.82-EMUI5-noverity-KangV.zip

Download for testing issues: https://www.androidfilehost.com/?fid=889764386195906387

MD5:0df87e5c4a5d41a0ed8b21085a33a6e8

About:

Version 7/a = dm-verity and dm-crypt enabled

Version 7/b = dm-verity disabled

init.d Support

script for K-Settings

script for busybox in /system/xbin

permanent SELinux Permissive

Version 7/a is working (tested) on:

KangV Roms

Huawei Mate 8

Huawei P9

Version 7/b is not tested yet!

PREVIOUS FINAL VERSION 2.81 - mixed code with chainfires and phh superusers - was working on most Huawei Devices:

https://www.androidfilehost.com/?w=files&flid=183923

How Do Root:​

A) You need unlocked Bootloader and the TWRP related for your device installed!

TWRP for Huawei P9 Nougat you can find here - with Decryption Support by Recognized Developer OldDroid: https://xdaforums.com/p9/development/twrp-t3565703

B) Look into your settings: Developer options must be enabled and inside: ADB Debugging and USB Debugging, as well as in settings/advanced settings/security "Allow unknown sources" PC should have the driver installed for connecting Phone in Fastboot Mode.

C) Make a TWRP Backup of - boot.img - data - system -vendor - before flashing SuperSUfor EMUI 5 - if one version dont work on your Huawei Device as it should, restore original boot.img with TWRP and try one of the other versions.

Note: If your Phone is not rooted -just flash SuperSU 2.81 EMUI 5 and reboot - Phone boots up two times and with the second boot you come back to your homescreen with Root.

If your Phone is rooted und you want update SuperSU - dont flash over existing Root, do following steps:

1) Copy SuperSU-2.82.zip to your external SD

2) Make a Complete Unroot from SuperSU App!

3) SuperSU ask: "Should SuperSU restore original boot.img" - check YES (2 times)

4) Phone reboots - dont wait but in the moment your screen is black press VOL+ Button and hold it the whole time until you are booted to TWRP.

5) In TWRP go to install and select SuperSU 2.82, swype to install

6) Search on Homescreen for SuperSU App and open it - look if you're done - if yes =good

NEXT STEPS ONLY IF ROOTING WAS NOT SUCCESFUL OR IF SUPERSU APK CANNOT UNROOT OR RESTORE BOOT.IMG:

Flash original (unmodified) boot.img with Fastboot - or restore boot.img from the Stock TWRP Backup (boot) of same Firmware

- if restored from TWRP Backup, dont restart system, go back and - flash SuperSU

- if flashed instead with Fastboot - disconnect USB from Device and with Power and VOL+ boot to TWRP and flash SuperSU

Note 2: If you are own the SuperSU PRO Version - you have just to update the SuperSU-Pro.apk directly from SuperSU "Upgrade to Pro Version". You will redirected to Playstore, install the Update!

If your Phone has a Custom Rom like Nougat KangV Rom - you can try to flash over existing Root - if it dont work (its different: for most will work, for some not) you can do:

Unroot with following steps:

0) KangV Roms for Nougat come with prerooted boot.img. SuperSU 2.82 should be able to patch and update it - just try.

If the update fails it would be good to find (or have) the original unmodified boot.img for the Firmware on which Rom is based and restore this.

1) Look into your settings: Developer options must be enabled and inside: ADB Debugging and USB Debugging, as well as in settings/advanced settings/security "Allow unknown sources" PC should have the driver installed for connecting Phone in Fastboot Mode.

2) Copy SuperSU 2.82 EMUI 5 to your external SD

3) Open old or not properly working SuperSU and make a "complete Unroot" - when SuperSU ask you 2 times "Do you want to restore original boot.img" check: YES

Maybe it is successful - perhaps not - if yes:

4) Phone reboots - but it cannot reboot to system!!

5) Instead booting to system you come into Huawei eRecovery - just make SHUTDOWN.

Now same steps, if the restore of original boot.img was not succesful - you must restore original (unmodifiied) boot.img from Firmware. If you have a TWRP-Backup from unrooted original boot.img restore it and go to 8) - if you have not a TWRP Backup for restore - go to step 6)

6) Connect Phone with USB to PC and with Vol- and Power start Phone into fastboot mode.

7) Flash unmodified boot.img with Minimal ADB and Fastboot. Disconnect phone from USB.

8) Press VOL+ with the finger of your left hand and press it all the time and with the finger of your right hand press Power Button.

9) Phone boot up and soon as Huawei Logo is shown on screen, release the Power Button but stay pressing VOL+ the whole time until you are in TWRP.

10) Flash SuperSU 2.82 EMUI 5

11) Phone boots up now two times and will finally boot to system.

12) search for SuperSU on Homescreen - its not on your usual place, its somwhere else on homescreen - open it and you should have now clean SuperSU 2.82

Do this steps just, if you had problems with flashing 2.82

Please report if you rooted your device successful / not succesful - and give information about your Device-model, Build number, TWRP-Version (fully or not properly working, ist it able to mount data with f2fs, make backup and restore?...)

Credits:

[MENTION=631273]Chainfire[/MENTION] - SuperSU

[MENTION=7678190]CCMT[/MENTION] - SuperSU Release

[MENTION=1915408]phhusson[/MENTION] - phh's SuperUser/ OpenSource SELinux-capable SuperUser

[MENTION=4960686]OldDroid[/MENTION] - TWRP for P9 Android 7 with Decryption Support

[MENTION=2247733]ante0[/MENTION] - Mate 9 Development

[MENTION=3694505]Telperion[/MENTION] - Honor 8 Development

Thank you :cowboy:​