[ROOT][Android 7.0][EMUI 5.0]SuperSU 2.82 for EMUI 5

Piemo

Senior Member
Oct 31, 2010
976
307
93
Tried to flash 2.82-SR1 but at the line "Creating image" it self reboots. Could be the fact that I didn't unroot before trying flash? Can't remember combo button to enter recovery without root from phone and don't have any PC near..

Inviato dal mio FRD-L09 utilizzando Tapatalk
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
Tried to flash 2.82-SR1 but at the line "Creating image" it self reboots. Could be the fact that I didn't unroot before trying flash? Can't remember combo button to enter recovery without root from phone and don't have any PC near..

Inviato dal mio FRD-L09 utilizzando Tapatalk
Hi :) please read "How do Root" in OP - section its after the downloads.
Yes, I would recommend Unroot with the steps I wrote!
But a question - which Firmware build number to you have?
Cause it's also important to use right version.
 

Piemo

Senior Member
Oct 31, 2010
976
307
93
Hi :) please read "How do Root" in OP - section its after the downloads.
Yes, I would recommend Unroot with the steps I wrote!
But a question - which Firmware build number to you have?
Cause it's also important to use right version.
I'm on B380 on Honor8, but am failing on unroot phase. SuperSU app can't even start unroot process :(

Inviato dal mio FRD-L09 utilizzando Tapatalk
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
I'm on B380 on Honor8, but am failing on unroot phase. SuperSU app can't even start unroot process :(

Inviato dal mio FRD-L09 utilizzando Tapatalk
I would make a TWRP first of boot, data, system and vendor. If something goes wrong you can restore.
Then extract original boot.img from b380 with Huawei Extractor (you can find on xda)
You can try version 1, 2 from Thread - copy it to external SD. You can also try official SuperSU SR1
https://download.chainfire.eu/1114/SuperSU/SR1-SuperSU-v2.82-SR1-20170608224931.zip
After flash original boot.img with ADB, don't restart device to system.
You must boot into TWRP and flash SuperSU.
You need latest TWRP for your Device

I wrote the steps in OP:
STEPS 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
 
Last edited:

Samavb

Senior Member
Dec 9, 2010
251
301
0
Thank you - Succesful SuperSu 2.82 on Kangvip B588

Related to Huawei Devices:
Big Thank you to you!! I am so glad I found your thread. It really helped me. Your knowledge & hardwork deserves lot of appreciation.

TWRP - 3.1.1.0 or twrp-3.1.0.3-next (Was able to flash on this without errors)
Flashed SuperSU-v2.82-EMUI5-KangV-Roms.zip
L29C432B581 -> Kangvip B588
Wanted to let you know that it is working perfectly.
No problems at all.
Developer options are fine :D:D :good::good:

My post in another thread where I mentioned about you :D:D:good::good:

Thank you.:good:
 
  • Like
Reactions: Tecalote

Amit_C

New member
Jun 14, 2017
3
0
0
My phone is not rooted. Which software should I use? Can't see any link with version 2.81 as suggested.

Thank you



FINAL SuperSU 2.82 for EMUI 5

SuperSU 2.82 has been released by Recognized Developer chainfire & CCMT

I made different versions to work with Huawei EMUI 5 - same as previous SuperSU 2.79 EMUI 5 did

News: Chainfire is working on a general solution for Huawei Phones - first changes to solve issues already included in official SuperSU 2.82 SR1 and will be continuing with SR2. Many thanks!
"This new update to SuperSU also fixes some compatibility issue with new firmware versions on Huawei devices, but don’t expect it to fix all the issues."
SR1 is released 09.06.2017:
https://download.chainfire.eu/1114/SuperSU/SR1-SuperSU-v2.82-SR1-20170608224931.zip
Changelog: https://forum.xda-developers.com/showpost.php?p=64916199&postcount=3
I haven't tested yet.


SuperSU-2.82-EMUI5 - NEW UPDATE 07.06.2017 01:21
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) - NEW UPDATE 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
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!

Beta 2.82 Versions from 02.6.2017 - mixed code with chainfires and phh superusers:

Beta 2.82-Versions from 01.06.2017 - mixed code with chainfires and phh superusers:

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

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://forum.xda-developers.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:
@Chainfire - SuperSU
@CCMT - SuperSU Release
@phhusson - phh's SuperUser/ OpenSource SELinux-capable SuperUser
@OldDroid - TWRP for P9 Android 7 with Decryption Support
@ante0 - Mate 9 Development
@Telperion - Honor 8 Development

Thank you :cowboy:
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig

dkionline

Senior Member
Oct 15, 2012
2,449
1,810
193
SuperSU 2.82-SR1 has been tested by me. It patches sepolicy without errors on an existing base. That means, i made no fullwipe or unroot, only replaced current 2.82 in my build tool with 2.82-SR1. After starting phone it happens, no root installed.
Now its difficult, is the boot either non patched after, or something has changed to run like faulty signature.
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
SuperSU 2.82-SR1 has been tested by me. It patches sepolicy without errors on an existing base. That means, i made no fullwipe or unroot, only replaced current 2.82 in my build tool with 2.82-SR1. After starting phone it happens, no root installed.
Now its difficult, is the boot either non patched after, or something has changed to run like faulty signature.
I think this can be if you used before a SuperSU Version which was patched by phh scriptes/files - have you tried it install over one of the first versions from OP (which are based on official SuperSU code and not modified by phh) - or did you install it over official SuperSU?

I haven't tested SR1 yet
 

dkionline

Senior Member
Oct 15, 2012
2,449
1,810
193
First tested your latest build, no success, after flashed build with SR1, also doesn't work.
Actually installed also SU from here, but with fullwipe. Flashing over an existing one is the problem, all the rest should work with official.
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
First tested your latest build, no success, after flashed build with SR1, also doesn't work.
Actually installed also SU from here, but with fullwipe. Flashing over an existing one is the problem, all the rest should work with official.
Thanks for your feedback! Which version do you use actually (Nr.?)