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

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
Hi Tecalote..
I'm on stock B361 (but also tried with B373) for P9-L09 (actually a debranded AL10 64GB/4GB). I followed your guide to root with SuperSU 2.82 (5b).
- ADB, Debug, Unknown sources
- TWRP 3.1.1.1
- backup boot.img + install SuperSU (5b but also tried with other ones)
When I reboot and enter the system, SuperSU is installed but when I open it, it says that the root is not detected.
Where am I wrong? I previously installed 2.79 for EMUI and it worked... is it better to stay to this older version?
I maybe didn't unroot well before going to the 2.82, but I've reinstalled the B361 via TWRP. Is that enough?

thx
How is your Build Number in Settings "About phone"?
EMUI 2.82 SuperSU is only working if your phone is unrooted.
If you restored a Backup without Root, it can only work, if you have restored data, system, vendor.
Tell me first your Build Number. I will see how we can solve this.
 

m2millenium

Member
Nov 10, 2008
23
3
0
How is your Build Number in Settings "About phone"?
EMUI 2.82 SuperSU is only working if your phone is unrooted.
If you restored a Backup without Root, it can only work, if you have restored data, system, vendor.
Tell me first your Build Number. I will see how we can solve this.
EVA-L09C432B378
Anyway now I'm trying to install a custom ROM... they say it's better than stock ROMs
thx a lot
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
EVA-L09C432B378
Anyway now I'm trying to install a custom ROM... they say it's better than stock ROMs
thx a lot
Okay, you can do.
I am just wondering because you said in your previous post you have b361, but now you are on b378.
Last official Firmware which is flashable with dload method is b386 and from there's an OTA to B390.
Both, b386 and b390 can be rooted with official SuperSU 2.82 SR4.
http://download.chainfire.eu/1216/SuperSU/SR4-SuperSU-v2.82-SR4-20170918204844.zip
From this site you can download.
Or alternatively you can Root with Magisk v14.

If you decide to install Custom Rom, be sure you are on the necessary required official Firmware before flashing the Rom... ;)
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
any of the op root versions, is suitable for root in SBIN mode, with a huawei p10 plus?
Nope, SBIN Mode is only available with original SuperSU SR5, but I don't know if your Firmware has loop support.
Please ask in following Thread:
https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Or search in Huawei P10 Plus related Threads on xda.
Normally its possible just to test SuperSU with TWRP Backup before of boot, data, system, vendor and cache.
But TWRP for your device hasn't Decryption support, so you can't backup data and it's maybe not a good idea to experiment.
SR5 does not install in SBIN Mode (only in Android Oreo its default) - you have to enter some command in Terminal before flashing.
I have not the time at the moment to update SuperSU EMUI 5 to SuperSU SR5 patched with pph
but I will see
 
  • Like
Reactions: Rajada

Rajada

Senior Member
Feb 21, 2013
308
71
0
25
Agartala
Nope, SBIN Mode is only available with original SuperSU SR5, but I don't know if your Firmware has loop support.
Please ask in following Thread:
https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Or search in Huawei P10 Plus related Threads on xda.
Normally its possible just to test SuperSU with TWRP Backup before of boot, data, system, vendor and cache.
But TWRP for your device hasn't Decryption support, so you can't backup data and it's maybe not a good idea to experiment.
SR5 does not install in SBIN Mode (only in Android Oreo its default) - you have to enter some command in Terminal before flashing.
I have not the time at the moment to update SuperSU EMUI 5 to SuperSU SR5 patched with pph
but I will see
thank you
I tried SuperSU SR5 with SuperSU Config [AROMA] in order to install in sbin mode, but it looks like DATA is corromped. The phone boots but I can't log in.
On the other hand I saw in your versions, in launch_daemonsu.sh the references to SBIN mode were eliminated, so it is not possible to install in sbin, right?
 
Last edited:

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
thank you
I tried SuperSU SR5 with SuperSU Config [AROMA] in order to install in sbin mode, but it looks like DATA is corromped. The phone boots but I can't log in.
On the other hand I saw in your versions, in launch_daemonsu.sh the references to SBIN mode were eliminated, so it is not possible to install in sbin, right?

At the time I released SuperSU 2.82 final for EMUI 5, SBIN Mode wasn't included.
I didn't eliminate.. it wasn't present. It wasn't released by original SuperSU 2.82 and also not in SR1 - I think it was first time available in SuperSU SR3.
But I haven't updated. When I get time I will probably do.

If you have trouble now after installing SuperSU SR5, you may install following Custom Rom. It's from a friend of mine
https://forum.xda-developers.com/p10-plus/development/rom-fromfuture-genesis-b150-t3617126

Its not rooted with SuperSU, but with Magisk. You get full functionality back and a lot of more features and have a green safetynet.
But you must format data to get rid of Decryption, because TWRP doesn't support.
But for further information ask in this Thread :)
 
  • Like
Reactions: Rajada

telis_aigina

Member
Jan 12, 2015
22
2
0
Okay, I have seen your PM and your Build Number is L09C432B378.
I would do following:
A) Download Full Firmware b378
1) Update.zip: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G753/g104/v74832/f2/full/update.zip
2) data.zip:
http://update.hicloud.com:8180/TDS/...4832/f2/full/hw/eu/update_data_full_hw_eu.zip
B) Download Huawei Update Extractor:
https://forum.xda-developers.com/showthread.php?t=2433454
C) Unzip Update.zip on PC, you get some files but need only UPDATE.APP
D) With Huawei Update Extractor open Update.app and extract BOOT.IMG and RECOVERY.IMG (not recovery2.img)
E) Be sure you have enabled in Developer Options ADB Debugging, USB Debugging (and of course OEM Unlock) With Minimal ADB and Fastboot (in administrative Mode) flash only Boot.img first.
F) Be sure you use latest version this TWRP:
https://forum.xda-developers.com/p9/development/twrp-t3565703
After flashing boot.img restart System without trying to Root, just to see if your external SD is available.
G) If external SD is not available, shut down your device and move out your SD. With Adapter connect SD Card to PC and check if the file system is okay - if not repair the file system. Maybe SD is corrupted.
(Try backup files, perhaps format it with ExFat)
After repair SD do it back into your device and start your phone.
H) If SD can recognized make Huawei Backup from all your data and apps.
If SD don't work, try another SD.
If SD works - I would restore whole system with next step.
I) If you have TWRP Backup from unmodified Stock Firmware b378 restore boot, data, system and vendor
If you don't have:
J) Make folder dload on your external SD and copy from update.zip only Update.app into this folder. If no SD Card works make the folder dload with update.app inside on internal memory. But better into external SD (don't know if it works on internal memory) - so you need a way, external SD can recognized.
K) Flash now Stock Recovery (you have extracted: RECOVERY.IMG) - cause updates are only possible with Stock Recovery.
L) Disconnect USB from device and boot to Stock Recovery with Vol+ and Power Button.
M) In Stock Recovery wipe first Cache Partition and after make factory reset.
N) Boot into system and make just a short Setup, but register your Huawei ID. Look, if you get an OTA to b386. (SIM must be inside, Akku must have min 80%)
If you get OTA, update your Firmware to b386 (its much easier to Root, has better battery life)
O) If you don't receive OTA - restore whole Firmware b378 first. You have already update.app in dload.
With Vol+ and Vol- (press down in the middle and holding) and Power Button restart Phone. Keep holding Vol+and Vol- down - only Power Button release in the moment Huawei Logo is on Screen.
EMUI Software Installation will restore b378.
P) After booting to system - delete update.app in dload folder.
Now unzipp update_data_full_hw_eu.zip on PC.
After copy all files you get (Meta-Inf, data and update.app) into dload folder.
After restart Phone with same Buttons (Vol+ Vol - and Power Button) and let EMUI install the necessary files.
Q) After booting to system, boot once again to Stock Recovery (Vol+ only and Power) and wipe Cache and make Factory Reset.
R) Make complete Setup and you should receive after the OTA to b386. Install this.

If everything is working then I tell you how to Root.
Hi my friend I flash stock boot and recovery I have locked bootloader what can I do next ? To relock bootloader and update to 386 and then root?

Sent from my Huawei P9 using XDA Labs
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
Hi my friend I flash stock boot and recovery I have locked bootloader what can I do next ? To relock bootloader and update to 386 and then root?

If your Bootloader is closed (locked) you must not unlock (open)
If your Bootloader is open (unlocked) you must not relock (close) the Bootloader.
Both is not necessary to update your phone to b386.
Do you have EVA-L09 or EVAL19?
In case of L09 just update phone to b386 and after you should get OTA to b391, perhaps also b392 (which is already in the rollout)
SiM must be inserted.
But look before into settings phone info - your Build Number must contain c432.
And enable developer options and look if OEM Unlock is available (not disabled and not greyed out) .
Next step I would do is a Backup with Huawei Backup and from the files of internal storage (DCIM, Downloads, WhatsApp etc)
Then make a Factoryreset from settings /Advanced Settings
After update with described method to b386 and wait for the OTA.
Do OTA Update.
Then, if you are on b391 you must enable again developer options and
1) OEM Unlock
2) ADB Debugging
3) USB Debugging (not before ADB Debugging)
Now you can flash TWRP
4) Now you can root with SuperSU SR5
http://download.chainfire.eu/1220/SuperSU/SR5-SuperSU-v2.82-SR5-20171001224502.zip

Alternatively you can root with Magisk 14
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
 
  • Like
Reactions: ogisha

telis_aigina

Member
Jan 12, 2015
22
2
0
If your Bootloader is closed (locked) you must not unlock (open)
If your Bootloader is open (unlocked) you must not relock (close) the Bootloader.
Both is not necessary to update your phone to b386.
Do you have EVA-L09 or EVAL19?
In case of L09 just update phone to b386 and after you should get OTA to b391, perhaps also b392 (which is already in the rollout)
SiM must be inserted.
But look before into settings phone info - your Build Number must contain c432.
And enable developer options and look if OEM Unlock is available (not disabled and not greyed out) .
Next step I would do is a Backup with Huawei Backup and from the files of internal storage (DCIM, Downloads, WhatsApp etc)
Then make a Factoryreset from settings /Advanced Settings
After update with described method to b386 and wait for the OTA.
Do OTA Update.
Then, if you are on b391 you must enable again developer options and
1) OEM Unlock
2) ADB Debugging
3) USB Debugging (not before ADB Debugging)
Now you can flash TWRP
4) Now you can root with SuperSU SR5
http://download.chainfire.eu/1220/SuperSU/SR5-SuperSU-v2.82-SR5-20171001224502.zip

Alternatively you can root with Magisk 14
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
I try to update but it failed...is it problem the grey oem lock switch? It's grey and the switch is off

Sent from my Huawei P9 using XDA Labs
 
Last edited:

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
I try to update but it failed...is it problem the grey oem lock switch? It's grey and the switch is off

The greyed out and disabled OEM Unlock isn't a problem to upgrade your Firmware, but it let you not flash anything after Upgrade and right now.

So the only way is to downgrade with b300 Transition Firmware to Android 6, then flashing b182, then making Factoryreset and enable OEM Unlock and USB Debugging, after upgrade with OTA to Nougat.

I am busy today, I write the steps tomorrow
 
  • Like
Reactions: ogisha

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
The greyed out and disabled OEM Unlock isn't a problem to upgrade your Firmware, but it let you not flash anything after Upgrade and right now.

So the only way is to downgrade with b300 Transition Firmware to Android 6, then flashing b182, then making Factoryreset and enable OEM Unlock and USB Debugging, after upgrade with OTA to Nougat.

I am busy today, I write the steps tomorrow
You already wrote the excellent guide, maybe you should add it to the OP:
https://forum.xda-developers.com/p9...-81-emui-5-t3612258/post73131443#post73131443

For @telis_aigina - follow that post #321 in this same thread, skip steps 7 and 8. Under 9 you should receive OTA upgrades b182->b378->b383->b386
 
Last edited:
  • Like
Reactions: ogisha and Tecalote

Pasha_Kh

New member
Nov 22, 2010
2
0
0
Good afternoon! Help me please, what version of the SU 2.82 I can use for P9 EVA-L19 (C10B390)? (unlocked Bootloader, TWRP-3.1.1-1-eva Emui 5.0)
 
Last edited:

Tecalote

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

Pasha_Kh

New member
Nov 22, 2010
2
0
0

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
None of versions 2.82 does not work. It works only 2.79 and when updating it from the Google Play, an error arises - I can not update the binary file .....
Of course, you can't update 2.79 with Playstore, because it is modified.
Normally all Firmwares up to 38x can be rooted with SuperSU 2.82, accept your Firmware is not clean. (Means, if you tried several times to Root and it doesn't work.)
Maybe it's different with Chinese Firmwares, European Firmwares have up to 38x loop support.

But sometimes phone is already rooted, but SuperSU apk on Homescreen is missing.
In this case (you see with root checker if your phone is rooted, but you miss SuperSU on Homescreen) you can unzip SuperSU.zip and find in the folder common the apk which you must install.

Read also the steps "How to Root" from OP (Post #1)

Finally if nothing helps you can try it with Version 5.b from OP.
Before you flash it do following:
1) flash unsu zip with TWRP
https://forum.xda-developers.com/showpost.php?p=63615067
2) Restore original unmodified boot.img (if you have a backup)
Reboot your device.
3) flash Version 2.b from OP
4) Check Root with Root Checker
 

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
OTA upgraded to b393, flashed TWRP 3.1.1-0, rooted by SuperSU-v2.82-EMUI5-SELPermissive.zip
Instaled AdAway, JRummy's BusyBox and Viper4Android_Huawei_EMUI5.zip
Installed also xposed-v88.2-sdk24-arm64.zip,
XposedInstaller_3.1.4.apk and so far Xposed-YoutubeBackground-v2_04.apk
Everything working perfect
 
Last edited:
  • Like
Reactions: Tecalote