yashsingh1/xdaforums huggingface dataset:
[Huawei P8 Guides, News, & Discussion] Tecalote:
Good evening all together - The whole Thread is updated - Now there are 3 Versions how-do-root Huawei p8, working with all types of GRA (Emui 4.0.1) Firmwares - included instruction HOW-DO-UNROOT each method. I made a different Custom Kernel today - which unroot your Phone for sure (this works 100%) - https://www.androidfilehost.com/?fid=385035244224383592 - Kernel-for-Unroot-and-systemlessRoot.zip - please following the steps from the OP. :cowboy:
[Huawei P8 Guides, News, & Discussion] Tecalote:
Sorry for complication - this kernel did not work - but I made a new one, Links are in the OP - which works 100% for sure :)
[Huawei P8 Guides, News, & Discussion] frecciak:
Method C dont work for me :(

if i try to install linked supersu without force systemless mode, i have system root.

if i try to force systemless root, installation work fine, at reboot my safetynet check root, but i dont have supersu app installed and if i install app from store, supersu say me "this phone is not rooted"
[Huawei P8 Guides, News, & Discussion] Tecalote:
The start situation must be a clean Stock Firmware, b370 or b380 whitout any Root before.

I tested method c two times and it worked as I have written in the OP with the kernel for systemless Root. This kernel must be flashed before separately and after separately the SuperSU 2.78 - not together in one.

You have tried before several times different methods, and your system is not clean. The best way is to clean it up with firmware b830. I think you know how to do it.

The other possibility is to complete unroot with the Method I have written in Method B - and after Reboot your phone check if it is really unrooted.

Then try Method C again
[Huawei P8 Guides, News, & Discussion] frecciak:
every time i fail 1 method, i make full restore of clean firmware...

-installed kernel, reboot , test safetynet ok.

-installed supersu 2.78 without force systemless , install in system.

-unroot from supersu, test safetynet ok.

installed supersu 2.78 forced in systemless, reboot, safetynet fail, but p8 not rooted.

method C not work for me in systemless mode (work only in system mode).

method A work fine.
[Huawei P8 Guides, News, & Discussion] Tecalote:
Method C cannot work as I have written

if you make a Reboot after Installing the P8 Kernel-for-Unroot-and-systemlessRoot -

SuperSU must be flashed directly after the Kernel without a Reboot between.

1) flashing Kernel

2) use the systemless command and flash SuperSU - it will make it systemless

3) Reboot

No Reboot between!
[Huawei P8 Guides, News, & Discussion] frecciak:
ok, i try without reboot.

very tnx for all :D
[Huawei P8 Guides, News, & Discussion] asert:
I just tried method C on my GRA UL00 (C900B320) and it works. I even managed to install suhide and passed the SafetyNet tests.

Unfortunately after flashing the kernel everything is very slow and sluggish, so I had to revert back by unrooting with unsu and flashing the stock boot.img

I guess it's because I'm not on B370 or B380 :(

Anyways, thanks a lot for all the work you're doing man! :D
[Huawei P8 Guides, News, & Discussion] gogoo88:
And this work on B380??
[Huawei P8 Guides, News, & Discussion] Tecalote:
Hopefully you opened the Download Links for SuperSU 2.78 with Browser...

In the moment they are not direct download links - Download Manager don't download correct.

I check the Links again.

I tried to download on my P8 - with Download Manager I have got the SuperSU zip with just some KB...

But if I opened it with Browser I come to the Chainfires Download Page and there is the Download Link. Maybe that's why you have droubles with installing.

I change the Links today to direct Links or maybe I attach the files to the OP
[Huawei P8 Guides, News, & Discussion] Tecalote:
Yes, I tested it on b830 too.

But please open the Download Links with your Browser, not with a Download Manager
[Huawei P8 Guides, News, & Discussion] Tecalote:
Attention: Please open all Downloadlinks with your Browser and not with any Download Manager (dont work correctly)
[Huawei P8 Guides, News, & Discussion] Tecalote:
Hi, but may it works with a Wipe of Cache and Dalvik, cause the kernel is also compatible with your phone modell
[Huawei P8 Guides, News, & Discussion] AD2076:
New kernel works with systemless supersu + suhide, but performance are very poor(unusable phone) and systemless xposed installation still fails
[Huawei P8 Guides, News, & Discussion] Tecalote:
I tested it on a clean b830 and have no problem with performance.

For the systemless Xposed Installation you need not the linked SuperSU but v2.78 SR1 (newest Beta) I have not tested Systemless Xposed yet, but I will do it later today.

I don't use su-hide, so may be the kernel is not concept for hide su - but for using without su-hide there's definitely no problem with performance
[Huawei P8 Guides, News, & Discussion] Tecalote:
I did following now:

1) GRA-L09 clean Firmware b380 without any mods

2) rooted with method C, systemless

3) I used not linked 2.78, but SuperSU 2.78 SR 1

4) Issues: TWRP doesn't recognize my Root if I install Method 3 with force systemless. But it installs systemless, if I don't use the systemless command. But if I had Root in System before and unroot, next flashing of SuperSU goes to System.. (Twrp by Jemmini) - I search for a new one..

5) SuperSU APK is installed, Root systemless and works

6) installed Material Design Xposed Installer from DVDAndroid

7) installed Magisk Manager

8) Module SuperSU Helper installed with Magisk Manager

9) Xposed Framework sdk 23 v86.6 downloaded and installed directly from Magisk Manager - automatically reboot

10) Xposed Framework Installation /Reboot about 20 min

11) Systemless Xposed Framework successfully installed.

No problems with performance!

Not tested yet Su hide - later!

Method C not perfect at the moment, but I am still working on it
[Huawei P8 Guides, News, & Discussion] gogoo88:
i cant login to huawei site for unlock bootloader code...i got mesage Sorry, no support for the European user login.
[Huawei P8 Guides, News, & Discussion] Tecalote:
Good evening, there is a new TWRP available from Huawei Rom Team (HRT) v. 3.0.2 - in English. Download: https://www.androidfilehost.com/?fid=385035244224383898
[Huawei P8 Guides, News, & Discussion] Tecalote:
Maybe the server is down or they changed the link, I will try it tomorrow
[Huawei P8 Guides, News, & Discussion] asert:
Thanks for the reply.

I never tried wiping cache and dalvik, I shall try it now with the new twrp you just linked.

Also, you're so lucky to be in Leipzig, I was there a couple of months ago and loved the city. Hopefully I'll go there to study in that amazing uni
[Huawei P8 Guides, News, & Discussion] frecciak:
With this twrp, installation work without error...but after installation, my p8 is unrooted and safetynet red.

I tryed whit 2 version of supersu.
[Huawei P8 Guides, News, & Discussion] Tecalote:
Which installation did you use? But you stopped by the part, where I made a Guide how to uninstall the root?

Sorry, but it looks like strange.

Please don't use method 3 at the moment - I wrote it in the OP. It is in "Beta" state again
[Huawei P8 Guides, News, & Discussion] Tecalote:
Yes, Leipzig is really nice. I love it too :)

If you go to wipe (Advanced Tab) Cache and Dalvik Reboot can feels like 20 min.
[Huawei P8 Guides, News, & Discussion] asert:
Ok I flashed the new twrp (v3.0.2) and it works alright. Then I installed the custom kernel for systemless root and SuperSu v2.78 SR1 without rebooting, then wiped cache and dalvik.

It's working but still is laggy. Sometimes when I try to open an app it registers as if I did a long press instead of just a tap. Wiping cache and dalvik seems to have improved the speed but not by much.

Can I do anything to help? I could dump some logs or something

oh, btw for those who are wondering. I did more tests and I managed to hide the root with suhide 0.54, install xposed v86.6 and still pass the safety net test
[Huawei P8 Guides, News, & Discussion] Tecalote:
Yesterday I tried with systemless Root to install systemless Xposed 86.6 and it works whitout problems on b830 GRA-L09

Yes, help would always welcome and nice. The problem is: Huawei does not provide open Kernel sources since Lollipop.

All boot.imgs from Android 6.0 cannot patched to make them compatible with newest versions of SuperSU.

Only the kernels from the Huawei Rom Team are possible to modify.

I made a Custom Rom which works on every typ of P8 model.

But the kernel alone seems not work on every type.

Could you please send me the boot.emmc. win of your Nandroid Backup before installing my kernel with the name of your Firmware and the GRA-xxxx model?

Yes, and if have some logs :)

The new TWRP is pretty good. And it has no inbuilt Root (which doesn't work since lollipop)

Thanks
[Huawei P8 Guides, News, & Discussion] AD2076:
systemless xposed?

---------- Post added at 10:02 AM ---------- Previous post was at 09:50 AM ----------

Here's what I tried so far:

Stock B380 kernel

completely unrooted

systemless root Supersu 2.78 SR1

suhide 0.54

systemless xposed 86.2 (newer versions depends on magisk)

device was unable to boot.

Custom Kernel linked in method C

systemless root supersu 2.78 SR1

suhide 0.54

systemless xposed 86.2

everything works but the whole system is very laggy
[Huawei P8 Guides, News, & Discussion] Tecalote:
I did it with 11 steps:

Whole steps I tell in a later Post - but finally

11) Systemless Xposed Framework successfully installed.

No problems with performance! After I flashed suhide 0.55

Will tell later
[Huawei P8 Guides, News, & Discussion] AD2076:
I'd like to avoid Magisk, btw... is this setup safetynet safe?
[Huawei P8 Guides, News, & Discussion] Tecalote:
I think, but I must test su-hide after.

By the way - method 3 is falling back to Beta State, cause the kernel is not compatible with all MM Firmwares.

But I get help from KangV from the Huawei Rom Team.

He is willing to try making a kernel wich will be compatible for all MM builts and ready for rooting systemless without problems.

He has not a lot of time, but he start work on it as soon he has space.

Because it is not so easy.
[Huawei P8 Guides, News, & Discussion] Tecalote:
[MENTION=6233909]AD2076[/MENTION] You cannot avoid Magisk - because systemless Xposed v 86.6 needs Magisk! I flashed now after Step 11 - 12) suhide. I rebooted the phone and now I can recognize what you mean with the system is very laggy - this problem occurs after flashing suhide - not before.

What I do at the moment is, I go to wipe Cache and Dalvik and will see and tell you the result.
[Huawei P8 Guides, News, & Discussion] frecciak:
solved, the problem was the TWRP bugged in donwload. After re-downloading it , works well.

Now work fine systemless root and safetynet is ok :D

Very tnx for all :D
[Huawei P8 Guides, News, & Discussion] AD2076:
Rebooting will take forever....

You can avoid Magisk using systemless Xposed v 86.2

supersu + suhide + systemless xposed 86.2 works flawlessly on my S4 (cm13)
[Huawei P8 Guides, News, & Discussion] Tecalote:
Thats fine, thanks :)
[Huawei P8 Guides, News, & Discussion] Tecalote:
Reboot after wiping will always need feeling 20 min, or do you mean normal reboot.?

My tests are not finished, I tell you, when I am ready
[Huawei P8 Guides, News, & Discussion] AD2076:
Reboot after wiping...

I stopped it after about 2 hours
[Huawei P8 Guides, News, & Discussion] Tecalote:
It seems the link does not exist anymore and Huawei changed the easy method to unlock the bootloader - I tried it with different urls

I used the App Huawei ID to create an account: https://www.androidfilehost.com/?w=files&flid=118013

I installed HuaweiCloud and Huawei-ID - first opening HuaweiCloud - it opens self the Huawei-ID App and you can register ID with your E-Mail (dont use Phone and dont open Huawei-ID before HuaweiCloud) If you have an ID, then you can login (hopefully) on:

https://uniportal.huawei.com/accounts/register.do?method=toRegister&nls=en

or may http://app.huawei.com/tkb/

I cannot login by myself at this time with my correct mail and password....

I saw on YouTube, https://www.youtube.com/watch?v=sfodinr0yVM somebody wrote an email to Huawei and got an answer from HWSSO@huawei.com

See screenshot - I have no idea at the moment how to do - but if you can solve it, please post, thanks
[Huawei P8 Guides, News, & Discussion] AD2076:
Thank you for your work on Gratitude ROM and rooting methods for our loved P8.

I never said your root doesn't work or caused problems.

I and some other here are just looking for an efficient method for "hardcore modding".

We weren't complaining, just reporting issues and asking help to find a solution :)

Thanks again and hold on with your great work.
[Huawei P8 Guides, News, & Discussion] Tecalote:
Your welcome :) Thanks
[Huawei P8 Guides, News, & Discussion] AD2076:
Did the whole process again: suhide costs too much performance to me. I'll write in suhide thread
[Huawei P8 Guides, News, & Discussion] Tecalote:
Hi, did you make it with my steps or yours?
[Huawei P8 Guides, News, & Discussion] AD2076:
Yours, but started from step 3.

I already have twrp 3.0.2 installed and cleaned the rom from root,xposed,magisk, everything.
[Huawei P8 Guides, News, & Discussion] Tecalote:
And you wiped also Cache and Dalvik after flashing su 0.55 (new one) ?

Magisk Project works on an inbuilt suhide.

There is one (but just for testing/Beta)
[Huawei P8 Guides, News, & Discussion] AD2076:
Of course I wiped.

How can I join testing?
[Huawei P8 Guides, News, & Discussion] Tecalote:
I am at home in half an hour and send you the link. For testing this only suhide must be removed
[Huawei P8 Guides, News, & Discussion] Tecalote:
topjohnwu write on his site: On the open source side, phh is also developing his own "suhide". phh just released a test build for hiding root (http://xdaforums.com/showpost.php?p=68969947&postcount=1063), I'm gonna take a look and include it into the Magisk version of phh root.

It works just if the Root it is with phh superuser - in this case the installation is different to my steps
[Huawei P8 Guides, News, & Discussion] AD2076:
I already tried it, doesn't fit my needs :)
[Huawei P8 Guides, News, & Discussion] AD2076:
wait! [MENTION=6870018]Tecalote[/MENTION] did you managed to install superuser-r266-hidesu.zip ???
[Huawei P8 Guides, News, & Discussion] Tecalote:
Did you? I didn't test this alternatively superuser - I can try it, but need some time. In the moment I work for a Dolby Patch for the Netcall app iTel (Gratitude)
[Huawei P8 Guides, News, & Discussion] AD2076:
I wasn't able to install it. I'll try to have a look at the install script, it creates the patched boot image but fails installing it because it can't find the proper partition.
[Huawei P8 Guides, News, & Discussion] Tecalote:
I tested it, pph superuser dont work - neither Magisk one nor the suhide one
[Huawei P8 Guides, News, & Discussion] frecciak:
google update safetynet...

for now detect every root with suhide.

detect always root unistalled...to pass safetynet you have to reflash stock boot.

some one say phh's supersu work fine, but dont work whit exposed.
[Huawei P8 Guides, News, & Discussion] frecciak:
I try hide root from r266-hidesu whit original kernel, but installation fail and phone restart in download mode.

After this i try to install your last kernel, but safetynet fail whit this kernel ( no root, no xposed and full unroot).

You can create kernel rootable not detected from safetynet?
[Huawei P8 Guides, News, & Discussion] Tecalote:
Hi :) The Thread is opened just for how-do-root. There are many other reasons to have root.

The problem with Hide Root is very difficult. It is not an issue of the kernel.

Google updated safety net yesterday - as you told. People who have managed installing systemless Root, systemless Xposed Framework and suhide (even with my Root method C) cannot bypassing safetynet since the Google Update came!

So its a game of cat and mouse.

Thats what Chainfire and Magisk says in principle.

No kernel can hide Root. Kernel can just allow rooting or not.

My Root method C works for rooting systemless and also installing Magisk Xposed Framework 86.6 - without problems and without performance issues.

It is also possible installing after suhide. With Performance issues - like Chainfire told in his Thread.

But anyway... If I find solutions, I will post. But it is unlikely :cyclops:
[Huawei P8 Guides, News, & Discussion] frecciak:
I think that the new safetynet recognize the changed kernel, the test fails just whit the kernel, without root or otherwise.
[Huawei P8 Guides, News, & Discussion] Tecalote:
I think you misunderstood something. Look: If you are not rooted, why should you not bypass safetynet? Anyway which Kernel you have in your Rom.

But if you are rooted in System, safetynet check your Root.

That's why you need systemless Root.

Systemless Root means, SuperSU patching the boot.img and add some Libraries to it and make a backup of the original boot.img, which will be restored after Unroot.

If the new safetynet check now that the Kernel is patched with SuperSU - how could this be hidden?

With systemless Root the Kernel is patched, this cannot be hidden. Not yet.
[Huawei P8 Guides, News, & Discussion] asert:
Safety Net is kinda broken at the moment. In their cat and mouse game they changed something making some people get false positives.

So in other words, you shouldn't rely on the Safety Net tests... they'll always show you failed them. Try the apps who block the root instead!
[Huawei P8 Guides, News, & Discussion] Tecalote:
I don't know what safetynet exactly doing since new update.

I also don't use apps which must use this service.

I am just thinking about.

If safetynet recognize really a changed kernel it would not be possible anymore to hide something. The Kernel for Rooting I support in the OP is nothing else than a Stock Kernel.

It contains just one file more called "load_boot" .

Only with this file it is possible to root.

Without this file it is not possible to root.

So we can test it. I can send you the same Kernel without this file. (but he cannot be rooted).

The Kernels they are included in the original Firmware cannot be modified with load_boot. They have some policy to check up any modification.
[Huawei P8 Guides, News, & Discussion] frecciak:
I do not know why, but with completely clean phone safetyner is ok, but just put your kernel, safetynet stops me. I think that now safetynet make the kernel controls. I also tried using Unsu on your kernel, but nothing changes. I use B370 updated from updater.

If you upload this kernel whitout modified string, i can test if work.
[Huawei P8 Guides, News, & Discussion] Tecalote:
Yes I can do it as soon I have time, not at home yet
[Huawei P8 Guides, News, & Discussion] Tecalote:
I have to some more tests with the Kernel. Found something interesting.
[Huawei P8 Guides, News, & Discussion] asert:
I was doing some tests today and I managed to pass safety net using this root toggle https://www.asus.com/zentalk/tw/for...wNDk1fGJmMjhjZGZifDE0NzY0MDUzNjB8MHwxNzM1NDI=

Install Kernel

Install SuperSu 2.78 SR1

Wipe Cache and Dalvik

Reboot (takes a while)

Install "root switch" apk from https://www.asus.com/zentalk/tw/for...wNDk1fGJmMjhjZGZifDE0NzY0MDUzNjB8MHwxNzM1NDI=

Open Root switch and toggle it to disable

???

Profit

let me know how it goes
[Huawei P8 Guides, News, & Discussion] Tecalote:
Can you also give a link to this Thread, its interesting. Thanks
[Huawei P8 Guides, News, & Discussion] AD2076:
Which kernel?

It doesn't work for me. I am on B380
[Huawei P8 Guides, News, & Discussion] frecciak:
which kernel you used? Kernel-for-Unroot-and-SystemlessRoot ?

For me this method work fine, but only in system mode...systemless mode are already detected.

I think my problem is the kernel, but are not kernel expert and I have no idea why is detected

---------- Post added at 12:54 PM ---------- Previous post was at 12:49 PM ----------

https://www.asus.com/zentalk/forum.php?mod=viewthread&tid=110357&highlight=root+switch
[Huawei P8 Guides, News, & Discussion] asert:
Yes the Kernel for Unroot and Systemless Root posted in OP

As Tecalote said its the original kernel plus a file callled "load_boot" which enables rooting for newer versions of SuperSU.

I've done numerous tests and it doesn't detect the new kernel, it's always the SuperSU.

[MENTION=6870018]Tecalote[/MENTION]

here's the link for the thread https://www.asus.com/zentalk/forum.php?mod=viewthread&tid=110357&highlight=Root+switch&mobile=2

the site isn't working for me at the moment tho.

___

Also you could try to flash your stock Kernel with the "load_boot" file packed with it.

I tried yesterday with mine, trying to figure out why it's so damn sluggish after installing the kernel and rooting the phone... and of course its SuperSU 2.78 SR1 that ruins everything, I guess I'll have to wait for a newer version.
[Huawei P8 Guides, News, & Discussion] gogoo88:
I found a solution to unlock the bootloader ... it's so simple :)

go to http://emui.huawei.com/en/plugin/hwdownload/download and click unlock bootloader ... you dont need to register ... only need to login with facebook profile...fill out form and you'll get your code
[Huawei P8 Guides, News, & Discussion] Tecalote:
The Link works again, thats fine - I wrote on Friday an Email to Huawei :) Thanks for information!
[Huawei P8 Guides, News, & Discussion] kamilm1982:
Hi all,

Sorry for my English in advance.

I want to root my P8 with B380 stock ROM but I'm a little lost.

I want root with A metod but i have few questions:

a) which TWRP should I use 3.0.2 or older (because I read somewhere that the 3.0.2 doesn't work with android 6)?,

b) which SU should I use 2.67 or some newer?,

c)how to extract original recovery from my rom (is this necessarily to unroot and go back to the stock recovery)?

d)what about busybox? I must install it from play store and after that flash it whith TWRP or it will be installed with SU?

Sorry for (maybe) stupid questions but I don't wont to brick my P8.

Thanks for answers in advance,

Regards,
[Huawei P8 Guides, News, & Discussion] Tecalote:
Hi The TWRP works from this Thread, because it is not from the official website (seems they don't want to have it)... You can use each of the three linked.

Your Bootloader must be unlocked - otherwise don't try to do anything.

If you want to Root with A everything works as written.

If you want to Unroot, everything is written.

The original Recovery I can upload tomorrow, it has to be installed with ADB, only if you unrooted. :)
[Huawei P8 Guides, News, & Discussion] kamilm1982:
I will be grateful for stock recovery. Thanks for answer, everything is clear now.

Can anyone tell me what about busybox?
[Huawei P8 Guides, News, & Discussion] Tecalote:
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://xdaforums.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
[Huawei P8 Guides, News, & Discussion] kamilm1982:
Thanks a lot.
[Huawei P8 Guides, News, & Discussion] pastill:
Get an unlock code ?

And if you don't have facebook login ?

( some don't, you know )

For us it's still "Sorry, no support for European users".